PageSourceSearch

https://www.0472.ua/main-es2015.dd5028e89f06a0560aa6.js

js 0472.ua collected 2026-09-26 01:36:45 UTC 1,692,533 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+EKe":function(e,t,n){"use strict";var i=n("23KU"),r=n("uE2L");t.a=function(e,t,n,s){var o=!n;n||(n={});for(var a=-1,c=t.length;++a<c;){var l=t[a],u=s?s(n[l],e[l],l,n,e):void 0;void 0===u&&(u=e[l]),o?Object(r.a)(n,l,u):Object(i.a)(n,l,u)}return n}},"+Xah":function(e,t,n){"use strict";t.a=function(e){return e}},"/1FC":function(e,t,n){"use strict";t.a=Array.isArray},"/ACT":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");let r=(()=>{class e{constructor(e){this.elementRef=e,this.isDirectiveInit=!1,this.embeddedElementRect=null,this.pIsAbsolute=!1,this.pScale=!1}get isAbsolute(){return this.pIsAbsolute}get scale(){return!1!==this.pScale&&this.pScale}ngDoCheck(){this.isDirectiveInit||null===this.embeddedElementRect||(this.embeddedElementRect.height>0&&this.embeddedElementRect.width>this.embeddedElementRect.height&&(this.pIsAbsolute=!0,this.pScale=this.embeddedElementRect.height/this.embeddedElementRect.width*100),this.isDirectiveInit=!0)}ngAfterViewInit(){const e=this.elementRef.nativeElement.querySelector("iframe,object,embed,video");null!==e&&"function"==typeof e.getBoundingClientRect&&(this.embeddedElementRect=e.getBoundingClientRect())}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["","appFitToContainer",""]],hostVars:4,hostBindings:function(e,t){2&e&&(i.wd("padding-top",t.scale,"%"),i.pc("absolute-100",t.isAbsolute))}}),e})()},"/uUt":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new o(e,this.compare,this.keySelector))}}class o extends i.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},0:function(e,t,n){e.exports=n("zUnb")},"0EUg":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("bHdf");function r(){return Object(i.a)(1)}},"0st4":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var i=n("fXoL"),r=n("ofXK"),s=n("6NWb"),o=n("iQdX");function a(e,t){if(1&e&&(i.Ec(0,"div",6),i.zc(1,"fa-icon",7),i.Dc()),2&e){const e=i.Uc(2),t=i.kd(1);i.jc(1),i.bd("icon",e.icon||t.icon)("fixedWidth",!0)}}function c(e,t){if(1&e&&(i.Ec(0,"div",8),i.zd(1),i.Dc()),2&e){const e=i.Uc(2),t=i.kd(1);i.jc(1),i.Bd(" ",e.text||t.text," ")}}function l(e,t){if(1&e&&(i.Ec(0,"div",3),i.xd(1,a,2,2,"div",4),i.xd(2,c,2,1,"div",5),i.Dc()),2&e){const e=i.Uc(),t=i.kd(1);i.jc(1),i.bd("ngIf",e.showIcon&&t.icon),i.jc(1),i.bd("ngIf",e.showText)}}let u=(()=>{class e{constructor(e){this._share=e,this.showIcon=!0,this.showText=!1,this.size=this._share.config.size,this.theme=this._share.config.theme,this.opened=new i.s,this.closed=new i.s}get buttonClass(){return"sb-button sb-"+this.theme}}return e.\u0275fac=function(t){return new(t||e)(i.yc(o.e))},e.\u0275cmp=i.sc({type:e,selectors:[["share-button"]],hostVars:2,hostBindings:function(e,t){2&e&&i.lc(t.buttonClass)},inputs:{showIcon:"showIcon",showText:"showText",size:"size",theme:"theme",button:"button",url:"url",title:"title",description:"description",image:"image",tags:"tags",autoSetMeta:"autoSetMeta",text:"text",icon:"icon",disabled:"disabled"},outputs:{opened:"opened",closed:"closed"},decls:3,vars:15,consts:[["type","button",1,"sb-wrapper",3,"shareButton","url","image","title","description","tags","autoSetMeta","disabled","opened","closed"],["btn","shareButton"],["class","sb-content",4,"ngIf"],[1,"sb-content"],["class","sb-icon",4,"ngIf"],["class","sb-text",4,"ngIf"],[1,"sb-icon"],[3,"icon","fixedWidth"],[1,"sb-text"]],template:function(e,t){if(1&e&&(i.Ec(0,"button",0,1),i.Qc("opened",(function(e){return t.opened.emit(e)}
1))("closed",(function(e){return t.closed.emit(e)})),i.xd(2,l,3,2,"div",2),i.Dc()),2&e){const e=i.kd(1);i.wd("font-size",14*(1+t.size/20),"px"),i.pc("sb-show-icon",t.showIcon)("sb-show-text",t.showText),i.bd("shareButton",t.button)("url",t.url)("image",t.image)("title",t.title)("description",t.description)("tags",t.tags)("autoSetMeta",t.autoSetMeta)("disabled",t.disabled),i.jc(2),i.bd("ngIf",e)}},directives:[o.c,r.u,s.b],styles:["[_nghost-%COMP%]{--sb-margin:0.3125em}"],changeDetection:0}),e})(),d=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:o.b,useValue:t}]}}}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[o.d,s.i,r.c],o.d,s.i]}),e})()},"11ml":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("3Pt+"),r=n("IzEk"),s=n("GJzE"),o=n("fXoL"),a=n("1kSV"),c=n("sYmb"),l=n("ofXK"),u=n("jCJ1");function d(e,t){1&e&&(o.Ec(0,"div",9),o.zd(1," we-sent-you-email-to-reset-password "),o.Dc())}function h(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-email","required")," ")}}function p(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-email","email")," ")}}function f(e,t){if(1&e&&(o.Ec(0,"div",21),o.xd(1,h,2,1,"div",6),o.xd(2,p,2,1,"div",6),o.Dc()),2&e){const e=o.Uc(2);o.jc(1),o.bd("ngIf",e.modalForm.controls.userEmail.errors.required),o.jc(1),o.bd("ngIf",e.modalForm.controls.userEmail.errors.email)}}function g(e,t){if(1&e&&(o.Ec(0,"div",22),o.zd(1),o.Dc()),2&e){const e=o.Uc(2);o.jc(1),o.Bd(" ",e.formErrorMessage," ")}}function m(e,t){1&e&&o.zc(0,"span",23)}function b(e,t){1&e&&(o.Ec(0,"span",24),o.zd(1,"modal-reset-password-submit-label"),o.Dc())}function v(e,t){if(1&e){const e=o.Fc();o.Cc(0),o.Ec(1,"div",10),o.zd(2,"reset-password-message"),o.Dc(),o.Ec(3,"form",11),o.Qc("ngSubmit",(function(){return o.nd(e),o.Uc().onFormSubmit()})),o.Ec(4,"div",12),o.zc(5,"input",13),o.Vc(6,"translate"),o.xd(7,f,3,2,"div",14),o.Dc(),o.xd(8,g,2,1,"div",15),o.Ec(9,"div",16),o.zc(10,"re-captcha",17),o.Dc(),o.Ec(11,"button",18),o.xd(12,m,1,0,"span",19),o.xd(13,b,2,0,"span",20),o.Dc(),o.Dc(),o.Bc()}if(2&e){const e=o.Uc();o.jc(3),o.bd("formGroup",e.modalForm),o.jc(2),o.cd("placeholder",o.Wc(6,7,"form-attribute-email-prompt")),o.jc(2),o.bd("ngIf",e.isFormControlHasErrors("userEmail")),o.jc(1),o.bd("ngIf",e.formErrorMessage),o.jc(3),o.bd("disabled",!e.modalForm.valid),o.jc(1),o.bd("ngIf",e.isFormLoading),o.jc(1),o.bd("ngIf",!e.isFormLoading)}}let w=(()=>{class e extends s.m{constructor(e,t,n,i,r){super(e,t,n,i,r),this.modal=e,this.authModalsService=t,this.translateService=n,this.formBuilder=i,this.authService=r,this.isFormLoading=!1,this.formErrorMessage="",this.isResetPasswordSuccessful=!1}
1onFormSubmit(){if(this.modalForm.invalid)return;this.formErrorMessage="",this.isFormLoading=!0,this.isResetPasswordSuccessful=!1;const{userEmail:e,reCaptcha:t}=this.modalForm.value;this.authService.resetPassword(e,t).pipe(Object(r.a)(1)).subscribe({next:()=>{this.isResetPasswordSuccessful=!0,this.isFormLoading=!1},error:e=>{this.formErrorMessage=e.join(", "),this.modalForm.get("userEmail").setErrors({incorrect:!0}),this.isFormLoading=!1}})}ngOnInit(){super.ngOnInit()}buildModalForm(){return this.formBuilder.group({userEmail:["",[i.D.required,i.D.email]],reCaptcha:[null,[i.D.required]]})}}return e.\u0275fac=function(t){return new(t||e)(o.yc(a.b),o.yc(s.e),o.yc(c.e),o.yc(i.f),o.yc(s.f))},e.\u0275cmp=o.sc({type:e,selectors:[["app-reset-password-modal"]],features:[o.gc],decls:13,vars:2,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],["class","text-green h4","translate","",4,"ngIf"],[4,"ngIf"],[1,"text-center"],["type","button","translate","",1,"btn","btn--sm","btn--link",3,"click"],["translate","",1,"text-green","h4"],["translate","",1,"text-center","mb-3"],[3,"formGroup","ngSubmit"],[1,"form-group"],["type","text","formControlName","userEmail",1,"form-control",3,"placeholder"],["class","error-hint",4,"ngIf"],["class","error-hint text-center mb-3",4,"ngIf"],[2,"transform","scale(0.8)","transform-origin","0"],["formControlName","reCaptcha"],["type","submit",1,"btn","btn--primary","btn--block",3,"disabled"],["class","btn__loader",4,"ngIf"],["translate","",4,"ngIf"],[1,"error-hint"],[1,"error-hint","text-center","mb-3"],[1,"btn__loader"],["translate",""]],template:function(e,t){1&e&&(o.Ec(0,"div",0),o.Ec(1,"h4",1),o.zd(2,"reset-password-label"),o.Dc(),o.Ec(3,"button",2),o.Qc("click",(function(){return t.modal.dismiss("Cross click")})),o.Ec(4,"span",3),o.zd(5,"\xd7"),o.Dc(),o.Dc(),o.Dc(),o.Ec(6,"div",4),o.xd(7,d,2,0,"div",5),o.xd(8,v,14,9,"ng-container",6),o.zc(9,"hr"),o.Ec(10,"div",7),o.Ec(11,"button",8),o.Qc("click",(function(){return t.authModalsService.openSignInModal()})),o.zd(12," modal-reset-password-cancel-label "),o.Dc(),o.Dc(),o.Dc()),2&e&&(o.jc(7),o.bd("ngIf",t.isResetPasswordSuccessful),o.jc(1),o.bd("ngIf",!t.isResetPasswordSuccessful))},directives:[c.b,l.u,i.F,i.q,i.i,i.c,i.p,i.h,u.c,u.g],pipes:[c.d],styles:[".modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px}.form-group[_ngcontent-%COMP%]{position:relative;margin-bottom:16px}.form-control[_ngcontent-%COMP%]{width:100%;height:40px;line-height:40px;padding:0 10px;border:1px solid rgba(50,50,50,.15);border-radius:3px;font-size:16px;transition:all .3s ease-out}.form-control[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]::placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.form-control.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74c3c}.error-hint[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;color:#e74c3c}.auth-block[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-around}.auth-block[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 1 135px}"]}),e})()},"13ou":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("fXoL"),r=n("DKs6");let s=(()=>{class e{constructor(e,t,n){this.viewContainerRef=e,this.templateRef=t,this.deviceState=n}ngOnInit(){this.deviceState.isBrowserApp?this.viewContainerRef.createEmbeddedView(this.templateRef):this.viewContainerRef.clear()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(r.a))},e.\u0275dir=i.tc({type:e,selectors:[["","appOnlyInBrowser",""]]}),e})()},"1G5W":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("l7GE"),r=n("ZUHj");function s(e){return t=>t.lift(new o(e))}class o{constructor(e){this.notifier=e}call(e,t){const n=new a(e),i=Object(r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class a extends i.a{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,n,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1kSV":function(e,t,n){"use strict";n.d(t,"a",(function(){return _n})),n.d(t,"b",(function(){return Ki})),n.d(t,"c",(function(){return En})),n.d(t,"d",(function(){return kn})),n.d(t,"e",(function(){return Fn})),n.d(t,"f",(function(){return In})),n.d(t,"g",(function(){return Bn})),n.d(t,"h",(function(){return di})),n.d(t,"i",(function(){return ui})),n.d(t,"j",(function(){return fi})),n.d(t,"k",(function(){return $i})),n.d(t,"l",(function(){return Hi})),n.d(t,"m",(function(){return Vi})),n.d(t,"n",(function(){return Ui})),n.d(t,"o",(function(){return qi})),n.d(t,"p",(function(){return Bi})),n.d(t,"q",(function(){return hs}
1)),n.d(t,"r",(function(){return Ai})),n.d(t,"s",(function(){return ir})),n.d(t,"t",(function(){return xs})),n.d(t,"u",(function(){return ur})),n.d(t,"v",(function(){return cr})),n.d(t,"w",(function(){return lr})),n.d(t,"x",(function(){return dr})),n.d(t,"y",(function(){return hr})),n.d(t,"z",(function(){return Fi})),n.d(t,"A",(function(){return Cr})),n.d(t,"B",(function(){return gr})),n.d(t,"C",(function(){return mr})),n.d(t,"D",(function(){return br})),n.d(t,"E",(function(){return vr})),n.d(t,"F",(function(){return wr})),n.d(t,"G",(function(){return yr})),n.d(t,"H",(function(){return Cn})),n.d(t,"I",(function(){return yn})),n.d(t,"J",(function(){return vn})),n.d(t,"K",(function(){return wn})),n.d(t,"L",(function(){return xn})),n.d(t,"M",(function(){return Ir})),n.d(t,"N",(function(){return Dr})),n.d(t,"O",(function(){return Ar})),n.d(t,"P",(function(){return Tn})),n.d(t,"Q",(function(){return An})),n.d(t,"R",(function(){return Nr})),n.d(t,"S",(function(){return Rn})),n.d(t,"T",(function(){return Br})),n.d(t,"U",(function(){return Hr})),n.d(t,"V",(function(){return Ur})),n.d(t,"W",(function(){return $r})),n.d(t,"X",(function(){return ts})),n.d(t,"Y",(function(){return ss})),n.d(t,"Z",(function(){return rs})),n.d(t,"ab",(function(){return us})),n.d(t,"bb",(function(){return ys}));var i=n("fXoL"),r=n("ofXK"),s=n("3Pt+"),o=n("XNiG"),a=n("2Vo4"),c=n("itXk"),l=n("PqYM"),u=n("5yfJ"),d=n("xgIS"),h=n("VRyK"),p=n("DH7j"),f=n("yCtX"),g=n("l7GE"),m=n("ZUHj");class b{call(e,t){return t.subscribe(new v(e))}}class v extends g.a{constructor(e){super(e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(e){this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(let n=0;n<t&&!this.hasFirst;n++){let t=e[n],i=Object(m.a)(this,t,t,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}}notifyNext(e,t,n,i,r){if(!this.hasFirst){this.hasFirst=!0;for(let e=0;e<this.subscriptions.length;e++)if(e!==n){let t=this.subscriptions[e];t.unsubscribe(),this.remove(t)}this.subscriptions=null}this.destination.next(t)}}var w=n("HDdC"),y=n("lJxs"),C=n("JX91"),_=n("/uUt"),x=n("eIep"),O=n("1G5W"),S=n("pLZG"),E=n("IzEk"),P=n("vkgz");function k(...e){return t=>{let n;return"function"==typeof e[e.length-1]&&(n=e.pop()),t.lift(new M(e,n))}}class M{constructor(e,t){this.observables=e,this.project=t}call(e,t){return t.subscribe(new I(e,this.observables,this.project))}}class I extends g.a{constructor(e,t,n){super(e),this.observables=t,this.project=n,this.toRespond=[];const i=t.length;this.values=new Array(i);for(let r=0;r<i;r++)this.toRespond.push(r);for(let r=0;r<i;r++){let e=t[r];this.add(Object(m.a)(this,e,e,r))}}notifyNext(e,t,n,i,r){this.values[n]=t;const s=this.toRespond;if(s.length>0){const e=s.indexOf(n);-1!==e&&s.splice(e,1)}}notifyComplete(){}_next(e){if(0===this.toRespond.length){const t=[e,...this.values];this.project?this._tryProject(t):this.destination.next(t)}}_tryProject(e){let t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}var D=n("3E0/"),j=n("w1tV");function A(e,t){}function T(e,t){if(1&e&&(i.Ec(0,"button",3),i.zd(1),i.xd(2,A,0,0,"ng-template",4),i.Dc()),2&e){const e=t.$implicit;i.bd("ngbPanelToggle",e),i.jc(1),i.Bd(" ",e.title,""),i.jc(1),i.bd("ngTemplateOutlet",null==e.titleTpl?null:e.titleTpl.templateRef)}}function z(e,t){}function L(e,t){}function N(e,t){if(1&e&&(i.Ec(0,"div",8),i.Ec(1,"div",9),i.xd(2,L,0,0,"ng-template",4),i.Dc(),i.Dc()),2&e){const e=i.Uc().$implicit;i.pc("show",e.isOpen),i.cd("id",e.id),i.kc("aria-labelledby",e.id+"-header"),i.jc(2),i.bd("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)}}const R=function(e,t){return{$implicit:e,opened:t}};function F(e,t){if(1&e&&(i.Ec(0,"div"),i.Ec(1,"div",5),i.xd(2,z,0,0,"ng-template",6),i.Dc(),i.xd(3,N,3,5,"div",7),i.Dc()),2&e){const e=t.$implicit,n=i.Uc(),r=i.kd(1);i.lc("card "+(e.cardClass||"")),i.jc(1),i.lc("card-header "+(e.type?"bg-"+e.type:n.type?"bg-"+n.type:"")),i.dd("id","",e.id,"-header"),i.jc(1),i.bd("ngTemplateOutlet",(null==e.headerTpl?null:e.headerTpl.templateRef)||r)("ngTemplateOutletContext",i.gd(8,R,e,e.isOpen)),i.jc(1),i.bd("ngIf",!n.destroyOnHide||e.isOpen)}}const V=["aria-label",$localize`:@@ngb.alert.close␟f4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8␟7819314041543176992:Close`];function U(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",1),i.Kc(1,V),i.Qc("click",(function(){return i.nd(e),i.Uc().closeHandler()})),i.Ec(2,"span",2),i.zd(3,"\xd7"),i.Dc(),i.Dc()}}const H=["*"];function B(e,t){if(1&e){const e=i.Fc();i.Ec(0,"li",7),i.Qc("click",(function(){i.nd(e);
1const n=t.$implicit,r=i.Uc(2);return r.select(n.id,r.NgbSlideEventSource.INDICATOR)})),i.Dc()}if(2&e){const e=t.$implicit,n=i.Uc(2);i.pc("active",e.id===n.activeId),i.bd("id",e.id)}}function $(e,t){if(1&e&&(i.Ec(0,"ol",5),i.xd(1,B,1,3,"li",6),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngForOf",e.slides)}}function q(e,t){}function W(e,t){if(1&e&&(i.Ec(0,"div",8),i.xd(1,q,0,0,"ng-template",9),i.Dc()),2&e){const e=t.$implicit,n=i.Uc();i.pc("active",e.id===n.activeId),i.jc(1),i.bd("ngTemplateOutlet",e.tplRef)}}var G,X;function Z(e,t){if(1&e){const e=i.Fc();i.Ec(0,"a",10),i.Qc("click",(function(){i.nd(e);const t=i.Uc();return t.prev(t.NgbSlideEventSource.ARROW_LEFT)})),i.zc(1,"span",11),i.Ec(2,"span",12),i.Ic(3,G),i.Dc(),i.Dc()}}function Y(e,t){if(1&e){const e=i.Fc();i.Ec(0,"a",13),i.Qc("click",(function(){i.nd(e);const t=i.Uc();return t.next(t.NgbSlideEventSource.ARROW_RIGHT)})),i.zc(1,"span",14),i.Ec(2,"span",12),i.Ic(3,X),i.Dc(),i.Dc()}}G=$localize`:@@ngb.carousel.previous␟680d5c75b7fd8d37961083608b9fcdc4167b4c43␟4452427314943113135:Previous`,X=$localize`:@@ngb.carousel.next␟f732c304c7433e5a83ffcd862c3dce709a0f4982␟3885497195825665706:Next`;const Q=["defaultDayTemplate"],K=["content"];function J(e,t){if(1&e&&i.zc(0,"div",7),2&e){const e=t.currentMonth,n=t.selected,r=t.disabled,s=t.focused;i.bd("date",t.date)("currentMonth",e)("selected",n)("disabled",r)("focused",s)}}function ee(e,t){if(1&e&&(i.Ec(0,"div",12),i.zd(1),i.Dc()),2&e){const e=i.Uc().$implicit,t=i.Uc(2);i.jc(1),i.Cd(" ",t.i18n.getMonthFullName(e.number,e.year)," ",t.i18n.getYearNumerals(e.year)," ")}}function te(e,t){if(1&e&&(i.Ec(0,"div",9),i.xd(1,ee,2,2,"div",10),i.zc(2,"ngb-datepicker-month",11),i.Dc()),2&e){const e=t.$implicit,n=i.Uc(2);i.jc(1),i.bd("ngIf","none"===n.navigation||n.displayMonths>1&&"select"===n.navigation),i.jc(1),i.bd("month",e.firstDate)}}function ne(e,t){if(1&e&&i.xd(0,te,3,2,"div",8),2&e){const e=i.Uc();i.bd("ngForOf",e.model.months)}}function ie(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngb-datepicker-navigation",13),i.Qc("navigate",(function(t){return i.nd(e),i.Uc().onNavigateEvent(t)}))("select",(function(t){return i.nd(e),i.Uc().onNavigateDateSelect(t)})),i.Dc()}if(2&e){const e=i.Uc();i.bd("date",e.model.firstDate)("months",e.model.months)("disabled",e.model.disabled)("showSelect","select"===e.model.navigation)("prevDisabled",e.model.prevDisabled)("nextDisabled",e.model.nextDisabled)("selectBoxes",e.model.selectBoxes)}}function re(e,t){}function se(e,t){}function oe(e,t){1&e&&i.zc(0,"div",5)}function ae(e,t){if(1&e&&(i.Ec(0,"div",6),i.zd(1),i.Dc()),2&e){const e=t.$implicit,n=i.Uc(2);i.jc(1),i.Bd(" ",n.i18n.getWeekdayShortName(e)," ")}}function ce(e,t){if(1&e&&(i.Ec(0,"div",2),i.xd(1,oe,1,0,"div",3),i.xd(2,ae,2,1,"div",4),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngIf",e.datepicker.showWeekNumbers),i.jc(1),i.bd("ngForOf",e.viewModel.weekdays)}}function le(e,t){if(1&e&&(i.Ec(0,"div",11),i.zd(1),i.Dc()),2&e){const e=i.Uc(2).$implicit,t=i.Uc();i.jc(1),i.Ad(t.i18n.getWeekNumerals(e.number))}}function ue(e,t){}function de(e,t){if(1&e&&i.xd(0,ue,0,0,"ng-template",14),2&e){const e=i.Uc().$implicit,t=i.Uc(3);i.bd("ngTemplateOutlet",t.datepicker.dayTemplate)("ngTemplateOutletContext",e.context)}}function he(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",12),i.Qc("click",(function(n){i.nd(e);const r=t.$implicit;return i.Uc(3).doSelect(r),n.preventDefault()})),i.xd(1,de,1,2,"ng-template",13),i.Dc()}if(2&e){const e=t.$implicit;i.pc("disabled",e.context.disabled)("hidden",e.hidden)("ngb-dp-today",e.context.today),i.bd("tabindex",e.tabindex),i.kc("aria-label",e.ariaLabel),i.jc(1),i.bd("ngIf",!e.hidden)}}function pe(e,t){if(1&e&&(i.Ec(0,"div",8),i.xd(1,le,2,1,"div",9),i.xd(2,he,2,9,"div",10),i.Dc()),2&e){const e=i.Uc().$implicit,t=i.Uc();i.jc(1),i.bd("ngIf",t.datepicker.showWeekNumbers),i.jc(1),i.bd("ngForOf",e.days)}}function fe(e,t){1&e&&i.xd(0,pe,3,2,"div",7),2&e&&i.bd("ngIf",!t.$implicit.collapsed)}const ge=["aria-label",$localize`:@@ngb.datepicker.previous-month␟c3b08b07b5ab98e7cdcf18df39355690ab7d3884␟8586908745456864217:Previous month`,"title",$localize`:@@ngb.datepicker.previous-month␟c3b08b07b5ab98e7cdcf18df39355690ab7d3884␟8586908745456864217:Previous month`],me=["aria-label",$localize`:@@ngb.datepicker.next-month␟4bd046985cfe13040d5ef0cd881edce0968a111a␟3628374603023447227:Next month`,"title",$localize`:@@ngb.datepicker.next-month␟4bd046985cfe13040d5ef0cd881edce0968a111a␟3628374603023447227:Next month`];function be(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngb-datepicker-navigation-select",6),i.Qc("select",(function(t){return i.nd(e),i.Uc().select.emit(t)})),i.Dc()}if(2&e){const e=i.Uc();i.bd("date",e.date)("disabled",e.disabled)("months",e.selectBoxes.months)("years",e.selectBoxes.years)}}function ve(e,t){1&e&&i.zc(0,"div",0)}function we(e,t){1&e&&i.zc(0,"div",0)}function ye(e,t){if(1&e&&(i.xd(0,ve,1,0,"div",8),i.Ec(1,"div",9),i.zd(2),i.Dc(),i.xd(3,we,1,0,"div",8)),2&e){const e=t.$implicit,n=t.index,r=i.Uc(2);i.bd("ngIf",n>0),i.jc(2),i.Cd(" ",r.i18n.getMonthFullName(e.number,e.year)," ",r.i18n.getYearNumerals(e.year)," "),i.jc(1),i.bd("ngIf",n!==r.months.length-1)}}function Ce(e,t){if(1&e&&i.xd(0,ye,4,4,"ng-template",7),2&e){const e=i.Uc();i.bd("ngForOf",e.months)}}const _e=["ngbDatepickerDayView",""],xe=["month"],Oe=["year"],Se=["aria-label",$localize`:@@ngb.datepicker.select-month␟1dbc84807f35518112f62e5775d1daebd3d8462b␟2253869508135064750:Select month`,"title",$localize`:@@ngb.datepicker.select-month␟1dbc84807f35518112f62e5775d1daebd3d8462b␟2253869508135064750:Select month`],Ee=["aria-label",$localize`:@@ngb.datepicker.select-year␟8ceb09d002bf0c5d1cac171dfbffe1805d2b3962␟8852264961585484321:Select year`,"title",$localize`:@@ngb.datepicker.select-year␟8ceb09d002bf0c5d1cac171dfbffe1805d2b3962␟8852264961585484321:Select year`];function Pe(e,t){if(1&e&&(i.Ec(0,"option",4),i.zd(1),i.Dc()),2&e){const e=t.$implicit,n=i.Uc();i.bd("value",e),i.kc("aria-label",n.i18n.getMonthFullName(e,null==n.date?null:n.date.year)),i.jc(1),i.Ad(n.i18n.getMonthShortName(e,null==n.date?null:n.date.year))}}function ke(e,t){if(1&e&&(i.Ec(0,"option",4),i.zd(1),i.Dc()),2&e){const e=t.$implicit,n=i.Uc();i.bd("value",e),i.jc(1),i.Ad(n.i18n.getYearNumerals(e))}}const Me=["dialog"],Ie=["ngbNavOutlet",""];function De(e,t){}const je=function(e){return{$implicit:e}};function Ae(e,t){if(1&e&&(i.Ec(0,"div",2),i.xd(1,De,0,0,"ng-template",3),i.Dc()),2&e){const e=i.Uc().$implicit,t=i.Uc();i.pc("active",e.active),i.bd("id",e.panelDomId),i.kc("role",t.paneRole?t.paneRole:t.nav.roles?"tabpanel":void 0)("aria-labelledby",e.domId),i.jc(1),i.bd("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)("ngTemplateOutletContext",i.fd(7,je,e.active))}}function Te(e,t){1&e&&i.xd(0,Ae,2,9,"div",1),2&e&&i.bd("ngIf",t.$implicit.isPanelInDom())}var ze,Le,Ne,Re;function Fe(e,t){1&e&&(i.Ec(0,"span",8),i.Ic(1,ze),i.Dc())}function Ve(e,t){1&e&&(i.Ec(0,"span",8),i.Ic(1,Le),i.Dc())}function Ue(e,t){1&e&&(i.Ec(0,"span",8),i.Ic(1,Ne),i.Dc())}function He(e,t){1&e&&(i.Ec(0,"span",8),i.Ic(1,Re),i.Dc())}function Be(e,t){1&e&&i.zd(0,"...")}function $e(e,t){1&e&&(i.Ec(0,"span",10),i.zd(1,"(current)"),i.Dc())}function qe(e,t){if(1&e&&(i.zd(0),i.xd(1,$e,2,0,"span",9)),2&e){const e=t.$implicit,n=t.currentPage;i.Bd(" ",e," "),i.jc(1),i.bd("ngIf",e===n)}}ze=$localize`:@@ngb.pagination.first␟656506dfd46380956a655f919f1498d018f75ca0␟6867721956102594380:««`,Le=$localize`:@@ngb.pagination.previous␟6e52b6ee77a4848d899dd21b591c6fd499e3aef3␟6479320895410098858:«`,Ne=$localize`:@@ngb.pagination.next␟ba9cbb4ff311464308a3627e4f1c3345d9fe6d7d␟5458177150283468089:»`,Re=$localize`:@@ngb.pagination.last␟49f27a460bc97e7e00be5b37098bfa79884fc7d9␟5277020320267646988:»»`;const We=["aria-label",$localize`:@@ngb.pagination.first-aria␟f2f852318759c6396b5d3d17031d53817d7b38cc␟2241508602425256033:First`];function Ge(e,t){}const Xe=function(e,t){return{disabled:e,currentPage:t}};function Ze(e,t){if(1&e){const e=i.Fc();i.Ec(0,"li",11),i.Ec(1,"a",12),i.Kc(2,We),i.Qc("click",(function(t){return i.nd(e),i.Uc().selectPage(1),t.preventDefault()})),i.xd(3,Ge,0,0,"ng-template",13),i.Dc(),i.Dc()}if(2&e){const e=i.Uc(),t=i.kd(1);i.pc("disabled",e.previousDisabled()),i.jc(1),i.kc("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),i.jc(2),i.bd("ngTemplateOutlet",(null==e.tplFirst?null:e.tplFirst.templateRef)||t)("ngTemplateOutletContext",i.gd(6,Xe,e.previousDisabled(),e.page))}}const Ye=["aria-label",$localize`:@@ngb.pagination.previous-aria␟680d5c75b7fd8d37961083608b9fcdc4167b4c43␟4452427314943113135:Previous`];function Qe(e,t){}const Ke=function(e){return{disabled:e}};function Je(e,t){if(1&e){const e=i.Fc();i.Ec(0,"li",11),i.Ec(1,"a",12),i.Kc(2,Ye),i.Qc("click",(function(t){i.nd(e);const n=i.Uc();return n.selectPage(n.page-1),t.preventDefault()})),i.xd(3,Qe,0,0,"ng-template",13),i.Dc(),i.Dc()}if(2&e){const e=i.Uc(),t=i.kd(3);i.pc("disabled",e.previousDisabled()),i.jc(1),i.kc("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),i.jc(2),i.bd("ngTemplateOutlet",(null==e.tplPrevious?null:e.tplPrevious.templateRef)||t)("ngTemplateOutletContext",i.fd(6,Ke,e.previousDisabled()))}}function et(e,t){}const tt=function(e){return{disabled:!0,currentPage:e}};function nt(e,t){if(1&e&&(i.Ec(0,"a",16),i.xd(1,et,0,0,"ng-template",13),i.Dc()),2&e){const e=i.Uc(2),t=i.kd(9);i.jc(1),i.bd("ngTemplateOutlet",(null==e.tplEllipsis?null:e.tplEllipsis.templateRef)||t)("ngTemplateOutletContext",i.fd(2,tt,e.page))}}function it(e,t){}const rt=function(e,t,n){return{disabled:e,$implicit:t,currentPage:n}};function st(e,t){if(1&e){const e=i.Fc();i.Ec(0,"a",17),i.Qc("click",(function(t){i.nd(e);const n=i.Uc().$implicit;return i.Uc().selectPage(n),t.preventDefault()})),i.xd(1,it,0,0,"ng-template",13),i.Dc()}if(2&e){const e=i.Uc().$implicit,t=i.Uc(),n=i.kd(11);i.kc("tabindex",t.disabled?"-1":null)("aria-disabled",t.disabled?"true":null),i.jc(1),i.bd("ngTemplateOutlet",(null==t.tplNumber?null:t.tplNumber.templateRef)||n)("ngTemplateOutletContext",i.hd(4,rt,t.disabled,e,t.page))}}function ot(e,t){if(1&e&&(i.Ec(0,"li",11),i.xd(1,nt,2,4,"a",14),i.xd(2,st,2,8,"a",15),i.Dc()),2&e){const e=t.$implicit,n=i.Uc();i.pc("active",e===n.page)("disabled",n.isEllipsis(e)||n.disabled),i.kc("aria-current",e===n.page?"page":null),i.jc(1),i.bd("ngIf",n.isEllipsis(e)),i.jc(1),i.bd("ngIf",!n.isEllipsis(e))}}const at=["aria-label",$localize`:@@ngb.pagination.next-aria␟f732c304c7433e5a83ffcd862c3dce709a0f4982␟3885497195825665706:Next`];function ct(e,t){}function lt(e,t){if(1&e){const e=i.Fc();i.Ec(0,"li",11),i.Ec(1,"a",12),i.Kc(2,at),i.Qc("click",(function(t){i.nd(e);const n=i.Uc();return n.selectPage(n.page+1),t.preventDefault()})),i.xd(3,ct,0,0,"ng-template",13),i.Dc(),i.Dc()}if(2&e){const e=i.Uc(),t=i.kd(5);i.pc("disabled",e.nextDisabled()),i.jc(1),i.kc("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),i.jc(2),i.bd("ngTemplateOutlet",(null==e.tplNext?null:e.tplNext.templateRef)||t)("ngTemplateOutletContext",i.gd(6,Xe,e.nextDisabled(),e.page))}}const ut=["aria-label",$localize`:@@ngb.pagination.last-aria␟5c729788ba138508aca1bec050b610f7bf81db3e␟4882268002141858767:Last`];function dt(e,t){}function ht(e,t){if(1&e){const e=i.Fc();i.Ec(0,"li",11),i.Ec(1,"a",12),i.Kc(2,ut),i.Qc("click",(function(t){i.nd(e);const n=i.Uc();return n.selectPage(n.pageCount),t.preventDefault()})),i.xd(3,dt,0,0,"ng-template",13),i.Dc(),i.Dc()}if(2&e){const e=i.Uc(),t=i.kd(7);i.pc("disabled",e.nextDisabled()),i.jc(1),i.kc("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),i.jc(2),i.bd("ngTemplateOutlet",(null==e.tplLast?null:e.tplLast.templateRef)||t)("ngTemplateOutletContext",i.gd(6,Xe,e.nextDisabled(),e.page))}}function pt(e,t){if(1&e&&i.zd(0),2&e){const e=i.Uc(2);i.Ad(e.title)}}function ft(e,t){}function gt(e,t){if(1&e&&(i.Ec(0,"h3",3),i.xd(1,pt,1,1,"ng-template",null,4,i.yd),i.xd(3,ft,0,0,"ng-template",5),i.Dc()),2&e){const e=i.kd(2),t=i.Uc();i.jc(3),i.bd("ngTemplateOutlet",t.isTitleTemplate()?t.title:e)("ngTemplateOutletContext",t.context)}}var mt;function bt(e,t){if(1&e&&(i.Ec(0,"span"),i.Ic(1,mt),i.Vc(2,"percent"),i.Dc()),2&e){const e=i.Uc();i.jc(2),i.Lc(i.Wc(2,1,e.getValue()/e.max)),i.Jc(1)}}function vt(e,t){1&e&&i.zd(0),2&e&&i.Ad(100===t.fill?"\u2605":"\u2606")}function wt(e,t){}function yt(e,t){if(1&e){const e=i.Fc();i.Ec(0,"span",2),i.zd(1),i.Dc(),i.Ec(2,"span",3),i.Qc("mouseenter",(function(){i.nd(e);const n=t.index;return i.Uc().enter(n+1)}))("click",(function(){i.nd(e);const n=t.index;return i.Uc().handleClick(n+1)})),i.xd(3,wt,0,0,"ng-template",4),i.Dc()}if(2&e){const e=t.index,n=i.Uc(),r=i.kd(1);i.jc(1),i.Bd("(",e<n.nextRate?"*":" ",")"),i.jc(1),i.wd("cursor",n.readonly||n.disabled?"default":"pointer"),i.jc(1),i.bd("ngTemplateOutlet",n.starTemplate||n.starTemplateFromContent||r)("ngTemplateOutletContext",n.contexts[e])}}function Ct(e,t){}function _t(e,t){if(1&e){const e=i.Fc();i.Ec(0,"li",4),i.Ec(1,"a",5),i.Qc("click",(function(n){i.nd(e);const r=t.$implicit;return i.Uc().select(r.id),n.preventDefault()})),i.zd(2),i.xd(3,Ct,0,0,"ng-template",6),i.Dc(),i.Dc()}if(2&e){const e=t.$implicit,n=i.Uc();i.jc(1),i.pc("active",e.id===n.activeId)("disabled",e.disabled),i.bd("id",e.id),i.kc("tabindex",e.disabled?"-1":void 0)("aria-controls",n.destroyOnHide&&e.id!==n.activeId?null:e.id+"-panel")("aria-selected",e.i
1d===n.activeId)("aria-disabled",e.disabled),i.jc(1),i.Bd(" ",e.title,""),i.jc(1),i.bd("ngTemplateOutlet",(null==e.titleTpl?null:e.titleTpl.templateRef)||null)}}function xt(e,t){}function Ot(e,t){if(1&e&&(i.Ec(0,"div",8),i.xd(1,xt,0,0,"ng-template",6),i.Dc()),2&e){const e=i.Uc().$implicit,t=i.Uc();i.mc("tab-pane ",e.id===t.activeId?"active":null,""),i.dd("id","",e.id,"-panel"),i.kc("aria-labelledby",e.id),i.jc(1),i.bd("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)}}function St(e,t){if(1&e&&i.xd(0,Ot,2,6,"div",7),2&e){const e=t.$implicit,n=i.Uc();i.bd("ngIf",!n.destroyOnHide||e.id===n.activeId)}}mt=$localize`:@@ngb.progressbar.value␟f8e9a947b9db4252c0e9905765338712f2fd032f␟3720830768741091151:${"\ufffd0\ufffd"}:INTERPOLATION:`;const Et=["placeholder",$localize`:@@ngb.timepicker.HH␟ce676ab1d6d98f85c836381cf100a4a91ef95a1f␟4043638465245303811:HH`,"aria-label",$localize`:@@ngb.timepicker.hours␟3bbce5fef7e1151da052a4e529453edb340e3912␟8070396816726827304:Hours`],Pt=["placeholder",$localize`:@@ngb.timepicker.MM␟72c8edf6a50068a05bde70991e36b1e881f4ca54␟1647282246509919852:MM`,"aria-label",$localize`:@@ngb.timepicker.minutes␟41e62daa962947c0d23ded0981975d1bddf0bf38␟5531237363767747080:Minutes`];var kt,Mt,It,Dt;function jt(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(e);const t=i.Uc();return t.changeHour(t.hourStep)})),i.zc(1,"span",11),i.Ec(2,"span",12),i.Ic(3,kt),i.Dc(),i.Dc()}if(2&e){const e=i.Uc();i.pc("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),i.bd("disabled",e.disabled)}}function At(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(e);const t=i.Uc();return t.changeHour(0-t.hourStep)})),i.zc(1,"span",13),i.Ec(2,"span",12),i.Ic(3,Mt),i.Dc(),i.Dc()}if(2&e){const e=i.Uc();i.pc("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),i.bd("disabled",e.disabled)}}function Tt(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(e);const t=i.Uc();return t.changeMinute(t.minuteStep)})),i.zc(1,"span",11),i.Ec(2,"span",12),i.Ic(3,It),i.Dc(),i.Dc()}if(2&e){const e=i.Uc();i.pc("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),i.bd("disabled",e.disabled)}}function zt(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(e);const t=i.Uc();return t.changeMinute(0-t.minuteStep)})),i.zc(1,"span",13),i.Ec(2,"span",12),i.Ic(3,Dt),i.Dc(),i.Dc()}if(2&e){const e=i.Uc();i.pc("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),i.bd("disabled",e.disabled)}}function Lt(e,t){1&e&&(i.Ec(0,"div",5),i.zd(1,":"),i.Dc())}kt=$localize`:@@ngb.timepicker.increment-hours␟cb74bc1d625a6c1742f0d7d47306cf495780c218␟5939278348542933629:Increment hours`,Mt=$localize`:@@ngb.timepicker.decrement-hours␟147c7a19429da7d999e247d22e33fee370b1691b␟3651829882940481818:Decrement hours`,It=$localize`:@@ngb.timepicker.increment-minutes␟f5a4a3bc05e053f6732475d0e74875ec01c3a348␟180147720391025024:Increment minutes`,Dt=$localize`:@@ngb.timepicker.decrement-minutes␟c1a6899e529c096da5b660385d4e77fe1f7ad271␟7447789825403243588:Decrement minutes`;const Nt=["placeholder",$localize`:@@ngb.timepicker.SS␟ebe38d36a40a2383c5fefa9b4608ffbda08bd4a3␟3628127143071124194:SS`,"aria-label",$localize`:@@ngb.timepicker.seconds␟4f2ed9e71a7c981db3e50ae2fedb28aff2ec4e6c␟8874012390997067175:Seconds`];var Rt,Ft,Vt,Ut;function Ht(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(e);const t=i.Uc(2);return t.changeSecond(t.secondStep)})),i.zc(1,"span",11),i.Ec(2,"span",12),i.Ic(3,Rt),i.Dc(),i.Dc()}if(2&e){const e=i.Uc(2);i.pc("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),i.bd("disabled",e.disabled)}}function Bt(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(e);const t=i.Uc(2);return t.changeSecond(0-t.secondStep)})),i.zc(1,"span",13),i.Ec(2,"span",12),i.Ic(3,Ft),i.Dc(),i.Dc()}if(2&e){const e=i.Uc(2);i.pc("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),i.bd("disabled",e.disabled)}}function $t(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",14),i.xd(1,Ht,4,7,"button",3),i.Ec(2,"input",4),i.Kc(3,Nt),i.Qc("change",(function(t){return i.nd(e),i.Uc().updateSecond(t.target.value)}))("input",(function(t){return i.nd(e),i.Uc().formatInput(t.target)}))("keydown.ArrowUp",(function(t){i.nd(e);const n=i.Uc();return n.changeSecond(n.secondStep),t.preventDefault()}))("keydown.ArrowDown",(function(t){i.nd(e);const n=i.Uc();return n.changeSecond(0-n.secondStep),t.preventDefault()})),i.Dc(),i.xd(4,Bt,4,7,"button",3),i.Dc()}if(2&e){const e=i.Uc();i.jc(1),i.bd("ngIf",e.spinners),i.jc(1),i.pc("form-control-sm",e.isSmallSize)("form-control-lg",e.isLargeSize),i.bd("value",e.formatMinSec(null==e.model?null:e.model.second))("readOnly",e.readonlyInput
1s)("disabled",e.disabled),i.jc(2),i.bd("ngIf",e.spinners)}}function qt(e,t){1&e&&i.zc(0,"div",5)}function Wt(e,t){if(1&e&&(i.Cc(0),i.Ic(1,Vt),i.Bc()),2&e){const e=i.Uc(2);i.jc(1),i.Lc(e.i18n.getAfternoonPeriod()),i.Jc(1)}}function Gt(e,t){if(1&e&&i.Ic(0,Ut),2&e){const e=i.Uc(2);i.Lc(e.i18n.getMorningPeriod()),i.Jc(0)}}function Xt(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",15),i.Ec(1,"button",16),i.Qc("click",(function(){return i.nd(e),i.Uc().toggleMeridian()})),i.xd(2,Wt,2,1,"ng-container",17),i.xd(3,Gt,1,1,"ng-template",null,18,i.yd),i.Dc(),i.Dc()}if(2&e){const e=i.kd(4),t=i.Uc();i.jc(1),i.pc("btn-sm",t.isSmallSize)("btn-lg",t.isLargeSize)("disabled",t.disabled),i.bd("disabled",t.disabled),i.jc(1),i.bd("ngIf",t.model&&t.model.hour>=12)("ngIfElse",e)}}function Zt(e,t){if(1&e&&(i.Ec(0,"strong",3),i.zd(1),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.Ad(e.header)}}Rt=$localize`:@@ngb.timepicker.increment-seconds␟912322ecee7d659d04dcf494a70e22e49d334b26␟5364772110539092174:Increment seconds`,Ft=$localize`:@@ngb.timepicker.decrement-seconds␟5db47ac104294243a70eb9124fbea9d0004ddf69␟753633511487974857:Decrement seconds`,Vt=$localize`:@@ngb.timepicker.PM␟8d6e691e10306c1b34c6b26805151aaea320ef7f␟3564199131264287502:${"\ufffd0\ufffd"}:INTERPOLATION:`,Ut=$localize`:@@ngb.timepicker.AM␟69a1f176a93998876952adac57c3bc3863b6105e␟4592818992509942761:${"\ufffd0\ufffd"}:INTERPOLATION:`;const Yt=["aria-label",$localize`:@@ngb.toast.close-aria␟f4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8␟7819314041543176992:Close`];function Qt(e,t){}function Kt(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",4),i.xd(1,Qt,0,0,"ng-template",5),i.Ec(2,"button",6),i.Kc(3,Yt),i.Qc("click",(function(){return i.nd(e),i.Uc().hide()})),i.Ec(4,"span",7),i.zd(5,"\xd7"),i.Dc(),i.Dc(),i.Dc()}if(2&e){const e=i.Uc(),t=i.kd(1);i.jc(1),i.bd("ngTemplateOutlet",e.contentHeaderTpl||t)}}function Jt(e,t){if(1&e&&(i.Ec(0,"span"),i.zd(1),i.Dc()),2&e){const e=i.Uc().$implicit,t=i.Uc();i.lc(t.highlightClass),i.jc(1),i.Ad(e)}}function en(e,t){if(1&e&&i.zd(0),2&e){const e=i.Uc().$implicit;i.Ad(e)}}function tn(e,t){if(1&e&&(i.xd(0,Jt,2,3,"span",1),i.xd(1,en,1,1,"ng-template",null,2,i.yd)),2&e){const e=t.odd,n=i.kd(2);i.bd("ngIf",e)("ngIfElse",n)}}function nn(e,t){if(1&e&&i.zc(0,"ngb-highlight",2),2&e){const e=t.term;i.bd("result",(0,t.formatter)(t.result))("term",e)}}function rn(e,t){}const sn=function(e,t,n){return{result:e,term:t,formatter:n}};function on(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",3),i.Qc("mouseenter",(function(){i.nd(e);const n=t.index;return i.Uc().markActive(n)}))("click",(function(){i.nd(e);const n=t.$implicit;return i.Uc().select(n)})),i.xd(1,rn,0,0,"ng-template",4),i.Dc()}if(2&e){const e=t.$implicit,n=t.index,r=i.Uc(),s=i.kd(1);i.pc("active",n===r.activeIdx),i.bd("id",r.id+"-"+n),i.jc(1),i.bd("ngTemplateOutlet",r.resultTemplate||s)("ngTemplateOutletContext",i.hd(5,sn,e,r.term,r.formatter))}}function an(e){return parseInt(""+e,10)}function cn(e){return null!=e?""+e:""}function ln(e,t,n=0){return Math.max(Math.min(e,t),n)}function un(e){return"string"==typeof e}function dn(e){return!isNaN(an(e))}function hn(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function pn(e){return null!=e}function fn(e){return dn(e)?("0"+e).slice(-2):""}function gn(e,t){return e&&e.className&&e.className.split&&e.className.split(/\s+/).indexOf(t)>=0}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){let t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});let mn=(()=>{let e=class{constructor(){this.closeOthers=!1}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),bn=0,vn=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbPanelHeader",""]]}),e})(),wn=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbPanelTitle",""]]}),e})(),yn=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbPanelContent",""]]}),e})(),Cn=(()=>{let e=class{constructor(){this.disabled=!1,this.id="ngb-panel-"+bn++,this.isOpen=!1}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["ngb-panel"]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,wn,!1),i.qc(n,vn,!1),i.qc(n,yn,!1)),2&e&&(i.jd(r=i.Rc())&&(t.titleTpls=r),i.jd(r=i.Rc())&&(t.headerTpls=r),i.jd(r=i.Rc())&&(t.contentTpls=r))}
1,inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"}}),e})(),_n=(()=>{let e=class{constructor(e){this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new i.s,this.type=e.type,this.closeOtherPanels=e.closeOthers}isExpanded(e){return this.activeIds.indexOf(e)>-1}expand(e){this._changeOpenState(this._findPanelById(e),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(e=>this._changeOpenState(e,!0))}collapse(e){this._changeOpenState(this._findPanelById(e),!1)}collapseAll(){this.panels.forEach(e=>{this._changeOpenState(e,!1)})}toggle(e){const t=this._findPanelById(e);t&&this._changeOpenState(t,!t.isOpen)}ngAfterContentChecked(){un(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(e=>e.isOpen=!e.disabled&&this.activeIds.indexOf(e.id)>-1),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())}_changeOpenState(e,t){if(null!=e&&!e.disabled&&e.isOpen!==t){let n=!1;this.panelChange.emit({panelId:e.id,nextState:t,preventDefault:()=>{n=!0}}),n||(e.isOpen=t,t&&this.closeOtherPanels&&this._closeOthers(e.id),this._updateActiveIds())}}_closeOthers(e){this.panels.forEach(t=>{t.id!==e&&(t.isOpen=!1)})}_findPanelById(e){return this.panels.find(t=>t.id===e)||null}_updateActiveIds(){this.activeIds=this.panels.filter(e=>e.isOpen&&!e.disabled).map(e=>e.id)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(mn))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-accordion"]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,Cn,!1),2&e&&i.jd(r=i.Rc())&&(t.panels=r)},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("aria-multiselectable",!t.closeOtherPanels)},inputs:{activeIds:"activeIds",destroyOnHide:"destroyOnHide",type:"type",closeOtherPanels:["closeOthers","closeOtherPanels"]},outputs:{panelChange:"panelChange"},exportAs:["ngbAccordion"],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"btn","btn-link",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel","class","collapse",3,"id","show",4,"ngIf"],["role","tabpanel",1,"collapse",3,"id"],[1,"card-body"]],template:function(e,t){1&e&&(i.xd(0,T,3,3,"ng-template",0,1,i.yd),i.xd(2,F,4,11,"ng-template",2)),2&e&&(i.jc(2),i.bd("ngForOf",t.panels))},directives:function(){return[vn,r.t,xn,r.B,r.u]},encapsulation:2}),e})(),xn=(()=>{let e=class{constructor(e,t){this.accordion=e,this.panel=t}set ngbPanelToggle(e){e&&(this.panel=e)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(_n),i.yc(Cn,9))},e.\u0275dir=i.tc({type:e,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(e,t){1&e&&i.Qc("click",(function(){return t.accordion.toggle(t.panel.id)})),2&e&&(i.Hc("disabled",t.panel.disabled),i.kc("aria-expanded",t.panel.isOpen)("aria-controls",t.panel.id),i.pc("collapsed",!t.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"}}),e})(),On=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})(),Sn=(()=>{let e=class{constructor(){this.dismissible=!0,this.type="warning"}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),En=(()=>{let e=class{constructor(e,t,n){this._renderer=t,this._element=n,this.close=new i.s,this.dismissible=e.dismissible,this.type=e.type}closeHandler(){this.close.emit()}ngOnChanges(e){const t=e.type;t&&!t.firstChange&&(this._renderer.removeClass(this._element.nativeElement,"alert-"+t.previousValue),this._renderer.addClass(this._element.nativeElement,"alert-"+t.currentValue))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,"alert-"+this.type)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(Sn),i.yc(i.L),i.yc(i.q))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert"],hostVars:2,hostBindings:function(e,t){2&e&&i.pc("alert-dismissible",t.dismissible)},inputs:{dismissible:"dismissible",type:"type"},outputs:{close:"close"},features:[i.hc],ngContentSelectors:H,decls:2,vars:1,consts:[["type","button","class","close",3,"click",4,"ngIf",6,"aria-label"],["type","button",1,"close",3,"click",6,"aria-label"],["aria-hidden","true"]],template:function(e,t){1&e&&(i.ad(),i.Zc(0),i.xd(1,U,4,0,"button",0)),2&e&&(i.jc(1),i.bd("ngIf",t.dismissible))},directives:[r.u],styles:["ngb-alert{display:block}"],encapsulation:2,changeDetection:0}),e})(),Pn=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})(),kn=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","ngbButtonLabel",""]],hostVars:8,hostBindings:function(e,t){2&e&&i.pc("bt
1n",!0)("active",t.active)("disabled",t.disabled)("focus",t.focused)}}),e})();const Mn={provide:s.o,useExisting:Object(i.cb)(()=>In),multi:!0};let In=(()=>{let e=class{constructor(e,t){this._label=e,this._cd=t,this.disabled=!1,this.valueChecked=!0,this.valueUnChecked=!1,this.onChange=e=>{},this.onTouched=()=>{}}set focused(e){this._label.focused=e,e||this.onTouched()}onInputChange(e){const t=e.target.checked?this.valueChecked:this.valueUnChecked;this.onChange(t),this.onTouched(),this.writeValue(t)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._label.disabled=e}writeValue(e){this.checked=e===this.valueChecked,this._label.active=this.checked,this._cd.markForCheck()}};return e.\u0275fac=function(t){return new(t||e)(i.yc(kn),i.yc(i.j))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbButton","","type","checkbox"]],hostVars:2,hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onInputChange(e)}))("focus",(function(){return t.focused=!0}))("blur",(function(){return t.focused=!1})),2&e&&i.Hc("checked",t.checked)("disabled",t.disabled)},inputs:{disabled:"disabled",valueChecked:"valueChecked",valueUnChecked:"valueUnChecked"},features:[i.ic([Mn])]}),e})();const Dn={provide:s.o,useExisting:Object(i.cb)(()=>An),multi:!0};let jn=0,An=(()=>{let e=class{constructor(){this._radios=new Set,this._value=null,this.name="ngb-radio-"+jn++,this.onChange=e=>{},this.onTouched=()=>{}}get disabled(){return this._disabled}set disabled(e){this.setDisabledState(e)}onRadioChange(e){this.writeValue(e.value),this.onChange(e.value)}onRadioValueUpdate(){this._updateRadiosValue()}register(e){this._radios.add(e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._disabled=e,this._updateRadiosDisabled()}unregister(e){this._radios.delete(e)}writeValue(e){this._value=e,this._updateRadiosValue()}_updateRadiosValue(){this._radios.forEach(e=>e.updateValue(this._value))}_updateRadiosDisabled(){this._radios.forEach(e=>e.updateDisabled())}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","ngbRadioGroup",""]],hostAttrs:["role","radiogroup"],inputs:{name:"name"},features:[i.ic([Dn])]}),e})(),Tn=(()=>{let e=class{constructor(e,t,n,i,r){this._group=e,this._label=t,this._renderer=n,this._element=i,this._cd=r,this._value=null,this._group.register(this),this.updateDisabled()}set value(e){this._value=e;const t=e?e.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",t),this._group.onRadioValueUpdate()}set disabled(e){this._disabled=!1!==e,this.updateDisabled()}set focused(e){this._label&&(this._label.focused=e),e||this._group.onTouched()}get checked(){return this._checked}get disabled(){return this._group.disabled||this._disabled}get value(){return this._value}get nameAttr(){return this.name||this._group.name}ngOnDestroy(){this._group.unregister(this)}onChange(){this._group.onRadioChange(this)}updateValue(e){this.value!==e&&this._cd.markForCheck(),this._checked=this.value===e,this._label.active=this._checked}updateDisabled(){this._label.disabled=this.disabled}};return e.\u0275fac=function(t){return new(t||e)(i.yc(An),i.yc(kn),i.yc(i.L),i.yc(i.q),i.yc(i.j))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbButton","","type","radio"]],hostVars:3,hostBindings:function(e,t){1&e&&i.Qc("change",(function(){return t.onChange()}))("focus",(function(){return t.focused=!0}))("blur",(function(){return t.focused=!1})),2&e&&i.Hc("checked",t.checked)("disabled",t.disabled)("name",t.nameAttr)},inputs:{value:"value",disabled:"disabled",name:"name"}}),e})(),zn=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})(),Ln=(()=>{let e=class{constructor(){this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Nn=0,Rn=(()=>{let e=class{constructor(e){this.tplRef=e,this.id="ngb-slide-"+Nn++}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"}}),e})(),Fn=(()=>{let e=class{constructor(e,t,n,r){this._platformId=t,this._ngZone=n,this._cd=r,this.NgbSlideEventSource=Un,this._destroy$=new o.a,this._interval$=new a.a(0),this._mouseHover$=new a.a(!1),this._pauseOnHover$=new a.a(!1),this._pause$=new a.a(!1),this._wrap$=new a.a(!1),this.slide=new i.s,this.interval=e.interval,this.wrap=e.wrap,this.keyboard=e.keyboard,this.pauseOnHover=e.pauseOnHover,this.showNavigationArrows=e.showNavigationArrows,this.showNavigationIndicators=e.showNavigationIndicators}set interval(e){this._interval$.next(e)}get interval(){return this._interval$.value}set wrap(e){this._wrap$.next(e)}get wrap(){return this._wrap$.value}set pauseOnHover(e){this._pauseOnHover$.next(e)}get pauseOnHover(){return this._pauseOnHover$.value}mouseEnter(){this._mouseHover$.next(!0)}mouseLeave(){this._mouseHover$.next(!1)}ngAfterContentInit(){Object(r.O)(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const e=Object(c.a)([this.slide.pipe(Object(y.a)(e=>e.current),Object(C.a)(this.activeId)),this._wrap$,this.slides.changes.pipe(Object(C.a)(null))]).pipe(Object(y.a)(([e,t])=>{const n=this.slides.toArray(),i=this._getSlideIdxById(e);return t?n.length>1:i<n.length-1}),Object(_.a)());Object(c.a)([this._pause$,this._pauseOnHover$,this._mouseHover$,this._interval$,e]).pipe(Object(y.a)(([e,t,n,i,r])=>
1e||t&&n||!r?0:i),Object(_.a)(),Object(x.a)(e=>e>0?Object(l.a)(e,e):u.a),Object(O.a)(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(Un.TIMER)))}),this.slides.changes.pipe(Object(O.a)(this._destroy$)).subscribe(()=>this._cd.markForCheck())}ngAfterContentChecked(){let e=this._getSlideById(this.activeId);this.activeId=e?e.id:this.slides.length?this.slides.first.id:""}ngOnDestroy(){this._destroy$.next()}select(e,t){this._cycleToSelected(e,this._getSlideEventDirection(this.activeId,e),t)}prev(e){this._cycleToSelected(this._getPrevSlide(this.activeId),Vn.RIGHT,e)}next(e){this._cycleToSelected(this._getNextSlide(this.activeId),Vn.LEFT,e)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}_cycleToSelected(e,t,n){let i=this._getSlideById(e);i&&i.id!==this.activeId&&(this.slide.emit({prev:this.activeId,current:i.id,direction:t,paused:this._pause$.value,source:n}),this.activeId=i.id),this._cd.markForCheck()}_getSlideEventDirection(e,t){return this._getSlideIdxById(e)>this._getSlideIdxById(t)?Vn.RIGHT:Vn.LEFT}_getSlideById(e){return this.slides.find(t=>t.id===e)||null}_getSlideIdxById(e){const t=this._getSlideById(e);return null!=t?this.slides.toArray().indexOf(t):-1}_getNextSlide(e){const t=this.slides.toArray(),n=this._getSlideIdxById(e);return n===t.length-1?this.wrap?t[0].id:t[t.length-1].id:t[n+1].id}_getPrevSlide(e){const t=this.slides.toArray(),n=this._getSlideIdxById(e);return 0===n?this.wrap?t[t.length-1].id:t[0].id:t[n-1].id}};return e.\u0275fac=function(t){return new(t||e)(i.yc(Ln),i.yc(i.I),i.yc(i.F),i.yc(i.j))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-carousel"]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,Rn,!1),2&e&&i.jd(r=i.Rc())&&(t.slides=r)},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:2,hostBindings:function(e,t){1&e&&i.Qc("keydown.arrowLeft",(function(){return t.keyboard&&t.prev(t.NgbSlideEventSource.ARROW_LEFT)}))("keydown.arrowRight",(function(){return t.keyboard&&t.next(t.NgbSlideEventSource.ARROW_RIGHT)}))("mouseenter",(function(){return t.mouseEnter()}))("mouseleave",(function(){return t.mouseLeave()})),2&e&&i.wd("display","block")},inputs:{interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators",activeId:"activeId"},outputs:{slide:"slide"},exportAs:["ngbCarousel"],decls:5,vars:4,consts:[["class","carousel-indicators",4,"ngIf"],[1,"carousel-inner"],["class","carousel-item",3,"active",4,"ngFor","ngForOf"],["class","carousel-control-prev","role","button",3,"click",4,"ngIf"],["class","carousel-control-next","role","button",3,"click",4,"ngIf"],[1,"carousel-indicators"],[3,"id","active","click",4,"ngFor","ngForOf"],[3,"id","click"],[1,"carousel-item"],[3,"ngTemplateOutlet"],["role","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],[1,"sr-only"],["role","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"]],template:function(e,t){1&e&&(i.xd(0,$,2,1,"ol",0),i.Ec(1,"div",1),i.xd(2,W,2,3,"div",2),i.Dc(),i.xd(3,Z,4,0,"a",3),i.xd(4,Y,4,0,"a",4)),2&e&&(i.bd("ngIf",t.showNavigationIndicators),i.jc(2),i.bd("ngForOf",t.slides),i.jc(1),i.bd("ngIf",t.showNavigationArrows),i.jc(1),i.bd("ngIf",t.showNavigationArrows))},directives:[r.u,r.t,r.B],encapsulation:2,changeDetection:0}),e})();var Vn=function(e){return e[e.LEFT="left"]="LEFT",e[e.RIGHT="right"]="RIGHT",e}({}),Un=function(e){return e.TIMER="timer",e.ARROW_LEFT="arrowLeft",e.ARROW_RIGHT="arrowRight",e.INDICATOR="indicator",e}({});let Hn=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})(),Bn=(()=>{let e=class{constructor(){this.collapsed=!1}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","ngbCollapse",""]],hostVars:4,hostBindings:function(e,t){2&e&&i.pc("collapse",!0)("show",!t.collapsed)},inputs:{collapsed:["ngbCollapse","collapsed"]},exportAs:["ngbCollapse"]}),e})(),$n=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})();class qn{constructor(e,t,n){this.year=hn(e)?e:null,this.month=hn(t)?t:null,this.day=hn(n)?n:null}static from(e){return e instanceof qn?e:e?new qn(e.year,e.month,e.day):null}equals(e){return null!=e&&this.year===e.year&&this.month===e.month&&this.day===e.day}before(e){return!!e&&(this.year===e.year?this.month===e.month?this.day!==e.day&&this.day<e.day:this.month<e.month:this.year<e.year)}after(e){return!!e&&(this.year===e.year?this.month===e.month?this.day!==e.day&&this.day>e.day:this.month>e.month:this.year>e.year)}}function Wn(e){return new qn(e.getFullYear(),e.getMonth()+1,e.getDate())}function Gn(e){const t=new Date(e.year,e.month-1,e.day,12);return isNaN(t.getTime())||t.setFullYear(e.year),t}function Xn(){return new Yn}let Zn=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:Xn,token:e,providedIn:"root"}),e})(),Yn=(()=>{let e=class extends Zn{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(e,t="d",n=1){let i=Gn(e),r=!0,s=i.getMonth();switch(t){case"y":i.setFullYear(i.getFullYear()+n);break;case"m":s+=n,i.setMonth(s),s%=12,s<0&&(s+=12);break;case"d":i.setDate(i.getDate()+n),r=!1;break;default:return e}return r&&i.getMonth()!==s&&i.setDate(0),Wn(i)}getPrev(e,t="d",n=1){return this.getNext(e,t,-n)}getWeekday(e){let t=Gn(e).getDay();return 0===t?7:t}getWeekNumber(e,t){7===t&&(t=0);const n=Gn(e[(11-t)%7]);n.setDate(n.getDate()+4-(n.getDay()||7));const i=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((i-n.getTime())/864e5)/7)+1}getToday(){return Wn(new Date)}isValid(e){if(!(e&&hn(e.year)&&hn(e.month)&&hn(e.day)))return!1;if(0===e.year)return!1;const t=Gn(e);return!isNaN(t.getTime())&&t.getFullYear()===e.year&&t.getMonth()+1===e.month&&t.getDate()===e.day}};return e.\u0275fac=function(t){return Os(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();function Qn(e,t){return!function(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}(e,t)}function Kn(e,t){return!(!e&&!t||e&&t&&e.year===t.year&&e.month===t.month)}
1function Jn(e,t,n){return e&&t&&e.before(t)?t:e&&n&&e.after(n)?n:e||null}function ei(e,t){const{minDate:n,maxDate:i,disabled:r,markDisabled:s}=t;return!(null==e||r||s&&s(e,{year:e.year,month:e.month})||n&&e.before(n)||i&&e.after(i))}let ti=(()=>{let e=class{getDayNumerals(e){return""+e.day}getWeekNumerals(e){return""+e}getYearNumerals(e){return""+e}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return e=Object(i.Mc)(i.z),new ni(e);var e},token:e,providedIn:"root"}),e})(),ni=(()=>{let e=class extends ti{constructor(e){super(),this._locale=e;const t=Object(r.L)(e,r.h.Standalone,r.H.Short);this._weekdaysShort=t.map((e,n)=>t[(n+1)%7]),this._monthsShort=Object(r.N)(e,r.h.Standalone,r.H.Abbreviated),this._monthsFull=Object(r.N)(e,r.h.Standalone,r.H.Wide)}getWeekdayShortName(e){return this._weekdaysShort[e-1]||""}getMonthShortName(e){return this._monthsShort[e-1]||""}getMonthFullName(e){return this._monthsFull[e-1]||""}getDayAriaLabel(e){const t=new Date(e.year,e.month-1,e.day);return Object(r.K)(t,"fullDate",this._locale)}};return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.z))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),ii=(()=>{let e=class{constructor(e,t){this._calendar=e,this._i18n=t,this._VALIDATORS={dayTemplateData:e=>{if(this._state.dayTemplateData!==e)return{dayTemplateData:e}},displayMonths:e=>{if(hn(e=an(e))&&e>0&&this._state.displayMonths!==e)return{displayMonths:e}},disabled:e=>{if(this._state.disabled!==e)return{disabled:e}},firstDayOfWeek:e=>{if(hn(e=an(e))&&e>=0&&this._state.firstDayOfWeek!==e)return{firstDayOfWeek:e}},focusVisible:e=>{if(this._state.focusVisible!==e&&!this._state.disabled)return{focusVisible:e}},markDisabled:e=>{if(this._state.markDisabled!==e)return{markDisabled:e}},maxDate:e=>{const t=this.toValidDate(e,null);if(Qn(this._state.maxDate,t))return{maxDate:t}},minDate:e=>{const t=this.toValidDate(e,null);if(Qn(this._state.minDate,t))return{minDate:t}},navigation:e=>{if(this._state.navigation!==e)return{navigation:e}},outsideDays:e=>{if(this._state.outsideDays!==e)return{outsideDays:e}}},this._model$=new o.a,this._dateSelect$=new o.a,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]}}}get model$(){return this._model$.pipe(Object(S.a)(e=>e.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe(Object(S.a)(e=>null!==e))}set(e){let t=Object.keys(e).map(t=>this._VALIDATORS[t](e[t])).reduce((e,t)=>Object.assign(Object.assign({},e),t),{});Object.keys(t).length>0&&this._nextState(t)}focus(e){const t=this.toValidDate(e,null);null!=t&&!this._state.disabled&&Qn(this._state.focusDate,t)&&this._nextState({focusDate:e})}focusSelect(){ei(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(e){const t=this.toValidDate(e,this._calendar.getToday());null==t||this._state.disabled||this._state.firstDate&&!Kn(this._state.firstDate,t)||this._nextState({firstDate:t})}select(e,t={}){const n=this.toValidDate(e,null);null==n||this._state.disabled||(Qn(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),t.emitEvent&&ei(n,this._state)&&this._dateSelect$.next(n))}toValidDate(e,t){const n=qn.from(e);return void 0===t&&(t=this._calendar.getToday()),this._calendar.isValid(n)?n:t}getMonth(e){for(let t of this._state.months)if(e.month===t.number&&e.year===t.year)return t;throw new Error(`month ${e.month} of year ${e.year} not found`)}_nextState(e){const t=this._updateState(e);this._patchContexts(t),this._state=t,this._model$.next(this._state)}_patchContexts(e){const{months:t,displayMonths:n,selectedDate:i,focusDate:r,focusVisible:s,disabled:o,outsideDays:a}=e;e.months.forEach(e=>{e.weeks.forEach(c=>{c.days.forEach(c=>{r&&(c.context.focused=r.equals(c.date)&&s),c.tabindex=!o&&r&&c.date.equals(r)&&r.month===e.number?0:-1,!0===o&&(c.context.disabled=!0),void 0!==i&&(c.context.selected=null!==i&&i.equals(c.date)),e.number!==c.date.month&&(c.hidden="hidden"===a||"collapsed"===a||n>1&&c.date.after(t[0].firstDate)&&c.date.before(t[n-1].lastDate))})})})}_updateState(e){const t=Object.assign({},this._state,e);let n=t.firstDate;if(("minDate"in e||"maxDate"in e)&&(function(e,t){if(t&&e&&t.before(e))throw new Error(`'maxDate' ${t} should be greater than 'minDate' ${e}`)}
1(t.minDate,t.maxDate),t.focusDate=Jn(t.focusDate,t.minDate,t.maxDate),t.firstDate=Jn(t.firstDate,t.minDate,t.maxDate),n=t.focusDate),"disabled"in e&&(t.focusVisible=!1),"selectedDate"in e&&0===this._state.months.length&&(n=t.selectedDate),"focusVisible"in e)return t;if("focusDate"in e&&(t.focusDate=Jn(t.focusDate,t.minDate,t.maxDate),n=t.focusDate,0!==t.months.length&&t.focusDate&&!t.focusDate.before(t.firstDate)&&!t.focusDate.after(t.lastDate)))return t;if("firstDate"in e&&(t.firstDate=Jn(t.firstDate,t.minDate,t.maxDate),n=t.firstDate),n){const i=function(e,t,n,i,r){const{displayMonths:s,months:o}=n,a=o.splice(0,o.length);return Array.from({length:s},(n,i)=>{const s=Object.assign(e.getNext(t,"m",i),{day:1});if(o[i]=null,!r){const e=a.findIndex(e=>e.firstDate.equals(s));-1!==e&&(o[i]=a.splice(e,1)[0])}return s}).forEach((t,r)=>{null===o[r]&&(o[r]=function(e,t,n,i,r={}){const{dayTemplateData:s,minDate:o,maxDate:a,firstDayOfWeek:c,markDisabled:l,outsideDays:u}=n,d=e.getToday();r.firstDate=null,r.lastDate=null,r.number=t.month,r.year=t.year,r.weeks=r.weeks||[],r.weekdays=r.weekdays||[],t=function(e,t,n){const i=e.getDaysPerWeek(),r=new qn(t.year,t.month,1),s=e.getWeekday(r)%i;return e.getPrev(r,"d",(i+s-n)%i)}(e,t,c);for(let h=0;h<e.getWeeksPerMonth();h++){let n=r.weeks[h];n||(n=r.weeks[h]={number:0,days:[],collapsed:!0});const p=n.days;for(let c=0;c<e.getDaysPerWeek();c++){0===h&&(r.weekdays[c]=e.getWeekday(t));const n=new qn(t.year,t.month,t.day),u=e.getNext(n),f=i.getDayAriaLabel(n);let g=!!(o&&n.before(o)||a&&n.after(a));!g&&l&&(g=l(n,{month:r.number,year:r.year}));let m=n.equals(d),b=s?s(n,{month:r.number,year:r.year}):void 0;null===r.firstDate&&n.month===r.number&&(r.firstDate=n),n.month===r.number&&u.month!==r.number&&(r.lastDate=n);let v=p[c];v||(v=p[c]={}),v.date=n,v.context=Object.assign(v.context||{},{$implicit:n,date:n,data:b,currentMonth:r.number,currentYear:r.year,disabled:g,focused:!1,selected:!1,today:m}),v.tabindex=-1,v.ariaLabel=f,v.hidden=!1,t=u}n.number=e.getWeekNumber(p.map(e=>e.date),c),n.collapsed="collapsed"===u&&p[0].date.month!==r.number&&p[p.length-1].date.month!==r.number}return r}(e,t,n,i,a.shift()||{}))}),o}(this._calendar,n,t,this._i18n,"dayTemplateData"in e||"firstDayOfWeek"in e||"markDisabled"in e||"minDate"in e||"maxDate"in e||"disabled"in e||"outsideDays"in e);t.months=i,t.firstDate=i[0].firstDate,t.lastDate=i[i.length-1].lastDate,"selectedDate"in e&&!ei(t.selectedDate,t)&&(t.selectedDate=null),"firstDate"in e&&(!t.focusDate||t.focusDate.before(t.firstDate)||t.focusDate.after(t.lastDate))&&(t.focusDate=n);const r=!this._state.firstDate||this._state.firstDate.year!==t.firstDate.year,s=!this._state.firstDate||this._state.firstDate.month!==t.firstDate.month;"select"===t.navigation?(("minDate"in e||"maxDate"in e||0===t.selectBoxes.years.length||r)&&(t.selectBoxes.years=function(e,t,n){if(!e)return[];const i=t?Math.max(t.year,e.year-500):e.year-10,r=(n?Math.min(n.year,e.year+500):e.year+10)-i+1,s=Array(r);for(let o=0;o<r;o++)s[o]=i+o;return s}(t.firstDate,t.minDate,t.maxDate)),("minDate"in e||"maxDate"in e||0===t.selectBoxes.months.length||r)&&(t.selectBoxes.months=function(e,t,n,i){if(!t)return[];let r=e.getMonths(t.year);if(n&&t.year===n.year){const e=r.findIndex(e=>e===n.month);r=r.slice(e)}if(i&&t.year===i.year){const e=r.findIndex(e=>e===i.month);r=r.slice(0,e+1)}return r}(this._calendar,t.firstDate,t.minDate,t.maxDate))):t.selectBoxes={years:[],months:[]},"arrows"!==t.navigation&&"select"!==t.navigation||!(s||r||"minDate"in e||"maxDate"in e||"disabled"in e)||(t.prevDisabled=t.disabled||function(e,t,n){const i=Object.assign(e.getPrev(t,"m"),{day:1});return null!=n&&(i.year===n.year&&i.month<n.month||i.year<n.year&&1===n.month)}(this._calendar,t.firstDate,t.minDate),t.nextDisabled=t.disabled||function(e,t,n){const i=Object.assign(e.getNext(t,"m"),{day:1});return null!=n&&i.after(n)}(this._calendar,t.lastDate,t.maxDate))}return t}};return e.\u0275fac=function(t){return new(t||e)(i.Mc(Zn),i.Mc(ti))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();var ri=function(e){return e[e.PREV=0]="PREV",e[e.NEXT=1]="NEXT",e}({});let si=(()=>{let e=class{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})();function oi(){return new ci}let ai=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:oi,token:e,providedIn:"root"}),e})(),ci=(()=>{let e=class extends ai{fromModel(e){return e&&hn(e.year)&&hn(e.month)&&hn(e.day)?{year:e.year,month:e.month,day:e.day}:null}toModel(e){return e&&hn(e.year)&&hn(e.month)&&hn(e.day)?{year:e.year,month:e.month,day:e.day}:null}};return e.\u0275fac=function(t){return Ss(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();const li={provide:s.o,useExisting:Object(i.cb)(()=>di),multi:!0};let ui=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbDatepickerContent",""]]}),e})(),di=(()=>{let e=class{constructor(e,t,n,r,s,a,c,l){this._service=e,this._calendar=t,this.i18n=n,this._elementRef=a,this._ngbDateAdapter=c,this._ngZone=l,this._controlValue=null,this._destroyed$=new o.a,this._publicState={},this.navigate=new i.s,this.dateSelect=new i.s,this.select=this.dateSelect,this.onChange=e=>{},this.onTouched=()=>{},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekdays","showWeekNumbers","startDate"].forEach(e
1=>this[e]=r[e]),e.dateSelect$.pipe(Object(O.a)(this._destroyed$)).subscribe(e=>{this.dateSelect.emit(e)}),e.model$.pipe(Object(O.a)(this._destroyed$)).subscribe(e=>{const t=e.firstDate,n=this.model?this.model.firstDate:null;this._publicState={maxDate:e.maxDate,minDate:e.minDate,firstDate:e.firstDate,lastDate:e.lastDate,focusedDate:e.focusDate,months:e.months.map(e=>e.firstDate)};let i=!1;if(!t.equals(n)&&(this.navigate.emit({current:n?{year:n.year,month:n.month}:null,next:{year:t.year,month:t.month},preventDefault:()=>i=!0}),i&&null!==n))return void this._service.open(n);const r=e.selectedDate,o=e.focusDate,a=this.model?this.model.focusDate:null;this.model=e,Qn(r,this._controlValue)&&(this._controlValue=r,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(r))),Qn(o,a)&&a&&e.focusVisible&&this.focus(),s.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}focusDate(e){this._service.focus(qn.from(e))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe(Object(E.a)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');e&&e.focus()})}navigateTo(e){this._service.open(qn.from(e?e.day?e:Object.assign(Object.assign({},e),{day:1}):null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const e=Object(d.a)(this._contentEl.nativeElement,"focusin"),t=Object(d.a)(this._contentEl.nativeElement,"focusout"),{nativeElement:n}=this._elementRef;Object(h.a)(e,t).pipe(Object(S.a)(({target:e,relatedTarget:t})=>!(gn(e,"ngb-dp-day")&&gn(t,"ngb-dp-day")&&n.contains(e)&&n.contains(t))),Object(O.a)(this._destroyed$)).subscribe(({type:e})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===e})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const e={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].forEach(t=>e[t]=this[t]),this._service.set(e),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(e){const t={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].filter(t=>t in e).forEach(e=>t[e]=this[e]),this._service.set(t),"startDate"in e){const{currentValue:t,previousValue:n}=e.startDate;Kn(n,t)&&this.navigateTo(this.startDate)}}onDateSelect(e){this._service.focus(e),this._service.select(e,{emitEvent:!0})}onNavigateDateSelect(e){this._service.open(e)}onNavigateEvent(e){switch(e){case ri.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case ri.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._service.set({disabled:e})}writeValue(e){this._controlValue=qn.from(this._ngbDateAdapter.fromModel(e)),this._service.select(this._controlValue)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(ii),i.yc(Zn),i.yc(ti),i.yc(si),i.yc(i.j),i.yc(i.q),i.yc(ai),i.yc(i.F))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-datepicker"]],contentQueries:function(e,t,n){var r;1&e&&i.td(n,ui,!0),2&e&&i.jd(r=i.Rc())&&(t.contentTemplate=r.first)},viewQuery:function(e,t){var n;1&e&&(i.ud(Q,!0),i.ud(K,!0)),2&e&&(i.jd(n=i.Rc())&&(t._defaultDayTemplate=n.first),i.jd(n=i.Rc())&&(t._contentEl=n.first))},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},outputs:{navigate:"navigate",dateSelect:"dateSelect",select:"select"},exportAs:["ngbDatepicker"],features:[i.ic([li,ii]),i.hc],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(e,t){if(1&e&&(i.xd(0,J,1,5,"ng-template",null,0,i.yd),i.xd(2,ne,1,1,"ng-template",null,1,i.yd),i.Ec(4,"div",2),i.xd(5,ie,1,7,"ngb-datepicker-navigation",3),i.Dc(),i.Ec(6,"div",4,5),i.xd(8,re,0,0,"ng-template",6),i.Dc(),i.xd(9,se,0,0,"ng-template",6)),2&e){const e=i.kd(3);i.jc(5),i.bd("ngIf","none"!==t.navigation),i.jc(1),i.pc("ngb-dp-months",!t.contentTemplate),i.jc(2),i.bd("ngTemplateOutlet",(null==t.contentTemplate?null:t.contentTemplate.templateRef)||e),i.jc(1),i.bd("ngTemplateOutlet",t.footerTemplate)}},directives:function(){return[r.u,r.B,Ti,r.t,fi,gi]},styles:["ngb-datepicker{border:1px solid #dfdfdf;border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}
1.ngb-dp-body{z-index:1050}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-months{display:-ms-flexbox;display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}"],encapsulation:2,changeDetection:0}),e})();var hi=function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e}({});let pi=(()=>{let e=class{processKey(e,t){const{state:n,calendar:i}=t;switch(e.which){case hi.PageUp:t.focusDate(i.getPrev(n.focusedDate,e.shiftKey?"y":"m",1));break;case hi.PageDown:t.focusDate(i.getNext(n.focusedDate,e.shiftKey?"y":"m",1));break;case hi.End:t.focusDate(e.shiftKey?n.maxDate:n.lastDate);break;case hi.Home:t.focusDate(e.shiftKey?n.minDate:n.firstDate);break;case hi.ArrowLeft:t.focusDate(i.getPrev(n.focusedDate,"d",1));break;case hi.ArrowUp:t.focusDate(i.getPrev(n.focusedDate,"d",i.getDaysPerWeek()));break;case hi.ArrowRight:t.focusDate(i.getNext(n.focusedDate,"d",1));break;case hi.ArrowDown:t.focusDate(i.getNext(n.focusedDate,"d",i.getDaysPerWeek()));break;case hi.Enter:case hi.Space:t.focusSelect();break;default:return}e.preventDefault(),e.stopPropagation()}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),fi=(()=>{let e=class{constructor(e,t,n,i){this.i18n=e,this.datepicker=t,this._keyboardService=n,this._service=i}set month(e){this.viewModel=this._service.getMonth(e)}onKeyDown(e){this._keyboardService.processKey(e,this.datepicker)}doSelect(e){e.context.disabled||e.hidden||this.datepicker.onDateSelect(e.date)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(ti),i.yc(di),i.yc(pi),i.yc(ii))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(e,t){1&e&&i.Qc("keydown",(function(e){return t.onKeyDown(e)}))},inputs:{month:"month"},decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.xd(0,ce,3,2,"div",0),i.xd(1,fe,1,1,"ng-template",1)),2&e&&(i.bd("ngIf",t.datepicker.showWeekdays),i.jc(1),i.bd("ngForOf",t.viewModel.weeks))},directives:[r.u,r.t,r.B],styles:['ngb-datepicker-month{display:block}.ngb-dp-week-number,.ngb-dp-weekday{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:#5bc0de;color:var(--info)}.ngb-dp-week{border-radius:.25rem;display:-ms-flexbox;display:flex}.ngb-dp-weekdays{border-bottom:1px solid rgba(0,0,0,.125);border-radius:0;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-day,.ngb-dp-week-number,.ngb-dp-weekday{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}'],encapsulation:2}),e})(),gi=(()=>{let e=class{constructor(e){this.i18n=e,this.navigation=ri,this.months=[],this.navigate=new i.s,this.select=new i.s}
1onClickPrev(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(ti))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-datepicker-navigation"]],inputs:{months:"months",date:"date",disabled:"disabled",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},decls:10,vars:4,consts:[[1,"ngb-dp-arrow"],["type","button",1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click",6,"aria-label","title"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"button",1),i.Kc(2,ge),i.Qc("click",(function(e){return t.onClickPrev(e)})),i.zc(3,"span",2),i.Dc(),i.Dc(),i.xd(4,be,1,4,"ngb-datepicker-navigation-select",3),i.xd(5,Ce,1,1,void 0,4),i.Ec(6,"div",5),i.Ec(7,"button",1),i.Kc(8,me),i.Qc("click",(function(e){return t.onClickNext(e)})),i.zc(9,"span",2),i.Dc(),i.Dc()),2&e&&(i.jc(1),i.bd("disabled",t.prevDisabled),i.jc(3),i.bd("ngIf",t.showSelect),i.jc(1),i.bd("ngIf",!t.showSelect),i.jc(2),i.bd("disabled",t.nextDisabled))},directives:function(){return[r.u,zi,r.t]},styles:["ngb-datepicker-navigation{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}.right .ngb-dp-navigation-chevron{-webkit-transform:rotate(45deg);transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{-ms-flex-pack:end;justify-content:flex-end}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:-ms-flexbox;display:flex;-ms-flex:1 1 9rem;flex:1 1 9rem}"],encapsulation:2,changeDetection:0}),e})();const mi=(e,t)=>!!t&&t.some(t=>t.contains(e)),bi=(e,t)=>!t||null!=function(e,t){return t?void 0===e.closest?null:e.closest(t):null}(e,t),vi=(()=>"undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)))();function wi(e,t,n,i,r,s,o,a){var c;n&&e.runOutsideAngular((c=()=>{const c=Object(d.a)(t,"keydown").pipe(Object(O.a)(r),Object(S.a)(e=>e.which===hi.Escape),Object(P.a)(e=>e.preventDefault())),l=Object(d.a)(t,"mousedown").pipe(Object(y.a)(e=>{const t=e.target;return 2!==e.button&&!mi(t,o)&&("inside"===n?mi(t,s)&&bi(t,a):"outside"===n?!mi(t,s):bi(t,a)||!mi(t,s))}),Object(O.a)(r)),u=Object(d.a)(t,"mouseup").pipe(k(l),Object(S.a)(([e,t])=>t),Object(D.a)(0),Object(O.a)(r));(function(...e){if(1===e.length){if(!Object(p.a)(e[0]))return e[0];e=e[0]}return Object(f.a)(e,void 0).lift(new b)})([c.pipe(Object(y.a)(e=>0)),u.pipe(Object(y.a)(e=>1))]).subscribe(t=>e.run(()=>i(t)))},vi?()=>setTimeout(()=>c(),100):c))}const yi=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ci(e){const t=Array.from(e.querySelectorAll(yi)).filter(e=>-1!==e.tabIndex);return[t[0],t[t.length-1]]}const _i=(e,t,n,i=!1)=>{e.runOutsideAngular(()=>{const e=Object(d.a)(t,"focusin").pipe(Object(O.a)(n),Object(y.a)(e=>e.target));Object(d.a)(t,"keydown").pipe(Object(O.a)(n),Object(S.a)(e=>e.which===hi.Tab),k(e)).subscribe(([e,n])=>{const[i,r]=Ci(t);n!==i&&n!==t||!e.shiftKey||(r.focus(),e.preventDefault()),n!==r||e.shiftKey||(i.focus(),e.preventDefault())}),i&&Object(d.a)(t,"click").pipe(Object(O.a)(n),k(e),Object(y.a)(e=>e[1])).subscribe(e=>
1e.focus())})};class xi{getAllStyles(e){return window.getComputedStyle(e)}getStyle(e,t){return this.getAllStyles(e)[t]}isStaticPositioned(e){return"static"===(this.getStyle(e,"position")||"static")}offsetParent(e){let t=e.offsetParent||document.documentElement;for(;t&&t!==document.documentElement&&this.isStaticPositioned(t);)t=t.offsetParent;return t||document.documentElement}position(e,t=!0){let n,i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(e,"position"))n=e.getBoundingClientRect(),n={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{const t=this.offsetParent(e);n=this.offset(e,!1),t!==document.documentElement&&(i=this.offset(t,!1)),i.top+=t.clientTop,i.left+=t.clientLeft}return n.top-=i.top,n.bottom-=i.top,n.left-=i.left,n.right-=i.left,t&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n}offset(e,t=!0){const n=e.getBoundingClientRect(),i=window.pageYOffset-document.documentElement.clientTop,r=window.pageXOffset-document.documentElement.clientLeft;let s={height:n.height||e.offsetHeight,width:n.width||e.offsetWidth,top:n.top+i,bottom:n.bottom+i,left:n.left+r,right:n.right+r};return t&&(s.height=Math.round(s.height),s.width=Math.round(s.width),s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right)),s}positionElements(e,t,n,i){const[r="top",s="center"]=n.split("-"),o=i?this.offset(e,!1):this.position(e,!1),a=this.getAllStyles(t),c=parseFloat(a.marginTop),l=parseFloat(a.marginBottom),u=parseFloat(a.marginLeft),d=parseFloat(a.marginRight);let h=0,p=0;switch(r){case"top":h=o.top-(t.offsetHeight+c+l);break;case"bottom":h=o.top+o.height;break;case"left":p=o.left-(t.offsetWidth+u+d);break;case"right":p=o.left+o.width}switch(s){case"top":h=o.top;break;case"bottom":h=o.top+o.height-t.offsetHeight;break;case"left":p=o.left;break;case"right":p=o.left+o.width-t.offsetWidth;break;case"center":"top"===r||"bottom"===r?p=o.left+o.width/2-t.offsetWidth/2:h=o.top+o.height/2-t.offsetHeight/2}t.style.transform=`translate(${Math.round(p)}px, ${Math.round(h)}px)`;const f=t.getBoundingClientRect(),g=document.documentElement,m=window.innerHeight||g.clientHeight,b=window.innerWidth||g.clientWidth;return f.left>=0&&f.top>=0&&f.right<=b&&f.bottom<=m}}const Oi=/\s+/,Si=new xi;function Ei(e,t,n,i,r){let s=Array.isArray(n)?n:n.split(Oi);const o=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],a=t.classList,c=e=>{const[t,n]=e.split("-"),i=[];return r&&(i.push(`${r}-${t}`),n&&i.push(`${r}-${t}-${n}`),i.forEach(e=>{a.add(e)})),i};r&&o.forEach(e=>{a.remove(`${r}-${e}`)});let l=s.findIndex(e=>"auto"===e);l>=0&&o.forEach((function(e){null==s.find(t=>-1!==t.search("^"+e))&&s.splice(l++,1,e)}));const u=t.style;u.position="absolute",u.top="0",u.left="0",u["will-change"]="transform";let d=null,h=!1;for(d of s){let n=c(d);if(Si.positionElements(e,t,d,i)){h=!0;break}r&&n.forEach(e=>{a.remove(e)})}return h||(d=s[0],c(d),Si.positionElements(e,t,d,i)),d}function Pi(){return new Mi}let ki=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:Pi,token:e,providedIn:"root"}),e})(),Mi=(()=>{let e=class extends ki{parse(e){if(null!=e){const t=e.trim().split("-");if(1===t.length&&dn(t[0]))return{year:an(t[0]),month:null,day:null};if(2===t.length&&dn(t[0])&&dn(t[1]))return{year:an(t[0]),month:an(t[1]),day:null};if(3===t.length&&dn(t[0])&&dn(t[1])&&dn(t[2]))return{year:an(t[0]),month:an(t[1]),day:an(t[2])}}return null}format(e){return e?`${e.year}-${dn(e.month)?fn(e.month):""}-${dn(e.day)?fn(e.day):""}`:""}};return e.\u0275fac=function(t){return Es(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),Ii=(()=>{let e=class extends si{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"],this.restoreFocus=!0}};return e.\u0275fac=function(t){return Ps(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Di={provide:s.o,useExisting:Object(i.cb)(()=>Ai),multi:!0},ji={provide:s.n,useExisting:Object(i.cb)(()=>Ai),multi:!0};let Ai=(()=>{let e=class{constructor(e,t,n,r,s,o,a,c,l,u,d){this._parserFormatter=e,this._elRef=t,this._vcRef=n,this._renderer=r,this._cfr=s,this._ngZone=o,this._calendar=a,this._dateAdapter=c,this._document=l,this._changeDetector=u,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this.dateSelect=new i.s,this.navigate=new i.s,this.closed=new i.s,this._onChange=e=>{},this._onTouched=()=>{}
1,this._validatorChange=()=>{},["autoClose","container","positionTarget","placement"].forEach(e=>this[e]=d[e]),this._zoneSubscription=o.onStable.subscribe(()=>this._updatePopupPosition())}get disabled(){return this._disabled}set disabled(e){this._disabled=""===e||e&&"false"!==e,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}registerOnValidatorChange(e){this._validatorChange=e}setDisabledState(e){this.disabled=e}validate(e){const{value:t}=e;if(null!=t){const e=this._fromDateStruct(this._dateAdapter.fromModel(t));if(!e)return{ngbDate:{invalid:t}};if(this.minDate&&e.before(qn.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:t}}};if(this.maxDate&&e.after(qn.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:t}}}}return null}writeValue(e){this._model=this._fromDateStruct(this._dateAdapter.fromModel(e)),this._writeModelValue(this._model)}manualDateChange(e,t=!1){const n=e!==this._inputValue;n&&(this._inputValue=e,this._model=this._fromDateStruct(this._parserFormatter.parse(e))),!n&&t||this._onChange(this._model?this._dateAdapter.toModel(this._model):""===e?null:e),t&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){const e=this._cfr.resolveComponentFactory(di);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(e=>{this.writeValue(e),this._onChange(e),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,_i(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),this._cRef.instance.focus(),wi(this._ngZone,this._document,this.autoClose,()=>this.close(),this.closed,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this.closed.emit(),this._changeDetector.markForCheck();let e=this._elWithFocus;un(this.restoreFocus)?e=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(e=this.restoreFocus),e&&e.focus?e.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(e){this.isOpen()&&this._cRef.instance.navigateTo(e)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(e){(e.minDate||e.maxDate)&&(this._validatorChange(),this.isOpen()&&(e.minDate&&(this._cRef.instance.minDate=this.minDate),e.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(e)))}ngOnDestroy(){this.close(),this._zoneSubscription.unsubscribe()}_applyDatepickerInputs(e){["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(t=>{void 0!==this[t]&&(e[t]=this[t])}),e.startDate=this.startDate||this._model}_applyPopupStyling(e){this._renderer.addClass(e,"dropdown-menu"),this._renderer.addClass(e,"show"),"body"===this.container&&this._renderer.addClass(e,"ngb-dp-body")}_subscribeForDatepickerOutputs(e){e.navigate.subscribe(e=>this.navigate.emit(e)),e.dateSelect.subscribe(e=>{this.dateSelect.emit(e),!0!==this.autoClose&&"inside"!==this.autoClose||this.close()})}_writeModelValue(e){const t=this._parserFormatter.format(e);this._inputValue=t,this._renderer.setProperty(this._elRef.nativeElement,"value",t),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(e)),this._onTouched())}_fromDateStruct(e){const t=e?new qn(e.year,e.month,e.day):null;return this._calendar.isValid(t)?t:null}_updatePopupPosition(){if(!this._cRef)return;let e;if(e=un(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this.positionTarget&&!e)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");Ei(e,this._cRef.location.nativeElement,this.placement,"body"===this.container)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(ki),i.yc(i.q),i.yc(i.X),i.yc(i.L),i.yc(i.n),i.yc(i.F),i.yc(Zn),i.yc(ai),i.yc(r.e),i.yc(i.j),i.yc(Ii))},e.\u0275dir=i.tc({type:e,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.Qc("input",(function(e){return t.manualDateChange(e.target.value)}))("change",(function(e){return t.manualDateChange(e.target.value,!0)}))("focus",(function(){return t.onFocus()}))("blur",(function(){return t.onBlur()})),2&e&&i.Hc("disabled",t.disabled)},inputs:{disabled:"disabled",autoClose:"autoClose",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",restoreFocus:"restoreFocus",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],features:[i.ic([Di,ji,{provide:si,useExisting:Ii}]),i.hc]}),e})(),Ti=(()=>{let e=class{constructor(e){this.i18n=e}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(ti))},e.\u0275cmp=i.sc({type:e,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(e,t){2&e&&i.pc("bg-primary",t.selected)("text-white",t.selected)("text-muted",t.isMuted())("outside",t.isMuted())("active",t.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},attrs:_e,decls:1,vars:1,template:function(e,t){1&e&&i.zd(0),2&e&&i.Ad(t.i18n.getDayNumerals(t.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:0 0}[ngbDatepickerDayView].outside{opacity:.5}"],encapsulation:2,changeDetection:0}),e})(),zi=(()=>{let e=class{constructor(e,t){this.i18n=e,this._renderer=t,this.select=new i.s,this._month=-1,this._year=-1}changeMonth(e){this.select.emit(new qn(this.date.year,an(e),1))}changeYear(e){this.select.emit(new qn(an(e),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}};return e.\u0275fac=function(t){return new(t||e)(i.yc(ti),i.yc(i.L))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(e,t){var n;1&e&&(i.ud(xe,!0,i.q),i.ud(Oe,!0,i.q)),2&e&&(i.jd(n=i.Rc())&&(t.monthSelect=n.first),i.jd(n=i.Rc())&&(t.yearSelect=n.first))},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},decls:8,vars:4,consts:[[1,"custom-select",3,"disabled","change",6,"aria-label","t
1itle"],["month",""],[3,"value",4,"ngFor","ngForOf"],["year",""],[3,"value"]],template:function(e,t){1&e&&(i.Ec(0,"select",0,1),i.Kc(2,Se),i.Qc("change",(function(e){return t.changeMonth(e.target.value)})),i.xd(3,Pe,2,3,"option",2),i.Dc(),i.Ec(4,"select",0,3),i.Kc(6,Ee),i.Qc("change",(function(e){return t.changeYear(e.target.value)})),i.xd(7,ke,2,2,"option",2),i.Dc()),2&e&&(i.bd("disabled",t.disabled),i.jc(3),i.bd("ngForOf",t.months),i.jc(1),i.bd("disabled",t.disabled),i.jc(3),i.bd("ngForOf",t.years))},directives:[r.t,s.u,s.E],styles:["ngb-datepicker-navigation-select>.custom-select{-ms-flex:1 1 auto;flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.custom-select:focus{z-index:1}ngb-datepicker-navigation-select>.custom-select::-ms-value{background-color:transparent!important}"],encapsulation:2,changeDetection:0}),e})(),Li=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c,s.k]]}),e})(),Ni=(()=>{let e=class{constructor(){this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"]}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})();var Ri;let Fi=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["",8,"navbar"]]}),e})(),Vi=(()=>{let e=class{constructor(e){this.elementRef=e,this._disabled=!1}set disabled(e){this._disabled=""===e||!0===e}get disabled(){return this._disabled}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:2,hostBindings:function(e,t){2&e&&i.pc("disabled",t.disabled)},inputs:{disabled:"disabled"}}),e})(),Ui=(()=>{let e=class{constructor(e,t){this.dropdown=e,this.placement="bottom",this.isOpen=!1,this.nativeElement=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(i.yc(Object(i.cb)(()=>$i)),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,Vi,!1),2&e&&i.jd(r=i.Rc())&&(t.menuItems=r)},hostVars:5,hostBindings:function(e,t){1&e&&i.Qc("keydown.ArrowUp",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.ArrowDown",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Home",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.End",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Enter",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Space",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Tab",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Shift.Tab",(function(e){return t.dropdown.onKeyDown(e)})),2&e&&(i.kc("x-placement",t.placement),i.pc("dropdown-menu",!0)("show",t.dropdown.isOpen()))}}),e})(),Hi=(()=>{let e=class{constructor(e,t){this.dropdown=e,this.nativeElement=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(i.yc(Object(i.cb)(()=>$i)),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:["aria-haspopup","true",1,"dropdown-toggle"],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("aria-expanded",t.dropdown.isOpen())}}),e})(),Bi=(()=>{let e=Ri=class extends Hi{constructor(e,t){super(e,t)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(Object(i.cb)(()=>$i)),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbDropdownToggle",""]],hostAttrs:["aria-haspopup","true",1,"dropdown-toggle"],hostVars:1,hostBindings:function(e,t){1&e&&i.Qc("click",(function(){return t.dropdown.toggle()}))("keydown.ArrowUp",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.ArrowDown",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Home",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.End",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Tab",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Shift.Tab",(function(e){return t.dropdown.onKeyDown(e)})),2&e&&i.kc("aria-expanded",t.dropdown.isOpen())},features:[i.ic([{provide:Hi,useExisting:Object(i.cb)(()=>Ri)}]),i.gc]}),e})(),$i=(()=>{let e=class{constructor(e,t,n,r,s,a,c){this._changeDetector=e,this._document=n,this._ngZone=r,this._elementRef=s,this._renderer=a,this._closed$=new o.a,this._bodyContainer=null,this._open=!1,this.openChange=new i.s,this.placement=t.placement,this.container=t.container,this.autoClose=t.autoClose,this.display=c?"static":"dynamic",this._zoneSubscription=r.onStable.subscribe(()=>{this._positionMenu()})}ngAfterContentInit(){this._ngZone.onStable.pipe(Object(E.a)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(e){e.container&&this._open&&this._applyContainer(this.container),e.placement&&!e.placement.isFirstChange&&this._applyPlacementClasses()}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&this._anchor.nativeElement.focus())}_setCloseHandlers(){wi(this._ngZone,this._document,this.autoClose,e=>{this.close(),0===e&&this._anchor.nativeElement.focus()},this._closed$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._closed$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this._resetContainer(),this._closed$.next(),this._zoneSubscription.unsubscribe()}onKeyDown(e){const t=e.which,n=this._getMenuElements();let i=-1,r=null;const s=this._isEventFromToggle(e);
1if(!s&&n.length&&n.forEach((t,n)=>{t.contains(e.target)&&(r=t),t===this._document.activeElement&&(i=n)}),t!==hi.Space&&t!==hi.Enter){if(t!==hi.Tab){if(s||r){if(this.open(),n.length){switch(t){case hi.ArrowDown:i=Math.min(i+1,n.length-1);break;case hi.ArrowUp:if(this._isDropup()&&-1===i){i=n.length-1;break}i=Math.max(i-1,0);break;case hi.Home:i=0;break;case hi.End:i=n.length-1}n[i].focus()}e.preventDefault()}}else if(e.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===e.target)return void("body"!==this.container||e.shiftKey?e.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const t=this._menu.nativeElement.querySelectorAll(yi);e.shiftKey&&e.target===t[0]?(this._anchor.nativeElement.focus(),e.preventDefault()):e.shiftKey||e.target!==t[t.length-1]||(this._anchor.nativeElement.focus(),this.close())}else Object(d.a)(e.target,"focusout").pipe(Object(E.a)(1)).subscribe(({relatedTarget:e})=>{this._elementRef.nativeElement.contains(e)||this.close()})}}else!r||!0!==this.autoClose&&"inside"!==this.autoClose||Object(d.a)(r,"click").pipe(Object(E.a)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(e){return this._anchor.nativeElement.contains(e.target)}_getMenuElements(){const e=this._menu;return null==e?[]:e.menuItems.filter(e=>!e.disabled).map(e=>e.elementRef.nativeElement)}_positionMenu(){const e=this._menu;this.isOpen()&&e&&this._applyPlacementClasses("dynamic"===this.display?Ei(this._anchor.nativeElement,this._bodyContainer||this._menu.nativeElement,this.placement,"body"===this.container):this._getFirstPlacement(this.placement))}_getFirstPlacement(e){return Array.isArray(e)?e[0]:e.split(" ")[0]}_resetContainer(){const e=this._renderer;if(this._menu){const t=this._menu.nativeElement;e.appendChild(this._elementRef.nativeElement,t),e.removeStyle(t,"position"),e.removeStyle(t,"transform")}this._bodyContainer&&(e.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(e=null){if(this._resetContainer(),"body"===e){const e=this._renderer,t=this._menu.nativeElement,n=this._bodyContainer=this._bodyContainer||e.createElement("div");e.setStyle(n,"position","absolute"),e.setStyle(t,"position","static"),e.setStyle(n,"z-index","1050"),e.appendChild(n,t),e.appendChild(this._document.body,n)}}_applyPlacementClasses(e){const t=this._menu;if(t){e||(e=this._getFirstPlacement(this.placement));const n=this._renderer,i=this._elementRef.nativeElement;n.removeClass(i,"dropup"),n.removeClass(i,"dropdown"),t.placement="static"===this.display?null:e;const r=-1!==e.search("^top")?"dropup":"dropdown";n.addClass(i,r);const s=this._bodyContainer;s&&(n.removeClass(s,"dropup"),n.removeClass(s,"dropdown"),n.addClass(s,r))}}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.j),i.yc(Ni),i.yc(r.e),i.yc(i.F),i.yc(i.q),i.yc(i.L),i.yc(Fi,8))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbDropdown",""]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,Ui,!0),i.qc(n,Hi,!0)),2&e&&(i.jd(r=i.Rc())&&(t._menu=r.first),i.jd(r=i.Rc())&&(t._anchor=r.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.pc("show",t.isOpen())},inputs:{_open:["open","_open"],placement:"placement",container:"container",autoClose:"autoClose",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[i.hc]}),e})(),qi=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})(),Wi=(()=>{let e=class{constructor(){this.backdrop=!0,this.keyboard=!0}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})();class Gi{constructor(e,t,n){this.nodes=e,this.viewRef=t,this.componentRef=n}}class Xi{constructor(e,t,n,i,r,s){this._type=e,this._injector=t,this._viewContainerRef=n,this._renderer=i,this._componentFactoryResolver=r,this._applicationRef=s,this._windowRef=null,this._contentRef=null}open(e,t){return this._windowRef||(this._contentRef=this._getContentRef(e,t),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolve
1ComponentFactory(this._type),this._viewContainerRef.length,this._injector,this._contentRef.nodes)),this._windowRef}close(){var e;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,(null===(e=this._contentRef)||void 0===e?void 0:e.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null))}_getContentRef(e,t){if(e){if(e instanceof i.U){const n=e.createEmbeddedView(t);return this._applicationRef.attachView(n),new Gi([n.rootNodes],n)}return new Gi([[this._renderer.createText(""+e)]])}return new Gi([])}}const Zi=()=>{};let Yi=(()=>{let e=class{constructor(e){this._document=e}compensate(){const e=this._getWidth();return this._isPresent(e)?this._adjustBody(e):Zi}_adjustBody(e){const t=this._document.body,n=t.style.paddingRight,i=parseFloat(window.getComputedStyle(t)["padding-right"]);return t.style["padding-right"]=i+e+"px",()=>t.style["padding-right"]=n}_isPresent(e){const t=this._document.body.getBoundingClientRect();return window.innerWidth-(t.left+t.right)>=e-.1*e}_getWidth(){const e=this._document.createElement("div");e.className="modal-scrollbar-measure";const t=this._document.body;t.appendChild(e);const n=e.getBoundingClientRect().width-e.clientWidth;return t.removeChild(e),n}};return e.\u0275fac=function(t){return new(t||e)(i.Mc(r.e))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(r.e))},token:e,providedIn:"root"}),e})(),Qi=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:2,hostBindings:function(e,t){2&e&&i.lc("modal-backdrop fade show"+(t.backdropClass?" "+t.backdropClass:""))},inputs:{backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();class Ki{close(e){}dismiss(e){}}class Ji{constructor(e,t,n,i){this._windowCmptRef=e,this._contentRef=t,this._backdropCmptRef=n,this._beforeDismiss=i,e.instance.dismissEvent.subscribe(e=>{this.dismiss(e)}),this.result=new Promise((e,t)=>{this._resolve=e,this._reject=t}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}close(e){this._windowCmptRef&&(this._resolve(e),this._removeModalElements())}_dismiss(e){this._reject(e),this._removeModalElements()}dismiss(e){if(this._windowCmptRef)if(this._beforeDismiss){const t=this._beforeDismiss();t&&t.then?t.then(t=>{!1!==t&&this._dismiss(e)},()=>{}):!1!==t&&this._dismiss(e)}else this._dismiss(e)}_removeModalElements(){const e=this._windowCmptRef.location.nativeElement;if(e.parentNode.removeChild(e),this._windowCmptRef.destroy(),this._backdropCmptRef){const e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null}}var er=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}({});let tr=(()=>{let e=class{constructor(e,t,n){this._document=e,this._elRef=t,this._zone=n,this._closed$=new o.a,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new i.s}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement}ngAfterViewInit(){const{nativeElement:e}=this._elRef;if(this._zone.runOutsideAngular(()=>{Object(d.a)(e,"keydown").pipe(Object(O.a)(this._closed$),Object(S.a)(e=>e.which===hi.Escape&&this.keyboard)).subscribe(e=>requestAnimationFrame(()=>{e.defaultPrevented||this._zone.run(()=>this.dismiss(er.ESC))}));let t=!1;Object(d.a)(this._dialogEl.nativeElement,"mousedown").pipe(Object(O.a)(this._closed$),Object(P.a)(()=>t=!1),Object(x.a)(()=>Object(d.a)(e,"mouseup").pipe(Object(O.a)(this._closed$),Object(E.a)(1))),Object(S.a)(({target:t})=>e===t)).subscribe(()=>{t=!0}),Object(d.a)(e,"click").pipe(Object(O.a)(this._closed$)).subscribe(({target:n})=>{!0!==this.backdrop||e!==n||t||this._zone.run(()=>this.dismiss(er.BACKDROP_CLICK)),t=!1})}),!e.contains(document.activeElement)){const t=e.querySelector("[ngbAutofocus]"),n=Ci(e)[0];(t||n||e).focus()}}ngOnDestroy(){const e=this._document.body,t=this._elWithFocus;let n;n=t&&t.focus&&e.contains(t)?t:e,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null}),this._closed$.next()}};return e.\u0275fac=function(t){return new(t||e)(i.yc(r.e),i.yc(i.q),i.yc(i.F))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(e,t){var n;1&e&&i.ud(Me,!0),2&e&&i.jd(n=i.Rc())&&(t._dialogEl=n.first)},hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(e,t){2&e&&(i.kc("aria-modal",!0)("aria-labelledby",t.ariaLabelledBy)("aria-describedby",t.ariaDescribedBy),i.lc("modal fade show d-block"+(t.windowClass?" "+t.windowClass:"")))},inputs:{backdrop:"backdrop",keyboard:"keyboard",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:H,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,t){1&e&&(i.ad(),i.Ec(0,"div",0,1),i.Ec(2,"div",2),i.Zc(3),i.Dc(),i.Dc()),2&e&&i.lc("modal-dialog"+(t.size?" modal-"+t.size:"")+(t.centered?" modal-dialog-centered":"")+(t.scrollable?" modal-dialog-scrollable":""))},styles:["ngb-modal-window .component-host-scrollable{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}"],encapsulation:2}),e})(),nr=(()=>{let e=class{constructor(e,t,n,r,s,a){this._applicationRef=e,this._injector=t,this._document=n,this._scrollBar=r,this._rendererFactory=s,this._ngZone=a,this._activeWindowCmptHasChanged=new o.a,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRef
1s=[],this._windowAttributes=["ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeInstances=new i.s,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const e=this._windowCmpts[this._windowCmpts.length-1];_i(this._ngZone,e.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(e.location.nativeElement)}})}open(e,t,n,i){const r=i.container instanceof HTMLElement?i.container:pn(i.container)?this._document.querySelector(i.container):this._document.body,s=this._rendererFactory.createRenderer(null,null),o=this._scrollBar.compensate(),a=()=>{this._modalRefs.length||(s.removeClass(this._document.body,"modal-open"),this._revertAriaHidden())};if(!r)throw new Error(`The specified modal container "${i.container||"body"}" was not found in the DOM.`);const c=new Ki,l=this._getContentRef(e,i.injector||t,n,c,i);let u=!1!==i.backdrop?this._attachBackdrop(e,r):void 0,d=this._attachWindowComponent(e,r,l),h=new Ji(d,l,u,i.beforeDismiss);return this._registerModalRef(h),this._registerWindowCmpt(d),h.result.then(o,o),h.result.then(a,a),c.close=e=>{h.close(e)},c.dismiss=e=>{h.dismiss(e)},this._applyWindowOptions(d.instance,i),1===this._modalRefs.length&&s.addClass(this._document.body,"modal-open"),u&&u.instance&&this._applyBackdropOptions(u.instance,i),h}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(t=>t.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e,t){let n=e.resolveComponentFactory(Qi).create(this._injector);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n}_attachWindowComponent(e,t,n){let i=e.resolveComponentFactory(tr).create(this._injector,n.nodes);return this._applicationRef.attachView(i.hostView),t.appendChild(i.location.nativeElement),i}_applyWindowOptions(e,t){this._windowAttributes.forEach(n=>{pn(t[n])&&(e[n]=t[n])})}_applyBackdropOptions(e,t){this._backdropAttributes.forEach(n=>{pn(t[n])&&(e[n]=t[n])})}_getContentRef(e,t,n,r,s){return n?n instanceof i.U?this._createFromTemplateRef(n,r):un(n)?this._createFromString(n):this._createFromComponent(e,t,n,r,s):new Gi([])}_createFromTemplateRef(e,t){const n=e.createEmbeddedView({$implicit:t,close(e){t.close(e)},dismiss(e){t.dismiss(e)}});return this._applicationRef.attachView(n),new Gi([n.rootNodes],n)}_createFromString(e){const t=this._document.createTextNode(""+e);return new Gi([[t]])}_createFromComponent(e,t,n,r,s){const o=e.resolveComponentFactory(n),a=i.w.create({providers:[{provide:Ki,useValue:r}],parent:t}),c=o.create(a),l=c.location.nativeElement;return s.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(c.hostView),new Gi([[l]],c.hostView,c)}_setAriaHidden(e){const t=e.parentElement;t&&e!==this._document.body&&(Array.from(t.children).forEach(t=>{t!==e&&"SCRIPT"!==t.nodeName&&(this._ariaHiddenValues.set(t,t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),this._setAriaHidden(t))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){const t=()=>{const t=this._modalRefs.indexOf(e);t>-1&&(this._modalRefs.splice(t,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(t,t)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{const t=this._windowCmpts.indexOf(e);t>-1&&(this._windowCmpts.splice(t,1),this._activeWindowCmptHasChanged.next())})}};return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.g),i.Mc(i.w),i.Mc(r.e),i.Mc(Yi),i.Mc(i.M),i.Mc(i.F))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(i.g),Object(i.Mc)(i.t),Object(i.Mc)(r.e),Object(i.Mc)(Yi),Object(i.Mc)(i.M),Object(i.Mc)(i.F))},token:e,providedIn:"root"}),e})(),ir=(()=>{let e=class{constructor(e,t,n,i){this._moduleCFR=e,this._injector=t,this._modalStack=n,this._config=i}open(e,t={}){const n=Object.assign({},this._config,t);
1return this._modalStack.open(this._moduleCFR,this._injector,e,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}};return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.n),i.Mc(i.w),i.Mc(nr),i.Mc(Wi))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(i.n),Object(i.Mc)(i.t),Object(i.Mc)(nr),Object(i.Mc)(Wi))},token:e,providedIn:"root"}),e})(),rr=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[ir]}),e})(),sr=(()=>{let e=class{constructor(){this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const or=e=>pn(e)&&""!==e;let ar=0,cr=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbNavContent",""]]}),e})(),lr=(()=>{let e=class{constructor(e,t){this.elementRef=t,this.disabled=!1,this._nav=e}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){pn(this.domId)||(this.domId="ngb-nav-"+ar++)}get active(){return this._nav.activeId===this.id}get id(){return or(this._id)?this._id:this.domId}get panelDomId(){return this.domId+"-panel"}isPanelInDom(){return(pn(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}};return e.\u0275fac=function(t){return new(t||e)(i.yc(Object(i.cb)(()=>ur)),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbNavItem",""]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,cr,!1),2&e&&i.jd(r=i.Rc())&&(t.contentTpls=r)},hostVars:2,hostBindings:function(e,t){2&e&&i.pc("nav-item",!0)},inputs:{disabled:"disabled",domId:"domId",destroyOnHide:"destroyOnHide",_id:["ngbNavItem","_id"]},exportAs:["ngbNavItem"]}),e})(),ur=(()=>{let e=class{constructor(e,t,n,r){this.role=e,this._cd=n,this._document=r,this.activeIdChange=new i.s,this.navChange=new i.s,this.destroyOnHide=t.destroyOnHide,this.orientation=t.orientation,this.roles=t.roles,this.keyboard=t.keyboard}click(e){e.disabled||this._updateActiveId(e.id)}onKeyDown(e){if("tablist"!==this.roles||!this.keyboard)return;const t=e.which,n=this.links.filter(e=>!e.navItem.disabled),{length:i}=n;let r=-1;if(n.forEach((e,t)=>{e.elRef.nativeElement===this._document.activeElement&&(r=t)}),i){switch(t){case hi.ArrowLeft:if("vertical"===this.orientation)return;r=(r-1+i)%i;break;case hi.ArrowRight:if("vertical"===this.orientation)return;r=(r+1)%i;break;case hi.ArrowDown:if("horizontal"===this.orientation)return;r=(r+1)%i;break;case hi.ArrowUp:if("horizontal"===this.orientation)return;r=(r-1+i)%i;break;case hi.Home:r=0;break;case hi.End:r=i-1}"changeWithArrows"===this.keyboard&&this.select(n[r].navItem.id),n[r].elRef.nativeElement.focus(),e.preventDefault()}}select(e){this._updateActiveId(e,!1)}ngAfterContentInit(){if(!pn(this.activeId)){const e=this.items.first?this.items.first.id:null;or(e)&&(this._updateActiveId(e,!1),this._cd.detectChanges())}}_updateActiveId(e,t=!0){if(this.activeId!==e){let n=!1;t&&this.navChange.emit({activeId:this.activeId,nextId:e,preventDefault:()=>{n=!0}}),n||(this.activeId=e,this.activeIdChange.emit(e))}}};return e.\u0275fac=function(t){return new(t||e)(i.Nc("role"),i.yc(sr),i.yc(i.j),i.yc(r.e))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbNav",""]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,lr,!1),i.qc(n,dr,!0)),2&e&&(i.jd(r=i.Rc())&&(t.items=r),i.jd(r=i.Rc())&&(t.links=r))},hostVars:6,hostBindings:function(e,t){1&e&&i.Qc("keydown.arrowLeft",(function(e){return t.onKeyDown(e)}))("keydown.arrowRight",(function(e){return t.onKeyDown(e)}))("keydown.arrowDown",(function(e){return t.onKeyDown(e)}))("keydown.arrowUp",(function(e){return t.onKeyDown(e)}))("keydown.Home",(function(e){return t.onKeyDown(e)}))("keydown.End",(function(e){return t.onKeyDown(e)})),2&e&&(i.kc("aria-orientation","vertical"===t.orientation&&"tablist"===t.roles?"vertical":void 0)("role",t.role?t.role:t.roles?"tablist":void 0),i.pc("nav",!0)("flex-column","vertical"===t.orientation))},inputs:{destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard",activeId:"activeId"},outputs:{activeIdChange:"activeIdChange",navChange:"navChange"},exportAs:["ngbNav"]}
1),e})(),dr=(()=>{let e=class{constructor(e,t,n,i){this.role=e,this.navItem=t,this.nav=n,this.elRef=i}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}};return e.\u0275fac=function(t){return new(t||e)(i.Nc("role"),i.yc(lr),i.yc(ur),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostVars:14,hostBindings:function(e,t){1&e&&i.Qc("click",(function(e){return t.nav.click(t.navItem),e.preventDefault()})),2&e&&(i.Hc("id",t.navItem.domId),i.kc("role",t.role?t.role:t.nav.roles?"tab":void 0)("tabindex",t.navItem.disabled?-1:void 0)("aria-controls",t.navItem.isPanelInDom()?t.navItem.panelDomId:null)("aria-selected",t.navItem.active)("aria-disabled",t.navItem.disabled),i.pc("nav-link",!0)("nav-item",t.hasNavItemClass())("active",t.navItem.active)("disabled",t.navItem.disabled))}}),e})(),hr=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["","ngbNavOutlet",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.pc("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},attrs:Ie,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["class","tab-pane",3,"id","active",4,"ngIf"],[1,"tab-pane",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&i.xd(0,Te,1,1,"ng-template",0),2&e&&i.bd("ngForOf",t.nav.items)},directives:[r.t,r.u,r.B],encapsulation:2}),e})(),pr=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})(),fr=(()=>{let e=class{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),gr=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbPaginationEllipsis",""]]}),e})(),mr=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbPaginationFirst",""]]}),e})(),br=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbPaginationLast",""]]}),e})(),vr=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbPaginationNext",""]]}),e})(),wr=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbPaginationNumber",""]]}),e})(),yr=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbPaginationPrevious",""]]}),e})(),Cr=(()=>{let e=class{constructor(e){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new i.s(!0),this.disabled=e.disabled,this.boundaryLinks=e.boundaryLinks,this.directionLinks=e.directionLinks,this.ellipses=e.ellipses,this.maxSize=e.maxSize,this.pageSize=e.pageSize,this.rotate=e.rotate,this.size=e.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(e){this._updatePages(e)}ngOnChanges(e){this._updatePages(this.page)}isEllipsis(e){return-1===e}_applyEllipses(e,t){this.ellipses&&(e>0&&(e>2?this.pages.unshift(-1):2===e&&this.pages.unshift(2),this.pages.unshift(1)),t<this.pageCount&&(t<this.pageCount-2?this.pages.push(-1):t===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let e=0,t=this.pageCount,n=Math.floor(this.maxSize/2);return this.page<=n?t=this.maxSize:this.pageCount-this.page<n?e=this.pageCount-this.maxSize:(e=this.page-n-1,t=this.page+(this.maxSize%2==0?n-1:n)),[e,t]}_applyPagination(){let e=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[e,e+this.maxSize]}_setPageInRange(e){const t=this.page;this.page=ln(e,this.pageCount,1),this.page!==t&&dn(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(e){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),dn(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let t=1;t<=this.pageCount;t++)this.pages.push(t);if(this._setPageInRange(e),this.maxSize>0&&this.pageCount>this.maxSize){let e=0,t=this.pageCount;[e,t]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(e,t),this._applyEllipses(e,t)}}};return e.\u0275fac=function(t){return new(t||e)(i.yc(fr))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-pagination"]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,gr,!0),i.qc(n,mr,!0),i.qc(n,br,!0),i.qc(n,vr,!0),i.qc(n,wr,!0),i.qc(n,yr,!0)),2&e&&(i.jd(r=i.Rc())&&(t.tplEllipsis=r.first),i.jd(r=i.Rc())&&(t.tplFirst=r.first),i.jd(r=i.Rc())&&(t.tplLast=r.first),i.jd(r=i.Rc())&&(t.tplNext=r.first),i.jd(r=i.Rc())&&(t.tplNumber=r.first),i.jd(r=i.Rc())&&(t.tplPrevious=r.first))},hostAttrs:["role","navigation"],inputs:{page:"page",disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",maxSize:"maxSize",pageSize:"pageSize",rotate:"rotate",size:"size",collectionSize:"collectionSize"},outputs:{pageChange:"pageChange"},features:[i.hc],decls:18,vars:7,consts:[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["class","page-item",3,"disabled",4,"ngIf"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],["aria-hidden","true"],["class","sr-only",4,"ngIf"],[1,"sr-only"],[1,"page-item"],["href","",1,"page-link",3,"click",6,"aria-label"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"]],template:function(e,t){1&e&&(i.xd(0,Fe,2,0,"ng-template",null,0,i.yd),i.xd(2,Ve,2,0,"ng-template",null,1,i.yd),i.xd(4,Ue,2,0,"ng-template",null,2,i.yd),i.xd(6,He,2,0,"ng-template",null,3,i.yd
1),i.xd(8,Be,1,0,"ng-template",null,4,i.yd),i.xd(10,qe,2,2,"ng-template",null,5,i.yd),i.Ec(12,"ul"),i.xd(13,Ze,4,9,"li",6),i.xd(14,Je,4,8,"li",6),i.xd(15,ot,3,7,"li",7),i.xd(16,lt,4,9,"li",6),i.xd(17,ht,4,9,"li",6),i.Dc()),2&e&&(i.jc(12),i.lc("pagination"+(t.size?" pagination-"+t.size:"")),i.jc(1),i.bd("ngIf",t.boundaryLinks),i.jc(1),i.bd("ngIf",t.directionLinks),i.jc(1),i.bd("ngForOf",t.pages),i.jc(1),i.bd("ngIf",t.directionLinks),i.jc(1),i.bd("ngIf",t.boundaryLinks))},directives:[r.u,r.t,r.B],encapsulation:2,changeDetection:0}),e})(),_r=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})();class xr{constructor(e,t){this.open=e,this.close=t,t||(this.close=e)}isManual(){return"manual"===this.open||"manual"===this.close}}const Or={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},Sr=e=>e>0?Object(D.a)(e):e=>e;function Er(e,t,n,i,r,s,o=0,a=0){const c=function(e,t=Or){const n=(e||"").trim();if(0===n.length)return[];const i=n.split(/\s+/).map(e=>e.split(":")).map(e=>{let n=t[e[0]]||e;return new xr(n[0],n[1])}),r=i.filter(e=>e.isManual());if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===r.length&&i.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i}(n);if(1===c.length&&c[0].isManual())return()=>{};const l=function(e,t,n,i){return new w.a(r=>{const s=[],o=()=>r.next(!0),a=()=>r.next(!1),c=()=>r.next(!i());return n.forEach(n=>{n.open===n.close?s.push(e.listen(t,n.open,c)):s.push(e.listen(t,n.open,o),e.listen(t,n.close,a))}),()=>{s.forEach(e=>e())}})}(e,t,c,i).pipe(function(e,t,n){return i=>{let r=null;const s=i.pipe(Object(y.a)(e=>({open:e})),Object(S.a)(e=>{const t=n();return t===e.open||r&&r.open!==t?(r&&r.open!==e.open&&(r=null),!1):(r=e,!0)}),Object(j.a)()),o=s.pipe(Object(S.a)(e=>e.open),Sr(e)),a=s.pipe(Object(S.a)(e=>!e.open),Sr(t));return Object(h.a)(o,a).pipe(Object(S.a)(e=>e===r&&(r=null,e.open!==n())),Object(y.a)(e=>e.open))}}(o,a,i)).subscribe(e=>e?r():s());return()=>l.unsubscribe()}let Pr=(()=>{let e=class{constructor(){this.autoClose=!0,this.placement="auto",this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),kr=0,Mr=(()=>{let e=class{isTitleTemplate(){return this.title instanceof i.U}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(e,t){2&e&&(i.Hc("id",t.id),i.lc("popover"+(t.popoverClass?" "+t.popoverClass:"")))},inputs:{title:"title",id:"id",popoverClass:"popoverClass",context:"context"},ngContentSelectors:H,decls:4,vars:1,consts:[[1,"arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.ad(),i.zc(0,"div",0),i.xd(1,gt,4,2,"h3",1),i.Ec(2,"div",2),i.Zc(3),i.Dc()),2&e&&(i.jc(1),i.bd("ngIf",null!=t.title))},directives:[r.u,r.B],styles:["ngb-popover-window.bs-popover-bottom>.arrow,ngb-popover-window.bs-popover-top>.arrow{left:50%;margin-left:-.5rem}ngb-popover-window.bs-popover-bottom-left>.arrow,ngb-popover-window.bs-popover-top-left>.arrow{left:2em}ngb-popover-window.bs-popover-bottom-right>.arrow,ngb-popover-window.bs-popover-top-right>.arrow{left:auto;right:2em}ngb-popover-window.bs-popover-left>.arrow,ngb-popover-window.bs-popover-right>.arrow{top:50%;margin-top:-.5rem}ngb-popover-window.bs-popover-left-top>.arrow,ngb-popover-window.bs-popover-right-top>.arrow{top:.7em}ngb-popover-window.bs-popover-left-bottom>.arrow,ngb-popover-window.bs-popover-right-bottom>.arrow{top:auto;bottom:.7em}"],encapsulation:2,changeDetection:0}),e})(),Ir=(()=>{let e=class{constructor(e,t,n,r,s,o,a,c,l,u){this._elementRef=e,this._renderer=t,this._ngZone=a,this._document=c,this._changeDetector=l,this.shown=new i.s,this.hidden=new i.s,this._ngbPopoverWindowId="ngb-popover-"+kr++,this._windowRef=null,this.autoClose=o.autoClose,this.placement=o.placement,this.triggers=o.triggers,this.container=o.container,this.disablePopover=o.disablePopover,this.popoverClass=o.popoverClass,this.openDelay=o.openDelay,this.closeDelay=o.closeDelay,this._popupService=new Xi(Mr,n,s,t,r,u),this._zoneSubscription=a.onStable.subscribe(()=>{this._windowRef&&Ei(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container,"bs-popover")})}_isDisabled(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle}open(e){this._windowRef||this._isDisabled()||(this._windowRef=this._popupService.open(this.ngbPopover,e),this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=e,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),wi(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),this.shown.emit())}close(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck())}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=Er(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:e,popoverTitle:t,disablePopover:n,popoverClass:i}){i&&this.isOpen()&&(this._windowRef.instance.popoverClass=i.currentValue),(e||t||n)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(i.L),i.yc(i.w),i.yc(i.n),i.yc(i.X),i.yc(Pr),i.yc(i.F),i.yc(r.e),i.yc(i.j),i.yc(i.g))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbPopover",""]],inputs:{autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],features:[i.hc]}),e})(),Dr=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})(),jr=(()=>{let e=class{constructor(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Ar=(()=>{let e=class{constructor(e){this.value=0,this.max=e.max,this.animated=e.animated,this.striped=e.striped,this.textType=e.textType,this.type=e.type,this.showValue=e.showValue,this.height=e.height}set max(e){this._max=!dn(e)||e<=0?100:e}get max(){return this._max}getValue(){return ln(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}};return e.\u0275fac=function(t){return new(t||e)(i.yc(jr))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-progressbar"]],inputs:{value:"value",max:"max",animated:"animated",striped:"str
1iped",textType:"textType",type:"type",showValue:"showValue",height:"height"},ngContentSelectors:H,decls:4,vars:13,consts:[[1,"progress"],["role","progressbar","aria-valuemin","0"],[4,"ngIf"]],template:function(e,t){1&e&&(i.ad(),i.Ec(0,"div",0),i.Ec(1,"div",1),i.xd(2,bt,3,3,"span",2),i.Zc(3),i.Dc(),i.Dc()),2&e&&(i.wd("height",t.height),i.jc(1),i.oc("progress-bar",t.type?" bg-"+t.type:"","",t.textType?" text-"+t.textType:"","\n      ",t.animated?" progress-bar-animated":"","",t.striped?" progress-bar-striped":"",""),i.wd("width",t.getPercentValue(),"%"),i.kc("aria-valuenow",t.getValue())("aria-valuemax",t.max),i.jc(1),i.bd("ngIf",t.showValue))},directives:[r.u],pipes:[r.D],encapsulation:2,changeDetection:0}),e})(),Tr=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})(),zr=(()=>{let e=class{constructor(){this.max=10,this.readonly=!1,this.resettable=!1}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Lr={provide:s.o,useExisting:Object(i.cb)(()=>Nr),multi:!0};let Nr=(()=>{let e=class{constructor(e,t){this._changeDetectorRef=t,this.contexts=[],this.disabled=!1,this.hover=new i.s,this.leave=new i.s,this.rateChange=new i.s(!0),this.onChange=e=>{},this.onTouched=()=>{},this.max=e.max,this.readonly=e.readonly}ariaValueText(){return`${this.nextRate} out of ${this.max}`}enter(e){this.readonly||this.disabled||this._updateState(e),this.hover.emit(e)}handleBlur(){this.onTouched()}handleClick(e){this.readonly||this.disabled||this.update(this.resettable&&this.rate===e?0:e)}handleKeyDown(e){switch(e.which){case hi.ArrowDown:case hi.ArrowLeft:this.update(this.rate-1);break;case hi.ArrowUp:case hi.ArrowRight:this.update(this.rate+1);break;case hi.Home:this.update(0);break;case hi.End:this.update(this.max);break;default:return}e.preventDefault()}ngOnChanges(e){e.rate&&this.update(this.rate)}ngOnInit(){this.contexts=Array.from({length:this.max},(e,t)=>({fill:0,index:t})),this._updateState(this.rate)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}reset(){this.leave.emit(this.nextRate),this._updateState(this.rate)}setDisabledState(e){this.disabled=e}update(e,t=!0){const n=ln(e,this.max,0);this.readonly||this.disabled||this.rate===n||(this.rate=n,this.rateChange.emit(this.rate)),t&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}writeValue(e){this.update(e,!1),this._changeDetectorRef.markForCheck()}_getFillValue(e){const t=this.nextRate-e;return t>=1?100:t<1&&t>0?parseInt((100*t).toFixed(2),10):0}
1_updateState(e){this.nextRate=e,this.contexts.forEach((e,t)=>e.fill=this._getFillValue(t))}};return e.\u0275fac=function(t){return new(t||e)(i.yc(zr),i.yc(i.j))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-rating"]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,i.U,!0),2&e&&i.jd(r=i.Rc())&&(t.starTemplateFromContent=r.first)},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(e,t){1&e&&i.Qc("blur",(function(){return t.handleBlur()}))("keydown",(function(e){return t.handleKeyDown(e)}))("mouseleave",(function(){return t.reset()})),2&e&&(i.Hc("tabindex",t.disabled?-1:0),i.kc("aria-valuemax",t.max)("aria-valuenow",t.nextRate)("aria-valuetext",t.ariaValueText())("aria-disabled",!!t.readonly||null))},inputs:{max:"max",readonly:"readonly",rate:"rate",resettable:"resettable",starTemplate:"starTemplate"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},features:[i.ic([Lr]),i.hc],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"sr-only"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.xd(0,vt,1,1,"ng-template",null,0,i.yd),i.xd(2,yt,4,5,"ng-template",1)),2&e&&(i.jc(2),i.bd("ngForOf",t.contexts))},directives:[r.t,r.B],encapsulation:2,changeDetection:0}),e})(),Rr=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})(),Fr=(()=>{let e=class{constructor(){this.justify="start",this.orientation="horizontal",this.type="tabs"}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Vr=0,Ur=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbTabTitle",""]]}),e})(),Hr=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["ng-template","ngbTabContent",""]]}),e})(),Br=(()=>{let e=class{constructor(){this.id="ngb-tab-"+Vr++,this.disabled=!1}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["ngb-tab"]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,Ur,!1),i.qc(n,Hr,!1)),2&e&&(i.jd(r=i.Rc())&&(t.titleTpls=r),i.jd(r=i.Rc())&&(t.contentTpls=r))},inputs:{id:"id",disabled:"disabled",title:"title"}}),e})(),$r=(()=>{let e=class{constructor(e){this.destroyOnHide=!0,this.tabChange=new i.s,this.type=e.type,this.justify=e.justify,this.orientation=e.orientation}set justify(e){this.justifyClass="fill"===e||"justified"===e?"nav-"+e:"justify-content-"+e}select(e){let t=this._getTabById(e);if(t&&!t.disabled&&this.activeId!==t.id){let e=!1;this.tabChange.emit({activeId:this.activeId,nextId:t.id,preventDefault:()=>{e=!0}}),e||(this.activeId=t.id)}}ngAfterContentChecked(){let e=this._getTabById(this.activeId);this.activeId=e?e.id:this.tabs.length?this.tabs.first.id:null}_getTabById(e){let t=this.tabs.filter(t=>t.id===e);return t.length?t[0]:null}};return e.\u0275fac=function(t){return new(t||e)(i.yc(Fr))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-tabset"]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,Br,!1),2&e&&i.jd(r=i.Rc())&&(t.tabs=r)},inputs:{destroyOnHide:"destroyOnHide",type:"type",justify:"justify",orientation:"orientation",activeId:"activeId"},outputs:{tabChange:"tabChange"},exportAs:["ngbTabset"],decls:4,vars:4,consts:[["role","tablist"],["class","nav-item",4,"ngFor","ngForOf"],[1,"tab-content"],["ngFor","",3,"ngForOf"],[1,"nav-item"],["href","","role","tab",1,"nav-link",3,"id","click"],[3,"ngTemplateOutlet"],["role","tabpanel",3,"class","id",4,"ngIf"],["role","tabpanel",3,"id"]],template:function(e,t){1&e&&(i.Ec(0,"ul",0),i.xd(1,_t,4,11,"li",1),i.Dc(),i.Ec(2,"div",2),i.xd(3,St,1,1,"ng-template",3),i.Dc()),2&e&&(i.lc("nav nav-"+t.type+("horizontal"==t.orientation?" "+t.justifyClass:" flex-column")),i.jc(1),i.bd("ngForOf",t.tabs),i.jc(2),i.bd("ngForOf",t.tabs))},directives:[r.t,r.B,r.u],encapsulation:2}),e})(),qr=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})();
1class Wr{constructor(e,t,n){this.hour=an(e),this.minute=an(t),this.second=an(n)}changeHour(e=1){this.updateHour((isNaN(this.hour)?0:this.hour)+e)}updateHour(e){this.hour=dn(e)?(e<0?24+e:e)%24:NaN}changeMinute(e=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+e)}updateMinute(e){dn(e)?(this.minute=e%60<0?60+e%60:e%60,this.changeHour(Math.floor(e/60))):this.minute=NaN}changeSecond(e=1){this.updateSecond((isNaN(this.second)?0:this.second)+e)}updateSecond(e){dn(e)?(this.second=e<0?60+e%60:e%60,this.changeMinute(Math.floor(e/60))):this.second=NaN}isValid(e=!0){return dn(this.hour)&&dn(this.minute)&&(!e||dn(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}let Gr=(()=>{let e=class{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})();function Xr(){return new Yr}let Zr=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:Xr,token:e,providedIn:"root"}),e})(),Yr=(()=>{let e=class extends Zr{fromModel(e){return e&&hn(e.hour)&&hn(e.minute)?{hour:e.hour,minute:e.minute,second:hn(e.second)?e.second:null}:null}toModel(e){return e&&hn(e.hour)&&hn(e.minute)?{hour:e.hour,minute:e.minute,second:hn(e.second)?e.second:null}:null}};return e.\u0275fac=function(t){return ks(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),Qr=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return e=Object(i.Mc)(i.z),new Kr(e);var e},token:e,providedIn:"root"}),e})(),Kr=(()=>{let e=class extends Qr{constructor(e){super(),this._periods=Object(r.M)(e,r.h.Standalone,r.H.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}};return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.z))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();const Jr=/[^0-9]/g,es={provide:s.o,useExisting:Object(i.cb)(()=>ts),multi:!0};let ts=(()=>{let e=class{constructor(e,t,n,i){this._config=e,this._ngbTimeAdapter=t,this._cd=n,this.i18n=i,this.onChange=e=>{},this.onTouched=()=>{},this.meridian=e.meridian,this.spinners=e.spinners,this.seconds=e.seconds,this.hourStep=e.hourStep,this.minuteStep=e.minuteStep,this.secondStep=e.secondStep,this.disabled=e.disabled,this.readonlyInputs=e.readonlyInputs,this.size=e.size}set hourStep(e){this._hourStep=hn(e)?e:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(e){this._minuteStep=hn(e)?e:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(e){this._secondStep=hn(e)?e:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(e){const t=this._ngbTimeAdapter.fromModel(e);this.model=t?new Wr(t.hour,t.minute,t.second):new Wr,this.seconds||t&&dn(t.second)||(this.model.second=0),this._cd.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}changeHour(e){this.model.changeHour(e),this.propagateModelChange()}changeMinute(e){this.model.changeMinute(e),this.propagateModelChange()}changeSecond(e){this.model.changeSecond(e),this.propagateModelChange()}updateHour(e){const t=this.model.hour>=12,n=an(e);this.model.updateHour(this.meridian&&(t&&n<12||!t&&12===n)?n+12:n),this.propagateModelChange()}updateMinute(e){this.model.updateMinute(an(e)),this.propagateModelChange()}updateSecond(e){this.model.updateSecond(an(e)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(e){e.value=e.value.replace(Jr,"")}formatHour(e){return dn(e)?fn(this.meridian?e%12==0?12:e%12:e%24):fn(NaN)}formatMinSec(e){return fn(dn(e)?e:NaN)}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(e){e.seconds&&!this.seconds&&this.model&&!dn(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(e=!0){e&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}};return e.\u0275fac=function(t){return new(t||e)(i.yc(Gr),i.yc(Zr),i.yc(i.j),i.yc(Qr))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInput
1s:"readonlyInputs",size:"size"},features:[i.ic([es]),i.hc],decls:18,vars:25,consts:[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric",1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","input","keydown.ArrowUp","keydown.ArrowDown",6,"placeholder","aria-label"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"sr-only"],[1,"chevron","ngb-tp-chevron","bottom"],[1,"ngb-tp-input-container","ngb-tp-second"],[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""]],template:function(e,t){1&e&&(i.Ec(0,"fieldset",0),i.Ec(1,"div",1),i.Ec(2,"div",2),i.xd(3,jt,4,7,"button",3),i.Ec(4,"input",4),i.Kc(5,Et),i.Qc("change",(function(e){return t.updateHour(e.target.value)}))("input",(function(e){return t.formatInput(e.target)}))("keydown.ArrowUp",(function(e){return t.changeHour(t.hourStep),e.preventDefault()}))("keydown.ArrowDown",(function(e){return t.changeHour(0-t.hourStep),e.preventDefault()})),i.Dc(),i.xd(6,At,4,7,"button",3),i.Dc(),i.Ec(7,"div",5),i.zd(8,":"),i.Dc(),i.Ec(9,"div",6),i.xd(10,Tt,4,7,"button",3),i.Ec(11,"input",4),i.Kc(12,Pt),i.Qc("change",(function(e){return t.updateMinute(e.target.value)}))("input",(function(e){return t.formatInput(e.target)}))("keydown.ArrowUp",(function(e){return t.changeMinute(t.minuteStep),e.preventDefault()}))("keydown.ArrowDown",(function(e){return t.changeMinute(0-t.minuteStep),e.preventDefault()})),i.Dc(),i.xd(13,zt,4,7,"button",3),i.Dc(),i.xd(14,Lt,2,0,"div",7),i.xd(15,$t,5,9,"div",8),i.xd(16,qt,1,0,"div",7),i.xd(17,Xt,5,9,"div",9),i.Dc(),i.Dc()),2&e&&(i.pc("disabled",t.disabled),i.bd("disabled",t.disabled),i.jc(3),i.bd("ngIf",t.spinners),i.jc(1),i.pc("form-control-sm",t.isSmallSize)("form-control-lg",t.isLargeSize),i.bd("value",t.formatHour(null==t.model?null:t.model.hour))("readOnly",t.readonlyInputs)("disabled",t.disabled),i.jc(2),i.bd("ngIf",t.spinners),i.jc(4),i.bd("ngIf",t.spinners),i.jc(1),i.pc("form-control-sm",t.isSmallSize)("form-control-lg",t.isLargeSize),i.bd("value",t.formatMinSec(null==t.model?null:t.model.minute))("readOnly",t.readonlyInputs)("disabled",t.disabled),i.jc(2),i.bd("ngIf",t.spinners),i.jc(1),i.bd("ngIf",t.seconds),i.jc(1),i.bd("ngIf",t.seconds),i.jc(1),i.bd("ngIf",t.meridian),i.jc(1),i.bd("ngIf",t.meridian))},directives:[r.u],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron::before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-meridian,.ngb-tp-minute,.ngb-tp-second{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}'],encapsulation:2}),e})(),ns=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})(),is=(()=>{let e=class{constructor(){this.autohide=!0,this.delay=500,this.ariaLive="polite"}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),rs=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","ngbToastHeader",""]]}),e})(),ss=(()=>{let e=class{constructor(e,t){this.ariaLive=e,this.contentHeaderTpl=null,this.hideOutput=new i.s,null==this.ariaLive&&(this.ariaLive=t.ariaLive),this.delay=t.delay,this.autohide=t.autohide}ngAfterContentInit(){this._init()}ngOnChanges(e){"autohide"in e&&(this._clearTimeout(),this._init())}hide(){this._clearTimeout(),this.hideOutput.emit()}_init(){this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(()=>this.hide(),this.delay))}_clearTimeout(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}};
1return e.\u0275fac=function(t){return new(t||e)(i.Nc("aria-live"),i.yc(is))},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-toast"]],contentQueries:function(e,t,n){var r;1&e&&i.td(n,rs,!0,i.U),2&e&&i.jd(r=i.Rc())&&(t.contentHeaderTpl=r.first)},hostAttrs:["role","alert","aria-atomic","true"],hostVars:5,hostBindings:function(e,t){2&e&&(i.kc("aria-live",t.ariaLive),i.pc("toast",!0)("show",!0))},inputs:{delay:"delay",autohide:"autohide",header:"header"},outputs:{hideOutput:"hide"},exportAs:["ngbToast"],features:[i.hc],ngContentSelectors:H,decls:5,vars:1,consts:[["headerTpl",""],[3,"ngIf"],[1,"toast-body"],[1,"mr-auto"],[1,"toast-header"],[3,"ngTemplateOutlet"],["type","button",1,"close",3,"click",6,"aria-label"],["aria-hidden","true"]],template:function(e,t){1&e&&(i.ad(),i.xd(0,Zt,2,1,"ng-template",null,0,i.yd),i.xd(2,Kt,6,1,"ng-template",1),i.Ec(3,"div",2),i.Zc(4),i.Dc()),2&e&&(i.jc(2),i.bd("ngIf",t.contentHeaderTpl||t.header))},directives:[r.u,r.B],styles:[".ngb-toasts{position:fixed;top:0;right:0;margin:.5em;z-index:1200}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}"],encapsulation:2}),e})(),os=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})(),as=(()=>{let e=class{constructor(){this.autoClose=!0,this.placement="auto",this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),cs=0,ls=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(e,t){2&e&&(i.Hc("id",t.id),i.lc("tooltip show"+(t.tooltipClass?" "+t.tooltipClass:"")))},inputs:{id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:H,decls:3,vars:0,consts:[[1,"arrow"],[1,"tooltip-inner"]],template:function(e,t){1&e&&(i.ad(),i.zc(0,"div",0),i.Ec(1,"div",1),i.Zc(2),i.Dc())},styles:["ngb-tooltip-window.bs-tooltip-bottom .arrow,ngb-tooltip-window.bs-tooltip-top .arrow{left:calc(50% - .4rem)}ngb-tooltip-window.bs-tooltip-bottom-left .arrow,ngb-tooltip-window.bs-tooltip-top-left .arrow{left:1em}ngb-tooltip-window.bs-tooltip-bottom-right .arrow,ngb-tooltip-window.bs-tooltip-top-right .arrow{left:auto;right:.8rem}ngb-tooltip-window.bs-tooltip-left .arrow,ngb-tooltip-window.bs-tooltip-right .arrow{top:calc(50% - .4rem)}ngb-tooltip-window.bs-tooltip-left-top .arrow,ngb-tooltip-window.bs-tooltip-right-top .arrow{top:.4rem}ngb-tooltip-window.bs-tooltip-left-bottom .arrow,ngb-tooltip-window.bs-tooltip-right-bottom .arrow{top:auto;bottom:.4rem}"],encapsulation:2,changeDetection:0}),e})(),us=(()=>{let e=class{constructor(e,t,n,r,s,o,a,c,l,u){this._elementRef=e,this._renderer=t,this._ngZone=a,this._document=c,this._changeDetector=l,this.shown=new i.s,this.hidden=new i.s,this._ngbTooltipWindowId="ngb-tooltip-"+cs++,this._windowRef=null,this.autoClose=o.autoClose,this.placement=o.placement,this.triggers=o.triggers,this.container=o.container,this.disableTooltip=o.disableTooltip,this.tooltipClass=o.tooltipClass,this.openDelay=o.openDelay,this.closeDelay=o.closeDelay,this._popupService=new Xi(ls,n,s,t,r,u),this._zoneSubscription=a.onStable.subscribe(()=>{this._windowRef&&Ei(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container,"bs-tooltip")})}set ngbTooltip(e){this._ngbTooltip=e,!e&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(e){this._windowRef||!this._ngbTooltip||this.disableTooltip||(this._windowRef=this._popupService.open(this._ngbTooltip,e),this._windowRef.instance.tooltipClass=this.tooltipClass,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),wi(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),this.shown.emit())}close(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck())}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=Er(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:e}){e&&this.isOpen()&&(this._windowRef.instance.tooltipClass=e.currentValue)}ngOnDestroy(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(i.L),i.yc(i.w),i.yc(i.n),i.yc(i.X),i.yc(as),i.yc(i.F),i.yc(r.e),i.yc(i.j),i.yc(i.g))},e.\u0275dir=i.tc({type:e,selectors:[["","ngbTooltip",""]],inputs:{autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[i.hc]}),e})(),ds=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})(),hs=(()=>{let e=class{constructor(){this.highlightClass="ngb-highlight"}
1ngOnChanges(e){const t=cn(this.result),n=(Array.isArray(this.term)?this.term:[this.term]).map(e=>cn(e).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")).filter(e=>e);this.parts=n.length?t.split(new RegExp(`(${n.join("|")})`,"gmi")):[t]}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term"},features:[i.hc],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(e,t){1&e&&i.xd(0,tn,3,2,"ng-template",0),2&e&&i.bd("ngForOf",t.parts)},directives:[r.t,r.u],styles:[".ngb-highlight{font-weight:700}"],encapsulation:2,changeDetection:0}),e})(),ps=(()=>{let e=class{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=cn,this.selectEvent=new i.s,this.activeChangeEvent=new i.s}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(e){this.activeIdx=e,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(e){this.selectEvent.emit(e)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox",1,"dropdown-menu","show"],hostVars:1,hostBindings:function(e,t){1&e&&i.Qc("mousedown",(function(e){return e.preventDefault()})),2&e&&i.Hc("id",t.id)},inputs:{focusFirst:"focusFirst",formatter:"formatter",id:"id",results:"results",term:"term",resultTemplate:"resultTemplate"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.xd(0,nn,1,2,"ng-template",null,0,i.yd),i.xd(2,on,2,9,"ng-template",1)),2&e&&(i.jc(2),i.bd("ngForOf",t.results))},directives:[r.t,hs,r.B],encapsulation:2}),e})();const fs=new i.v("live announcer delay",{providedIn:"root",factory:function(){return 100}});function gs(e,t=!1){let n=e.body.querySelector("#ngb-live");return null==n&&t&&(n=e.createElement("div"),n.setAttribute("id","ngb-live"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.classList.add("sr-only"),e.body.appendChild(n)),n}let ms=(()=>{let e=class{constructor(e,t){this._document=e,this._delay=t}ngOnDestroy(){const e=gs(this._document);e&&e.parentElement.removeChild(e)}say(e){const t=gs(this._document,!0),n=this._delay;if(null!=t){t.textContent="";const i=()=>t.textContent=e;null===n?i():setTimeout(i,n)}}};return e.\u0275fac=function(t){return new(t||e)(i.Mc(r.e),i.Mc(fs))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(r.e),Object(i.Mc)(fs))},token:e,providedIn:"root"}),e})(),bs=(()=>{let e=class{constructor(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const vs={provide:s.o,useExisting:Object(i.cb)(()=>ys),multi:!0};let ws=0,ys=(()=>{let e=class{constructor(e,t,n,r,s,c,l,u,h,p,f,g){this._elementRef=e,this._renderer=n,this._live=u,this._document=h,this._ngZone=p,this._changeDetector=f,this._subscription=null,this._closed$=new o.a,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new i.s,this.activeDescendant=null,this.popupId="ngb-typeahead-"+ws++,this._onTouched=()=>{},this._onChange=e=>{},this.container=c.container,this.editable=c.editable,this.focusFirst=c.focusFirst,this.showHint=c.showHint,this.placement=c.placement,this._valueChanges=Object(d.a)(e.nativeElement,"input").pipe(Object(y.a)(e=>e.target.value)),this._resubscribeTypeahead=new a.a(null),this._popupService=new Xi(ps,r,t,n,s,g),this._zoneSubscription=l.onStable.subscribe(()=>{this.isPopupOpen()&&Ei(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container)})}ngOnInit(){const e=this._valueChanges.pipe(Object(P.a)(e=>{this._inputValueBackup=this.showHint?e:null,this._onChange(this.editable?e:void 0)})).pipe(this.ngbTypeahead),t=this._resubscribeTypeahead.pipe(Object(x.a)(()=>e));this._subscription=this._subscribeToUserInput(t)}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}writeValue(e){this._writeInputValue(this._formatItemForInput(e)),this.showHint&&(this._inputValueBackup=e)}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead.next(null),this._onTouched()}handleKeyDown(e){if(this.isPopupOpen())switch(e.which){case hi.ArrowDown:e.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case hi.ArrowUp:e.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case hi.Enter:case hi.Tab:const t=this._windowRef.instance.getActive();pn(t)&&(e.preventDefault(),e.stopPropagation(),this._selectResult(t)),this._closePopup()}}_openPopup(){this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(e=>this._selectResultClosePopup(e)),this._windowRef.instance.activeChangeEvent.subscribe(e=>this.activeDescendant=e),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),wi(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement]))}_closePopup(){this._closed$.next(),this._popupService.close(),this._windowRef=null,this.activeDescendant=null}_selectResult(e){let t=!1;this.selectItem.emit({item:e,preventDefault:()=>{t=!0}}),this._resubscribeTypeahead.next(null),t||(this.writeValue(e),this._onChange(e))}_selectResultClosePopup(e){this._selectResult(e),this._closePopup()}_showHint(){var e;if(this.showHint&&(null===(e=this._windowRef)||void 0===e?void 0:e.instance.hasActive())&&null!=this._inputValueBackup){const e=this._inputValueBackup.toLowerCase(),t=this._formatItemForInput(this._windowRef.instance.getActive());e===t.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+t.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,t.length])):this._writeInputValue(t)}}_formatItemForInput(e){return null!=e&&this.inputFormatter?this.inputFormatter(e):cn(e)}_writeInputValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",cn(e))}_subscribeToUserInput(e){return e.subscribe(e=>{e&&0!==e.length?(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=e,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const t=e?e.length:0;this._live.say(0===t?"No results available":`${t} result${1===t?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(i.X),i.yc(i.L),i.yc(i.w),i.yc(i.n),i.yc(bs),i.yc(i.F),i.yc(ms),i.yc(r.e),i.yc(i.F),i.yc(i.j),i.yc(i.g))},e.\u0275dir=i.tc({type:e,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(e,t){1&e&&i.Qc("blur",(function(){return t.handleBlur()}))("keydown",(function(e){return t.handleKeyDown(e)})),2&e&&(i.Hc("autocomplete",t.autocomplete),i.kc("aria-autocomplete",t.showHint?"both":"list")("aria-activedescendant",t.activeDescendant)("aria-owns",t.isPopupOpen()?t.popupId:null)("aria-expanded",t.isPopupOpen()),i.pc("open",t.isPopupOpen()))},inputs:{autocomplete:"autocomplete",placement:"placement",container:"container",editable:"editable",focusFirst:"focusFirst",showHint:"showHint",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[i.ic([vs])]}),e})(),Cs=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})();const _s=[On,Pn,zn,Hn,$n,Li,qi,rr,pr,_r,Dr,Tr,Rr,ns,os,ds,Cs,qr];let xs=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[_s,On,Pn,zn,Hn,$n,Li,qi,rr,pr,_r,Dr,Tr,Rr,ns,os,ds,Cs,qr]}),e})();const Os=i.Gc(Yn),Ss=i.Gc(ci),Es=i.Gc(Mi),Ps=i.Gc(Ii),ks=i.Gc(Yr)},"23KU":function(e,t,n){"use strict";var i=n("uE2L"),r=n("YHEm"),s=Object.prototype.hasOwnProperty;t.a=function(e,t,n){var o=e[t];s.call(e,t)&&Object(r.a)(o,n)&&(void 0!==n||t in e)||Object(i.a)(e,t,n
1)}},"25cm":function(e,t,n){"use strict";var i=n("tPH9"),r=n("/1FC");t.a=function(e,t,n){var s=t(e);return Object(r.a)(e)?s:Object(i.a)(s,n(e))}},"2FYO":function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("Muja"),r=n("fXoL"),s=n("GJzE"),o=n("p3ot"),a=n("tyNb");function c(e,t){1&e&&r.Ac(0)}function l(e,t){if(1&e&&(r.Ec(0,"li"),r.Ec(1,"a",6),r.zd(2),r.Dc(),r.Dc()),2&e){const e=t.item;r.jc(1),r.bd("routerLink",e.url),r.jc(1),r.Ad(e.label)}}function u(e,t){if(1&e&&(r.Ec(0,"li"),r.Ec(1,"span"),r.zd(2),r.Dc(),r.Dc()),2&e){const e=t.item;r.jc(2),r.Ad(e.label)}}function d(e,t){1&e&&(r.Ec(0,"div",1),r.Ec(1,"ul",2),r.xd(2,c,1,0,"ng-container",3),r.xd(3,l,3,2,"li",4),r.xd(4,u,3,1,"li",5),r.Dc(),r.Dc())}let h=(()=>{class e{constructor(e,t){this.pageMetaDataService=e,this.changeDetector=t,this.pBreadcrumbs=[]}get breadcrumbs(){return this.pBreadcrumbs}ngOnInit(){this.subscription=this.pageMetaDataService.breadCrumbs$.subscribe(e=>{this.pBreadcrumbs.length===e.length&&Object(i.a)(this.pBreadcrumbs,e)||(this.pBreadcrumbs=e.slice(),this.changeDetector.markForCheck())})}ngOnDestroy(){void 0!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return e.\u0275fac=function(t){return new(t||e)(r.yc(s.V),r.yc(r.j))},e.\u0275cmp=r.sc({type:e,selectors:[["app-breadcrumbs"]],decls:1,vars:1,consts:[["class","container-fluid",4,"appBreadcrumbs"],[1,"container-fluid"],[1,"top-breadcrumbs","unstyled-list"],[4,"appBreadcrumbsContainer"],[4,"appBreadcrumbRouteTemplate"],[4,"appBreadcrumbSimpleTemplate"],[3,"routerLink"]],template:function(e,t){1&e&&r.xd(0,d,5,0,"div",0),2&e&&r.bd("appBreadcrumbs",t.breadcrumbs)},directives:[o.d,o.c,o.a,o.b,a.g],styles:['.top-breadcrumbs[_ngcontent-%COMP%]{display:none}@media (min-width:1024px){.top-breadcrumbs[_ngcontent-%COMP%]{display:flex;margin-bottom:16px;font-size:12px}.top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){color:rgba(50,50,50,.35)}.top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child):after{margin:0 4px;content:"/"}.top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}}'],changeDetection:0}),e})()},"2KnI":function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return p}));var i=n("fXoL"),r=n("XNiG"),s=n("1G5W"),o=n("ehPC"),a=n("GJzE"),c=n("ofXK"),l=n("sYmb");function u(e,t){}function d(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",6),i.Qc("click",(function(){i.nd(e);const t=i.Uc();return t.isMobile=!t.isMobile})),i.zd(1," catalog-popular-places-view-more-label "),i.Dc()}}const h=new i.v("PopularPlaces widget default cards service");let p=(()=>{class e extends o.s{constructor(e,t,n,i,s,o){super(e,t,n,i,s,o),this.destroy$=new r.a}ngOnInit(){super.ngOnInit(),this.deviceState.onDeviceStateChange.pipe(Object(s.a)(this.destroy$)).subscribe(e=>{this.isMobile=e.state.isMobile})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(o.A,8),i.yc(i.w),i.yc(i.n),i.yc(a.t),i.yc(o.p),i.yc(o.z,8))},e.\u0275cmp=i.sc({type:e,selectors:[["app-shared-popular-places"]],features:[i.ic([{provide:Object(i.cb)(()=>a.n),useFactory:e=>e,deps:[[new i.G,Object(i.cb)(()=>h)]]},Object(i.cb)(()=>Object(o.T)())]),i.gc],decls:8,vars:4,consts:[[1,"col-12"],[1,"top-firm-card-wrapper"],[1,"c-card-label","c-card-label--as-section-title","mb-4"],[1,"row"],["
1insertPoint",""],["type","button","translate","",3,"click",4,"ngIf"],["type","button","translate","",3,"click"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"div",1),i.Ec(2,"div",2),i.zd(3),i.Dc(),i.Ec(4,"div",3),i.xd(5,u,0,0,"ng-template",null,4,i.yd),i.xd(7,d,2,0,"button",5),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.jc(1),i.pc("top-firm-card-wrapper-mobile",t.isMobile),i.jc(2),i.Ad(t.widget.label),i.jc(4),i.bd("ngIf",t.isMobile))},directives:[c.u,l.b],styles:[".top-firm-card-wrapper[_ngcontent-%COMP%]{margin:48px 0}.top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:7px auto 13px;background-color:unset;border-radius:5px;border:1px solid #000;padding:12px 34px}@media (min-width:1024px){.top-firm-card-wrapper[_ngcontent-%COMP%]{margin-top:74px}}.c-card-label[_ngcontent-%COMP%]{display:inline-block;max-width:230px;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}.c-card-label--ad[_ngcontent-%COMP%], .c-card-label--regular[_ngcontent-%COMP%]{padding:2px 8px;border:1px solid #fff;border-radius:3px;text-shadow:1px 1px 1px rgba(0,0,0,.4)}.c-card-label--in-news[_ngcontent-%COMP%]{margin-left:10px;color:rgba(50,50,50,.35);border:1px solid rgba(50,50,50,.35);border-radius:3px}.c-card-label--main[_ngcontent-%COMP%]{position:absolute;z-index:11;top:10px;left:10px}.c-card-label--main[_ngcontent-%COMP%] + .card-wrapper[_ngcontent-%COMP%]   .c-card__subinfo[_ngcontent-%COMP%]{top:40px}.c-card-label--accent[_ngcontent-%COMP%]{padding:5px 10px;background-color:hsla(var(--green-primary-h),var(--green-primary-s),var(--green-primary-l),.75);text-transform:uppercase}.c-card-label--as-section-title[_ngcontent-%COMP%]{max-width:100%;padding:4px 8px;font-size:14px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary)}.c-card-label--special[_ngcontent-%COMP%]{background-color:#fb661c}.c-card-label--blue[_ngcontent-%COMP%]{background-color:#00afe1}.c-card-label--on-slider[_ngcontent-%COMP%]{position:absolute;z-index:10;left:25px;top:20px}@media (min-width:1024px){.c-card-label--in-news[_ngcontent-%COMP%]{margin-left:20px}}@media (max-width:1024px){[_nghost-%COMP%]     .top-firm-card-wrapper-mobile app-popular-places:nth-of-type(1n+3){display:none}}"]}),e})()},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("XNiG"),r=n("9ppp");class s extends i.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(e){super.next(this._value=e)}}},"2aVW":function(e,t,n){"use strict";n.d(t,"a",(function(){return P}));var i=n("PqYM"),r=n("GQzd"),s=n("AytR"),o=n("fXoL"),a=n("GJzE");function c(e,t){if(1&e&&o.zc(0,"app-placeholder",5),2&e){const e=o.Uc();o.bd("width",e.card.width)("height",1)}}function l(e,t){if(1&e&&(o.Ec(0,"span",19),o.zd(1),o.Dc()),2&e){const e=o.Uc(3).singleNews;o.jc(1),o.Ad(e.label)}}function u(e,t){1&e&&(o.Tc(),o.Ec(0,"svg",20),o.zc(1,"use",21),o.Dc())}function d(e,t){1&e&&(o.Tc(),o.Ec(0,"svg",20),o.zc(1,"use",22),o.Dc())}function h(e,t){if(1&e&&(o.Ec(0,"div",16),o.xd(1,l,2,1,"span",17),o.xd(2,u,2,0,"svg",18),o.xd(3,d,2,0,"svg",18),o.Dc()),2&e){const e=o.Uc(2).singleNews;o.jc(1),o.bd("ngIf",e.label.length>0),o.jc(1),o.bd("ngIf",e.hasPictures),o.jc(1),o.bd("ngIf",e.hasVideo)}}function p(e,t){if(1&e&&(o.Cc(0),o.xd(1,h,4,3,"div",15),o.Bc()),2&e){const e=o.Uc().singleNews;o.jc(1),o.bd("ngIf",e.hasPictures||e.hasVideo||e.label.length>0)}}function f(e,t){1&e&&(o.Ec(0,"div",23),o.zd(1,"\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0440\u043e\u0441\u0442 \u0447\u0438\u0441\u043b\u0430 \u043d\u043e\u0432\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441\u0430 \u0432 \u0423\u043a\u0440\u0430\u0438\u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0431\u043e\u043b\u0435\u0435 10%. "),o.Dc())}function g(e,t){if(1&e&&(o.Ec(0,"div",24),o.Ec(1,"a",25),o.Tc(),o.Ec(2,"svg",20),o.zc(3,"use",26),o.Dc(),o.Sc(),o.Ec(4,"span"),o.zd(5),o.Vc(6,"number"),o.Dc(),o.Dc(),o.Dc()),2&e){const e=o.Uc().singleNews;o.jc(1),o.dd("fragment","comments-",e.id,""),o.bd("appNewsUrl",e),o.jc(4),o.Ad(o.Wc(6,3,e.commentsCount))}}function m(e,t){if(1&e&&(o.Ec(0,"article",6),o.zc(1,"a",7),o.xd(2,p,2,1,"ng-container",8),o.Ec(3,"div",9),o.Ec(4,"div",10),o.Ec(5,"a",11),o.zd(6),o.Dc(),o.Dc(),o.xd(7,f,2,0,"ng-template"),o.Ec(8,"div",12),o.Ec(9,"div",13),o.zd(10),o.Dc(),o.xd(11,g,7,5,"div",14),o.Dc(),o.Dc(),o.Dc()),2&e){const e=t.singleNews;o.jc(1),o.bd("appNewsUrl",e)("lazyLoad",e.cardPosterUrl),o.jc(1),o.bd("ngIf",null!==e.cardPosterUrl),o.jc(3),o.cd("title",e.title),o.bd("appNewsUrl",e),o.jc(1),o.Ad(e.title),o.jc(4),o.Ad(e.friendlyPublishDate.join(", ")),o.jc(1),o.bd("ngIf",e.allowComment&&e.commentsCount>0)}}function b(e,t){if(1&e&&(o.Ec(0,"span",19),o.zd(1),o.Dc()),2&e){const e=o.Uc(3).singleNews;o.jc(1),o.Ad(e.label)}}function v(e,t){1&e&&(o.Tc(),o.Ec(0,"svg",20),o.zc(1,"use",21),o.Dc())}function w(e,t){1&e&&(o.Tc(),o.Ec(0,"svg",20),o.zc(1,"use",22),o.Dc())}function y(e,t){if(1&e&&(o.Ec(0,"div",16),o.xd(1,b,2,1,"span",17),o.xd(2,v,2,0,"svg",18),o.xd(3,w,2,0,"svg",18),o.Dc()),2&e){const e=o.Uc(2).singleNews;o.jc(1),o.bd("ngIf",e.label.length>0),o.jc(1),o.bd("ngIf",e.hasPictures),o.jc(1),o.bd("ngIf",e.hasVideo)}}function C(e,t){if(1&e&&(o.Cc(0),o.xd(1,y,4,3,"div",15),o.Bc()),2&e){const e=o.Uc().singleNews;o.jc(1),o.bd("ngIf",e.hasPictures||e.hasVideo||e.label.length>0)}}function _(e,t){if(1&e&&(o.Ec(0,"div",24),o.Ec(1,"a",25),o.Tc(),o.Ec(2,"svg",20),o.zc(3,"use",26),o.Dc(),o.Sc(),o.Ec(4,"span"),o.zd(5),o.Vc(6,"number"),o.Dc(),o.Dc(),o.Dc()),2&e){const e=o.Uc().singleNews;o.jc(1),o.dd("fragment","comments-",e.id,""),o.bd("appNewsUrl",e),o.jc(4),o.Ad(o.Wc(6,3,e.commentsCount))}}function x(e,t){if(1&e&&(o.Ec(0,"article",27),o.zc(1,"a",7),o.xd(2,C,2,1,"ng-container",8),o.Ec(3,"div",9),o.Ec(4,"div",10),o.Ec(5,"a",11),o.zd(6),o.Dc(),o.Dc(),o.Ec(7,"div",12),o.Ec(8,"div",13),o.zd(9),o.Dc(),o.xd(10,_,7,5,"div",14),o.Dc(),o.Dc(),o.Dc()),2&e){const e=t.singleNews;o.jc(1),o.bd("appNewsUrl",e)("lazyLoad",e.rectanglePosterUrl),o.jc(1),o.bd("ngIf",null!==e.cardPosterUrl),o.jc(3),o.cd("title",e.title),o.bd("appNewsUrl",e),o.jc(1),o.Ad(e.title),o.jc(3),o.Ad(e.friendlyPublishDate.join(", ")),o.jc(1),o.bd("ngIf",e.allowComment&&e.commentsCount>0)}}function O(e,t){if(1&e&&(o.Ec(0,"div",30),o.zd(1),o.Dc()),2&e){const e=o.Uc().singleNews;o.jc(1),o.Ad(e.label)}}function S(e,t){if(1&e&&(o.Ec(0,"div",24),o.Ec(1,"a",25),o.Tc(),o.Ec(2,"svg",20),o.zc(3,"use",26),o.Dc(),o.Sc(),o.Ec(4,"span"),o.zd(5),o.Vc(6,"number"),o.Dc(),o.Dc(),o.Dc()),2&e){const e=o.Uc().singleNews;o.jc(1),o.dd("fragment","comments-",e.id,""),o.bd("appNewsUrl",e),o.jc(4),o.Ad(o.Wc(6,3,e.commentsCount))}}function E(e,t){if(1&e&&(o.Ec(0,"article",28),o.Ec(1,"div",9),o.Ec(2,"div",10),o.Ec(3,"a",11),o.zd(4),o.Dc(),o.Dc(),o.Ec(5,"div",12),o.Ec(6,"div",13),o.xd(7,O,2,1,"div",29),o.zd(8),o.Dc(),o.xd(9,S,7,5,"div",14),o.Dc(),o.Dc(),o.Dc()),2&e){const e=t.singleNews;o.jc(3),o.cd("title",e.title),o.bd("appNewsUrl",e),o.jc(1),o.Ad(e.title),o.jc(3),o.bd("ngIf",e.label.length>0),o.jc(1),o.Bd(" ",e.friendlyPublishDate.join(", ")," "),o.jc(1),o.bd("ngIf",e.allowComment&&e.commentsCount>0)}}let P=(()=>{class e extends r.b{constructor(e,t){super(e),this.newsService=t}ngOnInit(){super.ngOnInit()}getModels(){return this.newsService.getNextTopNews(this.card.onlyNonCommercialNews)}renderCard(e){this.models=e;const t=()=>{this.insertPoint.clear(),this.insertPoint.createEmbeddedView(2===this.card.width?this.doubleNewsTemplate:this.halfNewsTemplate,{singleNews:this.models})};s.a.useLoadingDelay?Object(i.a)(1500).subscribe(t):t()}}return e.\u0275fac=function(t){return new(t||e)(o.yc(a.fb),o.yc(r.y
1))},e.\u0275cmp=o.sc({type:e,selectors:[["app-shared-top-news"]],features:[o.gc],decls:10,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["doubleNews",""],["halfNews",""],["simpleNews",""],[3,"width","height"],[1,"article-card","article-card--double"],[1,"article-card__poster",3,"appNewsUrl","lazyLoad"],[4,"ngIf"],[1,"article-card__content"],[1,"article-card__title"],[3,"appNewsUrl","title"],[1,"article-card__info"],[1,"article-card__date"],["class","card-actions",4,"ngIf"],["class","article-card__subinfo",4,"ngIf"],[1,"article-card__subinfo"],["class","article-card__subinfo--toaster",4,"ngIf"],["width","20","height","20",4,"ngIf"],[1,"article-card__subinfo--toaster"],["width","20","height","20"],[0,"xlink","href","#icon-photo"],[0,"xlink","href","#icon-video"],[1,"article-card__subtitle"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],[0,"xlink","href","#icon-comment"],[1,"article-card","article-card--half"],[1,"article-card","article-card--simple"],["class","article-card__date--toaster",4,"ngIf"],[1,"article-card__date--toaster"]],template:function(e,t){1&e&&(o.Ac(0,null,0),o.xd(2,c,1,2,"app-placeholder",1),o.Vc(3,"async"),o.xd(4,m,12,8,"ng-template",null,2,o.yd),o.xd(6,x,11,8,"ng-template",null,3,o.yd),o.xd(8,E,10,6,"ng-template",null,4,o.yd)),2&e&&(o.jc(2),o.bd("ngIf",!o.Wc(3,1,t.isComponentLoaded$)))},styles:['.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;max-width:calc(100% - 16px);top:12px;left:0}.article-card__subinfo--toaster[_ngcontent-%COMP%]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;line-height:16px}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card__date--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px;margin-bottom:8px;color:var(--green-primary);font-size:14px;position:relative;top:1px;line-height:14px;text-transform:uppercase}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--double[_ngcontent-%COMP%]{padding-bottom:137.2%;color:#fff}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.article-card--double[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding:16px}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{line-height:1;font-size:30px;font-weight:700}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{margin-top:16px;font-size:18px}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.35)}.article-card--double[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:hsla(0,0%,100%,.35)}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:relative;padding-bottom:47.6%}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:16px 24px}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;margin-top:4px;margin-right:10px;color:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:none}.article-card--double[_ngcontent-%COMP%]{padding-bottom:45.12%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8
1%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{display:none}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:12px 16px}}@media (min-width:1200px){.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{font-size:36px}}.card-actions[_ngcontent-%COMP%]{display:flex;margin-left:20px}.card-actions__item[_ngcontent-%COMP%]{color:inherit}.card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;fill:var(--green-primary)}.card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;color:inherit}']}),e})()},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"2gGH":function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("PqYM"),r=n("IzEk"),s=n("GQzd"),o=n("AytR"),a=n("ehPC"),c=n("fXoL"),l=n("GJzE");function u(e,t){if(1&e&&(c.Ec(0,"div",12),c.zd(1),c.Dc()),2&e){const e=c.Uc().$implicit;c.jc(1),c.Ad(e.label)}}function d(e,t){if(1&e&&(c.Tc(),c.Sc(),c.Ec(0,"span"),c.zd(1),c.Vc(2,"number"),c.Dc()),2&e){const e=c.Uc(2).$implicit;c.jc(1),c.Ad(c.Wc(2,1,e.commentsCount))}}function h(e,t){if(1&e&&(c.Ec(0,"div",13),c.Ec(1,"a",14),c.Tc(),c.Ec(2,"svg",15),c.zc(3,"use",16),c.Dc(),c.xd(4,d,3,3,"span",17),c.Dc(),c.Dc()),2&e){const e=c.Uc().$implicit;c.jc(1),c.dd("fragment","comments-",e.id,""),c.bd("appNewsUrl",e),c.jc(3),c.bd("ngIf",e.commentsCount>0)}}function p(e,t){if(1&e&&(c.Ec(0,"div",6),c.Ec(1,"article",7),c.Ec(2,"div",8),c.Ec(3,"a",9),c.zd(4),c.Dc(),c.xd(5,u,2,1,"div",10),c.xd(6,h,5,3,"div",11),c.Dc(),c.Dc(),c.Dc()),2&e){const e=t.$implicit;c.jc(3),c.cd("title",e.title),c.bd("appNewsUrl",e),c.jc(1),c.Ad(e.title),c.jc(1),c.bd("ngIf",e.label.length>0),c.jc(1),c.bd("ngIf",e.allowComment&&e.commentsCount>0)}}function f(e,t){if(1&e&&(c.Ec(0,"div",2),c.Ec(1,"div",3),c.zd(2),c.Dc(),c.Ec(3,"div",4),c.xd(4,p,7,5,"div",5),c.Dc(),c.Dc()),2&e){const e=c.Uc(2);c.jc(2),c.Ad(e.widget.label),c.jc(2),c.bd("ngForOf",e.models)}}function g(e,t){if(1&e&&(c.Cc(0),c.xd(1,f,5,2,"div",1),c.Bc()),2&e){const e=c.Uc();c.jc(1),c.bd("ngIf",null==e.models?null:e.models.length)}}let m=(()=>{class e extends a.j{constructor(e,t,n,i){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.routesService=n,this.newsService=i}ngOnInit(){this.newsService.getNextWeekTopNews(this.widget.itemsCount).pipe(Object(r.a)(1)).subscribe(e=>{this.models=e,null!==this.models?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};o.a.useLoadingDelay?Object(i.a)(1500).subscribe(t):t()})}}return e.\u0275fac=function(t){return new(t||e)(c.yc(a.A,8),c.yc(c.w),c.yc(l.fb),c.yc(s.B))},e.\u0275cmp=c.sc({type:e,selectors:[["app-shared-week-top-news"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","top-news-block",4,"ngIf"],[1,"top-news-block"],[1,"card-label","top-news-block__label"],[1,"top-news-block__row","row"],["class","col-12 col-lg",4,"ngFor","ngForOf"],[1,"col-12","col-lg"],[1,"top-article"],[1,"top-article__content"],[1,"top-article__title",3,"appNewsUrl","title"],["class","top-article--toaster",4,"ngIf"],["class","card-actions",4,"ngIf"],[1,"top-article--toaster"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],["width","20","height","20"],[0,"xlink","href","#icon-comment"],[4,"ngIf"]],template:function(e,t){1&e&&(c.xd(0,g,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:['.card-label[_ngcontent-%COMP%]{max-width:240px;padding:4px 8px;font-weight:700;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background-color:var(--green-primary);color:#fff}.top-news-block[_ngcontent-%COMP%]{border-bottom:3px solid var(--green-primary);margin:0 -8px;padding:0 8px}.top-news-block__label[_ngcontent-%COMP%]{display:inline-block;margin-bottom:24px}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:first-child   .top-article[_ngcontent-%COMP%]:before{content:"1"}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:nth-child(2)   .top-article[_ngcontent-%COMP%]:before{content:"2"}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:nth-child(3)   .top-article[_ngcontent-%COMP%]:before{content:"3"}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:nth-child(4)   .top-article[_ngcontent-%COMP%]:before{content:"4"}@media (min-width:1024px){.top-news-block[_ngcontent-%COMP%]{margin:0 0 36px;padding:0}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]{margin-bottom:24px}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid var(--green-primary)}}.top-article[_ngcontent-%COMP%]{position:relative;height:100%;margin-bottom:24px}.top-article--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px 1px;margin-right:4px;margin-top:6px;color:var(--green-primary);font-size:14px;position:relative;top:-2px;line-height:14px;text-transform:uppercase}.top-article[_ngcontent-%COMP%]:before{display:block;position:absolute;z-index:1;right:0;bottom:0;color:#f5f5f5;font-size:82px}.top-article__content[_ngcontent-%COMP%]{position:relative;z-index:1;padding:0 8px}.top-article__title[_ngcontent-%COMP%]{font-size:32px;vertical-align:sub}.top-article[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:inline-flex;margin-left:0}.top-article[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var
1(--green-primary)}.top-article[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:inherit;margin-left:4px;vertical-align:middle}@media (min-width:1024px){.top-article[_ngcontent-%COMP%]{margin-bottom:0}}']}),e})()},"3/ER":function(e,t,n){"use strict";(function(e){var i=n("Ju5/"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=s&&s.exports===r?i.a.Buffer:void 0,a=o?o.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,i=a?a(n):new e.constructor(n);return e.copy(i),i}}).call(this,n("3UD+")(e))},"3Adg":function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var i=n("fXoL");const r=new Map,s=e=>(r.has(e)||r.set(e,0),r.set(e,r.get(e)+1),r.get(e)),o=e=>{if(!r.has(e))return 0;const t=r.get(e)-1;return t>0?r.set(e,t):r.delete(e),Math.max(t,0)};let a=(()=>{class e{constructor(e,t){this.viewContainerRef=e,this.templateRef=t}set appOnlyOnce(e){this.storeKey=e}ngOnInit(){if(void 0===this.storeKey||""===this.storeKey)throw new Error("OnlyOnceDirective: store key must be set");s(this.storeKey)>1?this.viewContainerRef.clear():this.viewContainerRef.createEmbeddedView(this.templateRef)}ngOnDestroy(){o(this.storeKey)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["","appOnlyOnce",""]],inputs:{appOnlyOnce:"appOnlyOnce"}}),e})()},"3E0/":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("D0XW"),r=n("7o/Q"),s=n("WMd4");function o(e,t=i.a){var n;const r=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new a(r,t))}class a{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new c(e,this.delay,this.scheduler))}}class c extends r.a{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,r=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(c.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new l(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(s.a.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(s.a.createComplete()),this.unsubscribe()}}class l{constructor(e,t){this.time=e,this.notification=t}}},"3N8a":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("quSY");class r extends i.a{constructor(e,t){super()}schedule(e,t=0){return this}}class s extends r{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return qe})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return Xe})),n.d(t,"e",(function(){return Re})),n.d(t,"f",(function(){return nt})),n.d(t,"g",(function(){return je})),n.d(t,"h",(function(){return Ue})),n.d(t,"i",(function(){return Te})),n.d(t,"j",(function(){return Le})),n.d(t,"k",(function(){return it})),n.d(t,"l",(function(){return Ke})),n.d(t,"m",(function(){return Ye})),n.d(t,"n",(function(){return x})),n.d(t,"o",(function(){return c})),n.d(t,"p",(function(){return y}
1)),n.d(t,"q",(function(){return C})),n.d(t,"r",(function(){return ye})),n.d(t,"s",(function(){return ke})),n.d(t,"t",(function(){return Se})),n.d(t,"u",(function(){return W})),n.d(t,"v",(function(){return A})),n.d(t,"w",(function(){return et})),n.d(t,"x",(function(){return L})),n.d(t,"y",(function(){return R})),n.d(t,"z",(function(){return rt})),n.d(t,"A",(function(){return $e})),n.d(t,"B",(function(){return q})),n.d(t,"C",(function(){return Z})),n.d(t,"D",(function(){return E})),n.d(t,"E",(function(){return Y})),n.d(t,"F",(function(){return Me}));var i=n("fXoL"),r=n("ofXK"),s=n("cp0P"),o=n("Cfvw"),a=n("lJxs");const c=new i.v("NgValueAccessor"),l={provide:c,useExisting:Object(i.cb)(()=>u),multi:!0};let u=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[i.ic([l])]}),e})();const d={provide:c,useExisting:Object(i.cb)(()=>p),multi:!0},h=new i.v("CompositionEventMode");let p=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(r.T)()?Object(r.T)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q),i.yc(h,8))},e.\u0275dir=i.tc({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&i.Qc("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[i.ic([d])]}),e})(),f=(()=>{class e{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}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e}),e})(),g=(()=>{class e extends f{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return m(t||e)},e.\u0275dir=i.tc({type:e,features:[i.gc]}),e})();const m=i.Gc(g);function b(){throw new Error("unimplemented")}class v extends f{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return b()}get asyncValidator(){return b()}}class w{constructor(e){this._cd=e}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 y=(()=>{class e extends w{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(v,2))},e.\u0275dir=i.tc({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.pc("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[i.gc]}),e})(),C=(()=>{class e extends w{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(g,2))},e.\u0275dir=i.tc({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.pc("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[i.gc]}),e})();function _(e){return null==e||0===e.length}const x=new i.v("NgValidators"),O=new i.v("NgAsyncValidators"),S=/^(?=.{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 E{static min(e){return t=>{if(_(t.value)||_(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(_(t.value)||_(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return _(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return _(e.value)||S.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(_(t.value))return null;const n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}static maxLength(e){return t=>{const n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}static pattern(e){if(!e)return E.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(_(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(P);return 0==t.length?null:function(e){return M(function(e,t){return t.map(t=>t(e))}(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(P);return 0==t.length?null:function(e){const n=function(e,t){return t.map(t=>t(e))}(e,t).map(k);return Object(s.a)(n).pipe(Object(a.a)(M))}}}function P(e){return null!=e}function k(e){const t=Object(i.Mb)(e)?Object(o.a)(e):e;if(!Object(i.Lb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function M(e){let t={};
1return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function I(e){return e.validate?t=>e.validate(t):e}function D(e){return e.validate?t=>e.validate(t):e}const j={provide:c,useExisting:Object(i.cb)(()=>A),multi:!0};let A=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.ic([j])]}),e})();const T={provide:c,useExisting:Object(i.cb)(()=>L),multi:!0};let z=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),L=(()=>{class e{constructor(e,t,n,i){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(v),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q),i.yc(z),i.yc(i.w))},e.\u0275dir=i.tc({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.ic([T])]}),e})();const N={provide:c,useExisting:Object(i.cb)(()=>R),multi:!0};let R=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.ic([N])]}),e})();const F='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',V='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',U='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';class H{static controlParentException(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\
1n\n      Example:\n\n      "+F)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        ${V}\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        ${U}`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+F)}static groupParentException(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+V)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')}static disabledAttrWarning(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")}static ngModelWarning(e){console.warn(`\n    It looks like you're using ngModel on the same form field as ${e}. \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/${"formControl"
1===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n    `)}}const B={provide:c,useExisting:Object(i.cb)(()=>q),multi:!0};function $(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let q=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=i.Nb}set compareWith(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=$(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.ic([B])]}),e})(),W=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue($(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(i.L),i.yc(q,9))},e.\u0275dir=i.tc({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const G={provide:c,useExisting:Object(i.cb)(()=>Z),multi:!0};function X(e,t){return null==e?""+t:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Z=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=i.Nb}set compareWith(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const i=e.item(t),r=this._getOptionValue(i.value);n.push(r)}}else{const e=t.options;for(let t=0;t<e.length;t++){const i=e.item(t);if(i.selected){const e=this._getOptionValue(i.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.ic([G])]}),e})(),Y=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(X(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(X(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(i.L),i.yc(Z,9))},e.\u0275dir=i.tc({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();function Q(e,t){return[...t.path,e]}function K(e,t){e||ne(t,"Cannot find control with"),t.valueAccessor||ne(t,"No value accessor for form control with"),e.validator=E.compose([e.validator,t.validator]),e.asyncValidator=E.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&J(e,t)})}(e,t),function(e,t){e.registerOnChange((e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&J(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function J(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ee(e,t){null==e&&ne(t,"Cannot find control with"),e.validator=E.compose([e.validator,t.validator]),e.asyncValidator=E.composeAsync([e.asyncValidator,t.asyncValidator])}function te(e){return ne(e,"There is no FormControl instance attached to form control element with")}function ne(e,t){let n;throw n=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${n}`)}function ie(e){return null!=e?E.compose(e.map(I)):null}function re(e){return null!=e?E.composeAsync(e.map(D)):null}function se(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object(i.Nb)(t,n.currentValue)}const oe=[u,R,A,q,Z,L];function ae(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function ce(e,t){if(!t)return null;Array.isArray(t)||ne(e,"Value accessor was not provided as an array for form control with");let n=void 0,i=void 0,r=void 0;return t.forEach(t=>{var s;t.constructor===p?n=t:(s=t,oe.some(e=>s.constructor===e)?(i&&ne(e,"More than one built-in value accessor matches form control with"),i=t):(r&&ne(e,"More than one custom value accessor matches form control with"),r=t))}),r||i||n||(ne(e,"No valid value accessor for form control with"),null)}function le(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ue(e,t,n,r){Object(i.db)()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(H.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function de(e){const t=pe(e)?e.validators:e;return Array.isArray(t)?ie(t):t||null}function he(e,t){const n=pe(t)?t.asyncValidators:e;return Array.isArray(n)?re(n):n||null}function pe(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class fe{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}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(e){this.validator=de(e)}setAsyncValidators(e){this.asyncValidator=he(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}
vendor: 4,496 bytes, line 1
1),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING";const t=k(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>this.setErrors(t,{emitEvent:e}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let i=e;return t.forEach(e=>{i=i instanceof me?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof be&&i.at(e)||null}),i}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new i.s,this.statusChanges=new i.s}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){pe(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class ge extends fe{constructor(e=null,t,n){super(de(t),he(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateV
1alueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_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(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class me extends fe{constructor(e,t,n){super(de(t),he(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof ge?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){let t=!1;return this._forEachChild((n,i)=>{t=t||this.contains(i)&&e(n)}),t}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,i)=>{n=t(n,e,i)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class be extends fe{constructor(e,t,n){super(de(t),he(n,t)),this.controls=e,this._initOb
1servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof ge?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const ve={provide:g,useExisting:Object(i.cb)(()=>ye)},we=(()=>Promise.resolve(null))();let ye=(()=>{class e extends g{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.s,this.form=new me({},ie(e),re(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){we.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),K(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}
1removeControl(e){we.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),le(this._directives,e)})}addFormGroup(e){we.then(()=>{const t=this._findContainer(e.path),n=new me({});ee(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){we.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){we.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,ae(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(i.yc(x,10),i.yc(O,10))},e.\u0275dir=i.tc({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.Qc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.ic([ve]),i.gc]}),e})(),Ce=(()=>{class e extends g{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return ie(this._validators)}get asyncValidator(){return re(this._asyncValidators)}_checkParentType(){}}return e.\u0275fac=function(t){return _e(t||e)},e.\u0275dir=i.tc({type:e,features:[i.gc]}),e})();const _e=i.Gc(Ce);class xe{static modelParentException(){throw new Error(`\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup's partner directive "formControlName" instead.  Example:\n\n      ${F}\n\n      Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  `)}static formGroupNameException(){throw new Error(`\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      ${V}\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      ${U}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      ${V}\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      ${U}`)}}const Oe={provide:g,useExisting:Object(i.cb)(()=>Se)};let Se=(()=>{class e extends Ce{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){this._parent instanceof e||this._parent instanceof ye||xe.modelGroupParentException()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(g,5),i.yc(x,10),i.yc(O,10))},e.\u0275dir=i.tc({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i.ic([Oe]),i.gc]}),e})();const Ee={provide:v,useExisting:Object(i.cb)(()=>ke)},Pe=(()=>Promise.resolve(null))();let ke=(()=>{class e extends v{constructor(e,t,n,r){super(),this.control=new ge,this._registered=!1,this.update=new i.s,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=ce(this,r)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),se(e,this.viewModel)&&(this._updateV
1alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Q(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return ie(this._rawValidators)}get asyncValidator(){return re(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_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(){K(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof Se)&&this._parent instanceof Ce?xe.formGroupNameException():this._parent instanceof Se||this._parent instanceof ye||xe.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||xe.missingNameException()}_updateValue(e){Pe.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Pe.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(i.yc(g,9),i.yc(x,10),i.yc(O,10),i.yc(c,10))},e.\u0275dir=i.tc({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.ic([Ee]),i.gc,i.hc]}),e})(),Me=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const Ie=new i.v("NgModelWithFormControlWarning"),De={provide:v,useExisting:Object(i.cb)(()=>je)};let je=(()=>{class e extends v{constructor(e,t,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.s,this._ngModelWarningSent=!1,this._rawValidators=e||[],this._rawAsyncValidators=t||[],this.valueAccessor=ce(this,n)}set isDisabled(e){H.disabledAttrWarning()}ngOnChanges(t){this._isControlChanged(t)&&(K(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),se(t,this.viewModel)&&(ue("formControl",e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return ie(this._rawValidators)}get asyncValidator(){return re(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(i.yc(x,10),i.yc(O,10),i.yc(c,10),i.yc(Ie,8))},e.\u0275dir=i.tc({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.ic([De]),i.gc,i.hc]}),e._ngModelWarningSentOnce=!1,e})();const Ae={provide:g,useExisting:Object(i.cb)(()=>Te)};let Te=(()=>{class e extends g{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.s}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return K(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}
1removeControl(e){le(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);ee(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);ee(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,ae(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){t.valueAccessor.registerOnChange(()=>te(t)),t.valueAccessor.registerOnTouched(()=>te(t)),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&K(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}
1_updateValidators(){const e=ie(this._validators);this.form.validator=E.compose([this.form.validator,e]);const t=re(this._asyncValidators);this.form.asyncValidator=E.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||H.missingFormException()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(x,10),i.yc(O,10))},e.\u0275dir=i.tc({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.Qc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.ic([Ae]),i.gc,i.hc]}),e})();const ze={provide:g,useExisting:Object(i.cb)(()=>Le)};let Le=(()=>{class e extends Ce{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){Fe(this._parent)&&H.groupParentException()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(g,13),i.yc(x,10),i.yc(O,10))},e.\u0275dir=i.tc({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i.ic([ze]),i.gc]}),e})();const Ne={provide:g,useExisting:Object(i.cb)(()=>Re)};let Re=(()=>{class e extends g{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return ie(this._validators)}get asyncValidator(){return re(this._asyncValidators)}_checkParentType(){Fe(this._parent)&&H.arrayParentException()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(g,13),i.yc(x,10),i.yc(O,10))},e.\u0275dir=i.tc({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i.ic([Ne]),i.gc]}),e})();function Fe(e){return!(e instanceof Le||e instanceof Te||e instanceof Re)}const Ve={provide:v,useExisting:Object(i.cb)(()=>Ue)};let Ue=(()=>{class e extends v{constructor(e,t,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new i.s,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=ce(this,r)}set isDisabled(e){H.disabledAttrWarning()}ngOnChanges(t){this._added||this._setUpControl(),se(t,this.viewModel)&&(ue("formControlName",e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return ie(this._rawValidators)}get asyncValidator(){return re(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof Le)&&this._parent instanceof Ce?H.ngModelGroupException():this._parent instanceof Le||this._parent instanceof Te||this._parent instanceof Re||H.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(i.yc(g,13),i.yc(x,10),i.yc(O,10),i.yc(c,10),i.yc(Ie,8))},e.\u0275dir=i.tc({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.ic([Ve]),i.gc,i.hc]}),e._ngModelWarningSentOnce=!1,e})();const He={provide:x,useExisting:Object(i.cb)(()=>$e),multi:!0},Be={provide:x,useExisting:Object(i.cb)(()=>qe),multi:!0};let $e=(()=>{class e{get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?E.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("required",t.required?"":null)},inputs:{required:"required"},features:[i.ic([He])]}),e})(),qe=(()=>{class e extends $e{validate(e){return this.required?E.requiredTrue(e):null}}return e.\u0275fac=function(t){return We(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("required",t.required?"":null)},features:[i.ic([Be]),i.gc]}),e})();const We=i.Gc(qe),Ge={provide:x,useExisting:Object(i.cb)(()=>Xe),multi:!0};let Xe=(()=>{class e{set email(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}validate(e){return this._enabled?E.email(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[i.ic([Ge])]}),e})();const Ze={provide:x,useExisting:Object(i.cb)(()=>Ye),multi:!0};let Ye=(()=>{class e{ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}
1validate(e){return null==this.minlength?null:this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=E.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[i.ic([Ze]),i.hc]}),e})();const Qe={provide:x,useExisting:Object(i.cb)(()=>Ke),multi:!0};let Ke=(()=>{class e{ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=E.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.ic([Qe]),i.hc]}),e})();const Je={provide:x,useExisting:Object(i.cb)(()=>et),multi:!0};let et=(()=>{class e{ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=E.pattern(this.pattern)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[i.ic([Je]),i.hc]}),e})(),tt=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})(),nt=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let i=null,r=null,s=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,s=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new me(n,{asyncValidators:r,updateOn:s,validators:i})}control(e,t,n){return new ge(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new be(i,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof ge||e instanceof me||e instanceof be?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),it=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[z],imports:[tt]}),e})(),rt=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ie,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[nt,z],imports:[tt]}),e})()},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);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}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"3cmB":function(e,t,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),s=Object(i.a)(r.a,"Map");t.a=s},"4/q3":function(e,t,n){"use strict";var i=n("7gMY"),r=n("IzLi"),s=n("pyRK"),o=Object.prototype.hasOwnProperty,a=n("5WsY");t.a=function(e){return Object(a.a)(e)?Object(i.a)(e,!0):function(e){if(!Object(r.a)(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Object(s.a)(e),n=[];
1for(var i in e)("constructor"!=i||!t&&o.call(e,i))&&n.push(i);return n}(e)}},"4DlN":function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("XNiG"),r=n("itXk"),s=n("lJxs"),o=n("1G5W"),a=n("vkgz"),c=n("fXoL"),l=n("GJzE"),u=n("sYmb"),d=n("tyNb"),h=n("ofXK");function p(e,t){if(1&e&&(c.Ec(0,"a",3),c.zd(1),c.Dc()),2&e){const e=t.$implicit;c.cd("href",e.url,c.qd),c.jc(1),c.Ad(e.label)}}function f(e,t){if(1&e&&(c.Ec(0,"div",1),c.xd(1,p,2,2,"a",2),c.Dc()),2&e){const e=c.Uc();c.jc(1),c.bd("ngForOf",e.items)}}let g=(()=>{class e{constructor(e,t,n,r,s){this.languagesManagerService=e,this.routesService=t,this.translateService=n,this.router=r,this.changeDetector=s,this.pItems=[],this.pHasItems=!1,this.onDestroy$=new i.a}get items(){return this.pItems}get hasItems(){return this.pHasItems}ngOnInit(){Object(r.a)([this.languagesManagerService.siteLanguages$.pipe(Object(s.a)(e=>e.all)),this.languagesManagerService.appLanguage$,this.routesService.onRouteIdsChanged]).pipe(Object(o.a)(this.onDestroy$),Object(a.a)(([e,t,n])=>{this.updateLanguageItems(e,t,n.actual),this.changeDetector.markForCheck()})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}updateLanguageItems(e,t,n){n=-1!==["newsDetailPage","notFoundPage"].indexOf(n)?"homePage":n;const i=this.languagesManagerService.getAllowedLanguages(n);this.pItems=e.filter(e=>e!==t&&-1!==i.indexOf(e)).map(e=>({label:this.translateService.instant("site-language-switcher-"+e),url:this.router.serializeUrl(this.router.createUrlTree(this.routesService.buildRoute(e,n)))})),this.pHasItems=this.pItems.length>0}}return e.\u0275fac=function(t){return new(t||e)(c.yc(l.C),c.yc(l.fb),c.yc(u.e),c.yc(d.d),c.yc(c.j))},e.\u0275cmp=c.sc({type:e,selectors:[["app-switch-site-language"]],decls:1,vars:1,consts:[["class","switch-site-language d-flex btn-group","role","group",4,"ngIf"],["role","group",1,"switch-site-language","d-flex","btn-group"],["role","button","class","btn btn--outline-black btn--sm",3,"href",4,"ngFor","ngForOf"],["role","button",1,"btn","btn--outline-black","btn--sm",3,"href"]],template:function(e,t){1&e&&c.xd(0,f,2,1,"div",0),2&e&&c.bd("ngIf",t.hasItems)},directives:[h.u,h.t],styles:[".switch-site-language[_ngcontent-%COMP%]{margin-left:40px}.switch-site-language[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:6px 10px;font-size:16px}@media (min-width:1024px) and (max-width:1410px){.switch-site-language[_ngcontent-%COMP%]{margin-left:0}}"],changeDetection:0}),e})()},"4I5i":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4qgU":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("LRne"),r=n("ehPC"),s=n("fXoL"),o=n("jhN1");function a(e,t){if(1&e&&s.zc(0,"iframe",2),2&e){const e=s.Uc(2);s.bd("src",e.iFrameUrl,s.pd)}}function c(e,t){if(1&e&&(s.Cc(0),s.xd(1,a,1,1,"iframe",1),s.Bc()),2&e){const e=s.Uc();s.jc(1),s.bd("ngIf",e.hasModel)}}let l=(()=>{class e extends r.d{constructor(e){super(),this.domSanitizer=e,this.pNeedInstantSubstitute=!1,this.pHasModel=!1}get hasModel(){return this.pHasModel}get iFrameUrl(){return this.pSafeUrl}get aspectRatio(){return this.card.width+"/0.75"}ngOnInit(){super.ngOnInit()}getModels(){return Object(i.a)(null!==this.card.url?this.card:null)}renderCard(e){this.models=e,this.pHasModel=!0,this.pSafeUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(this.models.url)}}return e.\u0275fac=function(t){return new(t||e)(s.yc(o.c))},e.\u0275cmp=s.sc({type:e,selectors:[["app-iframe-card"]],hostVars:2,hostBindings:function(e,t){2&e&&s.wd("aspect-ratio",t.aspectRatio)},features:[s.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","iframe-element","loading","lazy",3,"src",4,"ngIf"],["loading","lazy",1,"iframe-element",3,"src"]],template:function(e,t){1&e&&(s.xd(0,c,2,1,"ng-container",0),s.Vc(1,"async")),2&e&&s.bd("appLoadingPlaceholder",s.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.card.width)("appLoadingPlaceholderHeight",1)},styles:["[_nghost-%COMP%]{position:relative;display:block;width:100%;overflow:hidden;box-sizing:border-box;padding-bottom:24px}[_nghost-%COMP%]   .iframe-element[_ngcontent-%COMP%]{width:100%;height:100%;border:none}"]}),e})()},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("ZUHj"),r=n("l7GE"),s=n("51Dv"),o=n("lJxs"),a=n("Cfvw");function c(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(c((n,i)=>Object(a.a)(e(n,i)).pipe(Object(o.a)((e,r)=>t(n,e,i,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new l(e,n)))}class l{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}class u extends r.a{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new s.a(this,t,n),o=this.destination;o.add(r);const a=Object(i.a)(this,e,void 0,void 0,r);a!==r&&o.add(a)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,i,r){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");class r extends i.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"5WsY":function(e,t,n){"use strict";var i=n("vJtL"),r=n("Js68");t.a=function(e){return null!=e&&Object(r.a)(e.length)&&!Object(i.a)(e)}},"5yfJ":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o}
1));var i=n("HDdC"),r=n("KqfI");const s=new i.a(r.a);function o(){return s}},"6LIB":function(e,t,n){"use strict";var i=n("8M4i"),r=n("UudT"),s=n("EUcb"),o=Function.prototype.toString,a=Object.prototype.hasOwnProperty,c=o.call(Object);t.a=function(e){if(!Object(s.a)(e)||"[object Object]"!=Object(i.a)(e))return!1;var t=Object(r.a)(e);if(null===t)return!0;var n=a.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&o.call(n)==c}},"6NWb":function(e,t,n){"use strict";n.d(t,"a",(function(){return Me})),n.d(t,"b",(function(){return ke})),n.d(t,"c",(function(){return Oe})),n.d(t,"d",(function(){return je})),n.d(t,"e",(function(){return Ae})),n.d(t,"f",(function(){return Te})),n.d(t,"g",(function(){return Pe})),n.d(t,"h",(function(){return Ee})),n.d(t,"i",(function(){return ze}));var i=n("fXoL");function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){s(e,t,n[t])}))}return e}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(i=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(c){r=!0,s=c}finally{try{i||null==a.return||a.return()}finally{if(r)throw s}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var l={},u={};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(u=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(Le){}var d=(l.navigator||{}).userAgent,h=void 0===d?"":d,p=l,f=u,g=!!f.documentElement&&!!f.head&&"function"==typeof f.addEventListener&&"function"==typeof f.createElement,m=~h.indexOf("MSIE")||~h.indexOf("Trident/"),b=[1,2,3,4,5,6,7,8,9,10],v=b.concat([11,12,13,14,15,16,17,18,19,20]),w={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},y=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",w.GROUP,w.SWAP_OPACITY,w.PRIMARY,w.SECONDARY].concat(b.map((function(e){return"".concat(e,"x")}))).concat(v.map((function(e){return"w-".concat(e)}))),p.FontAwesomeConfig||{});f&&"function"==typeof f.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=a(e,2),n=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=f.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t[0]));null!=i&&(y[n]=i)}));var C=o({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},y);C.autoReplaceSvg||(C.observeMutations=!1);var _=o({},C);p.FontAwesomeConfig=_;var x=p||{};x.___FONT_AWESOME___||(x.___FONT_AWESOME___={}),x.___FONT_AWESOME___.styles||(x.___FONT_AWESOME___.styles={}),x.___FONT_AWESOME___.hooks||(x.___FONT_AWESOME___.hooks={}),x.___FONT_AWESOME___.shims||(x.___FONT_AWESOME___.shims=[]);var O=x.___FONT_AWESOME___,S=[];g&&((f.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(f.readyState)||f.addEventListener("DOMContentLoaded",(function e(){f.removeEventListener("DOMContentLoaded",e),S.map((function(e){return e()}))})));var E,P=function(){},k="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,M="undefined"==typeof setImmediate?setTimeout:setImmediate,I=[];function D(){for(var e=0;e<I.length;e++)I[e][0](I[e][1]);I=[],E=!1}function j(e,t){I.push([e,t]),E||(E=!0,M(D,0))}function A(e){var t=e.owner,n=t._state,i=t._data,r=e[n],s=e.then;if("function"==typeof r){n="fulfilled";try{i=r(i)}catch(Le){N(s,Le)}}T(s,i)||("fulfilled"===n&&z(s,i),"rejected"===n&&N(s,i))}function T(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===r(t))){var i=t.then;if("function"==typeof i)return i.call(t,(function(i){n||(n=!0,t===i?L(e,i):z(e,i))}),(function(t){n||(n=!0,N(e,t))})),!0}}catch(Le){return n||N(e,Le),!0}return!1}function z(e,t){e!==t&&T(e,t)||L(e,t)}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,j(F,e))}function N(e,t){"pending"===e._state&&(e._state="settled",e._data=t,j(V,e))}
1function R(e){e._then=e._then.forEach(A)}function F(e){e._state="fulfilled",R(e)}function V(e){e._state="rejected",R(e),!e._handled&&k&&global.process.emit("unhandledRejection",e._data,e)}function U(e){global.process.emit("rejectionHandled",e)}function H(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof H==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){N(t,e)}try{e((function(e){z(t,e)}),n)}catch(Le){n(Le)}}(e,this)}H.prototype={constructor:H,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(P),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&k&&j(U,this)),"fulfilled"===this._state||"rejected"===this._state?j(A,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},H.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new H((function(t,n){var i=[],r=0;function s(e){return r++,function(n){i[e]=n,--r||t(i)}}for(var o,a=0;a<e.length;a++)(o=e[a])&&"function"==typeof o.then?o.then(s(a),n):i[a]=o;r||t(i)}))},H.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new H((function(t,n){for(var i,r=0;r<e.length;r++)(i=e[r])&&"function"==typeof i.then?i.then(t,n):t(i)}))},H.resolve=function(e){return e&&"object"===r(e)&&e.constructor===H?e:new H((function(t){t(e)}))},H.reject=function(e){return new H((function(t,n){n(e)}))};var B=16,$={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function q(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function W(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function G(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function X(e){return e.size!==$.size||e.x!==$.x||e.y!==$.y||e.rotate!==$.rotate||e.flipX||e.flipY}function Z(e){var t=e.transform,n=e.iconWidth,i={transform:"translate(".concat(e.containerWidth/2," 256)")},r="translate(".concat(32*t.x,", ").concat(32*t.y,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(r," ").concat(s," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var Y={x:0,y:0,width:"100%",height:"100%"};function Q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function K(e){var t=e.icons,n=t.main,i=t.mask,r=e.prefix,s=e.iconName,a=e.transform,c=e.symbol,l=e.title,u=e.maskId,d=e.titleId,h=e.extra,p=e.watchable,f=void 0!==p&&p,g=i.found?i:n,m=g.width,b=g.height,v="fak"===r,w=v?"":"fa-w-".concat(Math.ceil(m/b*16)),y=[_.replacementClass,s?"".concat(_.familyPrefix,"-").concat(s):"",w].filter((function(e){return-1===h.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(h.classes).join(" "),C={children:[],attributes:o({},h.attributes,{"data-prefix":r,"data-icon":s,class:y,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(b)})},x=v&&!~h.classes.indexOf("fa-fw")?{width:"".concat(m/b*16*.0625,"em")}:{};f&&(C.attributes["data-fa-i2svg"]=""),l&&C.children.push({tag:"title",attributes:{id:C.attributes["aria-labelledby"]||"title-".concat(d||q())},children:[l]});var O=o({},C,{prefix:r,iconName:s,main:n,mask:i,maskId:u,transform:a,symbol:c,styles:o({},x,h.styles)}),S=i.found&&n.found?function(e){var t,n=e.children,i=e.attributes,r=e.main,s=e.mask,a=e.maskId,c=r.icon,l=s.icon,u=Z({transform:e.transform,containerWidth:s.width,iconWidth:r.width}),d={tag:"rect",attributes:o({},Y,{fill:"white"})},h=c.children?{children:c.children.map(Q)}:{},p={tag:"g",attributes:o({},u.inner),children:[Q(o({tag:c.tag,attributes:o({},c.attributes,u.path)},h))]},f={tag:"g",attributes:o({},u.outer),children:[p]}
1,g="mask-".concat(a||q()),m="clip-".concat(a||q()),b={tag:"mask",attributes:o({},Y,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,f]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:m},children:(t=l,"g"===t.tag?t.children:[t])},b]};return n.push(v,{tag:"rect",attributes:o({fill:"currentColor","clip-path":"url(#".concat(m,")"),mask:"url(#".concat(g,")")},Y)}),{children:n,attributes:i}}(O):function(e){var t=e.children,n=e.attributes,i=e.main,r=e.transform,s=G(e.styles);if(s.length>0&&(n.style=s),X(r)){var a=Z({transform:r,containerWidth:i.width,iconWidth:i.width});t.push({tag:"g",attributes:o({},a.outer),children:[{tag:"g",attributes:o({},a.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:o({},i.icon.attributes,a.path)}]}]})}else t.push(i.icon);return{children:t,attributes:n}}(O),E=S.attributes;return O.children=S.children,O.attributes=E,c?function(e){var t=e.iconName,n=e.children,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o({},e.attributes,{id:!0===i?"".concat(e.prefix,"-").concat(_.familyPrefix,"-").concat(t):i}),children:n}]}]}(O):function(e){var t=e.children,n=e.main,i=e.mask,r=e.attributes,s=e.styles,a=e.transform;if(X(a)&&n.found&&!i.found){var c={x:n.width/n.height/2,y:.5};r.style=G(o({},s,{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}(O)}function J(e){var t=e.content,n=e.width,i=e.height,r=e.transform,s=e.title,a=e.extra,c=e.watchable,l=void 0!==c&&c,u=o({},a.attributes,s?{title:s}:{},{class:a.classes.join(" ")});l&&(u["data-fa-i2svg"]="");var d=o({},a.styles);X(r)&&(d.transform=function(e){var t=e.transform,n=e.width,i=e.height,r=void 0===i?16:i,s=e.startCentered,o=void 0!==s&&s,a="";return a+=o&&m?"translate(".concat(t.x/B-(void 0===n?16:n)/2,"em, ").concat(t.y/B-r/2,"em) "):o?"translate(calc(-50% + ".concat(t.x/B,"em), calc(-50% + ").concat(t.y/B,"em)) "):"translate(".concat(t.x/B,"em, ").concat(t.y/B,"em) "),(a+="scale(".concat(t.size/B*(t.flipX?-1:1),", ").concat(t.size/B*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:r,startCentered:!0,width:n,height:i}),d["-webkit-transform"]=d.transform);var h=G(d);h.length>0&&(u.style=h);var p=[];return p.push({tag:"span",attributes:u,children:[t]}),s&&p.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),p}function ee(e){var t=e.content,n=e.title,i=e.extra,r=o({},i.attributes,n?{title:n}:{},{class:i.classes.join(" ")}),s=G(i.styles);s.length>0&&(r.style=s);var a=[];return a.push({tag:"span",attributes:r,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var te=function(e,t,n,i){var r,s,o,a=Object.keys(e),c=a.length,l=void 0!==i?function(e,t){return function(n,i,r,s){return e.call(t,n,i,r,s)}}(t,i):t;for(void 0===n?(r=1,o=e[a[0]]):(r=0,o=n);r<c;r++)o=l(o,e[s=a[r]],s,e);return o};function ne(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.skipHooks,r=void 0!==i&&i,s=Object.keys(t).reduce((function(e,n){var i=t[n];return i.icon?e[i.iconName]=i.icon:e[n]=i,e}),{});"function"!=typeof O.hooks.addPack||r?O.styles[e]=o({},O.styles[e]||{},s):O.hooks.addPack(e,s),"fas"===e&&ne("fa",t)}var ie=O.styles,re=O.shims,se=function(){var e=function(e){return te(ie,(function(t,n,i){return t[i]=te(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var i=t[2];return e[n]=n,i.forEach((function(t){e[t]=n})),e}));var t="far"in ie;te(re,(function(e,n){var i=n[1];return"far"!==i||t||(i="fas"),e[n[0]]={prefix:i,iconName:n[2]},e}),{})};function oe(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ae(e){var t=e.tag,n=e.attributes,i=void 0===n?{}:n,r=e.children,s=void 0===r?[]:r;return"string"==typeof e?W(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(W(e[n]),'" ')}),"").trim()}(i),">").concat(s.map(ae).join(""),"</").concat(t,">")}function ce(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}se(),(ce.prototype=Object.create(Error.prototype)).constructor=ce;var le={fill:"currentColor"}
1,ue={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},de=(o({},le,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),o({},ue,{attributeName:"opacity"}));function he(e){var t=e[0],n=e[1],i=a(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(i)?{tag:"g",attributes:{class:"".concat(_.familyPrefix,"-").concat(w.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_.familyPrefix,"-").concat(w.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(_.familyPrefix,"-").concat(w.PRIMARY),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}}}}function pe(){_.autoAddCss&&!ve&&(function(e){if(e&&g){var t=f.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=f.head.childNodes,i=null,r=n.length-1;r>-1;r--){var s=n[r],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=s)}f.head.insertBefore(t,i)}}(function(){var e="svg-inline--fa",t=_.familyPrefix,n=_.replacementClass,i='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;
1\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if("fa"!==t||n!==e){var r=new RegExp("\\.".concat("fa","\\-"),"g"),s=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(e),"g");i=i.replace(r,".".concat(t,"-")).replace(s,"--".concat(t,"-")).replace(o,".".concat(n))}return i}()),ve=!0)}function fe(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return ae(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(g){var t=f.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ge(e){var t=e.prefix,n=void 0===t?"fa":t,i=e.iconName;if(i)return oe(be.definitions,n,i)||oe(O.styles,n,i)}o({},le,{cx:"256",cy:"364",r:"28"}),o({},ue,{attributeName:"r",values:"28;14;28;28;14;28;"}),o({},de,{values:"1;0;1;1;0;1;"}),o({},le,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),o({},de,{values:"1;0;0;0;0;1;"}),o({},le,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),o({},de,{values:"0;0;1;1;0;0;"});var me,be=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t;return(t=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(t){e.definitions[t]=o({},e.definitions[t]||{},r[t]),ne(t,r[t]),se()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var i=n[t],r=i.prefix,s=i.iconName,o=i.icon;e[r]||(e[r]={}),e[r][s]=o})),e}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}()),ve=!1,we=function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),i=n[0],r=n.slice(1).join("-");if(i&&"h"===r)return e.flipX=!0,e;if(i&&"v"===r)return e.flipY=!0,e;if(r=parseFloat(r),isNaN(r))return e;switch(i){case"grow":e.size=e.size+r;break;case"shrink":e.size=e.size-r;break;case"left":e.x=e.x-r;break;case"right":e.x=e.x+r;break;case"up":e.y=e.y-r;break;case"down":e.y=e.y+r;break;case"rotate":e.rotate=e.rotate+r}return e}),t):t}(e)},ye=(me=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,i=void 0===n?$:n,r=t.symbol,s=void 0!==r&&r,a=t.mask,c=void 0===a?null:a,l=t.maskId,u=void 0===l?null:l,d=t.title,h=void 0===d?null:d,p=t.titleId,f=void 0===p?null:p,g=t.classes,m=void 0===g?[]:g,b=t.attributes,v=void 0===b?{}:b,w=t.styles,y=void 0===w?{}:w;if(e){var C=e.prefix,x=e.iconName,O=e.icon;return fe(o({type:"icon"},e),(function(){return pe(),_.autoA11y&&(h?v["aria-labelledby"]="".concat(_.replacementClass,"-title-").concat(f||q()):(v["aria-hidden"]="true",v.focusable="false")),K({icons:{main:he(O),mask:c?he(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C,iconName:x,transform:o({},$,i),symbol:s,title:h,maskId:u,titleId:f,extra:{attributes:v,styles:y,classes:m}})}
1))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ge(e||{}),i=t.mask;return i&&(i=(i||{}).icon?i:ge(i||{})),me(n,o({},t,{mask:i}))}),Ce=n("jhN1");const _e=["*"];let xe=(()=>{class e{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Oe=(()=>{class e{constructor(){this.definitions={}}addIcons(...e){for(const t of e)t.prefix in this.definitions||(this.definitions[t.prefix]={}),this.definitions[t.prefix][t.iconName]=t}addIconPacks(...e){for(const t of e){const e=Object.keys(t).map(e=>t[e]);this.addIcons(...e)}}getIconDefinition(e,t){return e in this.definitions&&t in this.definitions[e]?this.definitions[e][t]:null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Se=e=>{const t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-inverse":e.inverse,"fa-layers-counter":e.counter,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip,["fa-"+e.size]:null!==e.size,["fa-rotate-"+e.rotate]:null!==e.rotate,["fa-pull-"+e.pull]:null!==e.pull,["fa-stack-"+e.stackItemSize]:null!=e.stackItemSize};return Object.keys(t).map(e=>t[e]?e:null).filter(e=>e)};let Ee=(()=>{class e{constructor(){this.stackItemSize="1x"}ngOnChanges(e){if("size"in e)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[i.hc]}),e})(),Pe=(()=>{class e{constructor(e,t){this.renderer=e,this.elementRef=t}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(e){"size"in e&&(null!=e.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,"fa-"+e.size.currentValue),null!=e.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,"fa-"+e.size.previousValue))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275cmp=i.sc({type:e,selectors:[["fa-stack"]],inputs:{size:"size"},features:[i.hc],ngContentSelectors:_e,decls:1,vars:0,template:function(e,t){1&e&&(i.ad(),i.Zc(0))},encapsulation:2}),e})(),ke=(()=>{class e{constructor(e,t,n,i,r){this.sanitizer=e,this.config=t,this.iconLibrary=n,this.stackItem=i,this.classes=[],null!=r&&null==i&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(e){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();let t=null;if(t=null==this.icon?this.config.fallbackIcon:this.icon,e){const e=this.findIconDefinition(t);if(null!=e){const t=this.buildParams();this.renderIcon(e,t)}}}render(){this.ngOnChanges({})}findIconDefinition(e){const t=((e,t)=>{return void 0!==(n=e).prefix&&void 0!==n.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:t,iconName:e}:void 0;var n})(e,this.config.defaultPrefix);if("icon"in t)return t;const n=this.iconLibrary.getIconDefinition(t.prefix,t.iconName);if(null!=n)return n;const i=ge(t);if(null!=i){const e="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+e);else if(!this.config.globalLibrary)throw new Error(e);return i}return(e=>{throw new Error(`Could not find icon with iconName=${e.iconName} and prefix=${e.prefix} in the icon library.`)})(t),null}buildParams(){const e={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},t="string"==typeof this.transform?we(this.transform):this.transform;return{title:this.title,transform:t,classes:[...Se(e),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(e,t){const n=ye(e,t);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(Ce.c),i.yc(xe),i.yc(Oe),i.yc(Ee,8),i.yc(Pe,8))},e.\u0275cmp=i.sc({type:e,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(e,t){2&e&&(i.Hc("innerHTML",t.renderedIconHTML,i.od),i.kc("title",t.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol
1:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[i.hc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),Me=(()=>{class e extends ke{findIconDefinition(e){const t=super.findIconDefinition(e);if(null!=t&&!Array.isArray(t.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: <fa-duotone-icon [icon]="['fad', '${t.iconName}']"></fa-duotone-icon> or use: <fa-icon icon="${t.iconName}"></fa-icon> instead.`);return t}buildParams(){const e=super.buildParams();return!0!==this.swapOpacity&&"true"!==this.swapOpacity||e.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(e.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(e.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(e.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(e.styles["--fa-secondary-color"]=this.secondaryColor),e}}return e.\u0275fac=function(t){return Ie(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},features:[i.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();const Ie=i.Gc(Me),De=(e,t,n)=>{if(!e)throw new Error(`${n} should be used as child of ${t} only.`)};let je=(()=>{class e{constructor(e,t,n){this.renderer=e,this.elementRef=t,this.config=n}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(e){"size"in e&&(null!=e.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,"fa-"+e.size.currentValue),null!=e.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,"fa-"+e.size.previousValue))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q),i.yc(xe))},e.\u0275cmp=i.sc({type:e,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(e,t){2&e&&i.pc("fa-fw",t.fixedWidth)},inputs:{fixedWidth:"fixedWidth",size:"size"},features:[i.hc],ngContentSelectors:_e,decls:1,vars:0,template:function(e,t){1&e&&(i.ad(),i.Zc(0))},encapsulation:2}),e})(),Ae=(()=>{class e{constructor(e,t){this.parent=e,this.sanitizer=t,this.classes=[],De(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(e){if(e){const e=this.buildParams();this.updateContent(e)}}buildParams(){return{title:this.title,classes:this.classes,styles:this.styles}}updateContent(e){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,i=void 0===n?null:n,r=t.classes,s=void 0===r?[]:r,o=t.attributes,a=void 0===o?{}:o,l=t.styles,u=void 0===l?{}:l;return fe({type:"counter",content:e},(function(){return pe(),ee({content:e.toString(),title:i,extra:{attributes:a,styles:u,classes:["".concat(_.familyPrefix,"-layers-counter")].concat(c(s))}})}))}(this.content||"",e).html.join(""))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(je,8),i.yc(Ce.c))},e.\u0275cmp=i.sc({type:e,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(e,t){2&e&&i.Hc("innerHTML",t.renderedHTML,i.od)},inputs:{classes:"classes",content:"content",title:"title",styles:"styles"},features:[i.hc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),Te=(()=>{class e{constructor(e,t){this.parent=e,this.sanitizer=t,this.classes=[],De(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(e){if(e){const e=this.buildParams();this.updateContent(e)}}buildParams(){const e={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?we(this.transform):this.transform,classes:[...Se(e),...this.classes],title:this.title,styles:this.styles}}updateContent(e){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,i=void 0===n?$:n,r=t.title,s=void 0===r?null:r,a=t.classes,l=void 0===a?[]:a,u=t.attributes,d=void 0===u?{}:u,h=t.styles,p=void 0===h?{}:h;return fe({type:"text",content:e},(function(){return pe(),J({content:e,transform:o({},$,i),title:s,extra:{attributes:d,styles:p,classes:["".concat(_.familyPrefix,"-layers-text")].concat(c(l))}})}))}(this.content||"",e).html.join("\n"))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(je,8),i.yc(Ce.c))},e.\u0275cmp=i.sc({type:e,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(e,t){2&e&&i.Hc("innerHTML",t.renderedHTML,i.od)},inputs:{classes:"classes",content:"content",title:"title",styles:"styles",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},features:[i.hc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),ze=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})()},"7Yz4":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("XNiG"),r=n("1G5W"),s=n("pLZG"),o=n("lJxs"),a=n("vkgz"),c=n("fXoL"),l=n("GJzE");let u=(()=>
1{class e{constructor(e,t,n){this.viewContainerRef=e,this.templateRef=t,this.routesService=n,this.onDestroy$=new i.a,this.isContentVisible=!1,this.pOnlyRoutes=null,this.pExceptRoutes=null}set exceptRoutes(e){this.pExceptRoutes=e}set onlyRoutes(e){this.pOnlyRoutes=e}ngOnInit(){this.routesService.onRouteIdsChanged.pipe(Object(r.a)(this.onDestroy$),Object(s.a)(e=>this.isRouteIdOk(e.actual)!==this.isContentVisible),Object(o.a)(e=>this.isRouteIdOk(e.actual)),Object(a.a)(e=>{e?this.viewContainerRef.createEmbeddedView(this.templateRef):this.viewContainerRef.clear(),this.isContentVisible=e})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}isRouteIdOk(e){return null===this.pOnlyRoutes&&(null===this.pExceptRoutes||0===this.pExceptRoutes.length)||(null===this.pOnlyRoutes||0!==this.pOnlyRoutes.length)&&(null===this.pOnlyRoutes&&null!==this.pExceptRoutes?-1===this.pExceptRoutes.indexOf(e):-1!==(null!==this.pExceptRoutes?this.pOnlyRoutes.filter(e=>-1===this.pExceptRoutes.indexOf(e)):[...this.pOnlyRoutes]).indexOf(e))}}return e.\u0275fac=function(t){return new(t||e)(c.yc(c.X),c.yc(c.U),c.yc(l.fb))},e.\u0275dir=c.tc({type:e,selectors:[["","appOnlyOnRoutes",""]],inputs:{exceptRoutes:["appOnlyOnRoutesExcept","exceptRoutes"],onlyRoutes:["appOnlyOnRoutes","onlyRoutes"]}}),e})()},"7gMY":function(e,t,n){"use strict";var i=n("9f76"),r=n("/1FC"),s=n("WOAq"),o=n("cSlR"),a=n("oYcn"),c=Object.prototype.hasOwnProperty;t.a=function(e,t){var n=Object(r.a)(e),l=!n&&Object(i.a)(e),u=!n&&!l&&Object(s.a)(e),d=!n&&!l&&!u&&Object(a.a)(e),h=n||l||u||d,p=h?function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}(e.length,String):[],f=p.length;for(var g in e)!t&&!c.call(e,g)||h&&("length"==g||u&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||Object(o.a)(g,f))||p.push(g);return p}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("n6bG"),r=n("gRHU"),s=n("quSY"),o=n("2QA8"),a=n("2fFW"),c=n("NJ4a");class l extends s.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!e){this.destination=r.a;break}if("object"==typeof e){e instanceof l?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[o.a](){return this}static create(e,t,n){const i=new l(e,t,n);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class u extends l{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let a=this;Object(i.a)(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==r.a&&(a=Object.create(t),Object(i.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Object(c.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"8M4i":function(e,t,n){"use strict";var i=n("ylTp"),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=i.a?i.a.toStringTag:void 0,c=Object.prototype.toString,l=i.a?i.a.toStringTag:void 0;
1t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?function(e){var t=s.call(e,a),n=e[a];try{e[a]=void 0;var i=!0}catch(c){}var r=o.call(e);return i&&(t?e[a]=n:delete e[a]),r}(e):function(e){return c.call(e)}(e)}},"96xf":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("PqYM"),r=n("ehPC"),s=n("AytR"),o=n("fXoL"),a=n("jhN1");function c(e,t){if(1&e&&o.zc(0,"iframe",2),2&e){const e=o.Uc(2);o.bd("src",e.iFrameUrl,o.pd)}}function l(e,t){if(1&e&&(o.Cc(0),o.xd(1,c,1,1,"iframe",1),o.Bc()),2&e){const e=o.Uc();o.jc(1),o.bd("ngIf",e.hasModel)}}let u=(()=>{class e extends r.j{constructor(e,t,n){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.domSanitizer=n,this.needInstantSubstitute=!1,this.pHasModel=!1,this.pAspectRatio=null}get hasModel(){return this.pHasModel}get iFrameUrl(){return this.pSafeUrl}get aspectRatio(){return this.pAspectRatio}ngOnInit(){this.pHasModel=null!==this.widget.url,this.pAspectRatio=`${this.widget.width}/${.75*this.widget.height}`,this.pHasModel?(this.pSafeUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(this.widget.url),this.emitHasData()):this.emitEmptyData();const e=()=>{this.emitComponentLoaded()};s.a.useLoadingDelay?Object(i.a)(1500).subscribe(e):e()}}return e.\u0275fac=function(t){return new(t||e)(o.yc(r.A,8),o.yc(o.w),o.yc(a.c))},e.\u0275cmp=o.sc({type:e,selectors:[["app-iframe-widget"]],hostVars:2,hostBindings:function(e,t){2&e&&o.wd("aspect-ratio",t.aspectRatio)},features:[o.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","iframe-element","loading","lazy",3,"src",4,"ngIf"],["loading","lazy",1,"iframe-element",3,"src"]],template:function(e,t){1&e&&(o.xd(0,l,2,1,"ng-container",0),o.Vc(1,"async")),2&e&&o.bd("appLoadingPlaceholder",o.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:["[_nghost-%COMP%]{position:relative;display:block;width:100%;overflow:hidden;padding:5px 0;box-sizing:border-box}[_nghost-%COMP%]   .iframe-element[_ngcontent-%COMP%]{width:100%;height:100%;border:none}"]}),e})()},"9a0I":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");let r=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-page-loader"]],decls:6,vars:0,consts:[[1,"mobile-page-loader","d-lg-none"],[1,"lds-ring"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"div",1),i.zc(2,"div"),i.zc(3,"div"),i.zc(4,"div"),i.zc(5,"div"),i.Dc(),i.Dc())},styles:[".mobile-page-loader[_ngcontent-%COMP%]{height:150vh;display:flex;justify-content:center}.lds-ring[_ngcontent-%COMP%]{display:inline-block;position:relative;width:80px;height:80px}.lds-ring[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border-radius:50%;-webkit-animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border:8px solid transparent;border-top:8px solid var(--green-primary)}.lds-ring[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.45s;animation-delay:-.45s}.lds-ring[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.3s;animation-delay:-.3s}.lds-ring[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.15s;animation-delay:-.15s}@-webkit-keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]}),e})()},"9f76":function(e,t,n){"use strict";var i=n("8M4i"),r=n("EUcb"),s=function(e){return Object(r.a)(e)&&"[object Arguments]"==Object(i.a)(e)},o=Object.prototype,a=o.hasOwnProperty,c=o.propertyIsEnumerable,l=s(function(){return arguments}())?s:function(e){return Object(r.a)(e)&&a.call(e,"callee")&&!c.call(e,"callee")};t.a=l},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"A/Aq":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("LRne"),r=n("IzEk"),s=n("ehPC"),o=n("GQzd"),a=n("fXoL"),c=n("GJzE");function l(e,t){}let u=(()=>{class e extends s.s{constructor(e,t,n,i,r,s,o){super(e,t,n,i,r,s),this.newsService=o}ngOnInit(){(void 0!==this.newsModelsByCards?Object(i.a)(this.newsModelsByCards):this.newsService.getPage(this.widget.width,this.widget.height).pipe(Object(r.a)(1))).subscribe(e=>{null!==e?(this.newsModelsByCards=e,super.ngOnInit()):(this.emitEmptyData(),this.emitComponentLoaded())})}ngOnDestroy(){super.ngOnDestroy()}setUpCardInstance(e,t,n){super.setUpCardInstance(e,t,n),e.instance instanceof o.u&&(e.instance.models=n<this.newsModelsByCards.length?this.newsModelsByCards[n]:null)}}return e.\u0275fac=function(t){return new(t||e)(a.yc(s.A,8),a.yc(a.w),a.yc(a.n),a.yc(c.t),a.yc(s.p),a.yc(s.z,8),a.yc(o.n))},e.\u0275cmp=a.sc({type:e,selectors:[["app-news-cards-block"]],inputs:{newsModelsByCards:"newsModelsByCards"},features:[a.gc],decls:2,vars:0,consts:[["insertPoint",""]],template:function(e,t){1&e&&a.xd(0,l,0,0,"ng-template",null,0,a.yd)},encapsulation:2}),e})()},AMXB:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));
1var i=n("fXoL"),r=n("ofXK"),s=n("wf0l"),o=n("sYmb");function a(e,t){if(1&e&&(i.Ec(0,"div"),i.Ec(1,"div",3),i.zd(2,"in-header-menu-label"),i.Dc(),i.Ec(3,"div",4),i.zd(4),i.Dc(),i.Dc()),2&e){const e=i.Uc(2);i.jc(4),i.Ad(e.model.label)}}function c(e,t){if(1&e&&(i.Ec(0,"a",1),i.xd(1,a,5,1,"div",2),i.Dc()),2&e){const e=i.Uc();i.cd("href",e.model.url,i.qd),i.bd("lazyLoad",e.model.imageUrl),i.kc("target",e.model.linkTarget)("rel",e.model.linkRel),i.jc(1),i.bd("ngIf",null===e.model.imageUrl&&(null==e.model.label?null:e.model.label.length)>0)}}let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-special-link"]],inputs:{model:"model"},decls:1,vars:1,consts:[["class","special-link",3,"href","lazyLoad",4,"ngIf"],[1,"special-link",3,"href","lazyLoad"],[4,"ngIf"],["translate","",1,"special-link__label","special-link__label--rubric"],[1,"special-link__label","special-link__label--title"]],template:function(e,t){1&e&&i.xd(0,c,2,5,"a",0),2&e&&i.bd("ngIf",null!==t.model)},directives:[r.u,s.a,o.b],styles:[".special-link[_ngcontent-%COMP%]{display:flex;flex-grow:1;height:100%;background-position:50%;background-size:cover}.special-link__label[_ngcontent-%COMP%]{position:absolute;color:#fff;font-size:16px;padding:5px 15px;border-radius:12px}.special-link__label--rubric[_ngcontent-%COMP%]{z-index:1;right:15px;top:22px;transform:rotate(5deg);background-color:#609946}.special-link__label--title[_ngcontent-%COMP%]{right:40px;top:45px;background-color:#fb661c}"]}),e})()},AwXo:function(e,t,n){"use strict";var i=n("Y7yP"),r=function(){try{var e=Object(i.a)(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();t.a=r},AytR:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={production:!0,basePath:"/",useLoadingDelay:!1,userSessionDuration:900,bannerSlideDuration:2e4}},Ce4a:function(e,t,n){"use strict";var i=n("Ju5/");t.a=i.a.Uint8Array},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("HDdC"),r=n("SeVD"),s=n("quSY"),o=n("kJWO"),a=n("jZKg"),c=n("Lhse"),l=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.a]}(e))return function(e,t){return new i.a(n=>{const i=new s.a;return i.add(t.schedule(()=>{const r=e[o.a]();i.add(r.subscribe({next(e){i.add(t.schedule(()=>n.next(e)))},error(e){i.add(t.schedule(()=>n.error(e)))},complete(){i.add(t.schedule(()=>n.complete()))}}))})),i})}(e,t);if(Object(l.a)(e))return function(e,t){return new i.a(n=>{const i=new s.a;return i.add(t.schedule(()=>e.then(e=>{i.add(t.schedule(()=>{n.next(e),i.add(t.schedule(()=>n.complete()))}))},e=>{i.add(t.schedule(()=>n.error(e)))}))),i})}(e,t);if(Object(u.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new s.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=e[c.a](),i.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())})))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}},CqXF:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e){return t=>t.lift(new s(e))}class s{constructor(e){this.value=e}call(e,t){return t.subscribe(new o(e,this.value))}}class o extends i.a{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},DG55:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a}));var i=n("ehPC"),r=function(e){return e[e.CurrencyInformer=0]="CurrencyInformer",e[e.CustomCard=1]="CustomCard",e[e.IframeCard=2]="IframeCard",e[e.SimpleNews=3]="SimpleNews",e[e.TopNews=4]="TopNews",e[e.CompaniesNewsNews=5]="CompaniesNewsNews",e[e.PromoNews=6]="PromoNews",e[e.NumberOfTheDay=7]="NumberOfTheDay",e[e.CompanyProduct=8]="CompanyProduct",e[e.PopularCompany=9]="PopularCompany",e[e.CompanyCard=10]="CompanyCard",e[e.PayedCompany=11]="PayedCompany",e}({});class s{constructor(e){this.width=e}get type(){return this.pType}get typeName(){return r[this.pType]}get isRenderedInBrowserApp(){return!0}get isRenderedInServerApp(){return!0}}class o extends s{constructor(e,t,n,i,s){super(e),this.width=e,this.label=t,this.posterType=n,this.links=i,this.posterUrl=s,this.pType=r.CustomCard}getComponent(){return i.u}}class a extends s{constructor(e,t){super(e),this.width=e,this.url=t,this.pType=r.IframeCard}getComponent(){return i.C}}},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},DKs6:function(e,t,n){"use strict";n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return m}));var i=n("fXoL"),r=n("ofXK"),s=n("jtHE"),o=n("XNiG"),a=n("xgIS"),c=n("Kj3r"),l=n("lJxs"),u=n("/uUt"),d=n("JX91"),h=n("1G5W"),p=n("GJzE");const f=new i.v("Mobile state max width"),g=new i.v("Is SSR on mobile device");let m=(()=>{class e{constructor(e,t,n){if(this.platformId=e,this.mobileStateWidth=t,this.isSsrOnMobileDevice=n,this.deviceStateChangeSubject$=new s.a(1),this.mobileStateChangeSubject$=new s.a(1),this.desktopStateChangeSubject$=new s.a(1),this.onDestroy$=new o.a,Object(p.Kb)()){const e=Object(p.Jb)();Object(a.a)(e,"resize").pipe(Object(c.a)(100),Object(l.a)(()=>e.innerWidth),Object(u.a)(),Object(d.a)(e.innerWidth),Object(h.a)(this.onDestroy$)).subscribe(e=>{this.updateActualData(e)&&this.emitActualState()})}else this.actualIsMobile=this.isSsrOnMobileDevice,this.emitActualState()}get onDeviceStateChange(){return this.deviceStateChangeSubject$.asObservable()}get onMobileStateChange(){return this.mobileStateChangeSubject$.asObservable()}get onDesktopStateChange(){return this.desktopStateChangeSubject$.asObservable()}get isMobile(){return void 0===this.actualIsMobile&&console.trace("actualIsMobile is undefined!!!"),this.actualIsMobile}get isDesktop(){return!this.actualIsMobile}get isBrowserApp(){return void 0===this.isBrowserAppCache&&(this.isBrowserAppCache=Object(r.O)(this.platformId)),this.isBrowserAppCache}get isServerApp(){return void 0===this.isServerAppCache&&(this.isServerAppCache=Object(r.P)(this.platformId)),this.isServerAppCache}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}updateActualData(e){const t=e<this.mobileStateWidth,n=void 0===this.actualIsMobile||this.actualIsMobile!==t;return this.actualIsMobile=t,n}emitActualState(){this.deviceStateChangeSubject$.next({state:{isDesktop:!this.actualIsMobile,isMobile:this.actualIsMobile}}),this.mobileStateChangeSubject$.next({actualState:this.actualIsMobile}),this.desktopStateChangeSubject$.next({actualState:!this.actualIsMobile})}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.I),i.Mc(f),i.Mc(g))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},DlmY:function(e,t,n){"use strict";var i=n("Y7yP"),r=Object(i.a)(Object,"create"),s=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}a.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},a.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},a.prototype.get=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0},a.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)},a.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};var c=a,l=n("nLtN"),u=n("3cmB"),d=function(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map};function h(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}h.prototype.clear=function(){this.size=0,this.__data__={hash:new c,map:new(u.a||l.a),string:new c}},h.prototype.delete=function(e){var t=d(this,e).delete(e);return this.size-=t?1:0,t},h.prototype.get=function(e){return d(this,e).get(e)},h.prototype.has=function(e){return d(this,e).has(e)},h.prototype.set=function(e,t){var n=d(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},t.a=h},EUcb:function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var i=n("HDdC");const r=new i.a(e=>e.complete());function s(e){return e?function(e){return new i.a(t=>e.schedule(()=>t.complete()))}(e):r}},EYhJ:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("fXoL"),r=n("IzEk"),s=n("pLZG"),o=n("Gi4w"),a=n("VRyK"),c=n("PqYM"),l=n("ehPC"),u=n("s1DB"),d=n("GJzE"),h=n("H0t/"),p=n("ofXK");const f=["scrollSpy"],g=["insertPoint"];function m(e,t){}function b(e,t){1&e&&(i.Ec(0,"div",3),i.zc(1,"div",4),i.Dc())}let v=(()=>{class e extends l.j{constructor(e,t,n,i,r,s,o){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.componentFactoryResolver=n,this.deviceState=i,this.cardsFactory=r,this.companyCardsPagedService=s,this.scrollSpy=o,this.hostClasses="row",this.isLoadMoreCompanies=!1,this.maxPages=2,this.currentPageIndex=1,this.companiesFields=["title","mainUrl","averageRating","firstPhotoAlbum.allPhotoUrls","firstPhotoAlbum.allPhotoPreviewUrls","lastFeedback.content","commentsCount","logoUrl","iconsSet","firstAddress.todaySchedule","firstAddress.isOpen","actualRubrics.title","actualViewsCount","actualAddresses.address","actualAddresses.phones"]}ngOnInit(){this.insertPoint.clear(),this.cardsLoadedList=[],this.cardsHasDataList=[],this.widget.cards.filter(this.canRenderCard,this).forEac
1h((e,t)=>{const n=this.componentFactoryResolver.resolveComponentFactory(this.injector.get(u.f,u.f)),i=this.insertPoint.createComponent(n);this.setUpCardInstance(i,e,t),this.cardsLoadedList.push(i.instance.isComponentLoaded$.pipe(Object(r.a)(1))),this.cardsHasDataList.push(i.instance.isComponentHasData$.pipe(Object(r.a)(1)))}),Object(a.a)(...this.cardsLoadedList).subscribe({complete:()=>{this.emitComponentLoaded(),this.widget.useScrollSpy&&(this.unsubscribeScrollSpy(),Object(c.a)(1).subscribe(()=>{this.subscription=this.scrollSpy.registerScrollSpy({element:this.scrollSpyAnchor.nativeElement,threshold:1}).pipe(Object(s.a)(e=>e)).subscribe(()=>{this.currentPageIndex<this.maxPages&&(this.isLoadMoreCompanies=!0,this.companyCardsPagedService.getPagedCompanyCards(++this.currentPageIndex,this.widget.pageSize,this.companiesFields).subscribe({next:e=>{this.currentPageIndex=e.currentPage,this.maxPages=e.pageCount,e.models.forEach(e=>{const t=this.cardsFactory.buildCompanyCard(4),n=this.componentFactoryResolver.resolveComponentFactory(this.injector.get(u.f,u.f)),i=this.insertPoint.createComponent(n),r=i.instance;r.card=t,r.models=e,r.parentContainer=this,r.containerRef=i})},complete:()=>{this.isLoadMoreCompanies=!1}}))})}))}}),Object(a.a)(...this.cardsHasDataList).pipe(Object(o.a)(e=>!e)).subscribe(e=>{this.hasData$.next(!e)})}setUpCardInstance(e,t,n){const i=e.instance;i.card=t,i.parentContainer=this,i.containerRef=e}canRenderCard(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}unsubscribeScrollSpy(){void 0!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}ngOnDestroy(){this.unsubscribeScrollSpy()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(l.A,8),i.yc(i.w),i.yc(i.n),i.yc(d.t),i.yc(l.p),i.yc(u.g),i.yc(h.d))},e.\u0275cmp=i.sc({type:e,selectors:[["app-shared-companies-list"]],viewQuery:function(e,t){var n;1&e&&(i.Dd(f,!0,i.q),i.ud(g,!0,i.X)),2&e&&(i.jd(n=i.Rc())&&(t.scrollSpyAnchor=n.first),i.jd(n=i.Rc())&&(t.insertPoint=n.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.lc(t.hostClasses)},features:[i.gc],decls:5,vars:1,consts:[["insertPoint",""],["scrollSpy",""],["class","companies__loader",4,"ngIf"],[1,"companies__loader"],[1,"companies__loader--spinner"]],template:function(e,t){1&e&&(i.xd(0,m,0,0,"ng-template",null,0,i.yd),i.zc(2,"div",null,1),i.xd(4,b,2,0,"div",2)),2&e&&(i.jc(4),i.bd("ngIf",t.isLoadMoreCompanies))},directives:[p.u],styles:[".companies__loader[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:100px;z-index:1}.companies__loader--spinner[_ngcontent-%COMP%]{display:inline-block;width:50px;height:50px;border-radius:50%;border:2px solid var(--green-primary);border-right-width:0;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}"]}),e})()},EZ3V:function(e,t,n){var i={"./az":"2SR5","./az.js":"2SR5","./cs":"4mcN","./cs.js":"4mcN","./en":"tAZD","./en.js":"tAZD","./extra/az":"hhSf","./extra/az.js":"hhSf","./extra/cs":"lStF","./extra/cs.js":"lStF","./extra/en":"uiD2","./extra/en.js":"uiD2","./extra/ky":"t2kw","./extra/ky.js":"t2kw","./extra/pl":"Qa7h","./extra/pl.js":"Qa7h","./extra/ro":"uuqu","./extra/ro.js":"uuqu","./extra/ru":"BWy3","./extra/ru-BY":"LLiU","./extra/ru-BY.js":"LLiU","./extra/ru-KG":"4V30","./extra/ru-KG.js":"4V30","./extra/ru-KZ":"0e4k","./extra/ru-KZ.js":"0e4k","./extra/ru-MD":"Lcjd","./extra/ru-MD.js":"Lcjd","./extra/ru-UA":"D+FL","./extra/ru-UA.js":"D+FL","./extra/ru.js":"BWy3","./extra/uk":"9Afg","./extra/uk.js":"9Afg","./global/az":"sFJl","./global/az.js":"sFJl","./global/cs":"Hgmd","./global/cs.js":"Hgmd","./global/en":"2TOE","./global/en.js":"2TOE","./global/ky":"pVyj","./global/ky.js":"pVyj","./global/pl":"wuDY","./global/pl.js":"wuDY","./global/ro":"ekok","./global/ro.js":"ekok","./global/ru":"Lrdh","./global/ru-BY":"H+G5","./global/ru-BY.js":"H+G5","./global/ru-KG":"z/5i","./global/ru-KG.js":"z/5i","./global/ru-KZ":"kxHu","./global/ru-KZ.js":"kxHu","./global/ru-MD":"vzoN","./global/ru-MD.js":"vzoN","./global/ru-UA":"9CCi","./global/ru-UA.js":"9CCi","./global/ru.js":"Lrdh","./global/uk":"XuSJ","./global/uk.js":"XuSJ","./ky":"Il4k","./ky.js":"Il4k","./pl":"BAOO","./pl.js":"BAOO","./ro":"cGRD","./ro.js":"cGRD","./ru":"wq8c","./ru-BY":"CoLG","./ru-BY.js":"CoLG","./ru-KG":"8cfi","./ru-KG.js":"8cfi","./ru-KZ":"R2mC","./ru-KZ.js":"R2mC","./ru-MD":"vrcw","./ru-MD.js":"vrcw","./ru-UA":"XCgr","./ru-UA.js":"XCgr","./ru.js":"wq8c","./uk":"dp1V","./uk.js":"dp1V"};function r(e){return s(e).then((function(e){return n.t(e,7)}))}function s(e){return n.e(2).then((function(){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}))}r.keys=function(){return Object.keys(i)},r.resolve=s,r.id="EZ3V",e.exports=r},EqEh:function(e,t,n){"use strict";var i=n("oSzE"),r=n("DlmY");function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.a;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},s.prototype.has=function(e){return this.__data__.has(e)};var o=s,a=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1},c=function(e,t,n,i,r,s){var c=1&n,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var d=s.get(e);if(d&&s.get(t))return d==t;var h=-1,p=!0,f=2&n?new o:void 0;for(s.set(e,t),s.set(t,e);++h<l;){var g=e[h],m=t[h];if(i)var b=c?i(m,g,h,t,e,s):i(g,m,h,e,t,s);if(void 0!==b){if(b)continue;p=!1;break}
1if(f){if(!a(t,(function(e,t){if(!f.has(t)&&(g===e||r(g,e,n,i,s)))return f.push(t)}))){p=!1;break}}else if(g!==m&&!r(g,m,n,i,s)){p=!1;break}}return s.delete(e),s.delete(t),p},l=n("ylTp"),u=n("Ce4a"),d=n("YHEm"),h=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n},p=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},f=l.a?l.a.prototype:void 0,g=f?f.valueOf:void 0,m=n("TFwu"),b=Object.prototype.hasOwnProperty,v=n("YM6B"),w=n("/1FC"),y=n("WOAq"),C=n("oYcn"),_="[object Object]",x=Object.prototype.hasOwnProperty,O=n("EUcb");t.a=function e(t,n,r,s,o){return t===n||(null==t||null==n||!Object(O.a)(t)&&!Object(O.a)(n)?t!=t&&n!=n:function(e,t,n,r,s,o){var a=Object(w.a)(e),l=Object(w.a)(t),f=a?"[object Array]":Object(v.a)(e),O=l?"[object Array]":Object(v.a)(t),S=(f="[object Arguments]"==f?_:f)==_,E=(O="[object Arguments]"==O?_:O)==_,P=f==O;if(P&&Object(y.a)(e)){if(!Object(y.a)(t))return!1;a=!0,S=!1}if(P&&!S)return o||(o=new i.a),a||Object(C.a)(e)?c(e,t,n,r,s,o):function(e,t,n,i,r,s,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!s(new u.a(e),new u.a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(d.a)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=h;case"[object Set]":if(a||(a=p),e.size!=t.size&&!(1&i))return!1;var l=o.get(e);if(l)return l==t;i|=2,o.set(e,t);var f=c(a(e),a(t),i,r,s,o);return o.delete(e),f;case"[object Symbol]":if(g)return g.call(e)==g.call(t)}return!1}(e,t,f,n,r,s,o);if(!(1&n)){var k=S&&x.call(e,"__wrapped__"),M=E&&x.call(t,"__wrapped__");
1if(k||M){var I=k?e.value():e,D=M?t.value():t;return o||(o=new i.a),s(I,D,n,r,o)}}return!!P&&(o||(o=new i.a),function(e,t,n,i,r,s){var o=1&n,a=Object(m.a)(e),c=a.length;if(c!=Object(m.a)(t).length&&!o)return!1;for(var l=c;l--;){var u=a[l];if(!(o?u in t:b.call(t,u)))return!1}var d=s.get(e);if(d&&s.get(t))return d==t;var h=!0;s.set(e,t),s.set(t,e);for(var p=o;++l<c;){var f=e[u=a[l]],g=t[u];if(i)var v=o?i(g,f,u,t,e,s):i(f,g,u,e,t,s);if(!(void 0===v?f===g||r(f,g,n,i,s):v)){h=!1;break}p||(p="constructor"==u)}if(h&&!p){var w=e.constructor,y=t.constructor;w==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof y&&y instanceof y||(h=!1)}return s.delete(e),s.delete(t),h}(e,t,n,r,s,o))}(t,n,r,s,e,o))}},FSIP:function(e,t,n){"use strict";t.a=function(e){return function(t){return null==t?void 0:t[e]}}},FTlY:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("tyNb"),r=n("fXoL"),s=n("GJzE");let o=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.routesService=n,this.news=null,this.subscription=e.events.subscribe(e=>{e instanceof i.b&&this.updateTargetUrlAndHref()})}set newsModel(e){this.news=e}get urlTree(){return this.router.createUrlTree(this.routesService.buildNewsDetailPageRoute(this.news),{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:a(this.preserveFragment)})}ngOnChanges(){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i){if(null===this.news)throw new Error("News model must be set");return!!this.news.isExclusive||!!(0!==e||t||n||i)||"string"==typeof this.target&&"_self"!==this.target||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:a(this.skipLocationChange),replaceUrl:a(this.replaceUrl),state:this.state}),!1)}updateTargetUrlAndHref(){var e;let t=this.news.url;(null===(e=this.fragment)||void 0===e?void 0:e.length)>0&&(t+="#"+this.fragment),this.href=t}}return e.\u0275fac=function(t){return new(t||e)(r.yc(i.d),r.yc(i.a),r.yc(s.fb))},e.\u0275dir=r.tc({type:e,selectors:[["a","appNewsUrl",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.Qc("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(r.Hc("href",t.href,r.qd),r.kc("target",t.target))},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",newsModel:["appNewsUrl","newsModel"]},features:[r.hc]}),e})();function a(e){return""===e||!!e}},Fbma:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("XNiG"),r=n("2Vo4"),s=n("itXk"),o=n("1G5W"),a=n("JX91"),c=n("vkgz"),l=n("pLZG"),u=n("eIep"),d=n("/uUt"),h=n("lJxs"),p=n("ehPC"),f=n("fXoL");function g(e,t){1&e&&f.zc(0,"app-block",1),2&e&&f.bd("blockModel",t.$implicit)}let m=(()=>{class e{constructor(){this.onDestroy$=new i.a,this.isLoaded$=new r.a(!1)}get isComponentLoaded$(){return this.isLoaded$.asObservable()}ngAfterViewInit(){this.blockComponents.changes.pipe(Object(o.a)(this.onDestroy$),Object(a.a)(this.blockComponents),Object(c.a)(()=>{this.isLoaded$.next(!1)}),Object(l.a)(e=>e.length>0),Object(u.a)(e=>Object(s.a)([...e.map(e=>e.isComponentLoaded$.pipe(Object(d.a)()))])),Object(h.a)(e=>e.every(e=>e)),Object(d.a)(),Object(c.a)(e=>{this.isLoaded$.next(e)})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=f.sc({type:e,selectors:[["app-section"]],viewQuery:function(e,t){var n;1&e&&f.Dd(p.o,!0),2&e&&f.jd(n=f.Rc())&&(t.blockComponents=n)},inputs:{sectionModel:"sectionModel"},decls:1,vars:1,consts:[[3,"blockModel",4,"ngFor","ngForOf"],[3,"blockModel"]],template:function(e,t){1&e&&f.xd(0,g,1,1,"app-block",0),2&e&&f.bd("ngForOf",t.sectionModel.blocks)},encapsulation:2}),e})()},FpXt:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("ofXK"),r=n("fXoL");let s=(()=>{class e{}return e.\u0275mod=r.wc({type:e}),e.\u0275inj=r.vc({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})()},G4mU:function(e,t,n){"use strict";var i=n("lkxz");t.a=function(e,t){var n=t?Object(i.a)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},G8aS:function(e,t,n){"use strict";var i=n("8M4i"),r=n("EUcb");t.a=function(e){return"symbol"==typeof e||Object(r.a)(e)&&"[object Symbol]"==Object(i.a)(e)}},GJzE:function(e,t,n){"use strict";function i(e){return!0===e.success}function r(e){return"object"==typeof e&&e.hasOwnProperty("error")}n.d(t,"Mb",(function(){return r})),n.d(t,"Nb",(function(){return i})),n.d(t,"Eb",(function(){return o}
1)),n.d(t,"Cb",(function(){return c})),n.d(t,"Ob",(function(){return u})),n.d(t,"ob",(function(){return l})),n.d(t,"Pb",(function(){return p})),n.d(t,"p",(function(){return f.a})),n.d(t,"O",(function(){return g.a})),n.d(t,"P",(function(){return m.a})),n.d(t,"Q",(function(){return b.a})),n.d(t,"cb",(function(){return v.a})),n.d(t,"lb",(function(){return w.a})),n.d(t,"kb",(function(){return y.a})),n.d(t,"v",(function(){return C.a})),n.d(t,"D",(function(){return _.a})),n.d(t,"N",(function(){return x.a})),n.d(t,"R",(function(){return O.a})),n.d(t,"Ib",(function(){return S.b})),n.d(t,"Lb",(function(){return S.c})),n.d(t,"S",(function(){return S.a})),n.d(t,"gb",(function(){return E.a})),n.d(t,"mb",(function(){return P.a})),n.d(t,"z",(function(){return k.a})),n.d(t,"X",(function(){return M.a})),n.d(t,"Z",(function(){return I.a})),n.d(t,"db",(function(){return A})),n.d(t,"I",(function(){return T.a})),n.d(t,"B",(function(){return z.a})),n.d(t,"L",(function(){return L.a})),n.d(t,"pb",(function(){return N.a})),n.d(t,"U",(function(){return R.a})),n.d(t,"j",(function(){return F.a})),n.d(t,"vb",(function(){return V.a})),n.d(t,"Y",(function(){return U.a})),n.d(t,"H",(function(){return H.a})),n.d(t,"K",(function(){return B.a})),n.d(t,"m",(function(){return W})),n.d(t,"qb",(function(){return G.a})),n.d(t,"rb",(function(){return X.a})),n.d(t,"eb",(function(){return Z.a})),n.d(t,"W",(function(){return Y.a})),n.d(t,"q",(function(){return Q.a})),n.d(t,"ub",(function(){return K.a})),n.d(t,"tb",(function(){return J.a})),n.d(t,"c",(function(){return ee.a})),n.d(t,"wb",(function(){return te.a})),n.d(t,"sb",(function(){return ne.a})),n.d(t,"x",(function(){return ie.a})),n.d(t,"f",(function(){return he})),n.d(t,"d",(function(){return fe})),n.d(t,"e",(function(){return ge})),n.d(t,"h",(function(){return me})),n.d(t,"i",(function(){return be})),n.d(t,"g",(function(){return ye})),n.d(t,"k",(function(){return Ce})),n.d(t,"y",(function(){return Oe.b})),n.d(t,"G",(function(){return Oe.c})),n.d(t,"t",(function(){return Oe.a})),n.d(t,"s",(function(){return Ee})),n.d(t,"u",(function(){return Ne})),n.d(t,"w",(function(){return Fe})),n.d(t,"A",(function(){return Ve.a})),n.d(t,"C",(function(){return We})),n.d(t,"Ab",(function(){return qe})),n.d(t,"E",(function(){return Ge})),n.d(t,"Db",(function(){return Ze})),n.d(t,"F",(function(){return Ye})),n.d(t,"M",(function(){return Qe})),n.d(t,"T",(function(){return Ke})),n.d(t,"V",(function(){return Je})),n.d(t,"bb",(function(){return et})),n.d(t,"fb",(function(){return tt})),n.d(t,"nb",(function(){return nt})),n.d(t,"xb",(function(){return it})),n.d(t,"yb",(function(){return Vt})),n.d(t,"zb",(function(){return Ut})),n.d(t,"Bb",(function(){return Ht})),n.d(t,"l",(function(){return Gt})),n.d(t,"n",(function(){return qt})),n.d(t,"o",(function(){return $t})),n.d(t,"Kb",(function(){return Zt})),n.d(t,"Jb",(function(){return Xt})),n.d(t,"a",(function(){return Jt})),n.d(t,"b",(function(){return en})),n.d(t,"Hb",(function(){return tn})),n.d(t,"hb",(function(){return Yt})),n.d(t,"ib",(function(){return Qt})),n.d(t,"jb",(function(){return Kt})),n.d(t,"J",(function(){return rn})),n.d(t,"Qb",(function(){return an})),n.d(t,"Rb",(function(){return on})),n.d(t,"Sb",(function(){return sn})),n.d(t,"ab",(function(){return cn})),n.d(t,"Tb",(function(){return ln})),n.d(t,"r",(function(){return un})),n.d(t,"Fb",(function(){return dn})),n.d(t,"Gb",(function(){return hn}));class s{constructor(e,t,n,i){this.userName=e,this.eMail=t,this.avatarUrl=n,this.token=i}get isLoggedIn(){return null!==this.token}}function o(e){return new s(e.userName,e.userEMail,e.avatarUrl,e.token)}class a{constructor(e,t,n){this.id=e,this.iso=t,this.sign=n}}function c(e){return new a(e.id,e.iso,e.sign)}class l{constructor(e,t,n,i,r){this.models=e,this.currentPage=t,this.pageCount=n,this.perPage=i,this.totalCount=r}}function u(e){return e instanceof l}var d=n("6LIB");function h(e){return Object(d.a)(e)&&e.hasOwnProperty("sourceUrl")&&e.hasOwnProperty("type")}function p(e){if(!(Object(d.a)(e)&&e.hasOwnProperty("sources")&&e.hasOwnProperty("fallbackUrl")&&Array.isArray(e.sources)))return!1;for(const t of e.sources)if(!h(t))return!1;return!0}var f=n("nL8Z"),g=n("JUSj"),m=n("INbW"),b=n("7Yz4"),v=n("bsIB"),w=n("iOsp"),y=n("OevD"),C=n("/ACT"),_=n("QauM"),x=n("13ou"),O=n("QNIm"),S=n("3Adg"),E=n("y5FN"),P=n("X2cd"),k=n("dam5"),M=n("pI7v"),I=n("HLmT"),D=n("fXoL"),j=n("1kSV");let A=(()=>{class e{constructor(e){this.modal=e,this.isReCaptchaInProgress=!1}sendContentErrorReport(){this.isReCaptchaInProgress=!0,this.reCaptcha.queueExecute({onSuccess:e=>{this.modal.close(e)},onError:()=>{this.reCaptcha.showErrorMessage()},onComplete:()=>{this.isReCaptchaInProgress=!1}})}}return e.\u0275fac=function(t){return new(t||e)(D.yc(j.b))},e.\u0275cmp=D.sc({type:e,selectors:[["app-report-content-error-modal"]],viewQuery:function(e,t){var n;1&e&&D.Dd(I.a,!0),2&e&&D.jd(n=D.Rc())&&(t.reCaptcha=n.first)},inputs:{selectedText:"selectedText"},decls:14,vars:1,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[1,"modal-body__button-block"],[1,"btn","btn--primary","modal-body__send-button",3,"click"],["translate",""],["size","invisible","errorMode","handled"]],template:function(e,t){1&e&&(D.Ec(0,"div",0),D.Ec(1,"h4",1),D.zd(2,"report-content-error-modal-title"),D.Dc(),D.Ec(3,"button",2),D.Qc("click",(function(){return t.modal.dismiss()})),D.Ec(4,"span",3),D.zd(5,"\xd7"),D.Dc(),D.Dc(),D.Dc(),D.Ec(6,"div",4),D.Ec(7,"div"),D.zd(8),D.Dc(),D.Ec(9,"div",5),D.Ec(10,"button",6),D.Qc("click",(function(){return t.sendContentErrorReport()})),D.Ec(11,"span",7),D.zd(12,"report-content-error-send-label"),D.Dc(),D.Dc(),D.Dc(),D.zc(13,"app-re-captcha",8),D.Dc()),2&e&&(D.jc(8),D.Ad(t.selectedText))},styles:[".modal-header[_ngcontent-%COMP%]{display:block}
1.modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{font-weight:700;text-align:center}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px;position:absolute;top:0;right:0;margin:auto}.modal-body__button-block[_ngcontent-%COMP%]{display:flex;justify-content:center}.modal-body__send-button[_ngcontent-%COMP%]{margin-top:14px}.modal-body[_ngcontent-%COMP%]     .grecaptcha-badge{position:absolute!important;right:0!important;bottom:0!important;margin:0!important;visibility:inherit!important;justify-content:flex-start!important}"]}),e})();var T=n("r//d"),z=n("p9Pj"),L=n("Xiot"),N=n("qDyL"),R=n("9a0I"),F=n("UBAy"),V=n("MlV6"),U=n("q2jt"),H=n("Tj+J"),B=n("yApx"),$=n("sYmb"),q=n("3Pt+");let W=(()=>{class e{constructor(e,t,n,i,r){this.modal=e,this.authModalsService=t,this.translateService=n,this.formBuilder=i,this.authService=r}ngOnInit(){this.modalForm=this.buildModalForm()}isFormControlHasErrors(e,t){const n=(t=t||this.modalForm).get(e);return null!==n&&n.invalid&&(n.dirty||n.touched)}renderAttributeError(e,t,n){switch(e=this.translateService.instant(e),t){case"required":return this.translateService.instant("validation-error-required",{attribute:e});case"email":return this.translateService.instant("validation-error-email",{attribute:e});case"minlength":return this.translateService.instant("validation-error-too-short",{attribute:e,min:n.requiredLength});case"maxlength":return this.translateService.instant("validation-error-too-long",{attribute:e,max:n.requiredLength});default:return""}}resetError(e,t,n){if(e.hasError(t,n)){const i=n?e.get(n):e,r=i.errors;delete r[t],i.setErrors(Object.keys(r).length>0?r:null)}}}return e.\u0275fac=function(t){return new(t||e)(D.yc(j.b),D.yc(ge),D.yc($.e),D.yc(q.f),D.yc(he))},e.\u0275dir=D.tc({type:e}),e})();var G=n("ZwN2"),X=n("qy30"),Z=n("11ml"),Y=n("otbX"),Q=n("PGyc"),K=n("AMXB"),J=n("Zivq"),ee=n("J/4d"),te=n("4DlN"),ne=n("Y6Wm"),ie=n("VDON"),re=n("2Vo4"),se=n("z6cu"),oe=n("LRne"),ae=n("zP0r"),ce=n("vkgz"),le=n("CqXF"),ue=n("UXun"),de=n("eIep");let he=(()=>{class e{constructor(e,t){this.apiService=e,this.localStorageService=t,this.userModel$=new re.a(null),this.userModel.pipe(Object(ae.a)(1)).subscribe(e=>{this.updateUserToken(null!==e?e.token:null)})}get userModel(){return this.userModel$.asObservable()}get instantUserModel(){return this.userModel$.value}fetchUserToken(){return this.localStorageService.localStorage.getItem(e.userTokenStorageKey)}updateUserToken(t){null===t?this.localStorageService.localStorage.removeItem(e.userTokenStorageKey):this.localStorageService.localStorage.setItem(e.userTokenStorageKey,t)}signInViaOAuth(e){null===this.instantUserModel&&this.userModel$.next(o(e))}checkAuthStatus(){return this.apiService.checkAuthStatus().pipe(Object(ce.a)(e=>{this.userModel$.next(null!==e?o(e):null)}),Object(le.a)(!0),Object(ue.a)(1))}signIn(e,t){return this.apiService.signIn(e,t,!0).pipe(Object(de.a)(e=>r(e)?Object(se.a)(e.error):(this.userModel$.next(o(e)),Object(oe.a)(this.instantUserModel))),Object(le.a)(!0))}signUp(e,t,n,i){return this.apiService.signUp(e,t,n,i).pipe(Object(de.a)(e=>r(e)?Object(se.a)(e.error):(this.userModel$.next(o(e)),Object(oe.a)(this.instantUserModel))),Object(le.a)(!0))}signOut(){return this.apiService.signOut().pipe(Object(ce.a)(()=>{this.userModel$.next(null)}),Object(le.a)(!0))}resetPassword(e,t){return this.apiService.resetPassword(e,t).pipe(Object(de.a)(e=>i(e)?Object(oe.a)(!0):Object(se.a)(e.error)))}}return e.userTokenStorageKey="userDataToken",e.\u0275fac=function(t){return new(t||e)(D.Mc(fe),D.Mc(Ge))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var pe=n("tk/3");let fe=(()=>{class e{constructor(e,t){this.http=e,this.siteApiHostInfo=t,this.supportOldAuth=!0}signIn(t,n,i){return this.http.post(`${this.siteApiHostInfo}${e.signInUrl}`,{username:t,password:n,remember:i?1:0},this.supportOldAuth?{withCredentials:!0}:{})}signUp(t,n,i,r){return this.http.post(`${this.siteApiHostInfo}${e.signUpUrl}`,{username:t,password:n,email:i,captcha:r},this.supportOldAuth?{withCredentials:!0}:{})}signOut(){return this.http.post(`${this.siteApiHostInfo}${e.signOutUrl}`,null,this.supportOldAuth?{withCredentials:!0}:{})}checkAuthStatus(){return this.http.get(`${this.siteApiHostInfo}${e.checkAuthStatusUrl}`,this.supportOldAuth?{withCredentials:!0}:{})}resetPassword(t,n){return this.http.post(`${this.siteApiHostInfo}${e.resetPasswordUrl}`,{email:t,captcha:n},this.supportOldAuth?{withCredentials:!0}:{})}}return e.signInUrl="api3/auth/sign-in",e.signUpUrl="api3/auth/sign-up",e.signOutUrl="api3/auth/sign-out",e.checkAuthStatusUrl="api3/auth/check-login",e.resetPasswordUrl="api3/auth/reset-password",e.\u0275fac=function(t){return new(t||e)(D.Mc(pe.b),D.Mc(Yt))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ge=(()=>{class e{constructor(e){this.modalService=e}closeAllModals(){this.modalService.dismissAll()}openSignInModal(){return this.closeAllModals(),this.modalService.open(G.a,{centered:!0,size:"sm"})}openSignUpModal(){return this.closeAllModals(),this.modalService.open(X.a,{centered:!0,size:"sm"})}openResetPasswordModal(){return this.closeAllModals(),this.modalService.open(Z.a,{centered:!0,size:"sm"})}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(j.s))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class me{constructor(e,t,n,i,r,s){this.pageName=e,this.placeName=t,this.minimalParagraphsBeforeCount=n,this.pMinimalParagraphsAfterCount=i,this.afterParagraphsCount=r,this.renderAtContentEnd=s}get minimalParagraphsAfterCount(){return this.renderAtContentEnd?0:this.pMinimalParagraphsAfterCount}get minimalParagraphsCount(){return this.minimalParagraphsBeforeCount+this.minimalParagraphsAfterCount}}let be=(()=>{class e{constructor(e,t){this.componentFactoryResolver=e,this.deviceState=t,this.bannersConfig=[],this.actualBannerConfig=null,this.actualBannerIndex=0,this.actualParagraphIndex=0,this.skipContent=!1,this.paragraphsTillRender=0,this.needToRenderBanner=!1,this.isContentBegin=!1}setUp(e){this.bannersConfig=e,this.reset()}reset(){this.actualBannerIndex=-1,this.processToNextBanner(),this.isContentBegin=!1}contentBegin(e,t){if(this.isContentBegin)throw new Error("Wrong method's call sequence");this.actualInsertPoint=e,this.actualParagraphsCount=t,this.actualParagraphIndex=0,this.skipContent=null===this.actualBannerConfig||t<this.actualBannerConfig.minimalParagraphsCount,this.isContentBegin=!0}contentEnd(){if(!this.isContentBegin)throw new Error("Wrong method's call sequence");if(this.needToRenderBanner){if(!this.actualBannerConfig.renderAtContentEnd)throw new Error("Something goes wrong");this.renderBanner()}this.isContentBegin=!1}processContentParagraph(){const e=this.actualBannerConfig;null!==e&&(this.paragraphsTillRender>0&&--this.paragraphsTillRender,this.skipContent||(++this.actualParagraphIndex,0!==this.paragraphsTillRender||this.needToRenderBanner||(this.needToRenderBanner=this.actualParagraphIndex>=e.minimalParagraphsBeforeCount&&this.actualParagraphIndex<=this.actualParagraphsCount-e.minimalParagraphsAfterCount,this.needToRenderBanner&&!this.actualBannerConfig.renderAtContentEnd&&this.renderBanner())))}renderBanner(){if(null===this.actualBannerConfig)throw new Error("Actual banner's config must be set");if(!this.deviceState.isServerApp){const e=this.componentFactoryResolver.resolve
1ComponentFactory(V.a),t=this.actualInsertPoint.createComponent(e).instance;t.pageName=this.actualBannerConfig.pageName,t.placeName=this.actualBannerConfig.placeName}this.needToRenderBanner=!1,this.processToNextBanner()}processToNextBanner(){this.skipContent=++this.actualBannerIndex>=this.bannersConfig.length,this.actualBannerConfig=this.skipContent?null:this.bannersConfig[this.actualBannerIndex],this.paragraphsTillRender=this.skipContent?0:this.actualBannerConfig.afterParagraphsCount}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(D.n),D.Mc(Oe.a))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var ve=n("ofXK"),we=n("jtHE");const ye=new D.v("Banner slide duration");let Ce=(()=>{class e{constructor(e,t){this.googleTagManagerService=e,this.document=t,this.bannersPlacesChanged$=new we.a(1),this.registerCisBannersService()}get onBannersPlacesChanged(){return this.bannersPlacesChanged$.asObservable()}updateBannerPlacesInfo(e,t){this.bannersPlacesChanged$.next({pageName:e,bannersPlacesInfo:t})}registerComponent(t,n){e.componentInstancesById.set(t,n)}unregisterComponent(t){e.componentInstancesById.delete(t)}registerCisBannersService(){Zt()&&Xt().addEventListener("message",e=>{if("cisBannersService"===e.data.type)switch(e.data.action){case"updateActualBannerId":this.updateActualBannerId(e.data.wrapperId,e.data.bannerId);break;case"replaceWithCodeBanner":this.replaceWithCodeBanner(e.data.wrapperId,e.data.bannersInfo);break;case"removeBannersPlaceWrapper":this.removeBannersPlaceWrapper(e.data.wrapperId);break;case"clickOnBannersPlace":this.clickOnBannersPlace({url:e.data.url,target:e.data.target,rel:e.data.rel,bannerPlace:e.data.bannerPlace,bannerId:e.data.bannerId})}})}updateActualBannerId(e,t){const n=this.getCisBannersInstance(e);null!==n&&n.updateActualBannerId(t)}replaceWithCodeBanner(e,t){const n=this.getCisBannersInstance(e);null!==n&&(t.length>0?n.replaceWithCodeBanner(t):n.removeBannersPlaceWrapper())}removeBannersPlaceWrapper(e){const t=this.getCisBannersInstance(e);null!==t&&t.removeBannersPlaceWrapper()}clickOnBannersPlace(e){const t=this.document.createElement("a");t.href=e.url,t.target=e.target,""!==e.rel&&(t.rel=e.rel),"_blank"===t.target?this.googleTagManagerService.pushDataLayer({gaBannersPlace:e.bannerPlace,gaBannerId:e.bannerId.toString(),event:"clickOnBannersPlace"}):(t.dataset.placeName=e.bannerPlace,t.dataset.currentBannerId=e.bannerId.toString(),t.style.display="none",document.body.prepend(t)),t.click()}getCisBannersInstance(t){return e.componentInstancesById.has(t)?e.componentInstancesById.get(t):null}}return e.componentInstancesById=new Map,e.\u0275fac=function(t){return new(t||e)(D.Mc(Fe),D.Mc(ve.e))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();n("EY2u");var _e=n("IzEk"),xe=n("kBKH"),Oe=n("DKs6"),Se=n("pLZG");let Ee=(()=>{class e{constructor(){this.pIsDemoLink=new re.a(null)}get isDemoLink$(){return this.pIsDemoLink.asObservable().pipe(Object(Se.a)(e=>null!==e))}setIsDemoLink(e){this.pIsDemoLink.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Pe=n("XNiG"),ke=n("xgIS"),Me=n("Kj3r"),Ie=n("lJxs"),De=n("/uUt"),je=n("JX91"),Ae=n("7o/Q");class Te{call(e,t){return t.subscribe(new ze(e))}}class ze extends Ae.a{constructor(e){super(e),this.hasPrev=!1}_next(e){let t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}var Le=n("1G5W");let Ne=(()=>{class e{constructor(){if(this.pScroll$=new Pe.a,this.pScrollUp$=new Pe.a,this.pScrollDown$=new Pe.a,this.onDestroy$=new Pe.a,Zt()){const e=Xt();Object(ke.a)(e,"scroll").pipe(Object(Me.a)(100),Object(Ie.a)(()=>e.scrollY),Object(De.a)(),Object(ce.a)(t=>{this.pScroll$.next({top:t,bottom:t+e.innerHeight})}),Object(je.a)(e.scrollY),e=>e.lift(new Te),Object(ce.a)(([t,n])=>{const i={top:n,bottom:n+e.innerHeight};t<n?this.pScrollDown$.next(i):this.pScrollUp$.next(i)}),Object(Le.a)(this.onDestroy$)).subscribe()}}get scroll$(){return this.pScroll$.asObservable()}get scrollUp$(){return this.pScrollUp$.asObservable()}get scrollDown$(){return this.pScrollDown$.asObservable()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Re=n("tyNb");let Fe=(()=>{class e{constructor(e,t,n,i){this.siteConfigService=e,this.jsInjector=t,this.router=n,this.ngZone=i,this.pContainerId=null,this.isBeg
1inEventSent=!1}get isEnabled(){return Zt()&&null!==this.pContainerId}get containerId(){return this.pContainerId}set containerId(e){const t=this.pContainerId!==e;this.pContainerId=e,t&&this.updateState(this.isEnabled)}startService(){this.siteConfigService.allConfig.pipe(Object(_e.a)(1)).subscribe(e=>{this.containerId=e.mainConfig.gtmContainerId})}stopService(){this.disableService()}sendBeginEvent(){this.pushDataLayer({event:"gtm.js","gtm.start":Date.now()}),this.isBeginEventSent=!0}pushDataLayer(e){this.isEnabled&&this.ngZone.runOutsideAngular(()=>{this.jsInjector.injectJsFile(this.getApiUrl()).then(()=>{this.getDataLayer().push(e)}).catch(()=>{console.log("Can't inject Google Tag Manager script")})})}sendPageView(){this.pushDataLayer({event:"pageview"})}getApiUrl(){return"//www.googletagmanager.com/gtm.js?id="+this.containerId}updateState(e){e?this.enableService():this.disableService()}enableService(){this.navigationSubscription||(this.navigationSubscription=this.router.events.pipe(Object(Se.a)(e=>e instanceof Re.b)).subscribe(()=>{this.isBeginEventSent||this.sendBeginEvent()}))}disableService(){this.navigationSubscription&&(this.navigationSubscription.unsubscribe(),this.navigationSubscription=void 0)}getDataLayer(){const e=Xt();return null===e?[]:(void 0===e.dataLayer&&(e.dataLayer=[]),e.dataLayer)}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(xe.c),D.Mc(Ve.a),D.Mc(Re.d),D.Mc(D.F))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Ve=n("O4lx"),Ue=n("itXk"),He=n("Cfvw"),Be=n("SxV6"),$e=n("JIr8");class qe extends Error{constructor(){super("Unsupported language!")}}let We=(()=>{class e{constructor(e,t){this.apiService=e,this.translateService=t,this.siteLanguagesSettings$=new Pe.a,this.requestedLanguage$=new Pe.a,this.pSiteLanguages$=new we.a(1),this.pLanguagesAndNames$=new we.a(1),this.pAppLanguage$=new we.a(1),this.pAppLocale$=new we.a(1),this.pHasLanguages$=new we.a(1),this.pRoutesRestrictions=new Map,this.pSiteLanguages$.pipe(Object(ce.a)(e=>{this.pHasLanguages$.next(e.all.length>1)})).subscribe(),Object(Ue.a)([this.siteLanguagesSettings$,this.requestedLanguage$]).pipe(Object(de.a)(([e,t])=>{null===t&&(t=e.primary.iso);const n=[e.primary,...e.secondary],i=n.map(e=>e.iso),r=-1===i.indexOf(t);r&&(t=e.primary.iso);const s=`${t}-${e.region}`,o=new Map(n.map(e=>[e.iso,e.name]));return this.setUpLocale(s).pipe(Object(ce.a)(()=>{if(this.pRoutesRestrictions=e.routesRestrictions,this.pSiteLanguages$.next({primary:e.primary.iso,all:i}),this.pAppLanguage$.next(t),this.pAppLocale$.next(s),this.pLanguagesAndNames$.next(o),r)throw new qe}))})).subscribe()}get siteLanguages$(){return this.pSiteLanguages$.asObservable()}get languagesAndNames$(){return this.pLanguagesAndNames$.asObservable().pipe(Object(De.a)())}get appLanguage$(){return this.pAppLanguage$.asObservable().pipe(Object(De.a)())}get appLocale$(){return this.pAppLocale$.asObservable().pipe(Object(De.a)())}get hasLanguages$(){return this.pHasLanguages$.asObservable()}getAllowedLanguages(e){const t=this.pRoutesRestrictions.get(e);let n;return this.pLanguagesAndNames$.pipe(Object(ce.a)(e=>{n=[...e.keys()]}),Object(Be.a)()).subscribe(),void 0!==t&&(n=t.filter(e=>-1!==n.indexOf(e))),n}setRequestedLanguage(e){this.requestedLanguage$.next(e)}prepare(){return void 0===this.prepareObservable&&(this.prepareObservable=this.apiService.requestSiteLanguages().pipe(Object(ce.a)(e=>{this.siteLanguagesSettings$.next(e)}),Object(le.a)(!0),Object(ue.a)(1))),this.prepareObservable}setUpLocale(e){return Object(He.a)(this.tryToSetUpLocale(e)).pipe(Object($e.a)(()=>{const[t,n]=e.split("-",2);return void 0===n?Object(oe.a)(!0):Object(He.a)(this.tryToSetUpLocale(t)).pipe(Object($e.a)(()=>(console.log(`Can't import locale "${e}", use default`),this.translateService.currentLang="en",Object(oe.a)(!0))))}))}tryToSetUpLocale(e){return n("EZ3V")("./"+e).then(t=>{Object(ve.Q)(t.default),this.translateService.use(e).pipe(Object(Be.a)()).subscribe()})}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(xe.a),D.Mc($.e))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ge=(()=>{class e{get localStorage(){return void 0===this.pLocalStorage&&(this.pLocalStorage=Zt()?Xt().localStorage:this.getStorageSurrogate()),this.pLocalStorage}getStorageSurrogate(){return new class{constructor(){this.pStorage={}}get length(){return Object.keys(this.pStorage).length}clear(){this.pStorage={}}key(e){const t=Object.keys(this.pStorage);return e<t.length?t[e]:null}getItem(e){return this.pStorage.hasOwnProperty(e)?this.pStorage[e]:null}setItem(e,t){this.pStorage[e]=t}removeItem(e){this.pStorage.hasOwnProperty(e)&&delete this.pStorage}}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Xe=n("jhN1");const Ze=()=>new Event("scrollToAnchorEvent",{bubbles:!0});let Ye=(()=>{class e{constructor(e,t,n,i){this.viewportScroller=t,this.location=n,this.eventManager=i,e.isServerApp||(this.location.onUrlChange(e=>{this.tryAnchorScroll(e)}),this.globalEventSubscription=i.addGlobalEventListener("document","scrollToAnchorEvent",()=>{this.tryAnchorScroll(this.location.path(!0))}))}ngOnDestroy(){void 0!==this.globalEventSubscription&&(this.globalEventSubscription(),this.globalEventSubscription=void 0)}tryAnchorScroll(e){const t=e.match(/#(?<id>[a-z][-:.\w]*)$/);null!==t&&this.viewportScroller.scrollToAnchor(t.groups.id)}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(Oe.a),D.Mc(ve.J),D.Mc(ve.o),D.Mc(Xe.d))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Qe=(()=>{class e{constructor(e,t,n,i){this.eventManager=e,this.authService=t,this.siteConfigService=n,this.authModalsService=i,this.oAuthProviders$=new re.a(null)}get oAuthProviders(){return this.oAuthProviders$}startService(){Zt()&&this.siteConfigService.allConfig.pipe(Object(_e.a)(1)).subscribe(e=>{const t=e.oAuthProviders.size>0;this.oAuthProviders$.next(t?e.oAuthProviders:null),t&&this.addOAuthSignInListener()})}stopService(){this.removeOAuthSignInListener()}addOAuthSignInListener(){this.removeOAuthSignInListener(),this.listener=this.eventManager.addGlobalEventListener("window","message",e=>{const t=e.data;t.providerId&&t.userData&&this.validateMessageOrigin(t.providerId,e.origin)&&(this.authService.signInViaOAuth(t.userData),this.authModalsService.closeAllModals())})}removeOAuthSignInListener(){this.listener&&this.listener()}validateMessageOrigin(e,t){var n;const i=null===(n=this.oAuthProviders$.value)||void 0===n?void 0:n.get(e);return!!i&&t===new URL(i.authUrl).origin}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(Xe.d),D.Mc(he),D.Mc(xe.c),D.Mc(ge))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ke=(()=>{class e{constructor(e,t){this.document=t,this.renderer=e.createRenderer(null,null)}setFavIcon(e,t){this.getOrCreateTag(["rel='shortcut icon'",`type='${t}'`],{rel:"shortcut icon",type:t,href:e},!1)}createLink(e,t){Array.isArray(t)||(t=[t]),t.forEach(t=>{this.getOrCreateTag(null,Object.assign({rel:e},"string"==typeof t?{href:t}:t),!0)})}updateLinkUrl(e,t){this.getOrCreateTag(`rel='${e}'`,Object.assign({rel:e},"string"==typeof t?{href:t}:t),!1)}removeLinkUrl(e){this.document.querySelectorAll(`link[rel='${e}
1']`).forEach(e=>{this.renderer.removeChild(this.renderer.parentNode(e),e)})}getOrCreateTag(e,t,n=!0){let i=null;n||(Array.isArray(e)||(e=[e]),e=`link[${e.join("][")}]`,i=this.document.querySelector(e)||null);const r=null===i||n;if(r&&(i=this.renderer.createElement("link")),null!==i&&Object.keys(t).forEach(e=>{this.renderer.setAttribute(i,e,t[e])}),r){const e=this.document.getElementsByTagName("head");if(0===e.length)throw new Error("Can't find HEAD element in document");this.renderer.appendChild(e.item(0),i)}return i}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(D.M),D.Mc(ve.e))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Je=(()=>{class e{constructor(){this.pBreadCrumbs$=new re.a([]),this.pLinks$=new re.a(null)}get breadCrumbs$(){return this.pBreadCrumbs$.asObservable()}get links$(){return this.pLinks$.asObservable().pipe(Object(Se.a)(e=>null!==e))}updateBreadCrumbs(e){this.pBreadCrumbs$.next(e)}updateLinks(e){this.pLinks$.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),et=(()=>{class e{constructor(e,t){this.http=e,this.siteApiHostInfo=t}reportContentError(e){return this.http.post(this.siteApiHostInfo+"api3/misc/report-content-error",e)}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(pe.b),D.Mc(Yt))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),tt=(()=>{class e{constructor(e){this.injector=e,this.newsDetailPage="news/:id/:slug",this.secondaryLanguageNewsDetailPage=":lang/news",this.primaryLanguage=null,this.actualLanguage=null,this.actualRouteId=null,this.previousRouteId=null,this.actualRoute=null,this.previousRoute=null,this.pOnRoutesChanged=new we.a(1),this.pOnRouteIdsChanged=new we.a(1),this.pIsOnHomePage=new we.a(1)}get onRoutesChanged(){return this.pOnRoutesChanged.asObservable()}get onRouteIdsChanged(){return this.pOnRouteIdsChanged.asObservable()}get isOnHomePage$(){return this.pIsOnHomePage.asObservable()}get languagesManagerService(){return this.injector.get(We)}routeLanguageMatcher(){const e=this.languagesManagerService;return(t,n,i)=>{console.log("Routes matcher",t);const r=t.length>0&&2===t[0].path.length&&"**"!==t[0].path;return e.setRequestedLanguage(r?t[0].path:null),{consumed:r?[t[0]]:[]}}}buildRoute(e,t){switch(t=void 0!==t?t:this.actualRouteId){case"homePage":return this.buildHomePageRoute(e);case"newsDetailPage":let t=this.injector.get(Re.a);for(;null!==t.firstChild;)t=t.firstChild;const n=t.snapshot.paramMap;return this.buildNewsDetailPageRoute({id:Number(n.get("id")),slug:n.get("slug")},e);case"catalogIndexPage":return this.buildCatalogIndexPageRoute(e);case"notFoundPage":return this.buildNotFoundRoute(e);default:throw new Error("Unknown route ID: "+this.actualRouteId)}}buildNotFoundRoute(t){const n=this.buildRouteLocalizedPart("notFoundPage",t);return n.push(e.notFound),n}buildHomePageRoute(t){const n=this.buildRouteLocalizedPart("homePage",t);return""!==e.mainPage&&n.push(e.mainPage),n}buildCatalogIndexPageRoute(t){const n=this.buildRouteLocalizedPart("catalogIndexPage",t);return n.push(e.catalogPage),n}buildNewsDetailPageRoute(t,n){const i=this.buildRouteLocalizedPart("newsDetailPage",n);return i.push(e.newsPage,t.id.toString(),t.slug),i}startService(){this.stopService();const t=this.injector.get(Re.d);this.subscription=t.events.pipe(Object(Se.a)(e=>e instanceof Re.b)).subscribe(()=>{var t;let n=this.injector.get(Re.a);const i=[];for(;null!==n.firstChild;)n=n.firstChild,(null===(t=n.snapshot.routeConfig)||void 0===t?void 0:t.path)&&i.push(n.snapshot.routeConfig.path);const r=n.snapshot.data.routeId,s=this.actualRouteId!==r;this.previousRouteId=this.actualRouteId,this.actualRouteId=r,console.log("Actual route ID: "+r),s&&this.pOnRouteIdsChanged.next({actual:this.actualRouteId,previous:this.previousRouteId});const o=i.join("/"),a=this.actualRoute!==o;this.previousRoute=this.actualRoute,this.actualRoute=o,a&&(this.pOnRoutesChanged.next({actual:this.actualRoute,previous:this.previousRoute}),this.pIsOnHomePage.next(this.actualRoute===e.mainPage))}),Object(Ue.a)([this.languagesManagerService.siteLanguages$,this.languagesManagerService.appLanguage$]).pipe(Object(ce.a)(([e,t])=>{this.primaryLanguage=e.primary,this.actualLanguage=t})).subscribe()}stopService(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}isRouteForActualLanguage(e){const t=this.actualLanguage===this.primaryLanguage;return t&&(1===e.length||2!==e[1].length)||!t&&e.length>1&&e[1]===this.actualLanguage}buildRouteLocalizedPart(e,t){const n=["/"];return(t=this.getLanguage(e,t))!==this.primaryLanguage&&n.push(t),n}getLanguage(e,t){if(void 0!==t)return t;const n=this.languagesManagerService.getAllowedLanguages(e);return n.some(e=>e===this.actualLanguage)?this.actualLanguage:n[0]}}return e.mainPage="",e.newsPage="news",e.catalogPage="catalog",e.notFound="**",e.friendlyNotFound="not-found",e.\u0275fac=function(t){return new(t||e)(D.Mc(D.w))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),nt=(()=>{class e{constructor(e,t){this.http=e,this.siteApiHostInfo=t}doSearchRequest(e){return this.http.post(this.siteApiHostInfo+"search/jsonrpc",{jsonrpc:"2.0",method:"getHint",params:{searchWord:e}}).pipe(Object(Ie.a)(e=>e.result))}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(pe.b),D.Mc(Yt))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),it=(()=>{class e{constructor(){this.titleLabel=new re.a("")}changeTitle(e){this.titleLabel.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var rt=n("oSzE"),st=n("23KU"),ot=n("+EKe"),at=n("mkut"),ct=n("4/q3"),lt=n("3/ER"),ut=n("eAQQ"),dt=n("jN84"),ht=n("tPH9"),pt=n("UudT"),ft=n("WJ6P"),gt=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(ht.a)(t,Object(dt.a)(e)),e=Object(pt.a)(e);return t}:ft.a,mt=n("TFwu"),bt=n("25cm"),vt=function(e){return Object(bt.a)(e,ct.a,gt)},wt=n("YM6B"),yt=Object.prototype.hasOwnProperty,Ct=n("lkxz"),_t=/\w*$/,xt=n("ylTp"),Ot=xt.a?xt.a.prototype:void 0,St=Ot?Ot.valueOf:void 0,Et=n("G4mU"),Pt=n("hYPf"),kt=n("/1FC"),Mt=n("WOAq"),It=n("EUcb"),Dt=n("ovuK"),jt=n("xutz"),At=jt.a&&jt.a.isMap,Tt=At?Object(Dt.a)(At):function(e){return Object(It.a)(e)&&"[object Map]"==Object(wt.a)(e)},zt=n("IzLi"),Lt=jt.a&&jt.a.isSet,Nt=Lt?Object(Dt.a)(Lt):function(e){return Object(It.a)(e)&&"[object Set]"==Object(wt.a)(e)},Rt={};Rt["[object Arguments]"]=Rt["[object Array]"]=Rt["[object ArrayBuffer]"]=Rt["[object DataView]"]=Rt["[object Boolean]"]=Rt["[object Date]"]=Rt["[object Float32Array]"]=Rt["[object Float64Array
1]"]=Rt["[object Int8Array]"]=Rt["[object Int16Array]"]=Rt["[object Int32Array]"]=Rt["[object Map]"]=Rt["[object Number]"]=Rt["[object Object]"]=Rt["[object RegExp]"]=Rt["[object Set]"]=Rt["[object String]"]=Rt["[object Symbol]"]=Rt["[object Uint8Array]"]=Rt["[object Uint8ClampedArray]"]=Rt["[object Uint16Array]"]=Rt["[object Uint32Array]"]=!0,Rt["[object Error]"]=Rt["[object Function]"]=Rt["[object WeakMap]"]=!1;var Ft=function e(t,n,i,r,s,o){var a,c=1&n,l=2&n,u=4&n;if(i&&(a=s?i(t,r,s,o):i(t)),void 0!==a)return a;if(!Object(zt.a)(t))return t;var d=Object(kt.a)(t);if(d){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&yt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!c)return Object(ut.a)(t,a)}else{var h=Object(wt.a)(t),p="[object Function]"==h||"[object GeneratorFunction]"==h;if(Object(Mt.a)(t))return Object(lt.a)(t,c);if("[object Object]"==h||"[object Arguments]"==h||p&&!s){if(a=l||p?{}:Object(Pt.a)(t),!c)return l?function(e,t){return Object(ot.a)(e,gt(e),t)}(t,function(e,t){return e&&Object(ot.a)(t,Object(ct.a)(t),e)}(a,t)):function(e,t){return Object(ot.a)(e,Object(dt.a)(e),t)}(t,function(e,t){return e&&Object(ot.a)(t,Object(at.a)(t),e)}(a,t))}else{if(!Rt[h])return s?t:{};a=function(e,t,n){var i,r,s=e.constructor;switch(t){case"[object ArrayBuffer]":return Object(Ct.a)(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return function(e,t){var n=t?Object(Ct.a)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Object(Et.a)(e,n);case"[object Map]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return(r=new(i=e).constructor(i.source,_t.exec(i))).lastIndex=i.lastIndex,r;case"[object Set]":return new s;case"[object Symbol]":return St?Object(St.call(e)):{}}}(t,h,c)}}o||(o=new rt.a);var f=o.get(t);if(f)return f;o.set(t,a),Nt(t)?t.forEach((function(r){a.add(e(r,n,i,r,t,o))})):Tt(t)&&t.forEach((function(r,s){a.set(s,e(r,n,i,s,t,o))}));var g=u?l?vt:mt.a:l?keysIn:at.a,m=d?void 0:g(t);return function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n););}(m||t,(function(r,s){m&&(r=t[s=r]),Object(st.a)(a,s,e(r,n,i,s,t,o))})),a};let Vt=(()=>{class e{constructor(e,t){this.transferState=e,this.deviceState=t}makeStateKey(e){return Object(Xe.j)(e)}hasKey(e){return this.transferState.hasKey(e)}restoreData(e,t){const n=this.transferState.get(e,t);return this.transferState.remove(e),n}storeData(e,t){this.deviceState.isServerApp&&this.transferState.set(e,Ft(t,5))}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(Xe.i),D.Mc(Oe.a))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ut=new D.v("User session duration");let Ht=(()=>{class e{constructor(e,t,n){this.routesService=e,this.localStorageService=t,this.userSessionDuration=n,this.sessionKey="userSession",this.pIsExpired=new re.a(null)}get isExpired(){return this.pIsExpired.pipe(Object(Se.a)(e=>null!==e))}startService(){this.stopService(),this.subscription=this.routesService.onRoutesChanged.subscribe(()=>{let e=this.localStorageService.localStorage.getItem(this.sessionKey);null!==e&&(e=Number(e),Number.isNaN(e)&&(e=null)),this.pIsExpired.next(null===e||Date.now()>e),this.localStorageService.localStorage.setItem(this.sessionKey,String(Date.now()+1e3*this.userSessionDuration))})}stopService(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return e.\u0275fac=function(t){return new(t||e)(D.Mc(tt),D.Mc(Ge),D.Mc(Ut))},e.\u0275prov=D.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Bt=n("ehPC");const $t=new D.v("Card substitute type"),qt=new D.v("Service with substitute models for card");let Wt,Gt=class{constructor(e,t){this.cardsFactory=e,this.cardSubstituteType=t,null===this.cardSubstituteType&&(this.cardSubstituteType="preserveWidth")}getInstantSubstitute(e,t){const n=e instanceof Bt.c,i=n?this._getInstantSubstituteForCard(e):this._getInstantSubstitute(e,t);return null!==i?i.map(t=>({model:t,card:n?this._buildSubstituteCardForCard(e):this._buildDefaultSubstituteCard()})):null}getSubstitute(e,t){const n=e instanceof Bt.c;return(n?this._getSubstituteForCard(e):this._getSubstitute(e,t)).pipe(Object(Ie.a)(t=>null!==t?t.map(t=>({model:t,card:n?this._buildSubstituteCardForCard(e):this._buildDefaultSubstituteCard()})):null))}_buildSubstituteCardForCard(e){return this._buildDefaultSubstituteCard()}_buildDefaultSubstituteCard(){throw new Error("Not implemented")}_getInstantSubstituteForCard(e){return this._getInstantSubstitute("preserveWidth"===this.cardSubstituteType?1:e.width,1)}_getInstantSubstitute(e,t){throw new Error("Not implemented")}_getSubstituteForCard(e){return this._getSubstitute("preserveWidth"===this.cardSubstituteType?1:e.width,1)}_getSubstitute(e,t){throw new Error("Not implemented")}};function Xt(){return void 0===Wt&&(Wt="undefined"!=typeof window?window:null),Wt}function Zt(){return null!==Xt()}const Yt=new D.v("Site's API host info"),Qt=new D.v("Source site host"),Kt=new D.v("Source site scheme"),Jt=new D.v("Header name for source site host for API requests"),en=new D.v("Header name for source site scheme for API requests");function tn(e){let t=new pe.e;const n=(e,i)=>{switch(typeof e){case"string":case"number":case"bigint":t=t.set(i,e.toString());break;case"boolean":t=t.set(i,e?"1":"0");break;case"object":Array.isArray(e)?e.forEach((e,t)=>{n(e,i+"["+t+"]")}):Object.keys(e).forEach(t=>{n(e[t],0===i.length?t:i+"["+t+"]")})}};let i=typeof e;if("object"!==i||Array.isArray(e))throw i=Array.isArray(e)?"array":i,new Error(`Request must be of type "object", got "${i}"`);return n(e,""),t}var nn=n("dhcM");function rn(e=!1,t=!0){return(n,i)=>
1{if(Tt(n)&&Tt(i))return[...n.keys()].forEach(t=>{i.has(t)?Object(nn.a)(n.get(t),i.get(t),rn(e)):e&&n.delete(t)}),t&&[...i.keys()].forEach(e=>{n.has(e)||n.set(e,i.get(e))}),n}}function sn(e){return e.hasOwnProperty("isExpireEvent")&&!1===e.isExpireEvent}function on(e){return e.hasOwnProperty("isExpireEvent")&&!0===e.isExpireEvent}function an(e){return e.hasOwnProperty("isError")&&!0===e.isError}const cn=new D.v("reCaptcha component token");function ln(e,t){return Object(ce.a)(n=>{e.storeData(t,n)})}const un=Symbol("Model default fields");function dn(e){if(Array.isArray(e))return e;const t=Array.isArray(e[un])?[...e[un]]:[];return Object.keys(e).forEach(n=>{t.push(...dn(e[n]).map(e=>`${n}.${e}`))}),t}function hn(e){return"string"==typeof e&&(e=[e]),Array.isArray(e)?e:Object.keys(e).map(t=>"desc"===e[t]?"-"+t:t)}},GQzd:function(e,t,n){"use strict";n.d(t,"C",(function(){return f})),n.d(t,"e",(function(){return v})),n.d(t,"t",(function(){return m})),n.d(t,"w",(function(){return b})),n.d(t,"c",(function(){return w})),n.d(t,"h",(function(){return y})),n.d(t,"k",(function(){return x})),n.d(t,"p",(function(){return C})),n.d(t,"z",(function(){return _})),n.d(t,"b",(function(){return I})),n.d(t,"u",(function(){return D.a})),n.d(t,"x",(function(){return j.a})),n.d(t,"f",(function(){return te})),n.d(t,"d",(function(){return ne})),n.d(t,"i",(function(){return ie.a})),n.d(t,"l",(function(){return re.a})),n.d(t,"q",(function(){return oe})),n.d(t,"A",(function(){return ae.a})),n.d(t,"o",(function(){return ce.a})),n.d(t,"g",(function(){return le})),n.d(t,"j",(function(){return de})),n.d(t,"m",(function(){return be})),n.d(t,"n",(function(){return he})),n.d(t,"r",(function(){return ge})),n.d(t,"s",(function(){return fe})),n.d(t,"v",(function(){return ue})),n.d(t,"y",(function(){return pe})),n.d(t,"B",(function(){return me})),n.d(t,"a",(function(){return ye}));var i=n("LrWZ"),r=n("Rhl8"),s=n("nFFm"),o=n("bHHr"),a=n("y96F"),c=n("WI3F");class l{constructor(e,t,n){this.url=e,this.title=t,this.reliability=n}}class u{constructor(e,t,n,i,r,s,o){this.language=e,this.title=t,this.content=n,this.keywords=i,this.slug=r,this.label=s,this.description=o}}function d(e){return new u(e.language,e.title,e.content,e.keywords,e.slug,e.label,e.description)}class h{constructor(e,t){this.id=e,this.title=t}}class p{constructor(e,t,n,i,r,s,o,a,c,l,u,d,h,p,f,g,m,b,v,w,y,C,_,x,O,S,E,P,k,M,I,D,j,A,T,z){this.id=e,this.slug=t,this.publishDate=n,this.label=i,this.isCommercial=r,this.isExclusive=s,this.url=o,this.useSvg=a,this.allowComment=c,this.isIndexingForbidden=l,this.title=u,this.friendlyPublishDate=d,this.sourceReliability=h,this.rubric=p,this.hasPictures=f,this.hasVideo=g,this.isAgeLimited=m,this.commentsCount=b,this.commentsUrl=v,this.keywords=w,this.keywordsWithLinks=y,this.internalPoster=C,this.internalPosterUrl=_,this.posterUrl=x,this.squarePosterUrl=O,this.rectanglePosterUrl=S,this.cardPosterUrl=E,this.author=P,this.parsedContent=k,this.poll=M,this.ratingsInfo=I,this.commentsPreview=D,this.allSpecialThemes=j,this.actualSpecialThemes=A,this.publishedI18nData=T,this.source=z,this.pHasPoster=null}get isPublishedToday(){this.pPublishDate||(this.pPublishDate=new Date(this.publishDate));const e=new Date;return this.pPublishDate.toDateString()===e.toDateString()}get hasPoster(){return null===this.pHasPoster&&(this.pHasPoster=!(Object(i.a)(this.posterUrl)&&Object(i.a)(this.cardPosterUrl)&&Object(i.a)(this.rectanglePosterUrl)&&Object(i.a)(this.squarePosterUrl))),this.pHasPoster}}function f(e){const t=new p(e.id,e.slug,e.publishDate,e.label,e.isCommercial,e.isExclusive,e.url,Boolean(e.useSvg));if(e.rubric&&(e.rubric=function(e){const t=new h(e.id);return Object.assign(t,e),t}(e.rubric)),e.author&&(e.author=Object(r.a)(e.author)),e.poll&&(e.poll=Object(s.n)(e.poll)),e.ratingsInfo&&(e.ratingsInfo=Object(o.h)(e.ratingsInfo)),Array.isArray(e.commentsPreview)&&(e.commentsPreview=e.commentsPreview.map(a.o)),e.allSpecialThemes&&(e.allSpecialThemes=Array.isArray(e.allSpecialThemes)?e.allSpecialThemes.map(c.f):[]),e.actualSpecialThemes&&(e.actualSpecialThemes=Array.isArray(e.actualSpecialThemes)?e.actualSpecialThemes.map(c.f):[]),e.publishedI18nData){const t=Object.entries(e.publishedI18nData).map(([e,t])=>[e,d(t)]);e.publishedI18nData=new Map(t)}return void 0!==e.source&&(e.source=function(e){return new l(e.url,e.title,e.reliability)}(e.source)),Object.assign(t,e),t}var g=n("ehPC");class m extends g.c{constructor(e,t,n){super(e),this.width=e,this.id=t,this.onlyNonCommercialNews=n,this.pType=g.q.SimpleNews}getComponent(){return D.a}}class b extends g.c{constructor(e,t){super(e),this.width=e,this.onlyNonCommercialNews=t,this.pType=g.q.TopNews}getComponent(){return j.a}}class v extends g.c{constructor(e){super(e),this.width=e,this.pType=g.q.CompaniesNewsNews}
1getComponent(){return te}}class w extends g.r{constructor(e,t,n,i,r,s,o,a,c){super(e,t,n,i,c),this.width=e,this.height=t,this.pEmptyAction=n,this.label=i,this.promoNewsLabel=r,this.promoNewsLink=s,this.placeHereLabel=o,this.placeHereLink=a,this.cards=c,this.pType=g.R.CompaniesNews}getComponent(){return ne}}class y extends g.i{constructor(e,t,n,i,r,s){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.newsCount=i,this.label=r,this.fillerItemsCount=s,this.pType=g.R.LastNewsFeed}getComponent(){return ie.a}}class C extends g.i{constructor(e,t,n,i,r){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.label=i,this.itemsCount=r,this.pType=g.R.PoliticalNews}getComponent(){return oe}}class _ extends g.i{constructor(e,t,n,i,r){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.label=i,this.itemsCount=r,this.pType=g.R.WeekTopNews}getComponent(){return ae.a}}class x extends g.r{constructor(e,t,n,i){super(e,t,n,"",i),this.width=e,this.height=t,this.pEmptyAction=n,this.cards=i,this.pType=g.R.NewsCardsBlock}getComponent(){return re.a}}var O=n("fXoL"),S=n("GJzE");const E=["insertPoint"],P=["doubleNews"],k=["halfNews"],M=["simpleNews"];let I=(()=>{class e extends g.d{constructor(e){super(),this.routesService=e}ngOnInit(){super.ngOnInit()}}return e.\u0275fac=function(t){return new(t||e)(O.yc(S.fb))},e.\u0275cmp=O.sc({type:e,selectors:[["app-base-news"]],viewQuery:function(e,t){var n;1&e&&(O.ud(E,!0,O.X),O.ud(P,!0),O.ud(k,!0),O.ud(M,!0)),2&e&&(O.jd(n=O.Rc())&&(t.insertPoint=n.first),O.jd(n=O.Rc())&&(t.doubleNewsTemplate=n.first),O.jd(n=O.Rc())&&(t.halfNewsTemplate=n.first),O.jd(n=O.Rc())&&(t.singleNewsTemplate=n.first))},features:[O.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();var D=n("QPoD"),j=n("2aVW"),A=n("PqYM"),T=n("lJxs"),z=n("AytR");function L(e,t){if(1&e&&O.zc(0,"app-placeholder",5),2&e){const e=O.Uc();O.bd("width",e.card.width)("height",1)}}function N(e,t){if(1&e&&(O.Ec(0,"span",19),O.zd(1),O.Dc()),2&e){const e=O.Uc(3).singleNews;O.jc(1),O.Ad(e.label)}}function R(e,t){1&e&&(O.Tc(),O.Ec(0,"svg",20),O.zc(1,"use",21),O.Dc())}function F(e,t){1&e&&(O.Tc(),O.Ec(0,"svg",20),O.zc(1,"use",22),O.Dc())}function V(e,t){if(1&e&&(O.Ec(0,"div",16),O.xd(1,N,2,1,"span",17),O.xd(2,R,2,0,"svg",18),O.xd(3,F,2,0,"svg",18),O.Dc()),2&e){const e=O.Uc(2).singleNews;O.jc(1),O.bd("ngIf",e.label.length>0),O.jc(1),O.bd("ngIf",e.hasPictures),O.jc(1),O.bd("ngIf",e.hasVideo)}}function U(e,t){if(1&e&&(O.Cc(0),O.xd(1,V,4,3,"div",15),O.Bc()),2&e){const e=O.Uc().singleNews;O.jc(1),O.bd("ngIf",e.hasPictures||e.hasVideo||e.label.length>0)}}function H(e,t){1&e&&(O.Ec(0,"div",23),O.zd(1,"\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0440\u043e\u0441\u0442 \u0447\u0438\u0441\u043b\u0430 \u043d\u043e\u0432\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441\u0430 \u0432 \u0423\u043a\u0440\u0430\u0438\u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0431\u043e\u043b\u0435\u0435 10%. "),O.Dc())}function B(e,t){if(1&e&&(O.Ec(0,"div",24),O.Ec(1,"a",25),O.Tc(),O.Ec(2,"svg",20),O.zc(3,"use",26),O.Dc(),O.Sc(),O.Ec(4,"span"),O.zd(5),O.Vc(6,"number"),O.Dc(),O.Dc(),O.Dc()),2&e){const e=O.Uc().singleNews;O.jc(1),O.dd("fragment","comments-",e.id,""),O.bd("appNewsUrl",e),O.jc(4),O.Ad(O.Wc(6,3,e.commentsCount))}}function $(e,t){if(1&e&&(O.Ec(0,"article",6),O.zc(1,"a",7),O.xd(2,U,2,1,"ng-container",8),O.Ec(3,"div",9),O.Ec(4,"div",10),O.Ec(5,"a",11),O.zd(6),O.Dc(),O.Dc(),O.xd(7,H,2,0,"ng-template"),O.Ec(8,"div",12),O.Ec(9,"div",13),O.zd(10),O.Dc(),O.xd(11,B,7,5,"div",14),O.Dc(),O.Dc(),O.Dc()),2&e){const e=t.singleNews;O.jc(1),O.bd("appNewsUrl",e)("lazyLoad",e.cardPosterUrl),O.jc(1),O.bd("ngIf",null!==e.cardPosterUrl),O.jc(3),O.cd("title",e.title),O.bd("appNewsUrl",e),O.jc(1),O.Ad(e.title),O.jc(4),O.Ad(e.friendlyPublishDate.join(", ")),O.jc(1),O.bd("ngIf",e.allowComment&&e.commentsCount>0)}}function q(e,t){if(1&e&&(O.Ec(0,"span",19),O.zd(1),O.Dc()),2&e){const e=O.Uc(3).singleNews;O.jc(1),O.Ad(e.label)}}function W(e,t){1&e&&(O.Tc(),O.Ec(0,"svg",20),O.zc(1,"use",21),O.Dc())}function G(e,t){1&e&&(O.Tc(),O.Ec(0,"svg",20),O.zc(1,"use",22),O.Dc())}function X(e,t){if(1&e&&(O.Ec(0,"div",16),O.xd(1,q,2,1,"span",17),O.xd(2,W,2,0,"svg",18),O.xd(3,G,2,0,"svg",18),O.Dc()),2&e){const e=O.Uc(2).singleNews;O.jc(1),O.bd("ngIf",e.label.length>0),O.jc(1),O.bd("ngIf",e.hasPictures),O.jc(1),O.bd("ngIf",e.hasVideo)}}function Z(e,t){if(1&e&&(O.Cc(0),O.xd(1,X,4,3,"div",15),O.Bc()),2&e){const e=O.Uc().singleNews;O.jc(1),O.bd("ngIf",e.hasPictures||e.hasVideo||e.label.length>0)}}function Y(e,t){if(1&e&&(O.Ec(0,"div",24),O.Ec(1,"a",25),O.Tc(),O.Ec(2,"svg",20),O.zc(3,"use",26),O.Dc(),O.Sc(),O.Ec(4,"span"),O.zd(5),O.Vc(6,"number"),O.Dc(),O.Dc(),O.Dc()),2&e){const e=O.Uc().singleNews;O.jc(1),O.dd("fragment","comments-",e.id,""),O.bd("appNewsUrl",e),O.jc(4),O.Ad(O.Wc(6,3,e.commentsCount))}}function Q(e,t){if(1&e&&(O.Ec(0,"article",27),O.zc(1,"a",7),O.xd(2,Z,2,1,"ng-container",8),O.Ec(3,"div",9),O.Ec(4,"div",10),O.Ec(5,"a",11),O.zd(6),O.Dc(),O.Dc(),O.Ec(7,"div",12),O.Ec(8,"div",13),O.zd(9),O.Dc(),O.xd(10,Y,7,5,"div",14),O.Dc(),O.Dc(),O.Dc()),2&e){const e=t.singleNews;O.jc(1),O.bd("appNewsUrl",e)("lazyLoad",e.rectanglePosterUrl),O.jc(1),O.bd("ngIf",null!==e.cardPosterUrl),O.jc(3),O.cd("title",e.title),O.bd("appNewsUrl",e),O.jc(1),O.Ad(e.title),O.jc(3),O.Ad(e.friendlyPublishDate.join(", ")),O.jc(1),O.bd("ngIf",e.allowComment&&e.commentsCount>0)}}function K(e,t){if(1&e&&(O.Ec(0,"div",30),O.zd(1),O.Dc()),2&e){const e=O.Uc().singleNews;O.jc(1),O.Ad(e.label)}}function J(e,t){if(1&e&&(O.Ec(0,"div",24),O.Ec(1,"a",25),O.Tc(),O.Ec(2,"svg",20),O.zc(3,"use",26),O.Dc(),O.Sc(),O.Ec(4,"span"),O.zd(5),O.Vc(6,"number"),O.Dc(),O.Dc(),O.Dc()),2&e){const e=O.Uc().singleNews;O.jc(1),O.dd("fragment","comments-",e.id,""),O.bd("appNewsUrl",e),O.jc(4),O.Ad(O.Wc(6,3,e.commentsCount))}}function ee(e,t){if(1&e&&(O.Ec(0,"article",28),O.Ec(1,"div",9),O.Ec(2,"div",10),O.Ec(3,"a",11),O.zd(4),O.Dc(),O.Dc(),O.Ec(5,"div",12),O.Ec(6,"div",13),O.xd(7,K,2,1,"div",29),O.zd(8),O.Dc(),O.xd(9,J,7,5,"div",14),O.Dc(),O.Dc(),O.Dc()),2&e){const e=t.singleNews;O.jc(3),O.cd("title",e.title),O.bd("appNewsUrl",e),O.jc(1),O.Ad(e.title),O.jc(3),O.bd("ngIf",e.label.length>0),O.jc(1),O.Bd(" ",e.friendlyPublishDate.join(", ")," "),O.jc(1),O.bd("ngIf",e.allowComment&&e.commentsCount>0)}}let te=(()=>{class e extends I{constructor(e,t){super(e),this.newsService=t}ngOnInit(){super.ngOnInit()}getModels(){if(null===this.newsService)throw new Error("Required services must be injected");return this.newsService.getNextCompaniesNews(1).pipe(Object(T.a)(e=>null!==e?e[0]:null))}renderCard(e){this.models=e;const t=()=>{this.insertPoint.clear(),this.insertPoint.createEmbeddedView(2===this.card.width?this.doubleNewsTemplate:this.halfNewsTemplate,{singleNews:this.models})};z.a.useLoadingDelay?Object(A.a)(1500).subscribe(t):t()}}return e.\u0275fac=function(t){return new(t||e)(O.yc(S.fb),O.yc(le,8))},e.\u0275cmp=O.sc({type:e,selectors:[["app-shared-companies-news-news"]],features:[O.gc],decls:10,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["doubleNews",""],["halfNews",""],["simpleNews",""],[3,"width","height"],[1,"article-card","article-card--double"],[1,"article-card__poster",3,"appNewsUrl","lazyLoad"],[4,"ngIf"],[1,"article-card__content"],[1,"article-card__title"],[3,"appNewsUrl","title"],[1,"article-card__info"],[1,"article-card__date"],["class","card-actions",4,"ngIf"],["class","article-card__subinfo",4,"ngIf"],[1,"article-card__subinfo"],["class","article-card__subinfo--toaster",4,"ngIf"],["width","20","height","20",4,"ngIf"],[1,"article-card__subinfo--toaster"],["width","20","height","20"],[0,"xlink","href","#icon-photo"],[0,"xlink","href","#icon-video"],[1,"article-card__subtitle"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],[0,"xlink","href","#icon-comment"],[1,"article-card","article-card--half"],[1,"article-card","article-card--simple"],["class","article-card__date--toaster",4,"ngIf"],[1,"article-card__date--toaster"]],template:function(e,t){1&e&&(O.Ac(0,null,0),O.xd(2,L,1,2,"app-placeholder",1),O.Vc(3,"async"),O.xd(4,$,12,8,"ng-template",null,2,O.yd),O.xd(6,Q,11,8,"ng-template",null,3,O.yd),O.xd(8,ee,10,6,"ng-template",null,4,O.yd)),2&e&&(O.jc(2),O.bd("ngIf",!O.Wc(3,1,t.isComponentLoaded$)))},styles:['.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;max-width:calc(100% - 16px);top:12px;left:0}.article-card__subinfo--toaster[_ngcontent-%COMP%]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;line-height:16px}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;
1fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card__date--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px;margin-bottom:8px;color:var(--green-primary);font-size:14px;position:relative;top:1px;line-height:14px;text-transform:uppercase}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--double[_ngcontent-%COMP%]{padding-bottom:137.2%;color:#fff}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.article-card--double[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding:16px}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{line-height:1;font-size:30px;font-weight:700}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{margin-top:16px;font-size:18px}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.35)}.article-card--double[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:hsla(0,0%,100%,.35)}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:relative;padding-bottom:47.6%}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:16px 24px}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;margin-top:4px;margin-right:10px;color:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:none}.article-card--double[_ngcontent-%COMP%]{padding-bottom:45.12%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{display:none}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:12px 16px}}@media (min-width:1200px){.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{font-size:36px}}.card-actions[_ngcontent-%COMP%]{display:flex;margin-left:20px}.card-actions__item[_ngcontent-%COMP%]{color:inherit}.card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;
1fill:var(--green-primary)}.card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;color:inherit}']}),e})(),ne=(()=>{class e extends g.s{constructor(e,t,n,i,r,s){super(e,t,n,i,r,s)}}return e.\u0275fac=function(t){return new(t||e)(O.yc(g.A,8),O.yc(O.w),O.yc(O.n),O.yc(S.t),O.yc(g.p),O.yc(g.z,8))},e.\u0275cmp=O.sc({type:e,selectors:[["app-shared-companies-news"]],features:[O.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();var ie=n("qJSi"),re=n("A/Aq"),se=n("IzEk");let oe=(()=>{class e extends g.j{constructor(e,t,n,i){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.routesService=n,this.newsService=i}ngOnInit(){this.newsService.getNextPoliticalNews(this.widget.itemsCount).pipe(Object(se.a)(1)).subscribe(e=>{this.models=e,null!==this.models?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};z.a.useLoadingDelay?Object(A.a)(1500).subscribe(t):t()})}}return e.\u0275fac=function(t){return new(t||e)(O.yc(g.A,8),O.yc(O.w),O.yc(S.fb),O.yc(ge))},e.\u0275cmp=O.sc({type:e,selectors:[["app-shared-political-news"]],features:[O.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();var ae=n("2gGH"),ce=n("FTlY");const le=new O.v("News service with companies news"),ue=new O.v("News service with simple news"),de=new O.v("News service with cards"),he=new O.v("News service with pages"),pe=new O.v("News service with TOP news"),fe=new O.v("News service with selected news"),ge=new O.v("News service with political news"),me=new O.v("News service with week TOP news"),be=new O.v("News service with news' detail view");var ve=n("tk/3"),we=n("LRne");let ye=(()=>{class e{constructor(e,t,n,i,r){this.http=e,this.transferStateService=t,this.ratingApiService=n,this.commentsApiService=i,this.siteApiHostInfo=r}doCompoundRequest(e){var t,n,i,r,s,o,a,c;const l={request:{}};if((null===(t=e.simpleNews)||void 0===t?void 0:t.count)>=0){const t={count:e.simpleNews.count+1};e.simpleNews.nonCommercialCount>0&&(t.nonCommercialCount=e.simpleNews.nonCommercialCount),e.simpleNews.tillTime&&(t.tillTime=e.simpleNews.tillTime),(null===(n=e.selectedNews)||void 0===n?void 0:n.selectedIds.length)>0&&(t.excludedIds=e.selectedNews.selectedIds),l.request.simpleNews={filter:t,fields:Object(S.Fb)(e.simpleNews.fields).join()}}if((null===(i=e.topNews)||void 0===i?void 0:i.count)>0){const t={count:e.topNews.count};e.topNews.nonCommercialCount>0&&(t.nonCommercialCount=e.topNews.nonCommercialCount),(null===(r=e.selectedNews)||void 0===r?void 0:r.selectedIds.length)>0&&(t.excludedIds=e.selectedNews.selectedIds),l.request.topNews={filter:t,fields:Object(S.Fb)(e.topNews.fields).join()}}(null===(s=e.selectedNews)||void 0===s?void 0:s.selectedIds.length)>0&&(l.request.selectedNews={filter:{selectedIds:e.selectedNews.selectedIds},fields:Object(S.Fb)(e.selectedNews.fields).join()}),(null===(o=e.weekTopNews)||void 0===o?void 0:o.count)>0&&(l.request.weekTopNews={filter:{count:e.weekTopNews.count},fields:Object(S.Fb)(e.weekTopNews.fields).join()}),(null===(a=e.politicalNews)||void 0===a?void 0:a.count)>0&&(l.request.politicalNews={filter:{count:e.politicalNews.count},fields:Object(S.Fb)(e.politicalNews.fields).join()}),(null===(c=e.companiesNews)||void 0===c?void 0:c.count)>0&&(l.request.companiesNews={filter:{count:e.companiesNews.count},fields:Object(S.Fb)(e.companiesNews.fields).join()});const u=Object(S.Hb)(l),d=this.transferStateService.makeStateKey("compound-news-models-"+u);return this.transferStateService.hasKey(d)?Object(we.a)(this.buildCompoundNews(this.transferStateService.restoreData(d,null))):(Object.keys(l.request).length>0?this.http.get(this.siteApiHostInfo+"api3/news/compound",{params:u}):Object(we.a)({})).pipe(Object(S.Tb)(this.transferStateService,d),Object(T.a)(this.buildCompoundNews))}doSimpleRequest(e){const t=Object(S.Hb)(e),n=this.transferStateService.makeStateKey("simple-news-models-"+t);if(this.transferStateService.hasKey(n))return Object(we.a)(this.buildSimpleNews(this.transferStateService.restoreData(n,null)));const i={params:t};return/poll\.(canUserVote|userVote)/.test(e.expand)&&(i.withCredentials=!0),this.http.get(this.siteApiHostInfo+"api3/news",i).pipe(Object(S.Tb)(this.transferStateService,n),Object(T.a)(this.buildSimpleNews))}requestSingleNews(e,t,n=null,i){const r={expand:Array.isArray(t)?t.join():t};null!==n&&((n=Object.assign({},n)).demoLink&&(r.demo=n.demoLink,delete n.demoLink),Object.keys(n).length>0&&(r.filter=n));const s=Object(S.Hb)(r),o=this.transferStateService.makeStateKey(`single-news-model-${e}-${s}`);if(this.transferStateService.hasKey(o))return Object(we.a)(this.buildSingleNews(this.transferStateService.restoreData(o,null)));const a={params:s};if(/poll\.(canUserVote|userVote)/.test(r.expand)&&(a.withCredentials=!0),void 0!==i){const[e]=i.split("-",2);a.headers=new ve.d({"accept-language":`${i},${e}`})}return this.http.get(`${this.siteApiHostInfo}api3/news/${e}`,a).pipe(Object(S.Tb)(this.transferStateService,o),Object(T.a)(this.buildSingleNews))}getRatingsInfo(e){return this.ratingApiService.getRatingsInfo(`api3/news/${e}/rates`)}
1updateRatings(e,t,n){return this.ratingApiService.updateRatings(`api3/news/${e}/rates`,t,n)}createComment(e,t,n){return this.commentsApiService.createComment("api3/news/"+e,t,n)}listComments(e,t=null){return this.commentsApiService.listComments("api3/news/"+e,t)}createDislike(e,t,n){return this.commentsApiService.createDislike(t,"api3/news/"+e,n)}createLike(e,t,n){return this.commentsApiService.createLike(t,"api3/news/"+e,n)}deleteComment(e,t){return this.commentsApiService.deleteComment(t,"api3/news/"+e)}deleteDislike(e,t){return this.commentsApiService.deleteDislike(t,"api3/news/"+e)}deleteLike(e,t){return this.commentsApiService.deleteLike(t,"api3/news/"+e)}checkRedirect(e){return this.http.get(`${this.siteApiHostInfo}api3/news/${e}/check-redirect`)}buildCompoundNews(e){if(e.simpleNews&&(e.simpleNews=e.simpleNews.map(f)),e.topNews&&(e.topNews=e.topNews.map(f)),e.selectedNews)for(const t in e.selectedNews)e.selectedNews.hasOwnProperty(t)&&(e.selectedNews[t]=f(e.selectedNews[t]));return e.weekTopNews&&(e.weekTopNews=e.weekTopNews.map(f)),e.politicalNews&&(e.politicalNews=e.politicalNews.map(f)),e.companiesNews&&(e.companiesNews=e.companiesNews.map(f)),e}buildSimpleNews(e){return e=e.news||[],Array.isArray(e)?e.map(f):(Object.keys(e).forEach(t=>{e[t]=f(e[t])}),e)}buildSingleNews(e){return null!==e?f(e):null}}return e.\u0275fac=function(t){return new(t||e)(O.Mc(ve.b),O.Mc(S.yb),O.Mc(o.a),O.Mc(a.a),O.Mc(S.hb))},e.\u0275prov=O.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},Gi4w:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return n=>n.lift(new s(e,t,n))}class s{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg,this.source))}}class o extends i.a{constructor(e,t,n,i){super(e),this.predicate=t,this.thisArg=n,this.source=i,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}},GyhO:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("LRne"),r=n("0EUg");function s(...e){return Object(r.a)()(Object(i.a)(...e))}},"H0t/":function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return u})),n.d(t,"d",(function(){return p}));var i=n("fXoL");const r=new i.v("Scroll spy hooks");var s=n("ofXK");class o extends class{setPlatformId(e){this.platformId=e}}{isDisabled(){return Object(s.P)(this.platformId)}}var a=n("XNiG"),c=n("HDdC"),l=n("pLZG");class u extends o{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=ne
1w a.a,this.commonViewportKey={}}getObservable(e){if(e.customObservable)return e.customObservable;const t=e.scrollContainer||this.commonViewportKey,n={},i={root:e.scrollContainer||null};e.offset&&(i.rootMargin=e.offset+"px",n.offset=e.offset),e.threshold&&(i.threshold=e.threshold,n.threshold=Array.isArray(e.threshold)&&1===e.threshold.length?e.threshold[0]:e.threshold),this.observers.has(t)||this.observers.set(t,new Map);let r=this.observers.get(t).get(JSON.stringify(n));return void 0===r&&(r=new IntersectionObserver(e=>{this.loadingCallback(e)},i),this.observers.get(t).set(JSON.stringify(n),r)),r.observe(e.element),new c.a(t=>{const n=this.intersectionSubject.pipe(Object(l.a)(t=>t.target===e.element)).subscribe(t);return()=>{n.unsubscribe(),r.unobserve(e.element)}})}isVisible(e,t){return e.isIntersecting}loadingCallback(e){e.forEach(e=>this.intersectionSubject.next(e))}}var d=n("5yfJ"),h=n("lJxs");let p=(()=>{class e{constructor(e,t){this.hooks=e,this.platformId=t,this.hooks.setPlatformId(t)}registerScrollSpy(e){return this.hooks.isDisabled()?d.a:this.hooks.getObservable(e).pipe(Object(h.a)(t=>this.hooks.isVisible(t,e)))}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(r),i.Mc(i.I))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("7o/Q"),r=n("2QA8"),s=n("gRHU"),o=n("kJWO"),a=n("mCNh"),c=n("2fFW");let l=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:o}=this,a=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[r.a])return e[r.a]()}return e||t||n?new i.a(e,t,n):new i.a(s.a)}
1(e,t,n);if(a.add(o?o.call(a,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof i.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=u(t))((t,n)=>{let i;i=this.subscribe(t=>{try{e(t)}catch(r){n(r),i&&i.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[o.a](){return this}pipe(...e){return 0===e.length?this:Object(a.b)(e)(this)}toPromise(e){return new(e=u(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function u(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HLmT:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("fXoL"),r=n("jCJ1"),s=n("VRyK"),o=n("/uUt"),a=n("lJxs"),c=n("vkgz"),l=n("vJtL"),u=n("GJzE"),d=n("sYmb");let h=(()=>{class e extends r.c{constructor(e,t,n,r,s){super(e,t,n,s),this.events=new i.s,this.executeQueue=[],this.actualHandler=null,this.errorMessage=r.instant("re-captcha-widget-error")}ngOnInit(){this.mergedSubscription=Object(s.a)(this.resolved.pipe(Object(o.a)(),Object(a.a)(e=>null!==e?{isExpireEvent:!1,result:e}:{isExpireEvent:!0})),this.error.pipe(Object(o.a)(),Object(a.a)(e=>({isError:!0,error:e})))).subscribe(e=>{this.events.emit(e)}),this.events.pipe(Object(o.a)(),Object(c.a)(e=>{null!==this.actualHandler&&(Object(u.Sb)(e)&&Object(l.a)(this.actualHandler.onSuccess)?this.actualHandler.onSuccess(e.result):Object(u.Rb)(e)&&Object(l.a)(this.actualHandler.onExpire)?this.actualHandler.onExpire():Object(u.Qb)(e)&&Object(l.a)(this.actualHandler.onError)&&this.actualHandler.onError(e.error),Object(l.a)(this.actualHandler.onComplete)&&this.actualHandler.onComplete()),this.actualHandler=null,this.reset(),this.processQueue()})).subscribe()}ngAfterViewInit(){super.ngAfterViewInit()}ngOnDestroy(){void 0!==this.mergedSubscription&&(this.mergedSubscription.unsubscribe(),this.mergedSubscription=void 0),super.ngOnDestroy()}queueExecute(e){this.executeQueue.push(e),this.processQueue()}processQueue(){null===this.actualHandler&&this.executeQueue.length>0&&(this.actualHandler=this.executeQueue.shift(),this.execute())}showErrorMessage(){alert(this.errorMessage)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(r.e),i.yc(i.F),i.yc(d.e),i.yc(r.b,8))},e.\u0275cmp=i.sc({type:e,selectors:[["app-re-captcha"]],outputs:{events:"events"},features:[i.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})()},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=e=>e&&"number"==typeof e.length&&"function"!=typeof e},INbW:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("XNiG"),r=n("1G5W"),s=n("pLZG"),o=n("lJxs"),a=n("vkgz"),c=n("fXoL"),l=n("GJzE");let u=(()=>{class e{constructor(e,t,n){this.viewContainerRef=e,this.templateRef=t,this.deviceState=n,this.onDestroy$=new i.a,this.isContentVisible=!1}ngOnInit(){this.deviceState.onMobileStateChange.pipe(Object(r.a)(this.onDestroy$),Object(s.a)(e=>e.actualState!==this.isContentVisible),Object(o.a)(e=>e.actualState),Object(a.a)(e=>{e?this.viewContainerRef.createEmbeddedView(this.templateRef):this.viewContainerRef.clear(),this.isContentVisible=e})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(c.yc(c.X),c.yc(c.U),c.yc(l.t))},e.\u0275dir=c.tc({type:e,selectors:[["","appOnlyOnMobile",""]]}),e})()},IjjT:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let i=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class r extends i{constructor(e,t=i.now){super(e,()=>r.delegate&&r.delegate!==this?r.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("7o/Q"),r=n("4I5i"),s=n("EY2u");function o(e){return t=>0===e?Object(s.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new r.a}call(e,t){return t.subscribe(new c(e,this.total))}}class c extends i.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},IzLi:function(e,t,n){"use strict";t.a=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},"J/4d":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("fXoL"),r=n("kBKH"),s=n("GJzE"),o=n("ofXK"),a=n("sYmb"),c=n("OevD");const l=function(e){return{domainName:e}};function u(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",1),i.Ec(1,"div",2),i.Tc(),i.Ec(2,"svg",3),i.zc(3,"use",4),i.Dc(),i.Sc(),i.zc(4,"div",5),i.Vc(5,"safeHtml"),i.Vc(6,"translate"),i.Ec(7,"div",6),i.Ec(8,"button",7),i.Qc("click",(function(){return i.nd(e),i.Uc().addToHomeScreen()})),i.zd(9," add-to-home-screen-add-label "),i.Dc(),i.Ec(10,"button",8),i.Qc("click",(function(){return i.nd(e),i.Uc().closePrompt()})),i.zd(11," add-to-home-screen-cancel-label "),i.Dc(),i.Dc(),i.Dc(),i.Dc()}if(2&e){const e=i.Uc();i.jc(4),i.bd("innerHTML",i.Wc(5,1,i.Xc(6,3,"add-to-home-screen-label-template",i.fd(6,l,e.siteUrl))),i.od)}}let d=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.localStorageService=t,this.isShowCustomPrompt=!1}get siteUrl(){return this.siteConfigService.instantMainConfig.siteUrl}ngOnInit(){this.registerServiceWorker()}onBeforeInstallPrompt(e){e.preventDefault(),this.deferredPrompt=e,this.isShowCustomPrompt=this.canShowPrompt()}addToHomeScreen(){this.closePrompt(!1),this.deferredPrompt.prompt(),this.deferredPrompt.userChoice.then(e=>{"accepted"===e.outcome?console.log("User accepted the A2HS prompt"):console.log("User dismissed the A2HS prompt"),this.deferredPrompt=null})}closePrompt(e=!0){if(this.isShowCustomPrompt=!1,e){const e=new Date;e.setMonth(e.getMonth()+3),this.localStorageService.localStorage.setItem("isAgreedWithA2HS",e.toString())}}registerServiceWorker(){"serviceWorker"in navigator&&navigator.serviceWorker.register("/service-worker.js").then(()=>{console.log("Service worker registration in complete")},e=>{console.warn("Service worker registration in failure",e)})}canShowPrompt(){const e=this.localStorageService.localStorage.getItem("isAgreedWithA2HS");return null===e||!(new Date<=new Date(e))&&(this.localStorageService.localStorage.removeItem("isAgreedWithA2HS"),!0)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(s.E))},e.\u0275cmp=i.sc({type:e,selectors:[["app-add-to-home-screen"]],hostBindings:function(e,t){1&e&&i.Qc("beforeinstallprompt",(function(e){return t.onBeforeInstallPrompt(e)}),!1,i.md)},decls:1,vars:1,consts:[["class","push-panel",4,"ngIf"],[1,"push-panel"],[1,"push-panel__content"],["width","24","height","24"],[0,"xlink","href","#notification-bell"],[1,"push-panel__title",3,"innerHTML"],[1,"push-panel__btns"],["translate","",1,"push-panel__btn","btn","btn-brand",3,"click"],["translate","",1,"push-panel__btn","push-panel__btn--cancel","btn",3,"click"]],template:function(e,t){1&e&&i.xd(0,u,12,8,"div",0),2&e&&i.bd("ngIf",t.isShowCustomPrompt)},directives:[o.u,a.b],pipes:[c.a,a.d],styles:[".push-panel[_ngcontent-%COMP%]{position:fixed;z-index:40;bottom:10px;left:10px;background-color:#fff;border-radius:8px;box-shadow:0 2px 3px rgba(0,0,0,.1);transition:transform .3s cubic-bezier(.2,0,.2,1)}.push-panel__content[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;max-width:290px;padding:5px}.push-panel__content[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:24px;height:24px;margin-right:5px}.push-panel__title[_ngcontent-%COMP%]{width:calc(100% - 30px)}.push-panel__title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary);text-decoration:underline}.push-panel__btns[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:100%;margin-top:5px}.push-panel__btn[_ngcontent-%COMP%]{padding:5px 10px;border-color:transparent}.push-panel__btn[_ngcontent-%COMP%]:last-of-type{margin-left:5px}.push-panel.is-shown[_ngcontent-%COMP%]{transform:translateX(0)}"]}),e})()},J8dt:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var i=n("fXoL"),r=n("LRne"),s=n("PqYM"),o=n("ehPC"),a=n("AytR"),c=n("ofXK"),l=n("pI7v"),u=n("wf0l");const d=["insertPoint"],h=["fullFill"],p=["halfFill"],f=["withoutPoster"];function g(e,t){if(1&e&&i.zc(0,"app-placeholder",5),2&e){const e=i.Uc();i.bd("width",e.card.width)("height",1)}}function m(e,t){if(1&e&&(i.Ec(0,"div",11),i.Ec(1,"span",12),i.zd(2),i.Dc(),i.Dc()),2&e){const e=i.Uc(2);i.jc(2),i.Ad(e.card.label)}}function b(e,t){if(1&e&&(i.Ec(0,"a",13),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.cd("href",e.url,i.qd),i.cd("title",e.label),i.kc("rel",e.rel),i.jc(1),i.Bd(" ",e.label," ")}}function v(e,t){if(1&e&&(i.Ec(0,"article",6),i.zc(1,"a",7),i.xd(2,m,3,1,"div",8),i.Ec(3,"div",9),i.xd(4,b,2,4,"a",10),i.Dc(),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("lazyLoad",e.posterImageUrl),i.kc("href",e.posterLinkUrl,i.qd)("rel",e.posterLinkRel),i.jc(1),i.bd("ngIf",e.hasLabel),i.jc(2),i.bd("ngForOf",e.customLinks)}}function w(e,t){if(1&e&&(i.Ec(0,"div",11),i.Ec(1,"div",12),i.zd(2),i.Dc(),i.Dc()),2&e){const e=i.Uc(2);i.jc(2),i.Ad(e.card.label)}}function y(e,t){if(1&e&&(i.Ec(0,"a",13),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.cd("href",e.url,i.qd),i.cd("title",e.label),i.kc("rel",e.rel),i.jc(1),i.Bd(" ",e.label," ")}}function C(e,t){if(1&e&&(i.Ec(0,"article",14),i.zc(1,"a",7),i.xd(2,w,3,1,"div",8),i.Ec(3,"div",9),i.xd(4,y,2,4,"a",10),i.Dc(),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("lazyLoad",e.posterImageUrl),i.kc("href",e.posterLinkUrl,i.qd)("rel",e.posterLinkRel),i.jc(1),i.bd("ngIf",e.hasLabel),i.jc(2),i.bd("ngForOf",e.customLinks)}}function _(e,t){if(1&e&&(i.Ec(0,"div",11),i.Ec(1,"span",12),i.zd(2),i.Dc(),i.Dc()),2&e){const e=i.Uc(2);i.jc(2),i.Ad(e.card.label)}}function x(e,t){if(1&e&&(i.Ec(0,"a",13),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.cd("href",e.url,i.qd),i.cd("title",e.label),i.kc("rel",e.rel),i.jc(1),i.Bd(" ",e.label," ")}}function O(e,t){if(1&e&&(i.Ec(0,"article",15),i.xd(1,_,3,1,"div",8),i.Ec(2,"div",9),i.xd(3,x,2,4,"a",10),i.Dc(),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngIf",e.hasLabel),i.jc(2),i.bd("ngForOf",e.customLinks)}}let S=(()=>{class e extends o.d{constructor(){super(),this.pNeedInstantSubstitute=!1,this.pPosterImageUrl=null,this.pPosterLinkUrl=null,this.pPosterLinkRel=null,this.pHasLabel=!1,this.pCustomLinks=[]}get posterImageUrl(){return this.pPosterImageUrl}get posterLinkUrl(){return this.pPosterLinkUrl}get posterLinkRel(){return this.pPosterLinkRel}get hasLabel(){return this.pHasLabel}get customLinks(){return this.pCustomLinks}ngOnInit(){super.ngOnInit()}getModels(){return Object(r.a)(this.card)}renderCard(e){this.models=e,this.pPosterImageUrl=this.card.posterUrl,1===this.card.links.length&&(this.pPosterLinkUrl=this.card.links[0].url,this.pPosterLinkRel=this.card.links[0].noFollow?"
1nofollow":null),this.pHasLabel=null!==this.card.label,this.pCustomLinks=this.card.links.map(e=>({url:e.url,label:e.label,rel:e.noFollow?"nofollow":null}));const t=()=>{let e;switch(this.insertPoint.clear(),this.card.posterType){case o.v.WithoutPoster:e=this.withoutPosterTemplate;break;case o.v.HalfFill:e=this.halfFillTemplate;break;case o.v.FullFill:e=this.fullFillTemplate}this.insertPoint.createEmbeddedView(e)};a.a.useLoadingDelay?Object(s.a)(1500).subscribe(t):t()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-custom-card"]],viewQuery:function(e,t){var n;1&e&&(i.ud(d,!0,i.X),i.ud(h,!0),i.ud(p,!0),i.ud(f,!0)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.fullFillTemplate=n.first),i.jd(n=i.Rc())&&(t.halfFillTemplate=n.first),i.jd(n=i.Rc())&&(t.withoutPosterTemplate=n.first))},features:[i.gc],decls:10,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["fullFill",""],["halfFill",""],["withoutPoster",""],[3,"width","height"],[1,"custom-card","custom-card--full"],[1,"custom-card__poster",3,"lazyLoad"],["class","custom-card__info",4,"ngIf"],[1,"custom-card__content"],[3,"href","title",4,"ngFor","ngForOf"],[1,"custom-card__info"],[1,"custom-card__info--toaster"],[3,"href","title"],[1,"custom-card","custom-card--half"],[1,"custom-card","custom-card--simple"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,g,1,2,"app-placeholder",1),i.Vc(3,"async"),i.xd(4,v,5,5,"ng-template",null,2,i.yd),i.xd(6,C,5,5,"ng-template",null,3,i.yd),i.xd(8,O,4,2,"ng-template",null,4,i.yd)),2&e&&(i.jc(2),i.bd("ngIf",!i.Wc(3,1,t.isComponentLoaded$)))},directives:[c.u,l.a,u.a,c.t],pipes:[c.b],styles:['.custom-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.custom-card__poster[_ngcontent-%COMP%]{background-position:50%;background-size:cover;background-color:#e6e6e6}.custom-card__poster[_ngcontent-%COMP%], .custom-card__poster[_ngcontent-%COMP%]:after{display:block;position:absolute;top:0;left:0;width:100%;height:100%}.custom-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.custom-card__content[_ngcontent-%COMP%]{width:100%;position:absolute;z-index:1;bottom:0;left:0;padding:16px 24px}.custom-card__content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-top:8px;display:block;width:100%;font-size:21px;line-height:24px}.custom-card__info[_ngcontent-%COMP%]{display:block;position:absolute;top:12px;left:0}.custom-card__info--toaster[_ngcontent-%COMP%]{margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;font-weight:700;line-height:16px}.custom-card--full[_ngcontent-%COMP%], .custom-card--simple[_ngcontent-%COMP%]{padding-bottom:137.2%}.custom-card--full[_ngcontent-%COMP%]   .custom-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.custom-card--full[_ngcontent-%COMP%]   .custom-card__content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:700;color:#fff}.custom-card--half[_ngcontent-%COMP%]{padding-bottom:96px}.custom-card--half[_ngcontent-%COMP%]   .custom-card__poster[_ngcontent-%COMP%]{position:relative;padding-bottom:47.6%}.custom-card--half[_ngcontent-%COMP%]   .custom-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.custom-card--half[_ngcontent-%COMP%]   .custom-card__content[_ngcontent-%COMP%]{position:absolute}.custom-card--simple[_ngcontent-%COMP%]{background-color:#e6e6e6}.custom-card--simple[_ngcontent-%COMP%]:after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.custom-card--simple[_ngcontent-%COMP%]   .custom-card__info--toaster[_ngcontent-%COMP%]{color:#323232;border-color:#323232}@media (min-width:1024px){.custom-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.custom-card__content[_ngcontent-%COMP%]{padding:12px 16px}.custom-card--full[_ngcontent-%COMP%]{border-bottom:0}.custom-card--full[_ngcontent-%COMP%]   .custom-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8
1%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.custom-card--half[_ngcontent-%COMP%]{padding-bottom:96px}.custom-card--full[_ngcontent-%COMP%], .custom-card--simple[_ngcontent-%COMP%]{padding-bottom:45.12%}}.col-lg-3[_nghost-%COMP%]   .custom-card--full[_ngcontent-%COMP%], .col-lg-3   [_nghost-%COMP%]   .custom-card--full[_ngcontent-%COMP%], .col-lg-3[_nghost-%COMP%]   .custom-card--simple[_ngcontent-%COMP%], .col-lg-3   [_nghost-%COMP%]   .custom-card--simple[_ngcontent-%COMP%]{padding-bottom:calc(45.12% + 107px)}@media (min-width:1024px){.col-lg-4[_nghost-%COMP%]   .custom-card--full[_ngcontent-%COMP%], .col-lg-4   [_nghost-%COMP%]   .custom-card--full[_ngcontent-%COMP%], .col-lg-4[_nghost-%COMP%]   .custom-card--simple[_ngcontent-%COMP%], .col-lg-4   [_nghost-%COMP%]   .custom-card--simple[_ngcontent-%COMP%]{padding-bottom:80%}}.col-lg-4[_nghost-%COMP%]   .custom-card--half[_ngcontent-%COMP%], .col-lg-4   [_nghost-%COMP%]   .custom-card--half[_ngcontent-%COMP%]{padding-bottom:140px}']}),e})()},JIr8:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("l7GE"),r=n("51Dv"),s=n("ZUHj");function o(e){return function(t){const n=new a(e),i=t.lift(n);return n.caught=i}}class a{constructor(e){this.selector=e}call(e,t){return t.subscribe(new c(e,this.selector,this.caught))}}class c extends i.a{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new r.a(this,void 0,void 0);this.add(i);const o=Object(s.a)(this,n,void 0,void 0,i);o!==i&&this.add(o)}}}},JUSj:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("XNiG"),r=n("1G5W"),s=n("pLZG"),o=n("lJxs"),a=n("vkgz"),c=n("fXoL"),l=n("GJzE");let u=(()=>{class e{constructor(e,t,n){this.viewContainerRef=e,this.templateRef=t,this.deviceState=n,this.onDestroy$=new i.a,this.isContentVisible=!1}ngOnInit(){this.deviceState.onDesktopStateChange.pipe(Object(r.a)(this.onDestroy$),Object(s.a)(e=>e.actualState!==this.isContentVisible),Object(o.a)(e=>e.actualState),Object(a.a)(e=>{e?this.viewContainerRef.createEmbeddedView(this.templateRef):this.viewContainerRef.clear(),this.isContentVisible=e})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(c.yc(c.X),c.yc(c.U),c.yc(l.t))},e.\u0275dir=c.tc({type:e,selectors:[["","appOnlyOnDesktop",""]]}),e})()},JUpc:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("IzEk"),r=n("bHHr"),s=n("fXoL"),o=n("GJzE"),a=n("1kSV"),c=n("sYmb");function l(e,t){if(1&e&&s.zc(0,"span",16),2&e){const e=s.Uc(2);s.bd("innerHTML",e.topRatingLabel,s.od)}}function u(e,t){1&e&&(s.Ec(0,"span",17),s.zd(1,"model-ratings-no-rates-prompt"),s.Dc())}function d(e,t){1&e&&(s.Ec(0,"span",18),s.Zc(1),s.Dc())}function h(e,t){if(1&e&&(s.Cc(0),s.Ec(1,"div",19),s.zc(2,"div",20),s.zc(3,"div",21),s.Dc(),s.Bc()),2&e){const e=s.Uc(2);s.jc(2),s.bd("innerHTML",e.signInLabel,s.od),s.jc(1),s.bd("innerHTML",e.signInLabel,s.od)}}function p(e,t){if(1&e&&s.zc(0,"div",25),2&e){const e=s.Uc(3);s.bd("innerHTML",e.userInfoLabel,s.od)}}function f(e,t){if(1&e&&(s.Ec(0,"div",22),s.zc(1,"div",23),s.xd(2,p,1,1,"div",24),s.Dc()),2&e){const e=s.Uc(2);s.jc(1),s.bd("lazyLoad",e.userModel.avatarUrl?e.userModel.avatarUrl:null),s.jc(1),s.bd("ngIf",e.model)}}function g(e,t){if(1&e){const e=s.Fc();s.Ec(0,"div",26),s.Ec(1,"ngb-alert",27),s.Qc("close",(function(){return s.nd(e),s.Uc(2).closeAlert()})),s.zd(2),s.Dc(),s.Dc()}if(2&e){const e=s.Uc(2);s.jc(1),s.bd("type","danger"),s.jc(1),s.Ad(e.alert)}}function m(e,t){if(1&e){const e=s.Fc();s.Ec(0,"div",1),s.Ec(1,"div",2),s.Qc("click",(function(t){s.nd(e);const n=s.Uc();return n.isAuthenticated?n.openUserRatesModal():n.openSignInModal(t)})),s.Ec(2,"div",3),s.Ec(3,"app-single-rate",4,5),s.Ec(5,"div",6),s.zd(6),s.Vc(7,"number"),s.Dc(),s.Dc(),s.Dc(),s.Ec(8,"div",3),s.Ec(9,"div",7),s.Ec(10,"span",8),s.xd(11,l,1,1,"span",9),s.xd(12,u,2,0,"ng-template",null,10,s.yd),s.Dc(),s.xd(14,d,2,0,"span",11),s.Dc(),s.Dc(),s.Ec(15,"div",3),s.xd(16,h,4,2,"ng-container",12),s.xd(17,f,3,2,"ng-template",null,13,s.yd),s.Dc(),s.Dc(),s.Ec(19,"div",14),s.xd(20,g,3,2,"div",15),s.Dc(),s.Dc()}if(2&e){const e=s.kd(4),t=s.kd(13),n=s.kd(18),i=s.Uc();s.jc(3),s.bd("model",i.model.averageRating),s.jc(3),s.Ad(s.Xc(7,8,e.actualRating,"1.1-1")),s.jc(5),s.bd("ngIf",i.model.hasRatings)("ngIfElse",t),s.jc(3),s.bd("ngIf",i.isAuthenticated),s.jc(2),s.bd("ngIf",!i.isAuthenticated)("ngIfElse",n),s.jc(4),s.bd("ngIf",i.showErrorAlert)}}const b=[[["","data-rate-model-prompt",""]]],v=["[data-rate-model-prompt]"];let w=(()=>{class e{constructor(e,t,n,i,r,s,o){this.authService=e,this.authModalsService=t,this.modalService=n,this.injector=i,this.translateService=r,this.getRatingsInfoService=s,this.updateRatingsService=o,this.isAuthenticated=!1,this.userModel=null,this.alert=null,this.showErrorAlert=!1,this.openRatesModalAfterSignIn=!1}get topRatingLabel(){return this.translateService.instant("model-ratings-top-rating-template",{parameter:`<strong>${this.model.topRatedRubric.label}</strong>`})}get signInLabel(){return void 0===e.signInTranslate&&(e.signInTranslate=this.translateService.instant("model-ratings-sign-in-prompt-template",{signInPrompt:`<span>${this.translateService.instant("model-ratings-sign-in-prompt")}</span>`})),e.signInTranslate}get userInfoLabel(){return void 0===e.userInfoTranslate&&(e.userInfoTranslate=this.translateService.instant("model-ratings-user-info-template",{userName:`<span>${this.userModel.userName}</span>`})),e.userInfoTranslate}ngOnInit(){this.userModelSubscription=this.authService.userModel.subscribe(t=>{e.userInfoTranslate=void 0,this.isAuthenticated=null!==t,this.userModel=t,this.isAuthenticated?this.getRatingsInfoService.getRatingsInfo(this.modelId,this.model).pipe(Object(i.a)(1)).subscribe(()=>{this.openRatesModalAfterSignIn&&(this.openUserRatesModal(),this.openRatesModalAfterSignIn=!1)}):(this.model.clearUserRates(),this.openRatesModalAfterSignIn=!1)})}ngOnDestroy(){this.userModelSubscription&&(this.userModelSubscription.unsubscribe(),this.userModelSubscription=void 0)}openSignInModal(e){e.preventDefault(),this.openRatesModalAfterSignIn=!0,this.authModalsService.openSignInModal().result.catch(()=>{this.openRatesModalAfterSignIn=!1})}openUserRatesModal(){this.modalService.dismissAll();const e=this.modalService.open(r.d,{centered:!0,size:"lg",injector:this.injector});e.componentInstance.model=this.model,e.result.then(e=>{null!==e&&this.sendRating(e)},()=>{})}closeAlert(){this.alert=null,this.showErrorAlert=!1}
1sendRating(e){this.updateRatingsService.updateRatings(this.modelId,this.model,e).pipe(Object(i.a)(1)).subscribe({error:e=>{this.alert=e.message,this.showErrorAlert=!0}})}}return e.\u0275fac=function(t){return new(t||e)(s.yc(o.f),s.yc(o.e),s.yc(a.s),s.yc(s.w),s.yc(c.e),s.yc(r.b),s.yc(r.g))},e.\u0275cmp=s.sc({type:e,selectors:[["app-model-ratings"]],inputs:{model:"model",modelId:"modelId"},ngContentSelectors:v,decls:1,vars:1,consts:[["class","model-rating-block",4,"ngIf"],[1,"model-rating-block"],[1,"row",3,"click"],[1,"col-12","col-lg-4"],[3,"model"],["rate","singleRate"],["data-rating-value","",1,"dot-rating__value"],[1,"model-rating-block__overview-block"],[1,"model-rating-block__overview","d-none","d-lg-block"],[3,"innerHTML",4,"ngIf","ngIfElse"],["noRate",""],["class","model-rating-block__mobile-overview d-lg-none",4,"ngIf"],[4,"ngIf","ngIfElse"],["isAuth",""],[1,"model-rating-block__error-action-container"],["class","model-rating-block__error-alert",4,"ngIf"],[3,"innerHTML"],["translate","",1,"model-rating-block__overview"],[1,"model-rating-block__mobile-overview","d-lg-none"],[1,"model-rating-block__auth-block"],[1,"model-rating-block__auth-action","d-none","d-lg-block",3,"innerHTML"],[1,"model-rating-block__auth-action","model-rating-block__auth-action-mobile","d-lg-none",3,"innerHTML"],[1,"model-rating-block__user","model-rating-block__auth-action","d-none","d-lg-flex"],[1,"rounded-bg-image","model-rating-block__user-avatar",3,"lazyLoad"],["class","model-rating-block__user-info ",3,"innerHTML",4,"ngIf"],[1,"model-rating-block__user-info",3,"innerHTML"],[1,"model-rating-block__error-alert"],[3,"type","close"]],template:function(e,t){1&e&&(s.ad(b),s.xd(0,m,21,11,"div",0)),2&e&&s.bd("ngIf",t.model.params.size>0)},styles:[".model-rating-block[_ngcontent-%COMP%]{margin-top:32px;padding:24px 0;border-bottom:1px solid rgba(50,50,50,.15);font-size:15px;position:relative}.model-rating-block__mobile-overview[_ngcontent-%COMP%]{display:block;margin-top:9px}.model-rating-block__auth-block[_ngcontent-%COMP%], .model-rating-block__overview-block[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}[_nghost-%COMP%]     .model-rating-block__auth-action{color:rgba(50,50,50,.35)}[_nghost-%COMP%]     .model-rating-block__auth-action span{text-decoration:underline;font-weight:700;color:var(--green-primary)}[_nghost-%COMP%]     .model-rating-block__auth-action-mobile{margin-top:9px}.model-rating-block__user[_ngcontent-%COMP%]{display:flex;align-items:center}.model-rating-block__user-avatar[_ngcontent-%COMP%]{flex-shrink:0;width:24px;height:24px;margin-right:16px;background-color:#dcdcdc}.model-rating-block__error-action-container[_ngcontent-%COMP%]{width:100%;position:absolute;bottom:-20px;left:0;text-align:center}@media (min-width:1024px){.model-rating-block[_ngcontent-%COMP%]{padding:24px;border-top:1px solid rgba(50,50,50,.15)}}@media (max-width:1024px){.model-rating-block[_ngcontent-%COMP%]{margin-top:8px}}.dot-rating__value[_ngcontent-%COMP%]{margin-left:16px;font-size:21px;font-weight:700;color:#dcdcdc}"]}),e})()},JX91:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("GyhO"),r=n("z+Ro");function s(...e){const t=e[e.length-1];return Object(r.a)(t)?(e.pop(),n=>Object(i.a)(e,n,t)):t=>Object(i.a)(e,t)}},Js68:function(e,t,n){"use strict";t.a=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},"Ju5/":function(e,t,n){"use strict";var i=n("XqMk"),r="object"==typeof self&&self&&self.Object===Object&&self,s=i.a||r||Function("return this")();t.a=s},Kj3r:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("7o/Q"),r=n("D0XW");function s(e,t=r.a){return n=>n.lift(new o(e,t))}class o{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}class a extends i.a{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function c(e){e.debouncedNext()}},KqfI:function(e,t,n){"use strict";function i(){}n.d(t,"a",(function(){return i}))},L3Qv:function(e,t,n){"use strict";t.a=function(){return!1}},LFf6:function(e,t,n){"use strict";var i=n("ylTp"),r=n("/1FC"),s=n("G8aS"),o=i.a?i.a.prototype:void 0,a=o?o.toString:void 0;t.a=function e(t){if("string"==typeof t)return t;if(Object(r.a)(t))return function(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}(t,e)+"";if(Object(s.a)(t))return a?a.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("z+Ro"),r=n("yCtX"),s=n("jZKg");function o(...e){let t=e[e.length-1];return Object(i.a)(t)?(e.pop(),Object(s.a)(e,t)):Object(r.a)(e)}},Lhse:function(e,t,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return r}));const r=i()},LrWZ:function(e,t,n){"use strict";t.a=function(e){return null==e}},ML90:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("fXoL"),r=n("XNiG"),s=n("2Vo4"),o=n("itXk"),a=n("PqYM"),c=n("HDdC"),l=n("/uUt"),u=n("1G5W"),d=n("lJxs"),h=n("vkgz"),p=n("pLZG"),f=n("IzEk"),g=n("ehPC"),m=n("GJzE");const b=["insertPoint"];let v=(()=>{class e{constructor(e,t,n,i){this.componentFactoryResolver=e,this.deviceState=t,this.widgetsFactory=n,this.shiftBannersPlacesService=i,this.widgetComponents=[],this.widgetsToRemove=[],this.onDestroy$=new r.a,this.isLoaded$=new s.a(!1)}get hostClasses(){return"col-12 col-lg-"+3*this.blockModel.width}get isComponentLoaded$(){return this.isLoaded$.asObservable()}ngOnInit(){this.insertPoint.clear(),this.widgetComponents=[],this.blockModel.widgets.filter(this.canRenderWidget,this).forEach(e=>{e instanceof g.K&&(e=this.shiftBannersPlacesService.getNextBannerWidget(e,this.widgetsFactory));const t=this.componentFactoryResolver.resolveComponentFactory(this.insertPoint.injector.get(e.getComponent(),e.getComponent())),n=this.insertPoint.createComponent(t);n.instance.widget=e,n.instance.parentBlock=this,n.instance.componentViewRef=n.hostView,this.widgetComponents.push(n.instance)}),this.widgetComponents.length>0?(Object(o.a)([...this.widgetComponents.map(e=>e.isComponentLoaded$.pipe(Object(l.a)()))]).pipe(Object(u.a)(this.onDestroy$),Object(d.a)(e=>e.every(e=>e)),Object(l.a)(),Object(h.a)(e=>{this.isLoaded$.next(e)})).subscribe(),this.isLoaded$.pipe(Object(u.a)(this.onDestroy$),Object(p.a)(e=>e),Object(f.a)(1),Object(h.a)(()=>{this.widgetsToRemove.length>0&&Object(a.a)(1).subscribe(()=>{this.ngDoCheck()})})).subscribe()):this.isLoaded$.next(!0)}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}ngDoCheck(){this.widgetsToRemove.length>0&&(this.widgetsToRemove.forEach(e=>{const t=this.insertPoint.indexOf(e.widgetViewRef);if(-1!==t&&(this.insertPoint.remove(t),this.widgetComponents.splice(t,1),null!==e.componentReplaceCallback)){const n=e.componentReplaceCallback(this.insertPoint,t);if(null!==n){const e=e=>{null!==e&&this.widgetComponents.splice(t,0,e.instance)};n instanceof c.a?n.subscribe(e):e(n)}}}),this.widgetsToRemove=[])}processEmptyWidget(e,t){this.widgetsToRemove.push({widgetViewRef:e,componentReplaceCallback:null!==t?t.getComponentReplaceCallback():null})}canRenderWidget(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.n),i.yc(m.t),i.yc(g.O),i.yc(g.J))},e.\u0275cmp=i.sc({type:e,selectors:[["app-block"]],viewQuery:function(e,t){var n;1&e&&i.ud(b,!0,i.X),2&e&&i.jd(n=i.Rc())&&(t.insertPoint=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&i.lc(t.hostClasses)},inputs:{blockModel:"blockModel"},decls:2,vars:0,consts:[["insertPoint",""]],template:function(e,t){1&e&&i.Ac(0,null,0)},encapsulation:2}),e})()},MlV6:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("fXoL"),r=n("XNiG"),s=n("1G5W"),o=n("vkgz"),a=n("GJzE");function c(e,t){if(1&e){const e=i.Fc();i.Ec(0,"app-banners-place-content",1),i.Qc("placeLoaded",(function(t){return i.nd(e),i.Uc().onPlaceLoaded(t)}))("actualBannerIdUpdated",(function(t){return i.nd(e),i.Uc().onActualBannerIdUpdated(t)})),i.Dc()}if(2&e){const e=i.Uc();i.bd("appScaledBox",e.aspectRatio)("loadingMode",e.loadingMode)("placeUrl",e.placeUrl)}}let l=(()=>{class e{constructor(e){this.bannersPlacesService=e,this.pageName=null,this.isWithoutMargin=!1,this.loadingMode="lazy",this.onDestroy$=new r.a,this.pPlaceLoaded$=new i.s(!0),this.pAspectRatio=null,this.pHasModel=!1,this.pIsCodePlace=!1,this.pPlaceUrl=null,this.pGaPlaceName=null,this.pActualBannerId=null}set aspectRatio(e){this.pAspectRatio=null!==e?Number(e):null}get aspectRatio(){return this.pIsCodePlace?null:this.pAspectRatio}get placeLoaded(){return this.pPlaceLoaded$.asObservable()}get hasModel(){return this.pHasModel}get placeUrl(){return this.pPlaceUrl}get gaPlaceName(){return this.pGaPlaceName}get actualBannerId(){return this.pActualBannerId}get withoutMargin(){return this.isWithoutMargin}ngOnInit(){this.bannersPlacesService.onBannersPlacesChanged.pipe(Object(s.a)(this.onDestroy$),Object(o.a)(e=>{this.resetBannersPlace();const t=null!==this.pageName?this.pageName:e.pageName;if(this.pHasModel=e.bannersPlacesInfo.has(t)&&e.bannersPlacesInfo.get(t).has(this.placeName),this.pHasModel){const n=e.bannersPlacesInfo.get(t).get(this.placeName);this.pPlaceUrl=n.placeUrl,this.pGaPlaceName=n.gaPlaceName}else this.pPlaceLoaded$.emit({hasModel:!1,isCodePlace:!1})})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}onPlaceLoaded(e){this.pHasModel=e.hasModel,this.pIsCodePlace=e.isCodePlace,this.pHasModel||(this.pGaPlaceName=null,this.pActualBannerId=null),this.pPlaceLoaded$.emit(e)}onActualBannerIdUpdated(e){this.pActualBannerId=e}resetBannersPlace(){this.pHasModel=!1,this.pIsCodePlace=!1,this.pPlaceUrl=null,this.pGaPlaceName=null,this.pActualBannerId=null}}return e.\u0275fac=function(t){return new(t||e)(i.yc(a.k))},e.\u0275cmp=i.sc({type:e,selectors:[["app-standalone-banners-place"]],hostVars:4,hostBindings:function(e,t){2&e&&(i.kc("data-place-name",t.gaPlaceName)("data-banner-id",t.actualBannerId),i.pc("mb-0",t.withoutMargin))},inputs:{pageName:"pageName",placeName:"placeName",isWithoutMargin:"isWithoutMargin",loadingMode:"loadingMode",aspectRatio:"aspectRatio"},outputs:{placeLoaded:"placeLoaded"},decls:1,vars:1,consts:[[3,"appScaledBox","loadingMode","placeUrl","placeLoaded","actualBannerIdUpdated",4,"ngIf"],[3,"appScaledBox","loadingMode","placeUrl","placeLoaded","actualBannerIdUpdated"]],template:function(e,t){1&e&&i.xd(0,c,1,3,"app-banners-place-content",0),2&e&&i.bd("ngIf",t.hasModel)},styles:["[_nghost-%COMP%]{display:block;margin-bottom:20px}"]}),e})()},Muja:function(e,t,n){"use strict";var i=n("EqEh");t.a=function(e,t){return Object(i.a)(e,t)}},NJ4a:function(e,t,n){"use strict";function i(e){setTimeout(()=>{throw e},0)}n.d(t,"a",(function(){return i}))},NXyV:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("HDdC"),r=n("Cfvw"),s=n("EY2u");function o(e){return new i.a(t=>{let n;try{n=e()}catch(i){return void t.error(i)}return(n?Object(r.a)(n):Object(s.b)()).subscribe(t)})}},O4lx:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("ofXK"),r=n("fXoL");let s=(()=>{class e{constructor(e,t){this.document=t,this.injectedJsFiles=new Map,this.injectedJsCodes=new Map,this.renderer=e.createRenderer(null,null)}injectJsFile(e){if("string"==typeof e&&(e={src:e}),this.injectedJsFiles.has(e.src))return this.injectedJsFiles.get(e.src);const t=this.document.getElementsByTagName("head");if(0===t.length)return Promise.reject("Can't find HEAD element in document");let n,i;this.injectedJsFiles.set(e.src,new Promise((e,t)=>{n=e,i=t}));const r=this.renderer.createElement("script");return r.onload=()=>{n()},r.onerror=e=>{i(e)},r.async=!0,Object.keys(e).forEach(t=>{r.setAttribute(t,e[t])}),this.renderer.appendChild(t.item(0),r),this.injectedJsFiles.get(e.src)}injectJsCode(e,t){if(this.injectedJsCodes.has(e))return;const n=this.document.getElementsByTagName("head");if(0===n.length)throw new Error("Can't find HEAD element in document");this.injectedJsCodes.set(e,!0);const i=this.renderer.createElement("script");this.renderer.setProperty(i,"innerHTML",t),this.renderer.appendChild(n.item(0),i)}reInjectJsScript(e){const t=this.renderer.createElement("script");e.getAttributeNames().forEach(n=>{this.renderer.setAttribute(t,n,e.getAttribute(n))}),e.innerHTML&&this.renderer.setProperty(t,"innerHTML",e.innerHTML);const n=this.renderer.parentNode(e);this.renderer.insertBefore(n,t,e),this.renderer.removeChild(n,e,!1)}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(r.M),r.Mc(i.e))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},OevD:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("fXoL"),r=n("jhN1");let s=(()=>{class e{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c))},e.\u0275pipe=i.xc({name:"safeHtml",type:e,pure:!0}),e})()},PGyc:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n("LrWZ"),r=n("XNiG"),s=n("IzEk"),o=n("1G5W"),a=n("JX91"),c=n("vkgz"),l=n("GJzE"),u=n("fXoL"),d=n("b6Qw"),h=n("kBKH");function p(e,t){if(1&e){const e=u.Fc();u.Ec(0,"button",6),u.Qc("click",(function(){return u.nd(e),u.Uc(3).acceptConsent()})),u.zd(1," cookie-consent-popup-dismiss-label "),u.Dc()}}function f(e,t){1&e&&(u.Ec(0,"button",7),u.zd(1,"\u232a"),u.Dc())}function g(e,t){if(1&e){const e=u.Fc();u.Ec(0,"div",2),u.Qc("click",(function(){return u.nd(e),u.Uc(2).switchToFullView()})),u.Ec(1,"span"),u.zd(2),u.Vc(3,"translate"),u.Ec(4,"a",3),u.zd(5,"cookie-consent-popup-link-label"),u.Dc(),u.Dc(),u.xd(6,p,2,0,"button",4),u.xd(7,f,2,0,"button",5),u.Dc()}if(2&e){const e=u.Uc(2);u.pc("is-compact",e.isCompactView),u.jc(2),u.Bd("",u.Wc(3,6,"cookie-consent-popup-message")," "),u.jc(2),u.cd("href",e.sitePrivacyPolicyUrl,u.qd),u.jc(2),u.bd("ngIf",!e.isCompactView),u.jc(1),u.bd("ngIf",e.isCompactView)}}function m(e,t){if(1&e&&(u.Cc(0),u.xd(1,g,8,8,"div",1),u.Bc()),2&e){const e=u.Uc();u.jc(1),u.bd("ngIf",!e.isConsentAccepted)}}let b=(()=>{class e{constructor(e,t,n,i){this.cookiesService=e,this.siteConfigService=t,this.fastScrollService=n,this.elementRef=i,this.pIsConsentAccepted=!0,this.pIsFullView=!1,this.pScrollBottom=0,this.onDestroy$=new r.a}get isCompactView(){return!this.pIsConsentAccepted&&!this.pIsFullView&&this.pScrollBottom<=this.elementRef.nativeElement.offsetTop-30}get isConsentAccepted(){return this.pIsConsentAccepted}ngOnInit(){if(this.siteConfigService.allConfig.pipe(Object(s.a)(1)).subscribe(e=>{null!==e.mainConfig.cookieConsentSettings&&(this.cookieConsentSettings=e.mainConfig.cookieConsentSettings,this.sitePrivacyPolicyUrl=e.oldUrls.sitePrivacyPolicy,this.pIsConsentAccepted=this.cookiesService.check(this.cookieConsentSettings.name))}),Object(l.Kb)()){const e=Object(l.Jb)();this.fastScrollService.scroll$.pipe(Object(o.a)(this.onDestroy$),Object(a.a)({top:e.scrollY,bottom:e.scrollY+e.innerHe
1ight}),Object(c.a)(e=>{this.pScrollBottom=e.bottom})).subscribe()}}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}switchToFullView(){return this.pIsFullView=!0}acceptConsent(){Object(i.a)(this.cookieConsentSettings)||(this.cookiesService.set(this.cookieConsentSettings.name,"dismiss",{path:this.cookieConsentSettings.path,domain:this.cookieConsentSettings.domain,expires:this.cookieConsentSettings.expiryDays,secure:this.cookieConsentSettings.secure}),this.pIsConsentAccepted=this.cookiesService.check(this.cookieConsentSettings.name))}}return e.\u0275fac=function(t){return new(t||e)(u.yc(d.a),u.yc(h.c),u.yc(l.u),u.yc(u.q))},e.\u0275cmp=u.sc({type:e,selectors:[["app-cookie-consent-popup"]],decls:1,vars:0,consts:[[4,"appOnlyInBrowser"],["class","pop-out__container",3,"is-compact","click",4,"ngIf"],[1,"pop-out__container",3,"click"],["translate","",3,"href"],["type","button","class","pop-out__accept","translate","",3,"click",4,"ngIf"],["class","pop-out__toggle",4,"ngIf"],["type","button","translate","",1,"pop-out__accept",3,"click"],[1,"pop-out__toggle"]],template:function(e,t){1&e&&u.xd(0,m,2,1,"ng-container",0)},styles:[".pop-out__container[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;background-color:var(--green-primary);color:#fff;font-size:16px;line-height:24px;padding:16px 28px;box-sizing:border-box;z-index:10}.pop-out__container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;text-decoration:underline;white-space:nowrap}.pop-out__container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-overflow:unset;overflow:unset;white-space:unset;width:calc(100% - 88px)}@media (min-width:768px){.pop-out__container[_ngcontent-%COMP%]{flex-direction:row;height:auto;align-items:center;-moz-column-gap:2em;column-gap:2em}}@media (min-width:1800px){.pop-out__container[_ngcontent-%COMP%]{padding:16px calc(50% - 892px)}}.pop-out__container.is-compact[_ngcontent-%COMP%]{padding-top:6px;height:40px;align-items:flex-start}.pop-out__container.is-compact[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:unset;max-width:1660px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.pop-out__toggle[_ngcontent-%COMP%]{position:absolute;bottom:-5px;left:50%;background-color:unset;border:unset;outline:unset;color:#fff;font-size:40px;transform:translateX(-50%) rotate(90deg);padding:unset;margin-left:0!important;margin-top:0}.pop-out__accept[_ngcontent-%COMP%]{background-color:var(--green-primary);color:#fff;padding:.4em .8em;border-radius:5px;text-align:center;border:2px solid #fff;box-sizing:border-box}@media (min-width:768px){.pop-out__accept[_ngcontent-%COMP%]{margin-top:unset}}@media (min-width:768px){.pop-out__text[_ngcontent-%COMP%]{max-width:72%}}.privacy__container[_ngcontent-%COMP%]{position:fixed;min-height:calc(100% - 160px);background-color:#fff;padding:0 10px;top:160px;bottom:0;overflow-y:scroll;z-index:2}@media (min-width:992px){.privacy__container[_ngcontent-%COMP%]{top:320px;min-height:calc(100% - 320px)}}@media (min-width:1600px){.privacy__container[_ngcontent-%COMP%]{padding:0 calc(50% - 790px)}}.privacy__detail[_ngcontent-%COMP%]{padding:40px 32px;margin-bottom:10px;line-height:1.6;font-size:18px;box-shadow:0 4px 15px rgba(0,0,0,.5)}"]}),e})()},PLBQ:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"h",(function(){return a})),n.d(t,"c",(function(){return c.a})),n.d(t,"f",(function(){return l.a})),n.d(t,"a",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"g",(function(){return b}));var i=n("ehPC");class r extends i.c{constructor(e,t){super(e),this.width=e,this.id=t,this.pType=i.q.CurrencyInformer}getComponent(){return c.a}}class s extends i.i{constructor(e,t,n,r){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.id=r,this.pType=i.R.CurrencyInformer}getComponent(){return l.a}}class o{constructor(e,t,n){this.id=e,this.adapterName=t,this.widget=n}}function a(e){return new o(e.id,e.adapterName,e.widget)}var c=n("VuEF"),l=n("d8+s"),u=n("LRne"),d=n("lJxs"),h=n("GJzE"),p=n("fXoL"),f=n("tk/3");let g=(()=>{class e{constructor(e,t,n){this.http=e,this.transferStateService=t,this.siteApiHostInfo=n}doCompoundRequest(e){var t,n;const i={request:{}};if(e.currencyInformers.count>0){const n={template:"default",filter:{count:e.currencyInformers.count},fields:e.currencyInformers.fields.join()};e.currencyInformers.onlyForHomePage&&(n.filter.onlyForHomePage=!0),e.currencyInformers.exceptForHomePage&&(n.filter.exceptForHomePage=!0),(null===(t=e.selectedCurrencyInformers.selectedIds)||void 0===t?void 0:t.length)>0&&(n.filter.excludedIds=e.selectedCurrencyInformers.selectedIds),i.request.items=n}(null===(n=e.selectedCurrencyInformers.selectedIds)||void 0===n?void 0:n.length)>0&&(i.request.selectedItems={template:"selectedCurrencyRates",filter:{selectedIds:e.selectedCurrencyInformers.selectedIds},fields:e.selectedCurrencyInformers.fields.join()});const r=Object(h.Hb)(i),s=this.transferStateService.makeStateKey("compound-currency-informer-models-"+r);return this.transferStateService.hasKey(s)?Object(u.a)(this.buildCompoundResult(this.transferStateService.restoreData(s,null))):(Object.keys(i.request).length>0?this.http.get(this.siteApiHostInfo+"api3/currency-informers/compound",{params:r}):Object(u.a)({})).pipe(Object(h.Tb)(this.transferStateService,s),Object(d.a)(this.buildCompoundResult))}doSimpleRequest(e){e.fields&&(e.expand=e.fields,delete e.fields);const t=Object(h.Hb)(e),n=this.transferStateService.makeStateKey("simple-currency-informer-models-"+t);return this.transferStateService.hasKey(n)?Object(u.a)(this.buildSimpleResult(this.transferStateService.restoreData(n,null))):this.http.get(this.siteApiHostInfo+"api3/currency-informers",{params:t}).pipe(Object(h.Tb)(this.transferStateService,n),Object(d.a)(this.buildSimpleResult))}buildCompoundResult(e){var t;return e.items&&(e.items=Array.isArray(e.items)?e.items.map(a):new h.ob((t=e.items).currencyInformers.map(a),t._meta.currentPage,t._meta.pageCount,t._meta.perPage,t._meta.totalCount)),e.selectedItems&&Object.keys(e.selectedItems).forEac
1h(t=>{e.selectedItems[t]=a(e.selectedItems[t])}),e}buildSimpleResult(e){return e.hasOwnProperty("_meta")?new h.ob(e.currencyInformers.map(a),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount):(e=e.currencyInformers||[],Array.isArray(e)?e.map(a):(Object.keys(e).forEach(t=>{e[t]=a(e[t])}),e))}}return e.\u0275fac=function(t){return new(t||e)(p.Mc(f.b),p.Mc(h.yb),p.Mc(h.hb))},e.\u0275prov=p.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const m=new p.v("Currency informers service with simple items"),b=new p.v("Currency informers service with selected items")},PqYM:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("HDdC"),r=n("D0XW"),s=n("DH7j");function o(e){return!Object(s.a)(e)&&e-parseFloat(e)+1>=0}var a=n("z+Ro");function c(e=0,t,n){let s=-1;return o(t)?s=Number(t)<1?1:Number(t):Object(a.a)(t)&&(n=t),Object(a.a)(n)||(n=r.a),new i.a(t=>{const i=o(e)?e:+e-n.now();return n.schedule(l,i,{index:0,period:s,subscriber:t})})}function l(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}},QNIm:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("fXoL"),r=n("DKs6");let s=(()=>{class e{constructor(e,t,n){this.viewContainerRef=e,this.templateRef=t,this.deviceState=n}ngOnInit(){this.deviceState.isServerApp?this.viewContainerRef.createEmbeddedView(this.templateRef):this.viewContainerRef.clear()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(r.a))},e.\u0275dir=i.tc({type:e,selectors:[["","appOnlyOnServer",""]]}),e})()},QPoD:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var i=n("PqYM"),r=n("lJxs"),s=n("GQzd"),o=n("AytR"),a=n("fXoL"),c=n("GJzE");function l(e,t){if(1&e&&a.zc(0,"app-placeholder",5),2&e){const e=a.Uc();a.bd("width",e.card.width)("height",1)}}function u(e,t){if(1&e&&(a.Ec(0,"span",19),a.zd(1),a.Dc()),2&e){const e=a.Uc(3).singleNews;a.jc(1),a.Ad(e.label)}}function d(e,t){1&e&&(a.Tc(),a.Ec(0,"svg",20),a.zc(1,"use",21),a.Dc())}function h(e,t){1&e&&(a.Tc(),a.Ec(0,"svg",20),a.zc(1,"use",22),a.Dc())}function p(e,t){if(1&e&&(a.Ec(0,"div",16),a.xd(1,u,2,1,"span",17),a.xd(2,d,2,0,"svg",18),a.xd(3,h,2,0,"svg",18),a.Dc()),2&e){const e=a.Uc(2).singleNews;a.jc(1),a.bd("ngIf",e.label.length>0),a.jc(1),a.bd("ngIf",e.hasPictures),a.jc(1),a.bd("ngIf",e.hasVideo)}}function f(e,t){if(1&e&&(a.Cc(0),a.xd(1,p,4,3,"div",15),a.Bc()),2&e){const e=a.Uc().singleNews;a.jc(1),a.bd("ngIf",e.hasPictures||e.hasVideo||e.label.length>0)}}function g(e,t){1&e&&(a.Ec(0,"div",23),a.zd(1,"\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0440\u043e\u0441\u0442 \u0447\u0438\u0441\u043b\u0430 \u043d\u043e\u0432\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441\u0430 \u0432 \u0423\u043a\u0440\u0430\u0438\u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0431\u043e\u043b\u0435\u0435 10%. "),a.Dc())}function m(e,t){if(1&e&&(a.Ec(0,"div",24),a.Ec(1,"a",25),a.Tc(),a.Ec(2,"svg",20),a.zc(3,"use",26),a.Dc(),a.Sc(),a.Ec(4,"span"),a.zd(5),a.Vc(6,"number"),a.Dc(),a.Dc(),a.Dc()),2&e){const e=a.Uc().singleNews;a.jc(1),a.dd("fragment","comments-",e.id,""),a.bd("appNewsUrl",e),a.jc(4),a.Ad(a.Wc(6,3,e.commentsCount))}}function b(e,t){if(1&e&&(a.Ec(0,"article",6),a.zc(1,"a",7),a.xd(2,f,2,1,"ng-container",8),a.Ec(3,"div",9),a.Ec(4,"div",10),a.Ec(5,"a",11),a.zd(6),a.Dc(),a.Dc(),a.xd(7,g,2,0,"ng-template"),a.Ec(8,"div",12),a.Ec(9,"div",13),a.zd(10),a.Dc(),a.xd(11,m,7,5,"div",14),a.Dc(),a.Dc(),a.Dc()),2&e){const e=t.singleNews;a.jc(1),a.bd("appNewsUrl",e)("lazyLoad",e.cardPosterUrl),a.jc(1),a.bd("ngIf",null!==e.cardPosterUrl),a.jc(3),a.cd("title",e.title),a.bd("appNewsUrl",e),a.jc(1),a.Ad(e.title),a.jc(4),a.Ad(e.friendlyPublishDate.join(", ")),a.jc(1),a.bd("ngIf",e.allowComment&&e.commentsCount>0)}}function v(e,t){if(1&e&&(a.Ec(0,"span",19),a.zd(1),a.Dc()),2&e){const e=a.Uc(3).singleNews;a.jc(1),a.Ad(e.label)}}function w(e,t){1&e&&(a.Tc(),a.Ec(0,"svg",20),a.zc(1,"use",21),a.Dc())}function y(e,t){1&e&&(a.Tc(),a.Ec(0,"svg",20),a.zc(1,"use",22),a.Dc())}function C(e,t){if(1&e&&(a.Ec(0,"div",16),a.xd(1,v,2,1,"span",17),a.xd(2,w,2,0,"svg",18),a.xd(3,y,2,0,"svg",18),a.Dc()),2&e){const e=a.Uc(2).singleNews;a.jc(1),a.bd("ngIf",e.label.length>0),a.jc(1),a.bd("ngIf",e.hasPictures),a.jc(1),a.bd("ngIf",e.hasVideo)}}function _(e,t){if(1&e&&(a.Cc(0),a.xd(1,C,4,3,"div",15),a.Bc()),2&e){const e=a.Uc().singleNews;a.jc(1),a.bd("ngIf",e.hasPictures||e.hasVideo||e.label.length>0)}}function x(e,t){if(1&e&&(a.Ec(0,"div",24),a.Ec(1,"a",25),a.Tc(),a.Ec(2,"svg",20),a.zc(3,"use",26),a.Dc(),a.Sc(),a.Ec(4,"span"),a.zd(5),a.Vc(6,"number"),a.Dc(),a.Dc(),a.Dc()),2&e){const e=a.Uc().singleNews;a.jc(1),a.dd("fragment","comments-",e.id,""),a.bd("appNewsUrl",e),a.jc(4),a.Ad(a.Wc(6,3,e.commentsCount))}}function O(e,t){if(1&e&&(a.Ec(0,"article",27),a.zc(1,"a",7),a.xd(2,_,2,1,"ng-container",8),a.Ec(3,"div",9),a.Ec(4,"div",10),a.Ec(5,"a",11),a.zd(6),a.Dc(),a.Dc(),a.Ec(7,"div",12),a.Ec(8,"div",13),a.zd(9),a.Dc(),a.xd(10,x,7,5,"div",14),a.Dc(),a.Dc(),a.Dc()),2&e){const e=t.singleNews;a.jc(1),a.bd("appNewsUrl",e)("lazyLoad",e.rectanglePosterUrl),a.jc(1),a.bd("ngIf",null!==e.cardPosterUrl),a.jc(3),a.cd("title",e.title),a.bd("appNewsUrl",e),a.jc(1),a.Ad(e.title),a.jc(3),a.Ad(e.friendlyPublishDate.join(", ")),a.jc(1),a.bd("ngIf",e.allowComment&&e.commentsCount>0)}}function S(e,t){if(1&e&&(a.Ec(0,"div",30),a.zd(1),a.Dc()),2&e){const e=a.Uc().singleNews;a.jc(1),a.Ad(e.label)}}function E(e,t){if(1&e&&(a.Ec(0,"div",24),a.Ec(1,"a",25),a.Tc(),a.Ec(2,"svg",20),a.zc(3,"use",26),a.Dc(),a.Sc(),a.Ec(4,"span"),a.zd(5),a.Vc(6,"number"),a.Dc(),a.Dc(),a.Dc()),2&e){const e=a.Uc().singleNews;a.jc(1),a.dd("fragment","comments-",e.id,""),a.bd("appNewsUrl",e),a.jc(4),a.Ad(a.Wc(6,3,e.commentsCount))}}function P(e,t){if(1&e&&(a.Ec(0,"article",28),a.Ec(1,"div",9),a.Ec(2,"div",10),a.Ec(3,"a",11),a.zd(4),a.Dc(),a.Dc(),a.Ec(5,"div",12),a.Ec(6,"div",13),a.xd(7,S,2,1,"div",29),a.zd(8),a.Dc(),a.xd(9,E,7,5,"div",14),a.Dc(),a.Dc(),a.Dc()),2&e){const e=t.singleNews;a.jc(3),a.cd("title",e.title),a.bd("appNewsUrl",e),a.jc(1),a.Ad(e.title),a.jc(3),a.bd("ngIf",e.label.length>0),a.jc(1),a.Bd(" ",e.friendlyPublishDate.join(", ")," "),a.jc(1),a.bd("ngIf",e.allowComment&&e.commentsCount>0)}}let k=(()=>{class e extends s.b{constructor(e,t,n){super(e),this.newsService=t,this.selectedNewsService=n}ngOnInit(){super.ngOnInit()}getModels(){if(null===this.newsService||null===this.selectedNewsService)throw new Error("News services must be injected");return null!==this.card.id?this.selectedNewsService.getSelectedNews(this.card.id):this.newsService.getFillCard(this.card,this.card.onlyNonCommercialNews).pipe(Object(r.a)(e=>null!==e?e[0]:null))}renderCard(e){this.models=e;const t=()=>{if(this.insertPoint.clear(),Array.isArray(this.models)){if(1!==this.models.length)return void this.models.forEac
1h(e=>{this.insertPoint.createEmbeddedView(this.singleNewsTemplate,{singleNews:e})});this.models=this.models[0]}const e=this.models;this.insertPoint.createEmbeddedView(null!==(2===this.card.width?e.cardPosterUrl:e.rectanglePosterUrl)?2===this.card.width?this.doubleNewsTemplate:this.halfNewsTemplate:this.singleNewsTemplate,{singleNews:e})};o.a.useLoadingDelay?Object(i.a)(1500).subscribe(t):t()}}return e.\u0275fac=function(t){return new(t||e)(a.yc(c.fb),a.yc(s.j,8),a.yc(s.s,8))},e.\u0275cmp=a.sc({type:e,selectors:[["app-shared-simple-news"]],features:[a.gc],decls:10,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["doubleNews",""],["halfNews",""],["simpleNews",""],[3,"width","height"],[1,"article-card","article-card--double"],[1,"article-card__poster",3,"appNewsUrl","lazyLoad"],[4,"ngIf"],[1,"article-card__content"],[1,"article-card__title"],[3,"appNewsUrl","title"],[1,"article-card__info"],[1,"article-card__date"],["class","card-actions",4,"ngIf"],["class","article-card__subinfo",4,"ngIf"],[1,"article-card__subinfo"],["class","article-card__subinfo--toaster",4,"ngIf"],["width","20","height","20",4,"ngIf"],[1,"article-card__subinfo--toaster"],["width","20","height","20"],[0,"xlink","href","#icon-photo"],[0,"xlink","href","#icon-video"],[1,"article-card__subtitle"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],[0,"xlink","href","#icon-comment"],[1,"article-card","article-card--half"],[1,"article-card","article-card--simple"],["class","article-card__date--toaster",4,"ngIf"],[1,"article-card__date--toaster"]],template:function(e,t){1&e&&(a.Ac(0,null,0),a.xd(2,l,1,2,"app-placeholder",1),a.Vc(3,"async"),a.xd(4,b,12,8,"ng-template",null,2,a.yd),a.xd(6,O,11,8,"ng-template",null,3,a.yd),a.xd(8,P,10,6,"ng-template",null,4,a.yd)),2&e&&(a.jc(2),a.bd("ngIf",!a.Wc(3,1,t.isComponentLoaded$)))},styles:['.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;max-width:calc(100% - 16px);top:12px;left:0}.article-card__subinfo--toaster[_ngcontent-%COMP%]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;line-height:16px}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card__date--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px;margin-bottom:8px;color:var(--green-primary);font-size:14px;position:relative;top:1px;line-height:14px;text-transform:uppercase}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--double[_ngcontent-%COMP%]{padding-bottom:137.2%;color:#fff}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.article-card--double[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding:16px}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{line-height:1;font-size:30px;font-weight:700}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{margin-top:16px;font-size:18px}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.35)}.article-card--double[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:hsla(0,0%,100%,.35)}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:relative;padding-bottom:47.6%}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:16px 24px}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;margin-top:4px;margin-right:10px;color:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:none}.article-card--double[_ngcontent-%COMP%]{padding-bottom:45.12%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8
1%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{display:none}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:12px 16px}}@media (min-width:1200px){.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{font-size:36px}}.card-actions[_ngcontent-%COMP%]{display:flex;margin-left:20px}.card-actions__item[_ngcontent-%COMP%]{color:inherit}.card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;fill:var(--green-primary)}.card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;color:inherit}']}),e})()},QauM:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("GJzE"),r=n("fXoL");let s=(()=>{class e{constructor(e,t,n){this.insertPoint=e,this.templateRef=t,this.placeholderComponent=n.resolveComponentFactory(i.X)}set appLoadingPlaceholder(e){this.isDone=Boolean(e)}ngOnChanges(e){if(e.appLoadingPlaceholder)if(this.insertPoint.clear(),this.isDone)this.insertPoint.createEmbeddedView(this.templateRef);else{const e=this.insertPoint.createComponent(this.placeholderComponent);e.instance.width=this.appLoadingPlaceholderWidth,e.instance.height=this.appLoadingPlaceholderHeight}}}return e.\u0275fac=function(t){return new(t||e)(r.yc(r.X),r.yc(r.U),r.yc(r.n))},e.\u0275dir=r.tc({type:e,selectors:[["","appLoadingPlaceholder",""]],inputs:{appLoadingPlaceholderWidth:"appLoadingPlaceholderWidth",appLoadingPlaceholderHeight:"appLoadingPlaceholderHeight",appLoadingPlaceholder:"appLoadingPlaceholder"},features:[r.hc]}),e})()},Rhl8:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class i{constructor(e,t,n,i,r){this.id=e,this.publishName=t,this.publishPost=n,this.authorUrl=i,this.avatarUrl=r}}function r(e){const t=new i;return Object.assign(t,e),t}},SLGL:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("fXoL"),r=n("XNiG"),s=n("itXk"),o=n("VRyK"),a=n("HDdC"),c=n("/uUt"),l=n("1G5W"),u=n("lJxs"),d=n("vkgz"),h=n("IzEk"),p=n("Gi4w"),f=n("ehPC"),g=n("GJzE");const m=["insertPoint"];function b(e,t){}let v=(()=>{class e extends f.j{constructor(e,t,n,i,s,o){super(e,t),this.componentFactoryResolver=n,this.deviceState=i,this.cardsFactory=s,this.emptyCardProcessorsFactory=o,this.hostClasses="row",this.cardComponents=[],this.onDestroy$=new r.a}ngOnInit(){this.insertPoint.clear(),this.cardComponents=[],this.widget.cards.filter(this.canRenderCard,this).forEach((e,t)=>{const n=this.componentFactoryResolver.resolveComponentFactory(this.insertPoint.injector.get(e.getComponent(),e.getComponent())),i=this.insertPoint.createComponent(n);this.setUpCardInstance(i,e,t),this.cardComponents.push(i.instance)}),this.cardComponents.length>0?Object(s.a)([...this.cardComponents.map(e=>e.isComponentLoaded$.pipe(Object(c.a)()))]).pipe(Object(l.a)(this.onDestroy$),Object(u.a)(e=>e.every(e=>e)),Object(c.a)(),Object(d.a)(e=>{this.isLoaded$.next(e)})).subscribe():this.emitComponentLoaded(),Object(o.a)(...this.cardComponents.map(e=>e.isComponentHasData$.pipe(Object(h.a)(1)))).pipe(Object(p.a)(e=>!e)).subscribe(e=>{e?this.emitEmptyData():this.emitHasData()})}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}processEmptyCard(e,t){const n=null!==this.emptyCardProcessorsFactory?this.emptyCardProcessorsFactory.getSubstituteProcessor(e):null;if(null===n){const e=this.insertPoint.indexOf(t);-1!==e&&(this.insertPoint.remove(e),this.cardComponents.splice(e,1))}else{const e=e=>{-1!==e.index&&this.cardComponents.splice(e.index,1,...e.newCardsComponents.map(e=>e.instance))},i=n.getComponentReplaceCallback()(this.injector,this,this.insertPoint,t);i instanceof a.a?i.pipe(Object(h.a)(1)).subscribe(e):e(i)}}setUpCardInstance(e,t,n){const i=e.instance;i.card=t,i.parentContainer=this,i.containerRef=e}canRenderCard(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}}return e.\u0275fac=function(t){return new(t||e)(i.yc(f.A,8),i.yc(i.w),i.yc(i.n),i.yc(g.t),i.yc(f.p),i.yc(f.z,8))},e.\u0275cmp=i.sc({type:e,selectors:[["app-cards-container"]],viewQuery:function(e,t){var n;1&e&&i.ud(m,!0,i.X),2&e&&i.jd(n=i.Rc())&&(t.insertPoint=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&i.lc(t.hostClasses)},features:[i.gc],decls:2,vars:0,consts:[["insertPoint",""]],template:function(e,t){1&e&&i.xd(0,b,0,0,"ng-template",null,0,i.yd)},encapsulation:2}),e})()},SPLc:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var i=n("XNiG"),r=n("VRyK"),s=n("xgIS"),o=n("/uUt"),a=n("pLZG"),c=n("v
1kgz"),l=n("1G5W"),u=n("eIep"),d=n("IzEk"),h=n("lJxs"),p=n("y96F"),f=n("GJzE"),g=n("fXoL"),m=n("sYmb");function b(e,t){1&e&&(g.Ec(0,"h3",6),g.zd(1," model-comments-title"),g.Dc())}function v(e,t){if(1&e){const e=g.Fc();g.Ec(0,"app-comment-form",7),g.Qc("commentCreated",(function(t){return g.nd(e),g.Uc(2).addNewComment(t)}))("errorOccurred",(function(t){return g.nd(e),g.Uc(2).updateServerErrors(t)})),g.Dc()}if(2&e){const e=g.Uc(2);g.bd("pageId",e.pageId)}}function w(e,t){if(1&e&&(g.Ec(0,"p"),g.zd(1),g.Dc()),2&e){const e=g.Uc().$implicit;g.jc(1),g.Ad(e)}}function y(e,t){if(1&e&&(g.Ec(0,"div"),g.xd(1,w,2,1,"p",5),g.Dc()),2&e){const e=t.$implicit;g.jc(1),g.bd("ngIf",e)}}function C(e,t){if(1&e){const e=g.Fc();g.Cc(0),g.Ec(1,"div",8),g.Ec(2,"app-comments-list",9),g.Qc("click",(function(t){return g.nd(e),g.Uc(3).getFullCommentsList(t)})),g.Ec(3,"div",10),g.Ec(4,"div",11),g.zd(5,"model-comments-sort-title"),g.Dc(),g.Ec(6,"span",12),g.Qc("click",(function(t){return g.nd(e),g.Uc(3).getFullCommentsList(t,"oldestFirst")})),g.zd(7,"model-comments-sort-oldest-first-label "),g.Dc(),g.Ec(8,"span",13),g.Qc("click",(function(t){return g.nd(e),g.Uc(3).getFullCommentsList(t,"newestFirst")})),g.zd(9,"model-comments-sort-newest-first-label "),g.Dc(),g.Dc(),g.zc(10,"div",14),g.Dc(),g.Dc(),g.Ec(11,"div",15),g.Ec(12,"button",16),g.Qc("click",(function(t){return g.nd(e),g.Uc(3).getFullCommentsList(t)})),g.Ec(13,"span"),g.zd(14),g.Dc(),g.Dc(),g.Dc(),g.Bc()}if(2&e){const e=g.Uc(3);g.jc(2),g.bd("models",e.models)("pageId",e.pageId)("isAllowComment",e.isAllowComment)("isInPreviewMode",!0),g.jc(12),g.Ad(e.commentCountLabel)}}function _(e,t){if(1&e){const e=g.Fc();g.Ec(0,"div"),g.Ec(1,"app-comments-list",17),g.Ec(2,"div",18),g.Ec(3,"div",11),g.zd(4,"model-comments-sort-title"),g.Dc(),g.Ec(5,"span",13),g.Qc("click",(function(t){return g.nd(e),g.Uc(3).onSortClick(t,"oldestFirst")})),g.zd(6,"model-comments-sort-oldest-first-label "),g.Dc(),g.Ec(7,"span",13),g.Qc("click",(function(t){return g.nd(e),g.Uc(3).onSortClick(t,"newestFirst")})),g.zd(8,"model-comments-sort-newest-first-label "),g.Dc(),g.Dc(),g.Dc(),g.Dc()}if(2&e){const e=g.Uc(3);g.jc(1),g.bd("models",e.models)("pageId",e.pageId)("isAllowComment",e.isAllowComment)("isInPreviewMode",!1),g.jc(4),g.pc("comments-sort__type--active",e.isOldestCommentsFirst),g.jc(2),g.pc("comments-sort__type--active",e.isNewestCommentsFirst)}}function x(e,t){if(1&e&&(g.Cc(0),g.xd(1,C,15,5,"ng-container",5),g.xd(2,_,9,8,"div",5),g.Bc()),2&e){const e=g.Uc(2);g.jc(1),g.bd("ngIf",e.isInPreviewMode),g.jc(1),g.bd("ngIf",!e.isInPreviewMode)}}function O(e,t){if(1&e&&(g.Ec(0,"div",1),g.xd(1,b,2,0,"h3",2),g.xd(2,v,1,1,"app-comment-form",3),g.xd(3,y,2,1,"div",4),g.xd(4,x,3,2,"ng-container",5),g.Dc()),2&e){const e=g.Uc();g.jc(1),g.bd("ngIf",e.isAllowComment||null!==e.models&&e.models.length>0),g.jc(1),g.bd("ngIf",e.isAllowComment),g.jc(1),g.bd("ngForOf",e.errorMessages),g.jc(1),g.bd("ngIf",null!==e.models&&e.models.length>0)}}let S=(()=>{class e{constructor(e,t,n,r,s){this.listCommentsService=e,this.localStorageService=t,this.authService=n,this.translateService=r,this.elementRef=s,this.errorMessages=[],this.isInPreviewMode=!0,this.onDestroy$=new i.a,this.sortType$=new i.a,this.newCommentsBuffer=[],this.shadowSortType=this.getSortType()}get commentCountLabel(){return this.translateService.instant("model-comments-show-all-label",{commentsCount:this.commentsCount})}get isNewestCommentsFirst(){return"newestFirst"===this.shadowSortType}get isOldestCommentsFirst(){return"oldestFirst"===this.shadowSortType}ngOnInit(){this.isInPreviewMode=null!==this.models&&this.models.length>0,Object(r.a)(this.authService.userModel.pipe(Object(o.a)(),Object(a.a)(()=>!this.isInPreviewMode)),this.sortType$.pipe(Object(o.a)(),Object(c.a)(e=>{this.setSortType(e)}))).pipe(Object(l.a)(this.onDestroy$),Object(u.a)(()=>this.refreshCommentsList(this.getSortType()).pipe(Object(c.a)(()=>{this.shadowSortType=this.getSortType()})))).subscribe(()=>{this.isInPreviewMode=!1,this.newCommentsBuffer.length>0&&(this.models=this.appendNewCommentsToModels(this.newCommentsBuffer,this.models),this.newCommentsBuffer=[])}),Object(s.a)(this.elementRef.nativeElement,"commentDeleted").pipe(Object(l.a)(this.onDestroy$),Object(o.a)(),Object(u.a)(()=>this.refreshCommentsList(this.getSortType()))).subscribe(),Object(s.a)(this.elementRef.nativeElement,"commentErrors").pipe(Object(l.a)(this.onDestroy$),Object(o.a)(),Object(c.a)(e=>this.updateServerErrors(e.detail.errors))).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}updateServerErrors(e){this.errorMessages=e}addNewComment(e){this.isInPreviewMode?(e.isModerated||this.newCommentsBuffer.push(e),++this.commentsCount):this.models=this.appendNewCommentsToModels(e,this.models)}getFullCommentsList(e,t=null){e.preventDefault(),e.stopPropagation(),this.sortType$.next(null!==t?t:this.getSortType())}onSortClick(e,t){this.getFullCommentsList(e,t)}appendNewCommentsToModels(e,t){Array.isArray(e)||(e=[e]);const n=this.getSortType();switch(n){case"newestFirst":return[...e.reverse(),...t];case"oldestFirst":return[...t,...e];default:throw new Error("Unknown comments sort type: "+n)}}getSortType(){const t=this.localStorageService.localStorage.getItem(e.SORT_TYPE_KEY);return null!==t?t:"oldestFirst"}setSortType(t){null===t?this.localStorageService.localStorage.removeItem(e.SORT_TYPE_KEY):this.localStorageService.localStorage.setItem(e.SORT_TYPE_KEY,t)}refreshCommentsList(e){return this.listCommentsService.listComments(this.pageId,{sort:e,pagination:{page:1,perPage:0},fields:["content","userName","isUserLiked","isUserDisliked","likesCount","dislikesCount","avatarUrl","friendlyPublishDate","isAnonymous","isModerated","childrenTree","canBeDeleted"]}).pipe(Object(d.a)(1),Object(h.a)(e=>Object(f.Ob)(e)?e.models:e),Object(c.a)(e=>{this.models=e}))}}return e.SORT_TYPE_KEY="commentsSort",e.\u0275fac=function(t){return new(t||e)(g.yc(p.m),g.yc(f.E),g.yc(f.f),g.yc(m.e),g.yc(g.q))},e.\u0275cmp=g.sc({type:e,selectors:[["app-comments"]],inputs:{pageId:"pageId",commentsCount:"commentsCount",models:"models",isAllowComment:"isAllowComment",isAllowShowCommentsList:"isAllowShowCommentsList"},decls:1,vars:1,consts:[["class","comments-section",4,"ngIf"],[1,"comments-section"],["class","comments-section__title","translate","",4,"ngIf"],[3,"pageId","commentCreated","errorOccurred",4,"ngIf"],[4,"ngFor","ngForOf"],[4,"ngIf"],["translate","",1,"comments-section__title"],[3,"pageId","commentCreated","errorOccurred"],[2,"position","relative"],[3,"models","pageId","isAllowComment","isInPreviewMode","click"],[1,"comments-sort"],["translate","",1,"comments-sort__title"],["translate","",1,"comments-sort__type","comments-sort__type--active",3,"click"],["translate","",1,"comments-sort__type",3,"click"],[1,"comments-section__bottom-white-gradient"],[1,"comments-section__more-comments-btn"],[1,"btn","btn--outline-black",3,"click"],[3,"models","pageId","isAllowComment","isInPreviewMode"],[1,"comments-section__sort","comments-sort"]],template:function(e,t){1&e&&g.xd(0,O,5,4,"div",0),2&e&&g.bd("ngIf",t.isAllowShowCommentsList)},styles:['.comments-section__title[_ngcontent-%COMP%]{font-size:21px;font-weight:700}.comments-section__more-comments-btn[_ngcontent-%COMP%]{text-align:center}
1.comments-section__bottom-white-gradient[_ngcontent-%COMP%]{height:30%;background:linear-gradient(hsla(0,0%,100%,0),#fff);width:100%;position:absolute;bottom:0}.comments-sort[_ngcontent-%COMP%]{display:flex;align-items:center;margin:24px 0;font-size:16px}.comments-sort__title[_ngcontent-%COMP%]{font-weight:700}.comments-sort__type[_ngcontent-%COMP%]{margin-left:12px;padding:2px;border:1px solid transparent;border-radius:5px}.comments-sort__type--active[_ngcontent-%COMP%]{color:var(--green-primary);border-color:var(--green-primary)}.comments-sort__type[_ngcontent-%COMP%]:hover{cursor:pointer}@media (min-width:1024px){.comments-sort__type[_ngcontent-%COMP%]{padding:0;color:rgba(50,50,50,.35);border:0}.comments-sort__type[_ngcontent-%COMP%]:last-child{margin-left:0}.comments-sort__type[_ngcontent-%COMP%]:last-child:before{margin:0 12px;content:"|";color:rgba(50,50,50,.35)}.comments-sort__type--active[_ngcontent-%COMP%]{color:var(--green-primary);border-color:transparent}}']}),e})()},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("ngJS"),r=n("NJ4a"),s=n("Lhse"),o=n("kJWO"),a=n("I55L"),c=n("c2HN"),l=n("XoHu");const u=e=>{if(e&&"function"==typeof e[o.a])return u=e,e=>{const t=u[o.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(i.a)(e);if(Object(c.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e);if(e&&"function"==typeof e[s.a])return t=e,e=>{const n=t[s.a]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(l.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,u}},SpAZ:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",(function(){return i}))},SxV6:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("sVev"),r=n("pLZG"),s=n("IzEk"),o=n("xbPD"),a=n("XDbj"),c=n("SpAZ");function l(e,t){const n=arguments.length>=2;return l=>l.pipe(e?Object(r.a)((t,n)=>e(t,n,l)):c.a,Object(s.a)(1),n?Object(o.a)(t):Object(a.a)(()=>new i.a))}},TFwu:function(e,t,n){"use strict";var i=n("25cm"),r=n("jN84"),s=n("mkut");t.a=function(e){return Object(i.a)(e,s.a,r.a)}},"Tj+J":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("GJzE"),r=n("fXoL");function s(e,t){if(1&e){const e=r.Fc();r.Ec(0,"div",1),r.zc(1,"div",2),r.Ec(2,"div",3),r.Ec(3,"button",4),r.Qc("click",(function(){return r.nd(e),r.Uc().close()})),r.zd(4,"\xd7"),r.Dc(),r.Ec(5,"app-standalone-banners-place",5),r.Qc("placeLoaded",(function(t){return r.nd(e),r.Uc().onPlaceLoaded(t)})),r.Dc(),r.Dc(),r.Dc()}if(2&e){const e=r.Uc();r.pc("is-visible",e.isShown),r.jc(5),r.bd("aspectRatio",e.aspectRatio)("loadingMode",null)("pageName",e.pageName)("placeName",e.placeName)}}let o=(()=>{class e extends i.Y{constructor(){super(...arguments),this.pageName="site",this.placeName="Popup on mobile devices",this.pAspectRatio=163}isNeedToShow(e,t){return e||t}}return e.\u0275fac=function(t){return a(t||e)},e.\u0275cmp=r.sc({type:e,selectors:[["app-main-page-popup-banners-place"]],inputs:{pageName:"pageName",placeName:"placeName"},features:[r.gc],decls:1,vars:1,consts:[["class","popup-banner",3,"is-visible",4,"ngIf"],[1,"popup-banner"],[1,"popup-banner__overlay"],[1,"popup-banner__content"],["type","button",1,"popup-banner__close",3,"click"],[3,"aspectRatio","loadingMode","pageName","placeName","placeLoaded"]],template:function(e,t){1&e&&r.xd(0,s,6,6,"div",0),2&e&&r.bd("ngIf",t.canBeShown)},styles:[".popup-banner[_ngcontent-%COMP%]{display:none;position:fixed;z-index:70;top:0;left:0;width:100%;height:100%}.popup-banner.is-visible[_ngcontent-%COMP%]{display:block}.popup-banner__overlay[_ngcontent-%COMP%]{width:100%;height:100%;background-color:rgba(50,50,50,.35)}.popup-banner__content[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;padding:16px 0;text-align:center}.popup-banner__content[_ngcontent-%COMP%]   .popup-banner__close[_ngcontent-%COMP%]{padding:0;position:absolute;z-index:10;top:5px;right:5px;width:48px;height:48px;text-align:center;border:0;border-radius:50%;background-color:hsla(0,0%,100%,.95);color:rgba(50,50,50,.35);font-size:36px}"]}),e})();const a=r.Gc(o)},U6JX:function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},U7oc:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}
1));var i=n("fXoL"),r=n("PqYM"),s=n("ehPC"),o=n("AytR"),a=n("ofXK"),c=n("pI7v"),l=n("wf0l");const u=["insertPoint"],d=["fullFill"],h=["withoutPoster"];function p(e,t){if(1&e&&i.zc(0,"app-placeholder",4),2&e){const e=i.Uc();i.bd("width",e.widget.width)("height",e.widget.height)}}function f(e,t){if(1&e&&(i.Ec(0,"div",10),i.Ec(1,"span",11),i.zd(2),i.Dc(),i.Dc()),2&e){const e=i.Uc(2);i.jc(2),i.Ad(e.widget.label)}}function g(e,t){if(1&e&&(i.Ec(0,"a",12),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.cd("href",e.url,i.qd),i.cd("title",e.label),i.kc("rel",e.rel),i.jc(1),i.Bd(" ",e.label," ")}}function m(e,t){if(1&e&&(i.Ec(0,"article",5),i.zc(1,"a",6),i.xd(2,f,3,1,"div",7),i.Ec(3,"div",8),i.xd(4,g,2,4,"a",9),i.Dc(),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("lazyLoad",e.posterImageUrl),i.kc("href",e.posterLinkUrl,i.qd)("rel",e.posterLinkRel),i.jc(1),i.bd("ngIf",e.hasLabel),i.jc(2),i.bd("ngForOf",e.customLinks)}}function b(e,t){if(1&e&&(i.Ec(0,"div",10),i.Ec(1,"span",11),i.zd(2),i.Dc(),i.Dc()),2&e){const e=i.Uc(2);i.jc(2),i.Ad(e.widget.label)}}function v(e,t){if(1&e&&(i.Ec(0,"a",12),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.cd("href",e.url,i.qd),i.cd("title",e.label),i.kc("rel",e.rel),i.jc(1),i.Bd(" ",e.label," ")}}function w(e,t){if(1&e&&(i.Ec(0,"article",13),i.xd(1,b,3,1,"div",7),i.Ec(2,"div",8),i.xd(3,v,2,4,"a",9),i.Dc(),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngIf",e.hasLabel),i.jc(2),i.bd("ngForOf",e.customLinks)}}let y=(()=>{class e extends s.j{constructor(e,t){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.needInstantSubstitute=!1,this.pAspectRatio=null,this.pPosterImageUrl=null,this.pPosterLinkUrl=null,this.pPosterLinkRel=null,this.pHasLabel=!1,this.pCustomLinks=[]}get aspectRatio(){return this.pAspectRatio}get posterImageUrl(){return this.pPosterImageUrl}get posterLinkUrl(){return this.pPosterLinkUrl}get posterLinkRel(){return this.pPosterLinkRel}get hasLabel(){return this.pHasLabel}get customLinks(){return this.pCustomLinks}ngOnInit(){this.pAspectRatio=`${this.widget.width}/${.75*this.widget.height}`,this.pPosterImageUrl=this.widget.posterUrl,1===this.widget.links.length&&(this.pPosterLinkUrl=this.widget.links[0].url,this.pPosterLinkRel=this.widget.links[0].noFollow?"nofollow":null),this.pHasLabel=null!==this.widget.label,this.pCustomLinks=this.widget.links.map(e=>({url:e.url,label:e.label,rel:e.noFollow?"nofollow":null}));const e=()=>{this.emitHasData(),this.emitComponentLoaded(),this.insertPoint.clear(),this.insertPoint.createEmbeddedView(s.y.WithoutPoster===this.widget.posterType?this.withoutPosterTemplate:this.fullFillTemplate)};o.a.useLoadingDelay?Object(r.a)(1500).subscribe(e):e()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(s.A,8),i.yc(i.w))},e.\u0275cmp=i.sc({type:e,selectors:[["app-custom-widget"]],viewQuery:function(e,t){var n;1&e&&(i.ud(u,!0,i.X),i.ud(d,!0),i.ud(h,!0)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.fullFillTemplate=n.first),i.jd(n=i.Rc())&&(t.withoutPosterTemplate=n.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.wd("aspect-ratio",t.aspectRatio)},features:[i.gc],decls:8,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["fullFill",""],["withoutPoster",""],[3,"width","height"],[1,"custom-widget","custom-widget--full"],[1,"custom-widget__poster",3,"lazyLoad"],["class","custom-widget__info",4,"ngIf"],[1,"custom-widget__content"],[3,"href","title",4,"ngFor","ngForOf"],[1,"custom-widget__info"],[1,"custom-widget__info--toaster"],[3,"href","title"],[1,"custom-widget","custom-widget--simple"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,p,1,2,"app-placeholder",1),i.Vc(3,"async"),i.xd(4,m,5,5,"ng-template",null,2,i.yd),i.xd(6,w,4,2,"ng-template",null,3,i.yd)),2&e&&(i.jc(2),i.bd("ngIf",!i.Wc(3,1,t.isComponentLoaded$)))},directives:[a.u,c.a,l.a,a.t],pipes:[a.b],styles:['[_nghost-%COMP%]{display:block;padding-bottom:24px}@media (max-width:1024px){[_nghost-%COMP%]{padding-bottom:15px;aspect-ratio:100/75!important}}.custom-widget[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:100%;border-bottom:1px solid rgba(50,50,50,.15)}.custom-widget__poster[_ngcontent-%COMP%]{background-position:50%;background-size:cover;background-color:#e6e6e6}.custom-widget__poster[_ngcontent-%COMP%], .custom-widget__poster[_ngcontent-%COMP%]:after{display:block;position:absolute;top:0;left:0;width:100%;height:100%}.custom-widget__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.custom-widget__content[_ngcontent-%COMP%]{width:100%;position:absolute;bottom:0;left:0;padding:16px 24px}.custom-widget__content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:100%;margin-top:8px;display:inline;font-size:xx-small}.custom-widget__info[_ngcontent-%COMP%]{display:block;position:absolute;top:12px;left:0}.custom-widget__info--toaster[_ngcontent-%COMP%]{margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;font-weight:700;line-height:16px}.custom-widget--full[_ngcontent-%COMP%]   .custom-widget__content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:700;color:#fff}.custom-widget--simple[_ngcontent-%COMP%]   .custom-widget__info--toaster[_ngcontent-%COMP%]{color:#323232;border-color:#323232}@media (min-width:1024px){.custom-widget[_ngcontent-%COMP%]{border-bottom:0}.custom-widget__content[_ngcontent-%COMP%]{padding:12px 16px}.custom-widget--full[_ngcontent-%COMP%]{border-bottom:0}.custom-widget--full[_ngcontent-%COMP%]   .custom-widget__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8
1%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}}']}),e})()},U9Oy:function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var i=n("ofXK"),r=n("tyNb"),s=n("3Pt+"),o=n("nhfI"),a=n("jCJ1"),c=n("wf0l"),l=n("pj/B"),u=n("iQdX"),d=n("1kSV"),h=n("eLTN"),p=n("2FYO"),f=n("p3ot"),g=n("XhrQ"),m=n("GJzE"),b=n("s8G/"),v=n("fXoL"),w=n("sYmb"),y=n("6NWb"),C=n("0st4");let _=(()=>{class e{}return e.\u0275mod=v.wc({type:e}),e.\u0275inj=v.vc({factory:function(t){return new(t||e)},imports:[[i.c,o.c,s.z,a.f,a.d,r.h,b.b,c.b,d.o,d.N,l.b.withConfig({prop:{odnoklassniki:{type:"odnoklassniki",text:"\u041e\u0434\u043d\u043e\u043a\u043b\u0430\u0441\u0441\u043d\u0438\u043a\u0438",icon:["fab","odnoklassniki"],color:"#f68634",share:{desktop:"https://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1"},params:{url:"url",description:"text"}},"my-mailru":{type:"my-mailru",text:"\u041c\u043e\u0439 \u041c\u0438\u0440",ariaLabel:"Share on Mail.ru",icon:["fas","at"],color:"#168de2",share:{desktop:"https://connect.mail.ru/share?"},params:{url:"url",title:"title",description:"text",image:"image"}},viber:{share:{desktop:"viber://forward?"},params:{url:"url",title:"title",description:"text",image:"image"}},vkontakte:{type:"vkontakte",text:"VKontakte",ariaLabel:"Share on VKontakte",icon:["fab","vk"],color:"#2787f5",share:{desktop:"https://vk.com/share.php?"},params:{url:"url"}},facebook:{method:u.f.Window},twitter:{method:u.f.Window}}})]]}),e})();v.rd(m.j,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,s.F,s.u,s.E,s.c,s.v,s.y,s.a,s.B,s.C,s.x,s.p,s.q,s.A,s.m,s.l,s.w,s.b,s.d,s.g,s.i,s.h,s.j,s.e,a.c,a.g,r.i,r.e,r.g,r.f,r.k,w.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,y.b,y.a,y.d,y.f,y.e,y.g,y.h,C.a,l.a,m.p,m.O,m.P,m.Q,m.cb,m.lb,m.j,m.vb,m.Y,m.H,m.K,m.q,m.tb,m.c,m.wb,m.B,m.x,m.sb,m.v,m.z,m.D,m.N,m.R,m.S,m.gb,m.mb,m.X,m.db,m.Z,h.a,g.a,m.I,m.L,m.W,m.ub,m.pb,m.U,p.a,f.d,f.c,f.b,f.a,m.qb,m.rb,m.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,w.d,m.kb]),v.rd(m.vb,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,s.F,s.u,s.E,s.c,s.v,s.y,s.a,s.B,s.C,s.x,s.p,s.q,s.A,s.m,s.l,s.w,s.b,s.d,s.g,s.i,s.h,s.j,s.e,a.c,a.g,r.i,r.e,r.g,r.f,r.k,w.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,y.b,y.a,y.d,y.f,y.e,y.g,y.h,C.a,l.a,m.p,m.O,m.P,m.Q,m.cb,m.lb,m.j,m.vb,m.Y,m.H,m.K,m.q,m.tb,m.c,m.wb,m.B,m.x,m.sb,m.v,m.z,m.D,m.N,m.R,m.S,m.gb,m.mb,m.X,m.db,m.Z,h.a,g.a,m.I,m.L,m.W,m.ub,m.pb,m.U,p.a,f.d,f.c,f.b,f.a,m.qb,m.rb,m.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,w.d,m.kb]),v.rd(m.Y,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,s.F,s.u,s.E,s.c,s.v,s.y,s.a,s.B,s.C,s.x,s.p,s.q,s.A,s.m,s.l,s.w,s.b,s.d,s.g,s.i,s.h,s.j,s.e,a.c,a.g,r.i,r.e,r.g,r.f,r.k,w.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,y.b,y.a,y.d,y.f,y.e,y.g,y.h,C.a,l.a,m.p,m.O,m.P,m.Q,m.cb,m.lb,m.j,m.vb,m.Y,m.H,m.K,m.q,m.tb,m.c,m.wb,m.B,m.x,m.sb,m.v,m.z,m.D,m.N,m.R,m.S,m.gb,m.mb,m.X,m.db,m.Z,h.a,g.a,m.I,m.L,m.W,m.ub,m.pb,m.U,p.a,f.d,f.c,f.b,f.a,m.qb,m.rb,m.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,w.d,m.kb]),v.rd(m.H,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,s.F,s.u,s.E,s.c,s.v,s.y,s.a,s.B,s.C,s.x,s.p,s.q,s.A,s.m,s.l,s.w,s.b,s.d,s.g,s.i,s.h,s.j,s.e,a.c,a.g,r.i,r.e,r.g,r.f,r.k,w.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,y.b,y.a,y.d,y.f,y.e,y.g,y.h,C.a,l.a,m.p,m.O,m.P,m.Q,m.cb,m.lb,m.j,m.vb,m.Y,m.H,m.K,m.q,m.tb,m.c,m.wb,m.B,m.x,m.sb,m.v,m.z,m.D,m.N,m.R,m.S,m.gb,m.mb,m.X,m.db,m.Z,h.a,g.a,m.I,m.L,m.W,m.ub,m.pb,m.U,p.a,f.d,f.c,f.b,f.a,m.qb,m.rb,m.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,w.d,m.kb]),v.rd(m.K,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,s.F,s.u,s.E,s.c,s.v,s.y,s.a,s.B,s.C,s.x,s.p,s.q,s.A,s.m,s.l,s.w,s.b,s.d,s.g,s.i,s.h,s.j,s.e,a.c,a.g,r.i,r.e,r.g,r.f,r.k,w.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,y.b,y.a,y.d,y.f,y.e,y.g,y.h,C.a,l.a,m.p,m.O,m.P,m.Q,m.cb,m.lb,m.j,m.vb,m.Y,m.H,m.K,m.q,m.tb,m.c,m.wb,m.B,m.x,m.sb,m.v,m.z,m.D,m.N,m.R,m.S,m.gb,m.mb,m.X,m.db,m.Z,h.a,g.a,m.I,m.L,m.W,m.ub,m.pb,m.U,p.a,f.d,f.c,f.b,f.a,m.qb,m.rb,m.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,w.d,m.kb]),v.rd(m.q,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,s.F,s.u,s.E,s.c,s.v,s.y,s.a,s.B,s.C,s.x,s.p,s.q,s.A,s.m,s.l,s.w,s.b,s.d,s.g,s.i,s.h,s.j,s.e,a.c,a.g,r.i,r.e,r.g,r.f,r.k,w.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,y.b,y.a,y.d,y.f,y.e,y.g,y.h,C.a,l.a,m.p,m.O,m.P,m.Q,m.cb,m.lb,m.j,m.vb,m.Y,m.H,m.K,m.q,m.tb,m.c,m.wb,m.B,m.x,m.sb,m.v,m.z,m.D,m.N,m.R,m.S,m.gb,m.mb,m.X,m.db,m.Z,h.a,g.a,m.I,m.L,m.W,m.ub,m.pb,m.U,p.a,f.d,f.c,f.b,f.a,m.qb,m.rb,m.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,w.d,m.kb]),v.rd(m.x,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,s.F,s.u,s.E,s.c,s.v,s.y,s.a,s.B,s.C,s.x,s.p,s.q,s.A,s.m,s.l,s.w,s.b,s.d,s.g,s.i,s.h,s.j,s.e,a.c,a.g,r.i,r.e,r.g,r.f,r.k,w.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,y.b,y.a,y.d,y.f,y.e,y.g,y.h,C.a,l.a,m.p,m.O,m.P,m.Q,m.cb,m.lb,m.j,m.vb,m.Y,m.H,m.K,m.q,m.tb,m.c,m.wb,m.B,m.x,m.sb,m.v,m.z,m.D,m.N,m.R,m.S,m.gb,m.mb,m.X,m.db,m.Z,h.a,g.a,m.I,m.L,m.W,m.ub,m.pb,m.U,p.a,f.d,f.c,f.b,f.a,m.qb,m.rb,m.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,w.d,m.kb]),v.rd(m.db,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,s.F,s.u,s.E,s.c,s.v,s.y,s.a,s.B,s.C,s.x,s.p,s.q,s.A,s.m,s.l,s.w,s.b,s.d,s.g,s.i,s.h,s.j,s.e,a.c,a.g,r.i,r.e,r.g,r.f,r.k,w.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,y.b,y.a,y.d,y.f,y.e,y.g,y.h,C.a,l.a,m.p,m.O,m.P,m.Q,m.cb,m.lb,m.j,m.vb,m.Y,m.H,m.K,m.q,m.tb,m.c,m.wb,m.B,m.x,m.sb,m.v,m.z,m.D,m.N,m.R,m.S,m.gb,m.mb,m.X,m.db,m.Z,h.a,g.a,m.I,m.L,m.W,m.ub,m.pb,m.U,p.a,f.d,f.c,f.b,f.a,m.qb,m.rb,m.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,w.d,m.kb]),v.rd(m.qb,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,s.F,s.u,s.E,s.c,s.v,s.y,s.a,s.B,s.C,s.x,s.p,s.q,s.A,s.m,s.l,s.w,s.b,s.d,s.g,s.i,s.h,s.j,s.e,a.c,a.g,r.i,r.e,r.g,r.f,r.k,w.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,y.b,y.a,y.d,y.f,y.e,y.g,y.h,C.a,l.a,m.p,m.O,m.P,m.Q,m.cb,m.lb,m.j,m.vb,m.Y,m.H,m.K,m.q,m.tb,m.c,m.wb,m.B,m.x,m.sb,m.v,m.z,m.D,m.N,m.R,m.S,m.gb,m.mb,m.X,m.db,m.Z,h.a,g.a,m.I,m.L,m.W,m.ub,m.pb,m.U,p.a,f.d,f.c,f.b,f.a,m.qb,m.rb,m.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,w.d,m.kb])},UBAy:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("fXoL"),r=n("XNiG"),s=n("GJzE"),o=n("jhN1");function a(e,t){if(1&e&&i.zc(0,"iframe",4),2&e){const e=i.Uc(3);i.bd("src",e.placeUrl,i.pd),i.kc("loading",e.loadingMode)("data-banner-placeholder",e.isLoading)}}function c(e,t){if(1&e&&(i.Ec(0,"div"),i.zc(1,"div",9),i.Vc(2,"safeHtml"),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.bd("innerHTML",i.Wc(2,1,e.content),i.od)}}function l(e,t){if(1&e){const e=i.Fc();i.Ec(0,"swiper",7),i.Qc("indexChange",(function(t){i.nd(e);const n=i.Uc(4);
1return n.updateActualBannerId(n.codeBanners[t].id)})),i.xd(1,c,3,3,"div",8),i.Dc()}if(2&e){const e=i.Uc(4);i.bd("config",e.sliderConfig),i.jc(1),i.bd("ngForOf",e.codeBanners)}}function u(e,t){if(1&e&&(i.zc(0,"div",10),i.Vc(1,"safeHtml")),2&e){const e=i.Uc(4);i.bd("innerHTML",i.Wc(1,1,e.codeBanners[0].content),i.od)}}function d(e,t){if(1&e&&(i.xd(0,l,2,2,"swiper",5),i.xd(1,u,2,3,"ng-template",null,6,i.yd)),2&e){const e=i.kd(2),t=i.Uc(3);i.bd("ngIf",t.codeBanners.length>1)("ngIfElse",e)}}function h(e,t){if(1&e&&(i.Cc(0),i.xd(1,a,1,3,"iframe",2),i.xd(2,d,3,2,"ng-template",null,3,i.yd),i.Bc()),2&e){const e=i.kd(3),t=i.Uc(2);i.jc(1),i.bd("ngIf",!t.isCodeBanner)("ngIfElse",e)}}function p(e,t){1&e&&(i.Cc(0),i.xd(1,h,4,2,"ng-container",1),i.Bc())}let f=(()=>{class e{constructor(e,t,n,s){this.bannersPlacesService=e,this.domSanitizer=t,this.jsInjector=n,this.bannerSlideDuration=s,this.loadingMode="lazy",this.sliderConfig={autoplay:{delay:5e3},effect:"fade",fadeEffect:{crossFade:!0},allowTouchMove:!1,simulateTouch:!1},this.onDestroy$=new r.a,this.onPlaceLoaded$=new i.s,this.pActualBannerIdUpdated$=new i.s(!0),this.pWrapperId=null,this.pHasModel=!0,this.pActualBannerId=null,this.pIsCodeBanner=!1,this.pCodeBanners=[],this.pIsLoading=!0,this.placeAction=null}get placeLoaded(){return this.onPlaceLoaded$.asObservable()}get actualBannerIdUpdated(){return this.pActualBannerIdUpdated$.asObservable()}get hasModel(){return this.pHasModel}set placeUrl(e){const t=new URL(e);t.searchParams.set("widgetId",this.wrapperId),this.pPlaceUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(t.toString()),this.resetBannersPlace(),this.pIsLoading=!0}get placeUrl(){return this.pPlaceUrl}get wrapperId(){return null===this.pWrapperId&&(this.pWrapperId="banners-place-content-"+ ++e.widgetCounter),this.pWrapperId}get isCodeBanner(){return this.pIsCodeBanner}get codeBanners(){return this.pCodeBanners}get isLoading(){return this.pIsLoading?"":null}ngOnInit(){this.bannersPlacesService.registerComponent(this.wrapperId,this),this.sliderConfig.autoplay.delay=this.bannerSlideDuration}ngOnDestroy(){this.bannersPlacesService.unregisterComponent(this.wrapperId),this.onDestroy$.next(),this.onDestroy$.complete()}updateActualBannerId(e){this.pIsLoading?(this.placeAction="updateActualBannerId",this.pActualBannerId=e,this.processBanner()):this.pActualBannerIdUpdated$.emit(e)}removeBannersPlaceWrapper(){this.placeAction="remove",this.processBanner()}replaceWithCodeBanner(e){this.placeAction="replaceByCodeBanners",this.pCodeBanners=e,this.processBanner()}processBanner(){setTimeout(()=>{this.pIsLoading=!1;let e=!1;switch(this.placeAction){case"remove":this.resetBannersPlace(),this.pHasModel=!1;break;case"replaceByCodeBanners":this.pIsCodeBanner=!0,this.pCodeBanners.forEach(e=>{const t=[];e.libraryScripts.forEach(e=>{t.push(this.jsInjector.injectJsFile(e))}),null!==e.headScript&&Object.keys(e.headScript).forEach(t=>{this.jsInjector.injectJsCode(t,e.headScript[t])}),Promise.all(t).catch(()=>{})}),this.pActualBannerId=this.pCodeBanners[0].id;case"updateActualBannerId":e=!0}this.placeAction=null,this.onPlaceLoaded$.emit({hasModel:this.pHasModel,isCodePlace:this.pIsCodeBanner}),e&&this.pActualBannerIdUpdated$.emit(this.pActualBannerId)})}resetBannersPlace(){this.pHasModel=!0,this.pActualBannerId=null,this.pIsCodeBanner=!1,this.pCodeBanners=[],this.placeAction=null}}return e.widgetCounter=0,e.\u0275fac=function(t){return new(t||e)(i.yc(s.k),i.yc(o.c),i.yc(s.A),i.yc(s.g))},e.\u0275cmp=i.sc({type:e,selectors:[["app-banners-place-content"]],hostVars:1,hostBindings:function(e,t){2&e&&i.Hc("id",t.wrapperId)},inputs:{loadingMode:"loadingMode",placeUrl:"placeUrl"},outputs:{placeLoaded:"placeLoaded",actualBannerIdUpdated:"actualBannerIdUpdated"},decls:1,vars:1,consts:[[4,"ngIf"],[4,"appOnlyInBrowser"],["data-banner-anchor","",3,"src",4,"ngIf","ngIfElse"],["codeBanner",""],["data-banner-anchor","",3,"src"],["appRunScripts","",3,"config","indexChange",4,"ngIf","ngIfElse"],["singleItem",""],["appRunScripts","",3,"config","indexChange"],[4,"ngFor","ngForOf"],["data-place-content","",3,"innerHTML"],["data-place-content","","appRunScripts","",3,"innerHTML"]],template:function(e,t){1&e&&i.xd(0,p,2,0,"ng-container",0),2&e&&i.bd("ngIf",t.hasModel)},styles:["[_nghost-%COMP%]{display:block;text-align:center}[_nghost-%COMP%]   iframe[data-banner-anchor][_ngcontent-%COMP%]{height:100%;width:100%;border:none}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%], [_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block{width:100%;height:100%}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block a.image-banner-link{display:block;width:100%;height:100%}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block a.image-banner-link img{width:100%;height:100%;-o-object-fit:scale-down;object-fit:scale-down}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block a.wrapper-banner-link{position:absolute;z-index:5;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block iframe{width:100%;height:100%}"]}),e})()},UXun:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("jtHE");function r(e,t,n){let r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let s,o,a=0,c=!1,l=!1;return function(u){a++,s&&!c||(c=!1,s=new i.a(e,t,r),o=u.subscribe({next(e){s.next(e)},error(e){c=!0,s.error(e)},complete(){l=!0,o=void 0,s.complete()}}));const d=s.subscribe(this);this.add(()=>{a--,d.unsubscribe(),o&&!l&&n&&0===a&&(o.unsubscribe(),o=void 0,s=void 0)})}}(r))}},UudT:function(e,t,n){"use strict";var i=n("U6JX"),r=Object(i.a)(Object.getPrototypeOf,Object);t.a=r},VDON:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("XNiG"),r=n("1G5W"),s=n("IzEk"),o=n("vkgz"),a=n("fXoL"),c=n("kBKH");function l(e,t){if(1&e&&a.zc(0,"app-picture",6),2&e){const e=a.Uc();a.bd("model",e.headerImage)}}function u(e,t){if(1&e&&a.zc(0,"app-special-link",7),2&e){const e=a.Uc();a.bd("model",e.inHeader)}}function d(e,t){if(1&e&&a.zc(0,"div",8),2&e){const e=a.Uc();a.bd("lazyLoad",e.cityLogoUrl)}}let h=(()=>{class e{constructor(e){this.configService=e,this.hostClass="d-none d-lg-block",this.pLogoUrl=null,this.pCityLogoUrl=null,this.pHeaderImage=null,this.pInHeader=null,this.onDestroy$=new i.a}get inHeader(){return this.pInHeader}get headerImage(){return this.pHeaderImage}get cityLogoUrl(){return this.pCityLogoUrl}get logoUrl(){return this.pLogoUrl}
1get hasMenuItemInHeader(){return null!==this.pInHeader}get hasCityLogo(){return!this.hasMenuItemInHeader&&null!==this.pCityLogoUrl}ngOnInit(){this.configService.allConfig.pipe(Object(r.a)(this.onDestroy$),Object(s.a)(1),Object(o.a)(e=>{this.pLogoUrl=e.mainConfig.logoUrl,this.pHeaderImage=e.mainConfig.headerImage,this.pCityLogoUrl=e.mainConfig.cityLogoUrl,this.pInHeader=e.navigation.inHeader})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(a.yc(c.c))},e.\u0275cmp=a.sc({type:e,selectors:[["app-header-poster"]],hostVars:2,hostBindings:function(e,t){2&e&&a.lc(t.hostClass)},decls:6,vars:4,consts:[[1,"container-fluid"],[2,"position","relative"],[1,"logo-inside-header",3,"logoUrl"],["class","head-poster",3,"model",4,"ngIf"],["class","special-link",3,"model",4,"ngIf"],["class","city-logo__wrapper",3,"lazyLoad",4,"ngIf"],[1,"head-poster",3,"model"],[1,"special-link",3,"model"],[1,"city-logo__wrapper",3,"lazyLoad"]],template:function(e,t){1&e&&(a.Ec(0,"div",0),a.Ec(1,"div",1),a.zc(2,"app-site-logo",2),a.xd(3,l,1,1,"app-picture",3),a.xd(4,u,1,1,"app-special-link",4),a.xd(5,d,1,1,"div",5),a.Dc(),a.Dc()),2&e&&(a.jc(2),a.cd("logoUrl",t.logoUrl),a.jc(1),a.bd("ngIf",t.headerImage),a.jc(1),a.bd("ngIf",t.hasMenuItemInHeader),a.jc(1),a.bd("ngIf",t.hasCityLogo))},styles:["[_nghost-%COMP%]{text-align:center;margin-bottom:20px}[_nghost-%COMP%]     img{max-width:100%;height:auto;min-height:94px}[_nghost-%COMP%]   .head-poster[_ngcontent-%COMP%]{position:relative;display:flex;height:94px;overflow:hidden}[_nghost-%COMP%]   .head-poster[_ngcontent-%COMP%]     picture{flex-grow:1}[_nghost-%COMP%]   .head-poster[_ngcontent-%COMP%]     picture img{-o-object-fit:cover;object-fit:cover;-o-object-position:left;object-position:left;width:100%;min-height:100%}[_nghost-%COMP%]   .logo-inside-header[_ngcontent-%COMP%]{display:var(--logo-inside-header)}[_nghost-%COMP%]   .logo-inside-header[_ngcontent-%COMP%]     .logo, [_nghost-%COMP%]   .logo-inside-header[_ngcontent-%COMP%]     .logo-cap{position:absolute;z-index:1;left:36px;top:50%;height:unset;transform:translateY(-50%);max-height:100%}[_nghost-%COMP%]   .logo-inside-header[_ngcontent-%COMP%]     .logo img{min-height:unset;max-height:72px}[_nghost-%COMP%]   .city-logo__wrapper[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);height:calc(100% - 20px);background-size:contain;background-position:50%;background-repeat:no-repeat;width:300px;right:80px}[_nghost-%COMP%]   .special-link[_ngcontent-%COMP%]{position:absolute;right:0;top:0;min-width:400px;height:100%}"],changeDetection:0}),e})()},VMQv:function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return x}));var i=function(e){return e[e.Ads=0]="Ads",e[e.Auto=1]="Auto",e[e.Estate=2]="Estate",e[e.Resume=3]="Resume",e[e.Vacancy=4]="Vacancy",e}({});class r{constructor(e,t,n,i,r,s,o,a,c){this.id=e,this.title=t,this.fromDate=n,this.toDate=i,this.friendlyFromDate=r,this.friendlyToDate=s,this.viewsCount=o,this.url=a,this.posterUrl=c}get type(){return this.pType}}class s extends r{constructor(){super(...arguments),this.pType=i.Ads}}class o extends r{constructor(){super(...arguments),this.pType=i.Auto}}class a extends r{constructor(){super(...arguments),this.pType=i.Estate}}class c extends r{constructor(){super(...arguments),this.pType=i.Resume}}class l extends r{constructor(){super(...arguments),this.pType=i.Vacancy}}function u(e){let t;switch(e.type){case"doska":t=new s(e.id);break;case"auto":t=new o(e.id);break;case"estate":t=new a(e.id);break;case"resume":t=new c(e.id);break;case"vacancy":t=new l(e.id);break;default:throw new Error("Unknown ads type: "+e.type)}return delete e.type,Object.assign(t,e),t}var d=n("ehPC");class h extends d.i{constructor(e,t,n,i,r,s,o,a,c){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.label=i,this.itemsCount=r,this.promoNewsLabel=s,this.promoNewsLink=o,this.placeHereLabel=a,this.placeHereLink=c,this.pType=d.R.AdsTeaser}getComponent(){return b}}var p=n("PqYM"),f=n("IzEk"),g=n("AytR"),m=n("fXoL");let b=(()=>{class e extends d.j{constructor(e,t,n){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.adsService=n}ngOnInit(){this.adsService.getNextTeaserAds(this.widget.itemsCount).pipe(Object(f.a)(1)).subscribe(e=>{this.models=e,null!==e?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};g.a.useLoadingDelay?Object(p.a)(1500).subscribe(t):t()})}}return e.\u0275fac=function(t){return new(t||e)(m.yc(d.A,8),m.yc(m.w),m.yc(v))},e.\u0275cmp=m.sc({type:e,selectors:[["app-shared-ads-teaser"]],features:[m.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();const v=new m.v("Ads service with teaser");var w=n("LRne"),y=n("lJxs"),C=n("GJzE"),_=n("tk/3");let x=(()=>{class e{constructor(e,t,n){this.http=e,this.transferStateService=t,this.siteApiHostInfo=n}requestAds(e){const t={request:{}};
1e.teaserAds.count>0&&(t.request.teaserAds={filter:{count:e.teaserAds.count},fields:["title","url","posterUrl","friendlyFromDate","viewsCount"].join()});const n=Object(C.Hb)(t),i=this.transferStateService.makeStateKey("ads-models-"+n);return this.transferStateService.hasKey(i)?Object(w.a)(this.buildModels(this.transferStateService.restoreData(i,null))):(Object.keys(t.request).length>0?this.http.get(this.siteApiHostInfo+"api3/ads/compound",{params:n}):Object(w.a)({})).pipe(Object(C.Tb)(this.transferStateService,i),Object(y.a)(this.buildModels))}buildModels(e){return e.teaserAds&&(e.teaserAds=e.teaserAds.map(u)),e}}return e.\u0275fac=function(t){return new(t||e)(m.Mc(_.b),m.Mc(C.yb),m.Mc(C.hb))},e.\u0275prov=m.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("z+Ro"),s=n("bHdf"),o=n("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return Object(r.a)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof i.a?e[0]:Object(s.a)(t)(Object(o.a)(e,n))}},VuEF:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("lJxs"),r=n("ehPC"),s=n("PLBQ"),o=n("fXoL");function a(e,t){if(1&e&&(o.zc(0,"div",1),o.Vc(1,"safeHtml")),2&e){const e=o.Uc();o.bd("outerHTML",o.Wc(1,1,e.models.widget),o.od)}}let c=(()=>{class e extends r.d{constructor(e,t){super(),this.itemsService=e,this.selectedItemsService=t}ngOnInit(){super.ngOnInit()}getModels(){const e=null!==this.card.id;if(e&&null===this.selectedItemsService||!e&&null===this.itemsService)throw new Error("Required services must be injected");return e?this.selectedItemsService.getSelectedCurrencyInformer(this.card.id):this.itemsService.getNextCurrencyInformers(1).pipe(Object(i.a)(e=>null!==e?e[0]:null))}renderCard(e){this.models=e}}return e.\u0275fac=function(t){return new(t||e)(o.yc(s.d,8),o.yc(s.g,8))},e.\u0275cmp=o.sc({type:e,selectors:[["app-currency-informer-card"]],features:[o.gc],decls:2,vars:5,consts:[[3,"outerHTML",4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[3,"outerHTML"]],template:function(e,t){1&e&&(o.xd(0,a,2,3,"div",0),o.Vc(1,"async")),2&e&&o.bd("appLoadingPlaceholder",o.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.card.width)("appLoadingPlaceholderHeight",1)},encapsulation:2}),e})()},WI3F:function(e,t,n){"use strict";n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return c.a})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return m}));var i=n("GQzd");class r{constructor(e,t,n,i,r,s,o,a,c,l){this.id=e,this.title=t,this.description=n,this.text=i,this.url=r,this.posterUrl=s,this.keywords=o,this.availableTill=a,this.hasMoreNews=c,this.news=l}}function s(e){const t=new r(e.id);return e.news&&(e.news=e.news.map(i.C)),Object.assign(t,e),t}var o=n("ehPC");class a extends o.i{constructor(e,t,n,i,r,s,a,c){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.id=i,this.label=r,this.showMoreLabel=s,this.showNewsPreview=a,this.newsPreviewCount=c,this.pType=o.R.SingleSpecialTheme}getComponent(){return c.a}}var c=n("iAk7"),l=n("fXoL");const u=new l.v("Special themes service with simple themes"),d=new l.v("Special themes service with selected themes");var h=n("LRne"),p=n("lJxs"),f=n("GJzE"),g=n("tk/3");let m=(()=>{class e{constructor(e,t,n){this.http=e,this.transferStateService=t,this.siteApiHostInfo=n}doCompoundRequest(e){var t,n,i;const r={request:{}};if((null===(t=e.simpleSpecialThemes)||void 0===t?void 0:t.count)>0){const t={count:e.simpleSpecialThemes.count,newsLimit:e.simpleSpecialThemes.newsLimit};(null===(n=e.selectedSpecialThemes)||void 0===n?void 0:n.selectedIds.length)>0&&(t.excludedIds=e.selectedSpecialThemes.selectedIds),r.request.simpleSpecialThemes={filter:t,fields:Object(f.Fb)(e.simpleSpecialThemes.fields).join()}}(null===(i=e.selectedSpecialThemes)||void 0===i?void 0:i.selectedIds.length)>0&&(r.request.selectedSpecialThemes={filter:{newsLimit:e.selectedSpecialThemes.newsLimit,selectedIds:e.selectedSpecialThemes.selectedIds},fields:Object(f.Fb)(e.selectedSpecialThemes.fields).join()});const s=Object(f.Hb)(r),o=this.transferStateService.makeStateKey("compound-special-theme-models-"+s);return this.transferStateService.hasKey(o)?Object(h.a)(this.buildCompoundSpecialThemes(this.transferStateService.restoreData(o,null))):(Object.keys(r.request).length>0?this.http.get(this.siteApiHostInfo+"api3/special-themes/compound",{params:s}):Object(h.a)({})).pipe(Object(f.Tb)(this.transferStateService,o),Object(p.a)(this.buildCompoundSpecialThemes))}doSimpleRequest(e){e.fields&&(e.expand=e.fields,delete e.fields);const t=Object(f.Hb)(e),n=this.transferStateService.makeStateKey("simple-special-theme-models-"+t);return this.transferStateService.hasKey(n)?Object(h.a)(this.buildSimpleResult(this.transferStateService.restoreData(n,null))):this.http.get(this.siteApiHostInfo+"api3/special-themes",{params:t}).pipe(Object(f.Tb)(this.transferStateService,n),Object(p.a)(this.buildSimpleResult))}buildCompoundSpecialThemes(e){if(e.simpleSpecialThemes&&(e.simpleSpecialThemes=e.simpleSpecialThemes.map(s)),e.selectedSpecialThemes)for(const t in e.selectedSpecialThemes)e.selectedSpecialThemes.hasOwnProperty(t)&&(e.selectedSpecialThemes[t]=s(e.selectedSpecialThemes[t]));return e}buildSimpleResult(e){return e.hasOwnProperty("_meta")?new f.ob(e.specialThemes.map(s),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount):(e=e.specialThemes||[],Array.isArray(e)?e.map(s):(Object.keys(e).forEach(t=>{e[t]=s(e[t])}),e))}}return e.\u0275fac=function(t){return new(t||e)(l.Mc(g.b),l.Mc(f.yb),l.Mc(f.hb))},e.\u0275prov=l.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()}
1,WJ6P:function(e,t,n){"use strict";t.a=function(){return[]}},WMd4:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("EY2u"),r=n("LRne"),s=n("z6cu");let o=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(s.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})()},WOAq:function(e,t,n){"use strict";(function(e){var i=n("Ju5/"),r=n("L3Qv"),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=s&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===s?i.a.Buffer:void 0;t.a=(a?a.isBuffer:void 0)||r.a}).call(this,n("3UD+")(e))},X2cd:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("xgIS"),r=n("fXoL"),s=n("GJzE"),o=n("jhN1"),a=n("ofXK");let c=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.deviceState=t,this.eventManager=n,this.location=i}ngAfterViewInit(){this.deviceState.isServerApp||this.initAnchorClickListeners()}ngOnDestroy(){void 0!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}initAnchorClickListeners(){let e;const t=this.elementRef.nativeElement;e=this.isAnchorElement(t)&&/^#/.test(this.getRelatedUrl(t))?[t]:t.querySelectorAll('a[href^="#"]'),e.length>0&&(this.subscription=Object(i.a)(e,"click").subscribe(e=>this.anchorClickHandler(e)))}anchorClickHandler(e){return this.location.go(this.location.path()+e.currentTarget.hash),e.preventDefault(),e.stopPropagation(),!1}isAnchorElement(e){return"a"===e.tagName.toLowerCase()}getRelatedUrl(e){return e.getAttribute("href")}}return e.\u0275fac=function(t){return new(t||e)(r.yc(r.q),r.yc(s.t),r.yc(o.d),r.yc(a.o))},e.\u0275dir=r.tc({type:e,selectors:[["","appScrollToAnchors",""]]}),e})()},XDbj:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("sVev"),r=n("7o/Q");function s(e=c){return t=>t.lift(new o(e))}class o{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new a(e,this.errorFactory))}}class a extends r.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function c(){return new i.a}},XGsO:function(e,t,n){"use strict";n.d(t,"a",(function(){return $})),n.d(t,"b",(function(){return J})),n.d(t,"c",(function(){return Y})),n.d(t,"d",(function(){return re}));var i=n("fXoL"),r=n("jhN1"),s=n("ofXK");const o=["previewImage"];function a(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-arrows",16),i.Qc("prevClick",(function(){return i.nd(e),i.Uc().showPrev()}))("nextClick",(function(){return i.nd(e),i.Uc().showNext()})),i.Dc()}if(2&e){const e=i.Uc();i.bd("prevDisabled",!e.canShowPrev())("nextDisabled",!e.canShowNext())("arrowPrevIcon",e.arrowPrevIcon)("arrowNextIcon",e.arrowNextIcon)}}function c(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-action",17),i.Qc("closeClick",(function(n){i.nd(e);const r=t.$implicit,s=i.Uc();return r.onClick(n,s.index)})),i.Dc()}if(2&e){const e=t.$implicit;i.bd("icon",e.icon)("disabled",e.disabled)("titleText",e.titleText)}}function l(e,t){if(1&e&&(i.Ec(0,"a",18),i.zc(1,"i"),i.Dc()),2&e){const e=i.Uc();i.bd("href",e.src,i.qd),i.jc(1),i.mc("ngx-gallery-icon-content ",e.downloadIcon,"")}}function u(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-action",19),i.Qc("closeClick",(function(){return i.nd(e),i.Uc().zoomOut()})),i.Dc()}if(2&e){const e=i.Uc();i.bd("icon",e.zoomOutIcon)("disabled",!e.canZoomOut())}}function d(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-action",19),i.Qc("closeClick",(function(){return i.nd(e),i.Uc().zoomIn()})),i.Dc()}if(2&e){const e=i.Uc();i.bd("icon",e.zoomInIcon)("disabled",!e.canZoomIn())}}function h(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-action",7),i.Qc("closeClick",(function(){return i.nd(e),i.Uc().rotateLeft()})),i.Dc()}if(2&e){const e=i.Uc();i.bd("icon",e.rotateLeftIcon)}}function p(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-action",7),i.Qc("closeClick",(function(){return i.nd(e),i.Uc().rotateRight()})),i.Dc()}if(2&e){const e=i.Uc();i.bd("icon",e.rotateRightIcon)}}function f(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-action",7),i.Qc("closeClick",(function(){return i.nd(e),i.Uc().manageFullscreen()})),i.Dc()}if(2&e){const e=i.Uc();i.bd("icon","ngx-gallery-fullscreen "+e.fullscreenIcon)}}function g(e,t){if(1&e){const e=i.Fc();i.Ec(0,"img",20,21),i.Qc("click",(function(t){return i.nd(e),t.stopPropagation()}))("mouseenter",(function(){return i.nd(e),i.Uc().imageMouseEnter()}))("mouseleave",(function(){return i.nd(e),i.Uc().imageMouseLeave()}))("mousedown",(function(t){return i.nd(e),i.Uc().mouseDownHandler(t)}))("touchstart",(function(t){return i.nd(e),i.Uc().mouseDownHandler(t)})),i.Dc()}if(2&e){const e=i.Uc();i.wd("transform",e.getTransform())("left",e.positionLeft+"px")("top",e.positionTop+"px"),i.pc("ngx-gallery-active",!e.loading)("animation",e.animation)("ngx-gallery-grab",e.canDragOnZoom()),i.bd("src",e.src,i.qd)}}function m(e,t){if(1&e){const e=i.Fc();i.Ec(0,"video",22,21),i.Qc("click",(function(t){return i.nd(e),t.stopPropagation()}))("mouseenter",(function(){return i.nd(e),i.Uc().imageMouseEnter()}))("mouseleave",(function(){return i.nd(e),i.Uc().imageMouseLeave()}))("mousedown",(function(t){return i.nd(e),i.Uc().mouseDownHandler(t)}))("touchstart",(function(t){return i.nd(e),i.Uc().mouseDownHandler(t)})),i.zc(2,"source",23),i.zd(3," Your browser does not support the video tag. "),i.Dc()}if(2&e){const e=i.Uc();i.wd("transform",e.getTransform())("left",e.positionLeft+"px")("top",e.positionTop+"px"),i.pc("ngx-gallery-active",!e.loading)("animation",e.animation)("ngx-gallery-grab",e.canDragOnZoom()),i.jc(2),i.bd("src",e.src,i.qd)}}function b(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-bullets",24),i.Qc("bulletChange",(function(t){return i.nd(e),i.Uc().showAtIndex(t)})),i.Dc()}if(2&e){const e=i.Uc();i.bd("count",e.images.length)("active",e.index)}}function v(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",25),i.Qc("click",(function(t){return i.nd(e),t.stopPropagation()})),i.Dc()}if(2&e){const e=i.Uc();i.bd("innerHTML",e.description,i.od)}}function w(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-action",8),i.Qc("closeClick",(function(n){i.nd(e);const r=t.$implicit,s=i.Uc(2).$implicit;return r.onClick(n,s.index)})),i.Dc()}if(2&e){const e=t.$implicit;i.bd("icon",e.icon)("disabled",e.disabled)("titleText",e.titleText)}}function y(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",9),i.Qc("click",(function(t){return i.nd(e),t.stopPropagation()})),i.Dc()}if(2&e){const e=i.Uc(2).$implicit,t=i.Uc();i.bd("innerHTML",t.descriptions[e.index],i.od)}}const C=function(e,t,n,i){return{"ngx-gallery-active":e,"ngx-gallery-inactive-left":t,"ngx-gallery-inactive-right":n,"ngx-gallery-clickable":i}};function _(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",4),i.Qc("click",(function(t){i.nd(e);const n=i.Uc().$implicit;return i.Uc().handleClick(t,n.index)})),i.Ec(1,"div",5),i.xd(2,w,1,3,"ngx-gallery-action",6),i.Dc(),i.xd(3,y,1,1,"div",7),i.Dc()}if(2&e){const e=i.Uc().$implicit,t=i.Uc();i.wd("background-image",t.getSafeUrl(e.src),i.rc),i.bd("ngClass",i.id(5,C,t.selectedIndex==e.index,t.selectedIndex>e.index,t.selectedIndex<e.index,t.clickable)),i.jc(2),i.bd("ngForOf",t.actions),i.jc(1),i.bd("ngIf",t.showDescription&&t.descriptions[e.index])}}function x(e,t){if(1&e&&(i.Ec(0,"div"),i.xd(1,_,4,10,"div",3),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.bd("ngIf","image"===e.type)}}function O(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-action",8),i.Qc("closeClick",(function(n){i.nd(e);const r=t.$implicit,s=i.Uc(2).$implicit;return r.onClick(n,s.index)})),i.Dc()}if(2&e){const e=t.$implicit;i.bd("icon",e.icon)("disabled",e.disabled)("titleText",e.titleText)}}function S(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",9),i.Qc("click",(function(t){return i.nd(e),t.stopPropagation()})),i.Dc()}if(2&e){const e=i.Uc(2).$implicit,t=i.Uc();i.bd("innerHTML",t.descriptions[e.index],i.od)}}function E(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",4),i.Qc("click",(function(t){i.nd(e);const n=i.Uc().$implicit;return i.Uc().handleClick(t,n.index)})),i.Ec(1,"video",11),i.zc(2,"source",12),i.zd(3," Your browser does not support the video tag. "),i.Dc(),i.Ec(4,"div",5),i.xd(5,O,1,3,"ngx-gallery-action",6),i.Dc(),i.xd(6,S,1,1,"div",7),i.Dc()}if(2&e){const e=i.Uc().$implicit,t=i.Uc();i.bd("ngClass",i.id(4,C,t.selectedIndex==e.index,t.selectedIndex>e.index,t.selectedIndex<e.index,t.clickable)),i.jc(2),i.bd("src",e.src,i.qd),i.jc(3),i.bd("ngForOf",t.actions),i.jc(1),i.bd("ngIf",t.showDescription&&t.descriptions[e.index])}}function P(e,t){if(1&e&&(i.Ec(0,"div"),i.xd(1,E,7,9,"div",10),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.bd("ngIf","video"===e.type)}}function k(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-bullets",13),i.Qc("bulletChange",(function(t){return i.nd(e),i.Uc().show(t)})),i.Dc()}if(2&e){const e=i.Uc();i.bd("count",e.images.length)("active",e.selectedIndex)}}function M(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-arrows",14),i.Qc("prevClick",(function(){return i.nd(e),i.Uc().showPrev()}))("nextClick",(function(){return i.nd(e),i.Uc().showNext()})),i.Dc()}if(2&e){const e=i.Uc();i.mc("ngx-gallery-image-size-",e.size,""),i.bd("prevDisabled",!e.canShowPrev())("nextDisabled",!e.canShowNext())("arrowPrevIcon",e.arrowPrevIcon)("arrowNextIcon",e.arrowNextIcon)}}const I=function(e,t){return{"ngx-gallery-active":e,"ngx-gallery-clickable":t}};function D(e,t){if(1&e&&i.zc(0,"div",9),2&e){const e=i.Uc(),t=e.$implicit,n=e.index,r=i.Uc();i.wd("background-image",r.getSafeUrl(t),i.rc),i.bd("ngClass",i.gd(3,I,n==r.selectedIndex,r.clickable))}}function j(e,t){if(1&e&&(i.Ec(0,"div",10),i.Ec(1,"video",11),i.zc(2,"source",12),i.zd(3," Your browser does not support the video tag. "),i.Dc(),i.Dc()),2&e){const e=i.Uc(),t=e.index,n=e.$implicit,r=i.Uc();i.jc(1),i.bd("ngClass",i.gd(2,I,t==r.selectedIndex,r.clickable)),i.jc(1),i.bd("src",n,i.qd)}}function A(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-action",13),i.Qc("closeClick",(function(n){i.nd(e);const r=t.$implicit,s=i.Uc().index;return r.onClick(n,s)})),i.Dc()}if(2&e){const e=t.$implicit;i.bd("icon",e.icon)("disabled",e.disabled)("titleText",e.titleText)}}function T(e,t){if(1&e&&(i.Ec(0,"div",14),i.Ec(1,"span",15),i.zd(2),i.Dc(),i.Dc()),2&e){const e=i.Uc(2);i.jc(2),i.Bd("+",e.remainingCountValue,"")}}function z(e,t){if(1&e){const e=i.Fc();i.Ec(0,"a",3),i.Qc("click",(function(n){i.nd(e);const r=t.index;return i.Uc().handleClick(n,r)})),i.xd(1,D,1,6,"div",4),i.xd(2,j,4,5,"div",5),i.Ec(3,"div",6),i.xd(4,A,1,3,"ngx-gallery-action",7),i.Dc(),i.xd(5,T,3,1,"div",8),i.Dc()}if(2&e){const e=t.$implicit,n=t.index,r=i.Uc();i.wd("width",r.getThumbnailWidth())("height",r.getThumbnailHeight())("left",r.getThumbnailLeft(n))("top",r.getThumbnailTop(n)),i.bd("href",r.hasLink(n)?r.links[n]:"#",i.qd)("target",r.linkTarget)("ngClass",i.gd(16,I,n==r.selectedIndex,r.clickable)),i.kc("aria-label",r.labels[n]),i.jc(1),i.bd("ngIf","image"==r.getFileType(e)),i.jc(1),i.bd("ngIf","video"==r.getFileType(e)),i.jc(2),i.bd("ngForOf",r.actions),i.jc(1),i.bd("ngIf",r.remainingCount&&r.remainingCountValue&&n==r.rows*r.columns-1)}}function L(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-arrows",16),i.Qc("prevClick",(function(){return i.nd(e),i.Uc().moveLeft()}))("nextClick",(function(){return i.nd(e),i.Uc().moveRight()})),i.Dc()}if(2&e){const e=i.Uc();i.bd("prevDisabled",!e.canMoveLeft())("nextDisabled",!e.canMoveRight())("arrowPrevIcon",e.arrowPrevIcon)("arrowNextIcon",e.arrowNextIcon)}}function N(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ngx-gallery-image",3),i.Qc("imageClick",(function(t){return i.nd(e),i.Uc().openPreview(t)}))("activeChange",(function(t){return i.nd(e),i.Uc().selectFromImage(t)})),i.Dc()}if(2&e){const e=i.Uc();i.wd("height",e.getImageHeight()),i.bd("images",e.mediumImages)("clickable",null==e.currentOptions?null:e.currentOptions.preview)("selectedIndex",e.selectedIndex)("arrows",null==e.currentOptions?null:e.currentOptions.imageArrows)("arrowsAutoHide",null==e.currentOptions?null:e.currentOptions.imageArrowsAutoHide)("arrowPrevIcon",null==e.currentOptions?null:e.currentOptions.arrowPrevIcon)("arrowNextIcon",null==e.currentOptions?null:e.currentOptions.arrowNextIcon)("swipe",null==e.currentOptions?null:e.currentOptions.imageSwipe)("animation",null==e.currentOptions?null:e.currentOptions.imageAnimation)("size",null==e.currentOptions?null:e.currentOptions.imageSize)("autoPlay",null==e.currentOptions?null:e.currentOptions.imageAutoPlay)("autoPlayInterval",null==e.currentOptions?null:e.currentOptions.imageAutoPlayInterval)("autoPlayPauseOnHover",null==e.currentOptions?null:e.currentOptions.imageAutoPlayPauseOnHover)("infinityMove",null==e.currentOptions?null:e.currentOptions.imageInfinityMove)("lazyLoading",null==e.currentOptions?null:e.currentOptions.lazyLoading)("actions",null==e.currentOptions?null:e.currentOptions.imageActions)("descriptions",e.descriptions)("showDescription",null==e.currentOptions?null:e.currentOptions.imageDescription)("bullets",null==e.currentOptions?null:e.currentOptions.imageBullets)}}const R=function(){return[]};function F(e,t){if(1&e){const e=i.Fc();
1i.Ec(0,"ngx-gallery-thumbnails",4),i.Qc("activeChange",(function(t){return i.nd(e),i.Uc().selectFromThumbnails(t)})),i.Dc()}if(2&e){const e=i.Uc();i.wd("margin-top",e.getThumbnailsMarginTop())("margin-bottom",e.getThumbnailsMarginBottom())("height",e.getThumbnailsHeight()),i.bd("images",e.smallImages)("links",null!=e.currentOptions&&e.currentOptions.thumbnailsAsLinks?e.links:i.ed(27,R))("labels",e.labels)("linkTarget",null==e.currentOptions?null:e.currentOptions.linkTarget)("selectedIndex",e.selectedIndex)("columns",null==e.currentOptions?null:e.currentOptions.thumbnailsColumns)("rows",null==e.currentOptions?null:e.currentOptions.thumbnailsRows)("margin",null==e.currentOptions?null:e.currentOptions.thumbnailMargin)("arrows",null==e.currentOptions?null:e.currentOptions.thumbnailsArrows)("arrowsAutoHide",null==e.currentOptions?null:e.currentOptions.thumbnailsArrowsAutoHide)("arrowPrevIcon",null==e.currentOptions?null:e.currentOptions.arrowPrevIcon)("arrowNextIcon",null==e.currentOptions?null:e.currentOptions.arrowNextIcon)("clickable",(null==e.currentOptions?null:e.currentOptions.image)||(null==e.currentOptions?null:e.currentOptions.preview))("swipe",null==e.currentOptions?null:e.currentOptions.thumbnailsSwipe)("size",null==e.currentOptions?null:e.currentOptions.thumbnailSize)("moveSize",null==e.currentOptions?null:e.currentOptions.thumbnailsMoveSize)("order",null==e.currentOptions?null:e.currentOptions.thumbnailsOrder)("remainingCount",null==e.currentOptions?null:e.currentOptions.thumbnailsRemainingCount)("lazyLoading",null==e.currentOptions?null:e.currentOptions.lazyLoading)("actions",null==e.currentOptions?null:e.currentOptions.thumbnailActions)("ngClass",null==e.currentOptions?null:e.currentOptions.thumbnailClasses)}}const V=function(e){return{"ngx-gallery-active":e}};function U(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",1),i.Qc("click",(function(n){i.nd(e);const r=t.index;return i.Uc().handleChange(n,r)})),i.Dc()}if(2&e){const e=t.index,n=i.Uc();i.bd("ngClass",i.fd(1,V,e==n.active))}}let H=(()=>{let e=class{constructor(e){this.renderer=e,this.swipeHandlers=new Map}manageSwipe(e,t,n,i,r){const s=this.getSwipeHandlers(n);try{e&&!s?this.swipeHandlers.set(n,[this.renderer.listen(t.nativeElement,"swipeleft",()=>i()),this.renderer.listen(t.nativeElement,"swiperight",()=>r())]):!e&&s&&(s.map(e=>e()),this.removeSwipeHandlers(n))}catch(o){}}validateUrl(e){return e.replace?e.replace(new RegExp(" ","g"),"%20").replace(new RegExp("'","g"),"%27"):e}getBackgroundUrl(e){return"url('"+this.validateUrl(e)+"')"}getFileType(e){const t=e.split(".").pop().toLowerCase();return"avi"===t||"flv"===t||"wmv"===t||"mov"===t||"mp4"===t?"video":"image"}getSwipeHandlers(e){return this.swipeHandlers.get(e)}removeSwipeHandlers(e){this.swipeHandlers.delete(e)}};return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.L))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(i.L))},token:e,providedIn:"root"}),e})(),B=(()=>{let e=class{constructor(e,t,n,r,s){this.sanitization=e,this.elementRef=t,this.helperService=n,this.renderer=r,this.changeDetectorRef=s,this.showSpinner=!1,this.positionLeft=0,this.positionTop=0,this.zoomValue=1,this.loading=!1,this.rotateValue=0,this.index=0,this.previewOpen=new i.s,this.previewClose=new i.s,this.activeChange=new i.s,this.isOpen=!1,this.initialX=0,this.initialY=0,this.initialLeft=0,this.initialTop=0,this.isMove=!1}ngOnInit(){this.arrows&&this.arrowsAutoHide&&(this.arrows=!1)}ngOnChanges(e){e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"preview",()=>this.showNext(),()=>this.showPrev())}ngOnDestroy(){this.keyDownListener&&this.keyDownListener()}onMouseEnter(){this.arrowsAutoHide&&!this.arrows&&(this.arrows=!0)}onMouseLeave(){this.arrowsAutoHide&&this.arrows&&(this.arrows=!1)}onKeyDown(e){this.isOpen&&(this.keyboardNavigation&&(this.isKeyboardPrev(e)?this.showPrev():this.isKeyboardNext(e)&&this.showNext()),this.closeOnEsc&&this.isKeyboardEsc(e)&&this.close())}open(e){this.previewOpen.emit(),this.index=e,this.isOpen=!0,this.show(!0),this.forceFullscreen&&this.manageFullscreen(),this.keyDownListener=this.renderer.listen("window","keydown",e=>this.onKeyDown(e))}close(){this.isOpen=!1,this.closeFullscreen(),this.previewClose.emit(),this.stopAutoPlay(),this.keyDownListener&&this.keyDownListener()}imageMouseEnter(){this.autoPlay&&this.autoPlayPauseOnHover&&this.stopAutoPlay()}imageMouseLeave(){this.autoPlay&&this.autoPlayPauseOnHover&&this.startAutoPlay()}startAutoPlay(){this.autoPlay&&(this.stopAutoPlay(),this.timer=setTimeout(()=>{this.showNext()||(this.index=-1,this.showNext())},this.autoPlayInterval))}stopAutoPlay(){this.timer&&clearTimeout(this.timer)}showAtIndex(e){this.index=e,this.show()}showNext(){return!!this.canShowNext()&&(this.index++,this.index===this.images.length&&(this.index=0),this.show(),!0)}showPrev(){this.canShowPrev()&&(this.index--,this.index<0&&(this.index=this.images.length-1),this.show())}canShowNext(){return!this.loading&&!!this.images&&(this.infinityMove||this.index<this.images.length-1)}canShowPrev(){return!this.loading&&!!this.images&&(this.infinityMove||this.index>0)}manageFullscreen(){if(this.fullscreen||this.forceFullscreen){const e=document;e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement?this.closeFullscreen():this.openFullscreen()}}getSafeUrl(e){return this.sanitization.bypassSecurityTrustUrl(e)}getFileType(e){return this.helperService.getFileType(e)}zoomIn(){this.canZoomIn()&&(this.zoomValue+=this.zoomStep,this.zoomValue>this.zoomMax&&(this.zoomValue=this.zoomMax))}zoomOut(){this.canZoomOut()&&(this.zoomValue-=this.zoomStep,this.zoomValue<this.zoomMin&&(this.zoomValue=this.zoomMin),this.zoomValue<=1&&this.resetPosition())}rotateLeft(){this.rotateValue-=90}rotateRight(){this.rotateValue+=90}getTransform(){return this.sanitization.bypassSecurityTrustStyle("scale("+this.zoomValue+") rotate("+this.rotateValue+"deg)")}canZoomIn(){return this.zoomValue<this.zoomMax}canZoomOut(){return this.zoomValue>this.zoomMin}canDragOnZoom(){return this.zoom&&this.zoomValue>1}mouseDownHandler(e){this.canDragOnZoom()&&(this.initialX=this.getClientX(e),this.initialY=this.getClientY(e),this.initialLeft=this.positionLeft,this.initialTop=this.positionTop,this.isMove=!0,e.preventDefault())}
1mouseUpHandler(e){this.isMove=!1}mouseMoveHandler(e){this.isMove&&(this.positionLeft=this.initialLeft+(this.getClientX(e)-this.initialX),this.positionTop=this.initialTop+(this.getClientY(e)-this.initialY))}getClientX(e){return e.touches&&e.touches.length?e.touches[0].clientX:e.clientX}getClientY(e){return e.touches&&e.touches.length?e.touches[0].clientY:e.clientY}resetPosition(){this.zoom&&(this.positionLeft=0,this.positionTop=0)}isKeyboardNext(e){return 39===e.keyCode}isKeyboardPrev(e){return 37===e.keyCode}isKeyboardEsc(e){return 27===e.keyCode}openFullscreen(){const e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()}closeFullscreen(){if(this.isFullscreen()){const e=document;e.exitFullscreen?e.exitFullscreen():e.msExitFullscreen?e.msExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitExitFullscreen&&e.webkitExitFullscreen()}}isFullscreen(){const e=document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement}show(e=!1){this.loading=!0,this.stopAutoPlay(),this.activeChange.emit(this.index),e||!this.animation?this._show():setTimeout(()=>this._show(),600)}_show(){this.zoomValue=1,this.rotateValue=0,this.resetPosition(),this.src=this.getSafeUrl(this.images[this.index]),this.type=this.getFileType(this.images[this.index]),this.srcIndex=this.index,this.description=this.descriptions[this.index],this.changeDetectorRef.markForCheck(),setTimeout(()=>{this.isLoaded(this.previewImage.nativeElement)||"video"===this.type?(this.loading=!1,this.startAutoPlay(),this.changeDetectorRef.markForCheck()):"video"===this.type||(setTimeout(()=>{this.loading&&(this.showSpinner=!0,this.changeDetectorRef.markForCheck())}),this.previewImage.nativeElement.onload=()=>{this.loading=!1,this.showSpinner=!1,this.previewImage.nativeElement.onload=null,this.startAutoPlay(),this.changeDetectorRef.markForCheck()})})}isLoaded(e){return!(!e.complete||void 0!==e.naturalWidth&&0===e.naturalWidth)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(i.q),i.yc(H),i.yc(i.L),i.yc(i.j))},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-preview"]],viewQuery:function(e,t){var n;1&e&&i.Dd(o,!0),2&e&&i.jd(n=i.Rc())&&(t.previewImage=n.first)},hostBindings:function(e,t){1&e&&i.Qc("mouseenter",(function(){return t.onMouseEnter()}))("mouseleave",(function(){return t.onMouseLeave()}))},inputs:{arrows:"arrows",images:"images",descriptions:"descriptions",showDescription:"showDescription",arrowsAutoHide:"arrowsAutoHide",swipe:"swipe",fullscreen:"fullscreen",forceFullscreen:"forceFullscreen",closeOnClick:"closeOnClick",closeOnEsc:"closeOnEsc",keyboardNavigation:"keyboardNavigation",arrowPrevIcon:"arrowPrevIcon",arrowNextIcon:"arrowNextIcon",closeIcon:"closeIcon",fullscreenIcon:"fullscreenIcon",spinnerIcon:"spinnerIcon",autoPlay:"autoPlay",autoPlayInterval:"autoPlayInterval",autoPlayPauseOnHover:"autoPlayPauseOnHover",infinityMove:"infinityMove",zoom:"zoom",zoomStep:"zoomStep",zoomMax:"zoomMax",zoomMin:"zoomMin",zoomInIcon:"zoomInIcon",zoomOutIcon:"zoomOutIcon",animation:"animation",actions:"actions",rotate:"rotate",rotateLeftIcon:"rotateLeftIcon",rotateRightIcon:"rotateRightIcon",download:"download",downloadIcon:"downloadIcon",bullets:"bullets"},outputs:{previewOpen:"previewOpen",previewClose:"previewClose",activeChange:"activeChange"},features:[i.hc],decls:19,vars:18,consts:[[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick",4,"ngIf"],[1,"ngx-gallery-preview-top"],[1,"ngx-gallery-preview-icons"],[3,"icon","disabled","titleText","closeClick",4,"ngFor","ngForOf"],["class","ngx-gallery-icon","aria-hidden","true","download","",3,"href",4,"ngIf"],[3,"icon","disabled","closeClick",4,"ngIf"],[3,"icon","closeClick",4,"ngIf"],[3,"icon","closeClick"],[1,"ngx-spinner-wrapper","ngx-gallery-center"],["aria-hidden","true"],[1,"ngx-gallery-preview-wrapper",3,"click","mouseup","mousemove","touchend","touchmove"],[1,"ngx-gallery-preview-img-wrapper"],["class","ngx-gallery-preview-img ngx-gallery-center",3,"src","ngx-gallery-active","animation","ngx-gallery-grab","transform","left","top","click","mouseenter","mouseleave","mousedown","touchstart",4,"ngIf"],["controls","","style","width: 100%; height: 100%;","class","ngx-gallery-preview-img ngx-gallery-center",3,"ngx-gallery-active","animation","ngx-gallery-grab","transform","left","top","click","mouseenter","mouseleave","mousedown","touchstart",4,"ngIf"],[3,"count","active","bulletChange",4,"ngIf"],["class","ngx-gallery-preview-text",3,"innerHTML","click",4,"ngIf"],[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick"],[3,"icon","disabled","titleText","closeClick"],["aria-hidden","true","download","",1,"ngx-gallery-icon",3,"href"],[3,"icon","disabled","closeClick"],[1,"ngx-gallery-preview-img","ngx-gallery-center",3,"src","click","mouseenter","mouseleave","mousedown","touchstart"],["previewImage",""],["controls","",1,"ngx-gallery-preview-img","ngx-gallery-center",2,"width","100%","height","100%",3,"click","mouseenter","mouseleave","mousedown","touchstart"],[3,"src"],[3,"count","active","bulletChange"],[1,"ngx-gallery-preview-text",3,"innerHTML","click"]],template:function(e,t){1&e&&(i.xd(0,a,1,4,"ngx-gallery-arrows",0),i.Ec(1,"div",1),i.Ec(2,"div",2),i.xd(3,c,1,3,"ngx-gallery-action",3),i.xd(4,l,2,4,"a",4),i.xd(5,u,1,2,"ngx-gallery-action",5),i.xd(6,d,1,2,"ngx-gallery-action",5),i.xd(7,h,1,1,"ngx-gallery-action",6),i.xd(8,p,1,1,"ngx-gallery-action",6),i.xd(9,f,1,1,"ngx-gallery-action",6),i.Ec(10,"ngx-gallery-action",7),i.Qc("closeClick",(function(){return t.close()})),i.Dc(),i.Dc(),i.Dc(),i.Ec(11,"div",8),i.zc(12,"i",9),i.Dc(),i.Ec(13,"div",10),i.Qc("click",(function(){return t.closeOnClick&&t.close()}))("mouseup",(function(e){return t.mouseUpHandler(e)}))("mousemove",(function(e){return t.mouseMoveHandler(e)}))("touchend",(function(e){return t.mouseUpHandler(e)}))("touchmove",(function(e){return t.mouseMoveHandler(e)})),i.Ec(14,"div",11),i.xd(15,g,2,13,"img",12),i.xd(16,m,4,13,"video",13),i.xd(17,b,1,2,"ngx-gallery-bullets",14),i.Dc(),i.xd(18,v,1,1,"div",15),i.Dc()),2&e&&(i.bd("ngIf",t.arrows),i.jc(3),i.bd("ngForOf",t.actions),i.jc(1),i.bd("ngIf",t.download&&t.src),i.jc(1),i.bd("ngIf",t.zoom),i.jc(1),i.bd("ngIf",t.zoom),i.jc(1),i.bd("ngIf",t.rotate),i.jc(1),i.bd("ngIf",t.rotate),i.jc(1),i.bd("ngIf",t.fullscreen),i.jc(1),i.bd("icon","ngx-gallery-close "+t.closeIcon),i.jc(1),i.pc("ngx-gallery-active",t.showSpinner),i.jc(1),i.mc("ngx-gallery-icon ngx-gallery-spinner ",t.spinnerIcon,""),i.jc(3),i.bd("ngIf",t.src&&"image"==t.type),i.jc(1),i.bd("ngIf",t.src&&"video"==t.type),i.jc(1),i.bd("ngIf",t.bullets),i.jc(1),i.bd("ngIf",t.showDescription&&t.description))},directives:function(){return[s.u,s.t,te,ee,ne]},styles:[".ngx-gallery-active[_nghost-%COMP%]{width:100%;height:100%;position:fixed;left:0;top:0;background:rgba(0,0,0,.7);z-index:10000;display:inline-block;font-size:50px!important}[_nghost-%COMP%]{display:none;font-size:50px!important}[_nghost-%COMP%]   .ngx-gallery-arrow[_ngcontent-%COMP%]{font-size:50px!important}ngx-gallery-bullets[_ngcontent-%COMP%]{height:5%;align-items:center;padding:0}.ngx-gallery-preview-img[_ngcontent-%COMP%]{opacity:0;max-width:90%;max-height:90%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:transform .5s}.ngx-gallery-preview-img.animation[_ngcontent-%COMP%]{transition:opacity .5s linear,transform .5s}.ngx-gallery-preview-img.ngx-gallery-active[_ngcontent-%COMP%]{opacity:1}.ngx-gallery-preview-img.ngx-gallery-grab[_ngcontent-%COMP%]{cursor:-webkit-grab;cursor:grab}.ngx-gallery-icon.ngx-gallery-spinner[_ngcontent-%COMP%]{font-size:50px;left:0;display:inline-block}[_nghost-%COMP%]   .ngx-gallery-preview-top[_ngcontent-%COMP%]{position:absolute;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:25px}.ngx-gallery-preview-icons[_ngcontent-%COMP%]{float:right}.ngx-gallery-preview-icons[_ngcontent-%COMP%]   .ngx-gallery-icon[_ngcontent-%COMP%]{position:relative;margin-right:10px;margin-top:10px;font-size:25px;cursor:pointer;text-decoration:none}.ngx-gallery-preview-icons[_ngcontent-%COMP%]   .ngx-gallery-icon.ngx-gallery-icon-disabled[_ngcontent-%COMP%]{cursor:default;opacity:.4}.ngx-spinner-wrapper[_ngcontent-%COMP%]{width:50px;height:50px;display:none}.ngx-spinner-wrapper.ngx-gallery-active[_ngcontent-%COMP%]{display:inline-block}.ngx-gallery-center[_ngcontent-%COMP%]{position:absolute;
1left:0;right:0;bottom:0;margin:auto;top:0}.ngx-gallery-preview-text[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,.7);padding:10px;text-align:center;color:#fff;font-size:16px;flex:0 1 auto;z-index:10}.ngx-gallery-preview-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-flow:column}.ngx-gallery-preview-img-wrapper[_ngcontent-%COMP%]{flex:1 1 auto;position:relative}"],changeDetection:0}),e})(),$=(()=>{class e{}return e.Fade="fade",e.Slide="slide",e.Rotate="rotate",e.Zoom="zoom",e})(),q=(()=>{let e=class{constructor(e,t,n){this.sanitization=e,this.elementRef=t,this.helperService=n,this.imageClick=new i.s,this.activeChange=new i.s,this.canChangeImage=!0}ngOnInit(){this.arrows&&this.arrowsAutoHide&&(this.arrows=!1),this.autoPlay&&this.startAutoPlay()}ngOnChanges(e){e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"image",()=>this.showNext(),()=>this.showPrev())}onMouseEnter(){this.arrowsAutoHide&&!this.arrows&&(this.arrows=!0),this.autoPlay&&this.autoPlayPauseOnHover&&this.stopAutoPlay()}onMouseLeave(){this.arrowsAutoHide&&this.arrows&&(this.arrows=!1),this.autoPlay&&this.autoPlayPauseOnHover&&this.startAutoPlay()}reset(e){this.selectedIndex=e}getImages(){if(!this.images)return[];if(this.lazyLoading){const e=[this.selectedIndex],t=this.selectedIndex-1;-1===t&&this.infinityMove?e.push(this.images.length-1):t>=0&&e.push(t);const n=this.selectedIndex+1;return n===this.images.length&&this.infinityMove?e.push(0):n<this.images.length&&e.push(n),this.images.filter((t,n)=>-1!==e.indexOf(n))}return this.images}startAutoPlay(){this.stopAutoPlay(),this.timer=setInterval(()=>{this.showNext()||(this.selectedIndex=-1,this.showNext())},this.autoPlayInterval)}stopAutoPlay(){this.timer&&clearInterval(this.timer)}handleClick(e,t){this.clickable&&(this.imageClick.emit(t),e.stopPropagation(),e.preventDefault())}show(e){this.selectedIndex=e,this.activeChange.emit(this.selectedIndex),this.setChangeTimeout()}showNext(){return!(!this.canShowNext()||!this.canChangeImage||(this.selectedIndex++,this.selectedIndex===this.images.length&&(this.selectedIndex=0),this.activeChange.emit(this.selectedIndex),this.setChangeTimeout(),0))}showPrev(){this.canShowPrev()&&this.canChangeImage&&(this.selectedIndex--,this.selectedIndex<0&&(this.selectedIndex=this.images.length-1),this.activeChange.emit(this.selectedIndex),this.setChangeTimeout())}setChangeTimeout(){this.canChangeImage=!1;let e=1e3;this.animation!==$.Slide&&this.animation!==$.Fade||(e=500),setTimeout(()=>{this.canChangeImage=!0},e)}canShowNext(){return!!this.images&&(this.infinityMove||this.selectedIndex<this.images.length-1)}canShowPrev(){return!!this.images&&(this.infinityMove||this.selectedIndex>0)}getSafeUrl(e){return this.sanitization.bypassSecurityTrustStyle(this.helperService.getBackgroundUrl(e))}getFileType(e){return this.helperService.getFileType(e)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(i.q),i.yc(H))},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-image"]],hostBindings:function(e,t){1&e&&i.Qc("mouseenter",(function(){return t.onMouseEnter()}))("mouseleave",(function(){return t.onMouseLeave()}))},inputs:{arrows:"arrows",selectedIndex:"selectedIndex",images:"images",clickable:"clickable",arrowsAutoHide:"arrowsAutoHide",swipe:"swipe",animation:"animation",size:"size",arrowPrevIcon:"arrowPrevIcon",arrowNextIcon:"arrowNextIcon",autoPlay:"autoPlay",autoPlayInterval:"autoPlayInterval",autoPlayPauseOnHover:"autoPlayPauseOnHover",infinityMove:"infinityMove",lazyLoading:"lazyLoading",actions:"actions",descriptions:"descriptions",showDescription:"showDescription",bullets:"bullets"},outputs:{imageClick:"imageClick",activeChange:"activeChange"},features:[i.hc],decls:5,vars:8,consts:[[4,"ngFor","ngForOf"],[3,"count","active","bulletChange",4,"ngIf"],[3,"class","prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick",4,"ngIf"],["class","ngx-gallery-image",3,"ngClass","background-image","click",4,"ngIf"],[1,"ngx-gallery-image",3,"ngClass","click"],[1,"ngx-gallery-icons-wrapper"],[3,"icon","disabled","titleText","closeClick",4,"ngFor","ngForOf"],["class","ngx-gallery-image-text",3,"innerHTML","click",4,"ngIf"],[3,"icon","disabled","titleText","closeClick"],[1,"ngx-gallery-image-text",3,"innerHTML","click"],["class","ngx-gallery-image",3,"ngClass","click",4,"ngIf"],["controls","",2,"width","100%","height","100%","background","#000"],[3,"src"],[3,"count","active","bulletChange"],[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick"]],template:function(e,t){1&e&&(i.Ec(0,"div"),i.xd(1,x,2,1,"div",0),i.xd(2,P,2,1,"div",0),i.Dc(),i.xd(3,k,1,2,"ngx-gallery-bullets",1),i.xd(4,M,1,7,"ngx-gallery-arrows",2)),2&e&&(i.nc("ngx-gallery-image-wrapper ngx-gallery-animation-",t.animation," ngx-gallery-image-size-",t.size,""),i.jc(1),i.bd("ngForOf",t.getImages()),i.jc(1),i.bd("ngForOf",t.getImages()),i.jc(1),i.bd("ngIf",t.bullets),i.jc(1),i.bd("ngIf",t.arrows))}
1,directives:function(){return[s.t,s.u,s.r,te,ne,ee]},styles:["[_nghost-%COMP%]{width:100%;display:inline-block;position:relative;font-size:25px}.ngx-gallery-image-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;top:0;overflow:hidden}.ngx-gallery-image[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;height:100%;width:100%;position:absolute;top:0}.ngx-gallery-image-size-cover[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{background-size:cover}.ngx-gallery-image-size-contain[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{background-size:contain}.ngx-gallery-animation-fade[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{left:0;opacity:0;transition:.5s ease-in-out}.ngx-gallery-animation-fade[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%]{opacity:1}.ngx-gallery-animation-slide[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{transition:.5s ease-in-out}.ngx-gallery-animation-slide[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%]{transform:translateX(0)}.ngx-gallery-animation-slide[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-inactive-left[_ngcontent-%COMP%]{transform:translateX(-100%)}.ngx-gallery-animation-slide[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-inactive-right[_ngcontent-%COMP%]{transform:translateX(100%)}.ngx-gallery-animation-rotate[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{transition:1s;transform:scale(3.5,3.5) rotate(90deg);left:0;opacity:0}
1.ngx-gallery-animation-rotate[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%]{transform:scale(1,1) rotate(0);opacity:1}.ngx-gallery-animation-zoom[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{transition:1s;transform:scale(2.5,2.5);left:0;opacity:0}.ngx-gallery-animation-zoom[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%]{transform:scale(1,1);opacity:1}.ngx-gallery-image-text[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,.7);padding:10px;text-align:center;color:#fff;font-size:16px;position:absolute;bottom:0;z-index:10}"],changeDetection:0}),e})(),W=(()=>{class e{}return e.Column=1,e.Row=2,e.Page=3,e})(),G=(()=>{let e=class{constructor(e,t,n){this.sanitization=e,this.elementRef=t,this.helperService=n,this.minStopIndex=0,this.activeChange=new i.s,this.index=0}ngOnInit(){}ngOnChanges(e){e.selectedIndex&&this.validateIndex(),e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"thumbnails",()=>this.moveRight(),()=>this.moveLeft()),this.images&&(this.remainingCountValue=this.images.length-this.rows*this.columns)}onMouseEnter(){this.mouseenter=!0}onMouseLeave(){this.mouseenter=!1}reset(e){this.selectedIndex=e,this.setDefaultPosition(),this.index=0,this.validateIndex()}getImages(){if(!this.images)return[];if(this.remainingCount)return this.images.slice(0,this.rows*this.columns);if(this.lazyLoading&&this.order!==W.Row){let e=0;return this.order===W.Column?e=(this.index+this.columns+this.moveSize)*this.rows:this.order===W.Page&&(e=this.index+this.columns*this.rows*2),e<=this.minStopIndex?e=this.minStopIndex:this.minStopIndex=e,this.images.slice(0,e)}return this.images}handleClick(e,t){this.hasLink(t)||(this.selectedIndex=t,this.activeChange.emit(t),e.stopPropagation(),e.preventDefault())}hasLink(e){if(this.links&&this.links.length&&this.links[e])return!0}moveRight(){if(this.canMoveRight()){this.index+=this.moveSize;const e=this.getMaxIndex()-this.columns;this.index>e&&(this.index=e),this.setThumbnailsPosition()}}moveLeft(){this.canMoveLeft()&&(this.index-=this.moveSize,this.index<0&&(this.index=0),this.setThumbnailsPosition())}canMoveRight(){return this.index+this.columns<this.getMaxIndex()}canMoveLeft(){return 0!==this.index}getThumbnailLeft(e){let t;return t=this.order===W.Column?Math.floor(e/this.rows):this.order===W.Page?e%this.columns+Math.floor(e/(this.rows*this.columns))*this.columns:this.order===W.Row&&this.remainingCount?e%this.columns:e%Math.ceil(this.images.length/this.rows),this.getThumbnailPosition(t,this.columns)}getThumbnailTop(e){let t;return t=this.order===W.Column?e%this.rows:this.order===W.Page?Math.floor(e/this.columns)-Math.floor(e/(this.rows*this.columns))*this.rows:this.order===W.Row&&this.remainingCount?Math.floor(e/this.columns):Math.floor(e/Math.ceil(this.images.length/this.rows)),this.getThumbnailPosition(t,this.rows)}getThumbnailWidth(){return this.getThumbnailDimension(this.columns)}getThumbnailHeight(){return this.getThumbnailDimension(this.rows)}setThumbnailsPosition(){this.thumbnailsLeft=-100/this.columns*this.index+"%",this.thumbnailsMarginLeft=-(this.margin-(this.columns-1)*this.margin/this.columns)*this.index+"px"}setDefaultPosition(){this.thumbnailsLeft="0px",this.thumbnailsMarginLeft="0px"}canShowArrows(){return!this.remainingCount&&this.arrows&&this.images&&this.images.length>this.getVisibleCount()&&(!this.arrowsAutoHide||this.mouseenter)}validateIndex(){if(this.images){let e;if(e=this.order===W.Column?Math.floor(this.selectedIndex/this.rows):this.selectedIndex%Math.ceil(this.images.length/this.rows),this.remainingCount&&(e=0),e<this.index||e>=this.index+this.columns){const t=this.getMaxIndex()-this.columns;this.index=e>t?t:e,this.setThumbnailsPosition()}}}getSafeUrl(e){return this.sanitization.bypassSecurityTrustStyle(this.helperService.getBackgroundUrl(e))}getFileType(e){return this.helperService.getFileType(e)}getThumbnailPosition(e,t){return this.getSafeStyle("calc("+100/t*e+"% + "+(this.margin-(t-1)*this.margin/t)*e+"px)")}getThumbnailDimension(e){return this.getSafeStyle(0!==this.margin?"calc("+100/e+"% - "+(e-1)*this.margin/e+"px)":"calc("+100/e+"% + 1px)")}getMaxIndex(){if(this.order===W.Page){let e=Math.floor(this.images.length/this.getVisibleCount())*this.columns;return this.images.length%this.getVisibleCount()>this.columns?e+=this.columns:e+=this.images.length%this.getVisibleCount(),e}return Math.ceil(this.images.length/this.rows)}getVisibleCount(){return this.columns*this.rows}getSafeStyle(e){return this.sanitization.bypassSecurityTrustStyle(e)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(i.q),i.yc(H))}
1,e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-thumbnails"]],hostBindings:function(e,t){1&e&&i.Qc("mouseenter",(function(){return t.onMouseEnter()}))("mouseleave",(function(){return t.onMouseLeave()}))},inputs:{selectedIndex:"selectedIndex",images:"images",links:"links",labels:"labels",linkTarget:"linkTarget",columns:"columns",rows:"rows",arrows:"arrows",arrowsAutoHide:"arrowsAutoHide",margin:"margin",clickable:"clickable",swipe:"swipe",size:"size",arrowPrevIcon:"arrowPrevIcon",arrowNextIcon:"arrowNextIcon",moveSize:"moveSize",order:"order",remainingCount:"remainingCount",lazyLoading:"lazyLoading",actions:"actions"},outputs:{activeChange:"activeChange"},features:[i.hc],decls:4,vars:9,consts:[[1,"ngx-gallery-thumbnails"],["class","ngx-gallery-thumbnail",3,"href","target","width","height","left","top","ngClass","click",4,"ngFor","ngForOf"],[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick",4,"ngIf"],[1,"ngx-gallery-thumbnail",3,"href","target","ngClass","click"],["class","ngx-gallery-thumbnail","style","width: 100%; height: 100%; position:absolute;",3,"background-image","ngClass",4,"ngIf"],["class","ngx-gallery-thumbnail-video",4,"ngIf"],[1,"ngx-gallery-icons-wrapper"],[3,"icon","disabled","titleText","closeClick",4,"ngFor","ngForOf"],["class","ngx-gallery-remaining-count-overlay",4,"ngIf"],[1,"ngx-gallery-thumbnail",2,"width","100%","height","100%","position","absolute",3,"ngClass"],[1,"ngx-gallery-thumbnail-video"],[1,"ngx-gallery-thumbnail",2,"width","100%","height","100%","position","absolute","left","0","background","#000",3,"ngClass"],[3,"src"],[3,"icon","disabled","titleText","closeClick"],[1,"ngx-gallery-remaining-count-overlay"],[1,"ngx-gallery-remaining-count"],[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick"]],template:function(e,t){1&e&&(i.Ec(0,"div"),i.Ec(1,"div",0),i.xd(2,z,6,19,"a",1),i.Dc(),i.Dc(),i.xd(3,L,1,4,"ngx-gallery-arrows",2)),2&e&&(i.mc("ngx-gallery-thumbnails-wrapper ngx-gallery-thumbnail-size-",t.size,""),i.jc(1),i.wd("transform","translateX("+t.thumbnailsLeft+")")("margin-left",t.thumbnailsMarginLeft),i.jc(1),i.bd("ngForOf",t.getImages()),i.jc(1),i.bd("ngIf",t.canShowArrows()))},directives:function(){return[s.t,s.u,s.r,te,ee]},styles:['@charset "UTF-8";[_nghost-%COMP%]{width:100%;display:inline-block;position:relative;font-size:25px}.ngx-gallery-thumbnails-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;overflow:hidden}.ngx-gallery-thumbnails[_ngcontent-%COMP%]{height:100%;width:100%;position:absolute;left:0;transform:translateX(0);transition:transform .5s ease-in-out;will-change:transform}.ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]{position:absolute;height:100%;background-position:center;background-repeat:no-repeat;text-decoration:none;border:1px double #000}.ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]   .ngx-gallery-thumbnail-video[_ngcontent-%COMP%]::after{content:"\uf144";display:block;position:absolute;background:#0000;height:100%;width:100%;left:0;top:calc(50% - 20px);font-size:40px;color:#fff;margin:0;padding:0;font-family:fontawesome;text-shadow:0 4px 3px rgba(0,0,0,.4),0 8px 13px rgba(0,0,0,.1),0 18px 23px rgba(0,0,0,.1)}.ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{background-size:cover;height:100%}.ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail.ngx-gallery-active[_ngcontent-%COMP%]{border:1px double #cc4548}.ngx-gallery-thumbnail-size-cover[_ngcontent-%COMP%]   .ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]{background-size:cover}.ngx-gallery-thumbnail-size-contain[_ngcontent-%COMP%]   .ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]{background-size:contain}.ngx-gallery-remaining-count-overlay[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;top:0;background-color:rgba(0,0,0,.4)}.ngx-gallery-remaining-count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:30px}'],changeDetection:0}),e})();class X{constructor(e){this.icon=e.icon,this.disabled=!!e.disabled&&e.disabled,this.titleText=e.titleText?e.titleText:"",this.onClick=e.onClick}}let Z=(()=>{class e{}return e.ThumbnailsTop="thumbnails-top",e.ThumbnailsBottom="thumbnails-bottom",e})(),Y=(()=>{class e{}return e.Cover="cover",e.Contain="contain",e})();class Q{constructor(e){const t=void 0!==e.breakpoint;function n(n,i){return e&&(void 0!==n||t)?n:i}this.breakpoint=n(e.breakpoint,void 0),this.width=n(e.width,"500px"),this.height=n(e.height,"400px"),this.fullWidth=n(e.fullWidth,!1),this.layout=n(e.layout,Z.Thumbn
1ailsBottom),this.startIndex=n(e.startIndex,0),this.linkTarget=n(e.linkTarget,"_blank"),this.lazyLoading=n(e.lazyLoading,!0),this.image=n(e.image,!0),this.imagePercent=n(e.imagePercent,75),this.imageArrows=n(e.imageArrows,!0),this.imageArrowsAutoHide=n(e.imageArrowsAutoHide,!1),this.imageSwipe=n(e.imageSwipe,!1),this.imageAnimation=n(e.imageAnimation,$.Fade),this.imageSize=n(e.imageSize,Y.Cover),this.imageAutoPlay=n(e.imageAutoPlay,!1),this.imageAutoPlayInterval=n(e.imageAutoPlayInterval,2e3),this.imageAutoPlayPauseOnHover=n(e.imageAutoPlayPauseOnHover,!1),this.imageInfinityMove=n(e.imageInfinityMove,!1),e&&e.imageActions&&e.imageActions.length&&(e.imageActions=e.imageActions.map(e=>new X(e))),this.imageActions=n(e.imageActions,[]),this.imageDescription=n(e.imageDescription,!1),this.imageBullets=n(e.imageBullets,!1),this.thumbnails=n(e.thumbnails,!0),this.thumbnailsColumns=n(e.thumbnailsColumns,4),this.thumbnailsRows=n(e.thumbnailsRows,1),this.thumbnailsPercent=n(e.thumbnailsPercent,25),this.thumbnailsMargin=n(e.thumbnailsMargin,10),this.thumbnailsArrows=n(e.thumbnailsArrows,!0),this.thumbnailsArrowsAutoHide=n(e.thumbnailsArrowsAutoHide,!1),this.thumbnailsSwipe=n(e.thumbnailsSwipe,!1),this.thumbnailsMoveSize=n(e.thumbnailsMoveSize,1),this.thumbnailsOrder=n(e.thumbnailsOrder,W.Column),this.thumbnailsRemainingCount=n(e.thumbnailsRemainingCount,!1),this.thumbnailsAsLinks=n(e.thumbnailsAsLinks,!1),this.thumbnailsAutoHide=n(e.thumbnailsAutoHide,!1),this.thumbnailMargin=n(e.thumbnailMargin,10),this.thumbnailSize=n(e.thumbnailSize,Y.Cover),e&&e.thumbnailActions&&e.thumbnailActions.length&&(e.thumbnailActions=e.thumbnailActions.map(e=>new X(e))),this.thumbnailActions=n(e.thumbnailActions,[]),this.thumbnailClasses=n(e.thumbnailClasses,[]),this.preview=n(e.preview,!0),this.previewDescription=n(e.previewDescription,!0),this.previewArrows=n(e.previewArrows,!0),this.previewArrowsAutoHide=n(e.previewArrowsAutoHide,!1),this.previewSwipe=n(e.previewSwipe,!1),this.previewFullscreen=n(e.previewFullscreen,!1),this.previewForceFullscreen=n(e.previewForceFullscreen,!1),this.previewCloseOnClick=n(e.previewCloseOnClick,!1),this.previewCloseOnEsc=n(e.previewCloseOnEsc,!1),this.previewKeyboardNavigation=n(e.previewKeyboardNavigation,!1),this.previewAnimation=n(e.previewAnimation,!0),this.previewAutoPlay=n(e.previewAutoPlay,!1),this.previewAutoPlayInterval=n(e.previewAutoPlayInterval,2e3),this.previewAutoPlayPauseOnHover=n(e.previewAutoPlayPauseOnHover,!1),this.previewInfinityMove=n(e.previewInfinityMove,!1),this.previewZoom=n(e.previewZoom,!1),this.previewZoomStep=n(e.previewZoomStep,.1),this.previewZoomMax=n(e.previewZoomMax,2),this.previewZoomMin=n(e.previewZoomMin,.5),this.previewRotate=n(e.previewRotate,!1),this.previewDownload=n(e.previewDownload,!1),this.previewCustom=n(e.previewCustom,void 0),this.previewBullets=n(e.previewBullets,!1),this.arrowPrevIcon=n(e.arrowPrevIcon,"fa fa-arrow-circle-left"),this.arrowNextIcon=n(e.arrowNextIcon,"fa fa-arrow-circle-right"),this.closeIcon=n(e.closeIcon,"fa fa-times-circle"),this.fullscreenIcon=n(e.fullscreenIcon,"fa fa-arrows-alt"),this.spinnerIcon=n(e.spinnerIcon,"fa fa-spinner fa-pulse fa-3x fa-fw"),this.zoomInIcon=n(e.zoomInIcon,"fa fa-search-plus"),this.zoomOutIcon=n(e.zoomOutIcon,"fa fa-search-minus"),this.rotateLeftIcon=n(e.rotateLeftIcon,"fa fa-undo"),this.rotateRightIcon=n(e.rotateRightIcon,"fa fa-repeat"),this.downloadIcon=n(e.downloadIcon,"fa fa-arrow-circle-down"),e&&e.actions&&e.actions.length&&(e.actions=e.actions.map(e=>new X(e))),this.actions=n(e.actions,[])}}class K{constructor(e){this.src=e.src,this.type=e.type,this.index=e.index}}let J=(()=>{let e=class{constructor(e,t){this.myElement=e,this.helperService=t,this.options=[{}],this.imagesReady=new i.s,this.change=new i.s,this.previewOpen=new i.s,this.previewClose=new i.s,this.previewChange=new i.s,this.oldImagesLength=0,this.selectedIndex=0,this.breakpoint=void 0,this.prevBreakpoint=void 0}ngOnInit(){this.options=this.options.map(e=>new Q(e)),this.sortOptions(),this.setBreakpoint(),this.setOptions(),this.checkFullWidth(),this.currentOptions&&(this.selectedIndex=this.currentOptions.startIndex)}ngDoCheck(){(void 0!==this.images&&this.images.length!==this.oldImagesLength||this.images!==this.oldImages)&&(this.oldImagesLength=this.images.length,this.oldImages=this.images,this.setOptions(),this.setImages(),this.images&&this.images.length&&this.imagesReady.emit(),this.image&&this.image.reset(this.currentOptions.startIndex),this.currentOptions.thumbnailsAutoHide&&this.currentOptions.thumbnails&&this.images.length<=1&&(this.currentOptions.thumbnails=!1,this.currentOptions.imageArrows=!1),this.resetThumbnails())}ngAfterViewInit(){this.checkFullWidth()}onResize(){this.setBreakpoint(),this.prevBreakpoint!==this.breakpoint&&(this.setOptions(),this.resetThumbnails()),this.currentOptions&&this.currentOptions.fullWidth&&(this.fullWidthTimeout&&clearTimeout(this.fullWidthTimeout),this.fullWidthTimeout=setTimeout(()=>{this.checkFullWidth()},200))}getImageHeight(){return this.currentOptions&&this.currentOptions.thumbnails?this.currentOptions.imagePercent+"%":"100%"}getThumbnailsHeight(){return this.currentOptions&&this.currentOptions.image?"calc("+this.currentOptions.thumbnailsPercent+"% - "+this.currentOptions.thumbnailsMargin+"px)":"100%"}getThumbnailsMarginTop(){return this.currentOptions&&this.currentOptions.layout===Z.ThumbnailsBottom?this.currentOptions.thumbnailsMargin+"px":"0px"}getThumbnailsMarginBottom(){return this.currentOptions&&this.currentOptions.layout===Z.ThumbnailsTop?this.currentOptions.thumbnailsMargin+"px":"0px"}openPreview(e){this.currentOptions.previewCustom?this.currentOptions.previewCustom(e):(this.previewEnabled=!0,this.preview.open(e))}onPreviewOpen(){this.previewOpen.emit(),this.image&&this.image.autoPlay&&this.image.stopAutoPlay()}onPreviewClose(){this.previewEnabled=!1,this.previewClose.emit(),this.image&&this.image.autoPlay&&this.image.startAutoPlay()}selectFromImage(e){this.select(e)}selectFromThumbnails(e){this.select(e),this.currentOptions&&this.currentOptions.thumbnails&&this.currentOptions.preview&&(!this.currentOptions.image||this.currentOptions.thumbnailsRemainingCount)&&this.openPreview(this.selectedIndex)}show(e){this.select(e)}showNext(){this.image.showNext()}
1showPrev(){this.image.showPrev()}canShowNext(){return!(!this.images||!this.currentOptions||!(this.currentOptions.imageInfinityMove||this.selectedIndex<this.images.length-1))}canShowPrev(){return!(!this.images||!this.currentOptions||!(this.currentOptions.imageInfinityMove||this.selectedIndex>0))}previewSelect(e){this.previewChange.emit({index:e,image:this.images[e]})}moveThumbnailsRight(){this.thumbnails.moveRight()}moveThumbnailsLeft(){this.thumbnails.moveLeft()}canMoveThumbnailsRight(){return this.thumbnails.canMoveRight()}canMoveThumbnailsLeft(){return this.thumbnails.canMoveLeft()}resetThumbnails(){this.thumbnails&&this.thumbnails.reset(this.currentOptions.startIndex)}select(e){this.selectedIndex=e,this.change.emit({index:e,image:this.images[e]})}checkFullWidth(){this.currentOptions&&this.currentOptions.fullWidth&&(this.width=document.body.clientWidth+"px",this.left="translateX("+-(document.body.clientWidth-this.myElement.nativeElement.parentNode.innerWidth)/2+"px)")}setImages(){this.images.forEach(e=>e.type=this.helperService.getFileType(e.url||e.big||e.medium||e.small||"")),this.smallImages=this.images.map(e=>e.small),this.mediumImages=this.images.map((e,t)=>new K({src:e.medium,type:e.type,index:t})),this.bigImages=this.images.map(e=>e.big),this.descriptions=this.images.map(e=>e.description),this.links=this.images.map(e=>e.url),this.labels=this.images.map(e=>e.label)}setBreakpoint(){let e;this.prevBreakpoint=this.breakpoint,"undefined"!=typeof window&&(e=this.options.filter(e=>e.breakpoint>=window.innerWidth).map(e=>e.breakpoint)),this.breakpoint=e&&e.length?e.pop():void 0}sortOptions(){this.options=[...this.options.filter(e=>void 0===e.breakpoint),...this.options.filter(e=>void 0!==e.breakpoint).sort((e,t)=>t.breakpoint-e.breakpoint)]}setOptions(){this.currentOptions=new Q({}),this.options.filter(e=>void 0===e.breakpoint||e.breakpoint>=this.breakpoint).map(e=>this.combineOptions(this.currentOptions,e)),this.width=this.currentOptions.width,this.height=this.currentOptions.height}combineOptions(e,t){Object.keys(t).map(n=>e[n]=void 0!==t[n]?t[n]:e[n])}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(H))},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery"]],viewQuery:function(e,t){var n;1&e&&(i.Dd(B,!0),i.Dd(q,!0),i.Dd(G,!0)),2&e&&(i.jd(n=i.Rc())&&(t.preview=n.first),i.jd(n=i.Rc())&&(t.image=n.first),i.jd(n=i.Rc())&&(t.thumbnails=n.first))},hostVars:6,hostBindings:function(e,t){1&e&&i.Qc("resize",(function(){return t.onResize()}),!1,i.md),2&e&&i.wd("width",t.width)("transform",t.left)("height",t.height)},inputs:{options:"options",images:"images"},outputs:{imagesReady:"imagesReady",change:"change",previewOpen:"previewOpen",previewClose:"previewClose",previewChange:"previewChange"},features:[i.ic([H])],decls:4,vars:41,consts:[[3,"height","images","clickable","selectedIndex","arrows","arrowsAutoHide","arrowPrevIcon","arrowNextIcon","swipe","animation","size","autoPlay","autoPlayInterval","autoPlayPauseOnHover","infinityMove","lazyLoading","actions","descriptions","showDescription","bullets","imageClick","activeChange",4,"ngIf"],[3,"marginTop","marginBottom","height","images","links","labels","linkTarget","selectedIndex","columns","rows","margin","arrows","arrowsAutoHide","arrowPrevIcon","arrowNextIcon","clickable","swipe","size","moveSize","order","remainingCount","lazyLoading","actions","ngClass","activeChange",4,"ngIf"],[3,"images","descriptions","showDescription","arrowPrevIcon","arrowNextIcon","closeIcon","fullscreenIcon","spinnerIcon","arrows","arrowsAutoHide","swipe","fullscreen","forceFullscreen","closeOnClick","closeOnEsc","keyboardNavigation","animation","autoPlay","autoPlayInterval","autoPlayPauseOnHover","infinityMove","zoom","zoomStep","zoomMax","zoomMin","zoomInIcon","zoomOutIcon","actions","rotate","rotateLeftIcon","rotateRightIcon","download","downloadIcon","bullets","previewClose","previewOpen","activeChange"],[3,"images","clickable","selectedIndex","arrows","arrowsAutoHide","arrowPrevIcon","arrowNextIcon","swipe","animation","size","autoPlay","autoPlayInterval","autoPlayPauseOnHover","infinityMove","lazyLoading","actions","descriptions","showDescription","bullets","imageClick","activeChange"],[3,"images","links","labels","linkTarget","selectedIndex","columns","rows","margin","arrows","arrowsAutoHide","arrowPrevIcon","arrowNextIcon","clickable","swipe","size","moveSize","order","remainingCount","lazyLoading","actions","ngClass","activeChange"]],template:function(e,t){1&e&&(i.Ec(0,"div"),i.xd(1,N,1,21,"ngx-gallery-image",0),i.xd(2,F,1,28,"ngx-gallery-thumbn
1ails",1),i.Ec(3,"ngx-gallery-preview",2),i.Qc("previewClose",(function(){return t.onPreviewClose()}))("previewOpen",(function(){return t.onPreviewOpen()}))("activeChange",(function(e){return t.previewSelect(e)})),i.Dc(),i.Dc()),2&e&&(i.mc("ngx-gallery-layout ",null==t.currentOptions?null:t.currentOptions.layout,""),i.jc(1),i.bd("ngIf",null==t.currentOptions?null:t.currentOptions.image),i.jc(1),i.bd("ngIf",null==t.currentOptions?null:t.currentOptions.thumbnails),i.jc(1),i.pc("ngx-gallery-active",t.previewEnabled),i.bd("images",t.bigImages)("descriptions",t.descriptions)("showDescription",null==t.currentOptions?null:t.currentOptions.previewDescription)("arrowPrevIcon",null==t.currentOptions?null:t.currentOptions.arrowPrevIcon)("arrowNextIcon",null==t.currentOptions?null:t.currentOptions.arrowNextIcon)("closeIcon",null==t.currentOptions?null:t.currentOptions.closeIcon)("fullscreenIcon",null==t.currentOptions?null:t.currentOptions.fullscreenIcon)("spinnerIcon",null==t.currentOptions?null:t.currentOptions.spinnerIcon)("arrows",null==t.currentOptions?null:t.currentOptions.previewArrows)("arrowsAutoHide",null==t.currentOptions?null:t.currentOptions.previewArrowsAutoHide)("swipe",null==t.currentOptions?null:t.currentOptions.previewSwipe)("fullscreen",null==t.currentOptions?null:t.currentOptions.previewFullscreen)("forceFullscreen",null==t.currentOptions?null:t.currentOptions.previewForceFullscreen)("closeOnClick",null==t.currentOptions?null:t.currentOptions.previewCloseOnClick)("closeOnEsc",null==t.currentOptions?null:t.currentOptions.previewCloseOnEsc)("keyboardNavigation",null==t.currentOptions?null:t.currentOptions.previewKeyboardNavigation)("animation",null==t.currentOptions?null:t.currentOptions.previewAnimation)("autoPlay",null==t.currentOptions?null:t.currentOptions.previewAutoPlay)("autoPlayInterval",null==t.currentOptions?null:t.currentOptions.previewAutoPlayInterval)("autoPlayPauseOnHover",null==t.currentOptions?null:t.currentOptions.previewAutoPlayPauseOnHover)("infinityMove",null==t.currentOptions?null:t.currentOptions.previewInfinityMove)("zoom",null==t.currentOptions?null:t.currentOptions.previewZoom)("zoomStep",null==t.currentOptions?null:t.currentOptions.previewZoomStep)("zoomMax",null==t.currentOptions?null:t.currentOptions.previewZoomMax)("zoomMin",null==t.currentOptions?null:t.currentOptions.previewZoomMin)("zoomInIcon",null==t.currentOptions?null:t.currentOptions.zoomInIcon)("zoomOutIcon",null==t.currentOptions?null:t.currentOptions.zoomOutIcon)("actions",null==t.currentOptions?null:t.currentOptions.actions)("rotate",null==t.currentOptions?null:t.currentOptions.previewRotate)("rotateLeftIcon",null==t.currentOptions?null:t.currentOptions.rotateLeftIcon)("rotateRightIcon",null==t.currentOptions?null:t.currentOptions.rotateRightIcon)("download",null==t.currentOptions?null:t.currentOptions.previewDownload)("downloadIcon",null==t.currentOptions?null:t.currentOptions.downloadIcon)("bullets",null==t.currentOptions?null:t.currentOptions.previewBullets))},directives:[s.u,B,q,G,s.r],styles:[":host{display:inline-block}:host>*{float:left}.ngx-gallery-layout{width:100%;height:100%;display:flex;flex-direction:column}.ngx-gallery-layout.thumbnails-top ngx-gallery-image{order:2}.ngx-gallery-layout.thumbnails-bottom ngx-gallery-image,.ngx-gallery-layout.thumbnails-top ngx-gallery-thumbnails{order:1}.ngx-gallery-layout.thumbnails-bottom ngx-gallery-thumbnails{order:2}*{box-sizing:border-box}.ngx-gallery-icon{color:#fff;position:absolute;display:inline-block}.ngx-gallery-icon .ngx-gallery-icon-content{display:block}ngx-gallery-preview{font-size:25px}ngx-gallery-preview .ngx-gallery-icon{z-index:2000}.ngx-gallery-clickable{cursor:pointer}.ngx-gallery-icons-wrapper .ngx-gallery-icon{position:relative;margin-right:5px;margin-top:5px;font-size:20px;cursor:pointer}.ngx-gallery-icons-wrapper{float:right}"],encapsulation:2,changeDetection:0}),e})(),ee=(()=>{let e=class{constructor(){this.prevClick=new i.s,this.nextClick=new i.s}ngOnInit(){}handlePrevClick(){this.prevClick.emit()}handleNextClick(){this.nextClick.emit()}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-arrows"]],inputs:{prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",arrowPrevIcon:"arrowPrevIcon",arrowNextIcon:"arrowNextIcon"},outputs:{prevClick:"prevClick",nextClick:"nextClick"},decls:6,vars:10,consts:[[1,"ngx-gallery-arrows-wrapper","ngx-gallery-arrow-left"],["aria-hidden","true",1,"ngx-gallery-icon","ngx-gallery-arrow",3,"click"],[1,"ngx-gallery-arrows-wrapper","ngx-gallery-arrow-right"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"div",1),i.Qc("click",(function(){return t.handlePrevClick()})),i.zc(2,"i"),i.Dc(),i.Dc(),i.Ec(3,"div",2),i.Ec(4,"div",1),i.Qc("click",(function(){return t.handleNextClick()})),i.zc(5,"i"),i.Dc(),i.Dc()),2&e&&(i.jc(1),i.pc("ngx-gallery-disabled",t.prevDisabled),i.jc(1),i.mc("ngx-gallery-icon-content ",t.arrowPrevIcon,""),i.jc(2),i.pc("ngx-gallery-disabled",t.nextDisabled),i.jc(1),i.mc("ngx-gallery-icon-content ",t.arrowNextIcon,""))},styles:[".ngx-gallery-arrow-wrapper[_ngcontent-%COMP%]{position:absolute;height:100%;width:1px;display:table;table-layout:fixed}.ngx-gallery-preview-img-wrapper[_ngcontent-%COMP%]   .ngx-gallery-arrow-wrapper[_ngcontent-%COMP%]{z-index:10001}.ngx-gallery-arrow-left[_ngcontent-%COMP%]{left:0}.ngx-gallery-arrow-right[_ngcontent-%COMP%]{right:0}.ngx-gallery-arrow[_ngcontent-%COMP%]{top:50%;transform:translateY(-50%);cursor:pointer}.ngx-gallery-arrow.ngx-gallery-disabled[_ngcontent-%COMP%]{opacity:.6;cursor:default}.ngx-gallery-arrow-left[_ngcontent-%COMP%]   .ngx-gallery-arrow[_ngcontent-%COMP%]{left:10px}.ngx-gallery-arrow-right[_ngcontent-%COMP%]   .ngx-gallery-arrow[_ngcontent-%COMP%]{right:10px}"],changeDetection:0}),e})(),te=(()=>{let e=class{constructor(){this.disabled=!1,this.titleText="",this.closeClick=new i.s}ngOnInit(){}handleClick(e){this.disabled||this.closeClick.emit(e),e.stopPropagation(),e.preventDefault()}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-action"]],inputs:{disabled:"disabled",titleText:"titleText",icon:"icon"},outputs:{closeClick:"closeClick"},decls:2,vars:6,consts:[["aria-hidden","true",1,"ngx-gallery-icon",3,"title","click"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Qc("click",(function(e){return t.handleClick(e)})),i.zc(1,"i"),i.Dc()),2&e&&(i.pc("ngx-gallery-icon-disabled",t.disabled),i.cd("title",t.titleText),i.jc(1),i.mc("ngx-gallery-icon-content ",t.icon,""))},styles:[".ngx-gallery-icon[_ngcontent-%COMP%]{color:#fff;z-index:2000;display:inline-block;position:relative;margin-right:10px;margin-top:10px;font-size:25px;cursor:pointer;text-decoration:none}.ngx-gallery-icon[_ngcontent-%COMP%]   .ngx-gallery-icon-content[_ngcontent-%COMP%]{display:block}"],changeDetection:0}),e})(),ne=(()=>{let e=class{constructor(){this.active=0,this.bulletChange=new i.s}ngOnInit(){}getBullets(){return Array(this.count)}handleChange(e,t){this.bulletChange.emit(t)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-bullets"]],inputs:{active:"active",count:"count"},outputs:{bulletChange:"bulletChange"},decls:1,vars:1,consts:[["class","ngx-gallery-bullet",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"ngx-gallery-bullet",3,"ngClass","click"]],template:function(e,t){1&e&&i.xd(0,U,1,3,"div",0),2&e&&i.bd("ngForOf",t.getBullets())},directives:[s.t,s.r],styles:["[_nghost-%COMP%]{position:absolute;z-index:2000;display:inline-flex;left:50%;transform:translateX(-50%);bottom:0;padding:10px}.ngx-gallery-bullet[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:50%;cursor:pointer;background:#fff}.ngx-gallery-bullet[_ngcontent-%COMP%]:not(:first-child){margin-left:5px}.ngx-gallery-bullet.ngx-gallery-active[_ngcontent-%COMP%], .ngx-gallery-bullet[_ngcontent-%COMP%]:hover{background:#000}"],changeDetection:0}),e})(),ie=(()=>{let e=class extends r.f{constructor(){super(...arguments),this.overrides={pinch:{enable:!1},rotate:{enable:!1}}}};return e.\u0275fac=function(t){return se(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),re=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[{provide:r.e,useClass:ie}],imports:[[s.c]]}),e})();const se=i.Gc(ie)},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return u}));var i=n("HDdC"),r=n("7o/Q"),s=n("quSY"),o=n("9ppp"),a=n("Ylt2"),c=n("2QA8");class l extends r.a{constructor(e){super(e),this.destination=e}}let u=(()=>{class e extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;r<n;r++)i[r].next(e)}}error(e){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;r<n;r++)i[r].error(e);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let i=0;i<t;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new o.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new o.a;return this.hasError?(e.error(this.thrownError),s.a.EMPTY):this.isStopped?(e.complete(),s.a.EMPTY):(this.observers.push(e),new a.a(this,e))}asObservable(){const e=new i.a;return e.source=this,e}}return e.create=(e,t)=>
1new d(e,t),e})();class d extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):s.a.EMPTY}}},XhrQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");let r=(()=>{class e{constructor(){this.small=!1}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-circle-loader"]],inputs:{small:"small"},decls:1,vars:2,consts:[[1,"circle-loader"]],template:function(e,t){1&e&&i.zc(0,"div",0),2&e&&i.pc("circle-loader--sm",t.small)},styles:[".circle-loader[_ngcontent-%COMP%]{display:inline-block;width:32px;height:32px;border-color:var(--green-primary);border-radius:50%;-webkit-animation:spin-action 1.2s cubic-bezier(.97,.29,.4,.85) infinite;animation:spin-action 1.2s cubic-bezier(.97,.29,.4,.85) infinite;border:3px solid var(--green-primary);border-right:3px solid transparent;vertical-align:middle}.circle-loader--sm[_ngcontent-%COMP%]{width:16px;height:16px;border-width:2px}@-webkit-keyframes spin-action{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin-action{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]}),e})()},Xiot:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("fXoL"),r=n("ofXK");let s=(()=>{class e{constructor(){this.window=window}get providerClass(){return"provider-button--"+this.type}showPopup(){if(!this.window)return;e.actualPopup&&(e.actualPopup.close(),e.actualPopup=void 0);const t=Object.assign({},this.getPopupOptions()),n=Object.keys(t).map(e=>`${e}=${t[e]}`).join(),i=this.window.open(this.settings.authUrl,"cis_auth_choice",n);null!==i&&(i.focus(),e.actualPopup=i)}getPopupOptions(){const e={resizable:"yes",scrollbars:"no",toolbar:"no",menubar:"no",location:"no",directories:"no",status:"yes",width:450,height:380,left:0,top:0};return this.settings.popupWidth&&(e.width=this.settings.popupWidth),this.settings.popupHeight&&(e.height=this.settings.popupHeight),e.left=(this.window.screen.width-e.width)/2,e.top=(this.window.screen.height-e.height)/2,e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-oauth-provider-button"]],inputs:{type:"type",settings:"settings"},decls:2,vars:3,consts:[[1,"provider-button",3,"ngClass","title","click"]],template:function(e,t){1&e&&(i.Ec(0,"a",0),i.Qc("click",(function(){return t.showPopup()})),i.zd(1),i.Dc()),2&e&&(i.cd("title",t.settings.title),i.bd("ngClass",t.providerClass),i.jc(1),i.Bd(" ",t.settings.title,"\n"))},directives:[r.r],styles:[".provider-button[_ngcontent-%COMP%]{display:block;height:40px;line-height:40px;margin:0 5px 10px;padding:0 15px 0 45px;text-align:center;color:#fff;font-weight:700;white-space:nowrap;border-radius:4px;border:none;text-transform:capitalize;cursor:pointer}.provider-button[_ngcontent-%COMP%]:focus, .provider-button[_ngcontent-%COMP%]:hover{color:#fff}.provider-button--facebook[_ngcontent-%COMP%]{background:url(dist-assets/auth-facebook.7df491f7d2a4425d26bb.svg) #4678b2 7% 50% no-repeat;background-size:25px 25px}.provider-button--facebook[_ngcontent-%COMP%]:focus, .provider-button--facebook[_ngcontent-%COMP%]:hover{background-color:#5585bc}.provider-button--facebook[_ngcontent-%COMP%]:active{background-color:#3f6ca0}.provider-button--google[_ngcontent-%COMP%]{background:url(dist-assets/auth-google.7734efbe7eaa3cac623f.svg) #4285f4 7% 50% no-repeat;background-size:38px 38px}.provider-button--google[_ngcontent-%COMP%]:focus, .provider-button--google[_ngcontent-%COMP%]:hover{background-color:#5a95f5}.provider-button--google[_ngcontent-%COMP%]:active{background-color:#2a75f3}.provider-button--instagram[_ngcontent-%COMP%]{background:url(dist-assets/auth-instagram.ad5353f649dcd96b60ee.svg) #d83190 7% 50% no-repeat;background-size:20%}.provider-button--instagram[_ngcontent-%COMP%]:focus, .provider-button--instagram[_ngcontent-%COMP%]:hover{background-color:#dc469c}.provider-button--instagram[_ngcontent-%COMP%]:active{background-color:#c92683}.provider-button--linkedIn[_ngcontent-%COMP%]{background:url(dist-assets/auth-linkedin.51907ed6113228edf7b3.svg) #0077b5 7% 50% no-repeat;background-size:20%}.provider-button--linkedIn[_ngcontent-%COMP%]:focus, .provider-button--linkedIn[_ngcontent-%COMP%]:hover{background-color:#0088cf}.provider-button--linkedIn[_ngcontent-%COMP%]:active{background-color:#00669c}.provider-button--twitter[_ngcontent-%COMP%]{background:url(dist-assets/auth-twitter.03f77fae239daae5d84d.svg) #00aced 7% 50% no-repeat;background-size:20%}.provider-button--twitter[_ngcontent-%COMP%]:focus, .provider-button--twitter[_ngcontent-%COMP%]:hover{background-color:#08bbff}.provider-button--twitter[_ngcontent-%COMP%]:active{background-color:#0099d4}.provider-button--vkontakte[_ngcontent-%COMP%]{background:url(dist-assets/auth-vkontakte.e5f1fc42010b61dd1942.svg) #2787f5 7% 50% no-repeat;background-size:20%}.provider-button--vkontakte[_ngcontent-%COMP%]:focus, .provider-button--vkontakte[_ngcontent-%COMP%]:hover{background-color:#3f95f6}.provider-button--vkontakte[_ngcontent-%COMP%]:active{background-color:#0f79f4}"]}),e})()},XoHu:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return i}))},XqMk:function(e,t,n){"use strict";var i="object"==typeof global&&global&&global.Object===Object&&global;t.a=i},Y6Wm:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("XNiG"),r=n("1G5W"),s=n("fXoL"),o=n("GJzE"),a=n("ofXK"),c=n("tyNb");function l(e,t){if(1&e&&(s.Ec(0,"span",4),s.zc(1,"img",5),s.Dc()),2&e){const e=s.Uc(2);
1s.jc(1),s.cd("src",e.logoUrl,s.qd)}}function u(e,t){if(1&e&&(s.Ec(0,"a",6),s.zc(1,"img",5),s.Dc()),2&e){const e=s.Uc(2);s.bd("routerLink",e.routesService.buildHomePageRoute()),s.jc(1),s.cd("src",e.logoUrl,s.qd)}}function d(e,t){if(1&e&&(s.Cc(0),s.xd(1,l,2,1,"span",2),s.Vc(2,"async"),s.xd(3,u,2,2,"ng-template",null,3,s.yd),s.Bc()),2&e){const e=s.kd(4),t=s.Uc();s.jc(1),s.bd("ngIf",s.Wc(2,2,t.isOnHomePage$))("ngIfElse",e)}}function h(e,t){1&e&&s.zc(0,"div",7)}let p=(()=>{class e{constructor(e){this.routesService=e,this.logoUrl=null,this.onDestroy$=new i.a}get isOnHomePage$(){return void 0===this.pIsOnHomePage$&&(this.pIsOnHomePage$=this.routesService.isOnHomePage$.pipe(Object(r.a)(this.onDestroy$))),this.pIsOnHomePage$}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(s.yc(o.fb))},e.\u0275cmp=s.sc({type:e,selectors:[["app-site-logo"]],inputs:{logoUrl:"logoUrl"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["logoCap",""],["class","logo",4,"ngIf","ngIfElse"],["logoWithLink",""],[1,"logo"],["alt","",3,"src"],[1,"logo",3,"routerLink"],[1,"logo-cap"]],template:function(e,t){if(1&e&&(s.xd(0,d,5,4,"ng-container",0),s.xd(1,h,1,0,"ng-template",null,1,s.yd)),2&e){const e=s.kd(2);s.bd("ngIf",t.logoUrl)("ngIfElse",e)}},directives:[a.u,c.g],pipes:[a.b],styles:[".logo-cap[_ngcontent-%COMP%]{width:124px;height:55px;margin:auto;border-radius:8px;background-color:#f5f5f5}@media (min-width:1024px){.logo-cap[_ngcontent-%COMP%]{margin:0 40px 0 0}}.logo[_ngcontent-%COMP%]{height:55px;margin:auto;display:inline-block;width:275px;text-align:center}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%}@media (min-width:1024px){.logo[_ngcontent-%COMP%]{text-align:unset;margin:0 30px 0 0}}"]}),e})()},Y7yP:function(e,t,n){"use strict";var i,r=n("vJtL"),s=n("Ju5/").a["__core-js_shared__"],o=(i=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",a=n("IzLi"),c=n("dLWn"),l=/^\[object .+?Constructor\]$/,u=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.a=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Object(a.a)(e)||(t=e,o&&o in t))&&(Object(r.a)(e)?u:l).test(Object(c.a)(e));var t}(n)?n:void 0}},YHEm:function(e,t,n){"use strict";t.a=function(e,t){return e===t||e!=e&&t!=t}},YLoO:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("PqYM"),r=n("IzEk"),s=n("s1DB"),o=n("AytR"),a=n("ehPC"),c=n("fXoL");function l(e,t){if(1&e&&c.zc(0,"app-card-label",7),2&e){const e=c.Uc(3);c.bd("title",e.widget.label)}}function u(e,t){if(1&e&&(c.Ec(0,"div",13),c.zd(1),c.Dc()),2&e){const e=c.Uc().$implicit;c.jc(1),c.Bd(" ",e.firstAddress.phones.join(", ")," ")}}function d(e,t){if(1&e&&(c.Ec(0,"a",8),c.Tc(),c.Ec(1,"svg",9),c.zc(2,"use"),c.Dc(),c.Sc(),c.Ec(3,"div",10),c.Ec(4,"div",11),c.zd(5),c.Dc(),c.xd(6,u,2,1,"div",12),c.Dc(),c.Dc()),2&e){const e=t.$implicit,n=c.Uc(3);c.cd("href",e.mainUrl,c.qd),c.bd("ngClass",n.getListItemClass(e)),c.jc(2),c.kc("href",n.getListItemIcon(e),null,"xlink"),c.jc(3),c.Bd(" ",e.title," "),c.jc(1),c.bd("ngIf",null==e.firstAddress||null==e.firstAddress.phones?null:e.firstAddress.phones.length)}}function h(e,t){if(1&e&&(c.Ec(0,"div",2),c.xd(1,l,1,1,"app-card-label",3),c.xd(2,d,7,5,"a",4),c.Ec(3,"div",5),c.Ec(4,"a",6),c.zd(5),c.Dc(),c.Dc(),c.Dc()),2&e){const e=c.Uc(2);c.jc(1),c.bd("ngIf",e.widget.label),c.jc(1),c.bd("ngForOf",e.models),c.jc(2),c.cd("href",e.widget.addCompanyLink,c.qd),c.jc(1),c.Ad(e.widget.addCompanyLabel)}}function p(e,t){if(1&e&&(c.Cc(0),c.xd(1,h,6,4,"div",1),c.Bc()),2&e){const e=c.Uc();c.jc(1),c.bd("ngIf",null==e.models?null:e.models.length)}}let f=(()=>{class e extends a.j{constructor(e,t,n){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.companiesService=n}ngOnInit(){this.companiesService.getNextTopCompanies(this.widget.itemsCount).pipe(Object(r.a)(1)).subscribe(e=>{this.models=e,null!==e?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};o.a.useLoadingDelay?Object(i.a)(1500).subscribe(t):t()})}isListItemPayed(e){return s.m.Standard!==e.iconsSet}getListItemClass(e){switch(e.iconsSet){case s.m.Lux:return"teaser-block__item--lux";case s.m.Premium:return"teaser-block__item--premium";case s.m.Platinum:return"teaser-block__item--platinum";case s.m.Standard:return"teaser-block__item--standard";default:return""}}getListItemIcon(e){switch(e.iconsSet){case s.m.Lux:return"#icon-queen";case s.m.Premium:return"#icon-crown";case s.m.Platinum:return"#icon-diamond";case s.m.Standard:return"#icon-standard";default:return""}}}return e.\u0275fac=function(t){return new(t||e)(c.yc(a.A,8),c.yc(c.w),c.yc(s.w))},e.\u0275cmp=c.sc({type:e,selectors:[["app-shared-top-companies"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","a
1ppLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","teaser-block",4,"ngIf"],[1,"teaser-block"],["className","card-label d-lg-inline-block mb-4",3,"title",4,"ngIf"],["class","teaser-block__item","rel","nofollow",3,"href","ngClass",4,"ngFor","ngForOf"],[1,"teaser-block__btn-container","mt-4","text-center"],[1,"btn","btn--primary",3,"href"],["className","card-label d-lg-inline-block mb-4",3,"title"],["rel","nofollow",1,"teaser-block__item",3,"href","ngClass"],["width","24","height","24",1,"teaser-block__icon"],[1,"teaser-block__info"],[1,"teaser-block__title"],["class","teaser-block__subtitle",4,"ngIf"],[1,"teaser-block__subtitle"]],template:function(e,t){1&e&&(c.xd(0,p,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".teaser-block[_ngcontent-%COMP%]{margin-bottom:48px}.teaser-block__item[_ngcontent-%COMP%]{display:flex;align-items:flex-start;margin-bottom:16px;line-height:21px}.teaser-block__item--premium[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#c0f}.teaser-block__item--platinum[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#00afe1}.teaser-block__item--lux[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#fb661c}.teaser-block__item--standard[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:var(--green-primary)}.teaser-block__icon[_ngcontent-%COMP%]{flex-shrink:0;width:24px;height:24px;margin-right:8px}.teaser-block__info[_ngcontent-%COMP%]{overflow:hidden}.teaser-block__title[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:42px;overflow:hidden}.teaser-block__subtitle[_ngcontent-%COMP%]{min-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:rgba(50,50,50,.35)}"]}),e})()},YM6B:function(e,t,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),s=Object(i.a)(r.a,"DataView"),o=n("3cmB"),a=Object(i.a)(r.a,"Promise"),c=Object(i.a)(r.a,"Set"),l=Object(i.a)(r.a,"WeakMap"),u=n("8M4i"),d=n("dLWn"),h=Object(d.a)(s),p=Object(d.a)(o.a),f=Object(d.a)(a),g=Object(d.a)(c),m=Object(d.a)(l),b=u.a;(s&&"[object DataView]"!=b(new s(new ArrayBuffer(1)))||o.a&&"[object Map]"!=b(new o.a)||a&&"[object Promise]"!=b(a.resolve())||c&&"[object Set]"!=b(new c)||l&&"[object WeakMap]"!=b(new l))&&(b=function(e){var t=Object(u.a)(e),n="[object Object]"==t?e.constructor:void 0,i=n?Object(d.a)(n):"";if(i)switch(i){case h:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case g:return"[object Set]";case m:return"[object WeakMap]"}return t}),t.a=b},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("quSY");class r extends i.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("51Dv"),r=n("SeVD"),s=n("HDdC");function o(e,t,n,o,a=new i.a(e,n,o)){if(!a.closed)return t instanceof s.a?t.subscribe(a):Object(r.a)(t)(a)}},Zivq:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");let r=(()=>{class e{constructor(){}get iconName(){return"#icon-"+this.type}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-social-link"]],inputs:{type:"type",url:"url"},decls:4,vars:5,consts:[["rel","nofollow","target","_blank",3,"href"],[1,"footer-social__icon"]],template:function(e,t){1&e&&(i.Ec(0,"a",0),i.Ec(1,"div",1),i.Tc(),i.Ec(2,"svg"),i.zc(3,"use"),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.mc("footer-social footer-social--",t.type,""),i.cd("href",t.url,i.qd),i.jc(3),i.kc("href",t.iconName,null,"xlink"))},styles:[".footer-social[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:32px 24px;color:inherit}.footer-social__icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:36px;height:36px;transition:all .3s ease-out}.footer-social--oki-tv[_ngcontent-%COMP%]   .footer-social__icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:90px}.footer-social__views[_ngcontent-%COMP%]{margin-bottom:8px;font-size:14px}.footer-social__btn[_ngcontent-%COMP%]{padding:4px 12px;border:1px solid #fff}.footer-social[_ngcontent-%COMP%]:hover{color:inherit}.footer-social[_ngcontent-%COMP%]:focus{outline:none}.footer-social--facebook[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#4678b2}.footer-social--facebook[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--facebook[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#385f8d}.footer-social--telegram[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#08c}.footer-social--telegram[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--telegram[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#069}.footer-social--instagram[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#d83190}.footer-social--instagram[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--instagram[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#b42275}.footer-social--twitter[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#00aced}.footer-social--twitter[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--twitter[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#0087ba}.footer-social--odnoklassniki[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#f68634}.footer-social--odnoklassniki[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--odnoklassniki[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#ed6a0a}.footer-social--viber[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#7c529e}.footer-social--viber[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--viber[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#62417c}.footer-social--whatsapp[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#075e54}.footer-social--whatsapp[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--whatsapp[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#032f2a}.footer-social--vkontakte[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#2787f5}.footer-social--vkontakte[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--vkontakte[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#0a6ddf}
1.footer-social--youtube[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#cd201f}.footer-social--youtube[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--youtube[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#a11918}@media (min-width:1024px){.footer-social[_ngcontent-%COMP%]{width:auto;padding:12px 24px;border-top:0}.footer-social__icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:24px;height:24px}.footer-social--oki-tv[_ngcontent-%COMP%]{padding:12px}.footer-social--oki-tv[_ngcontent-%COMP%]   .footer-social__icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:60px}.footer-social__info[_ngcontent-%COMP%]{margin-left:16px}}"]}),e})()},ZwN2:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("3Pt+"),r=n("IzEk"),s=n("GJzE"),o=n("fXoL"),a=n("1kSV"),c=n("sYmb");function l(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(2);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-email-or-login","required")," ")}}function u(e,t){if(1&e&&(o.Ec(0,"div",19),o.xd(1,l,2,1,"div",16),o.Dc()),2&e){const e=o.Uc();o.jc(1),o.bd("ngIf",e.modalForm.controls.userLogin.errors.required)}}function d(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(2);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-password","required")," ")}}function h(e,t){if(1&e&&(o.Ec(0,"div",19),o.xd(1,d,2,1,"div",16),o.Dc()),2&e){const e=o.Uc();o.jc(1),o.bd("ngIf",e.modalForm.controls.userPassword.errors.required)}}function p(e,t){if(1&e&&(o.Ec(0,"div",20),o.zd(1),o.Dc()),2&e){const e=o.Uc();o.jc(1),o.Bd(" ",e.formErrorMessage," ")}}function f(e,t){1&e&&o.zc(0,"span",21)}function g(e,t){1&e&&(o.Ec(0,"span",18),o.zd(1,"modal-sign-in-submit-label"),o.Dc())}function m(e,t){if(1&e&&o.zc(0,"app-oauth-provider-button",24),2&e){const e=t.$implicit;o.bd("type",e.key)("settings",e.value)}}function b(e,t){if(1&e&&(o.Cc(0),o.zc(1,"hr"),o.Ec(2,"div",22),o.xd(3,m,1,2,"app-oauth-provider-button",23),o.Vc(4,"keyvalue"),o.Dc(),o.Bc()),2&e){const e=o.Uc();o.jc(3),o.bd("ngForOf",o.Wc(4,1,e.oAuthProviders))}}let v=(()=>{class e extends s.m{constructor(e,t,n,i,r,s){super(e,t,n,i,r),this.modal=e,this.authModalsService=t,this.translateService=n,this.formBuilder=i,this.authService=r,this.oAuthService=s,this.isFormLoading=!1,this.formErrorMessage=""}get isLoginOrPasswordIncorrect(){var e,t;return(null===(e=this.modalForm)||void 0===e?void 0:e.hasError("incorrect","userLogin"))||(null===(t=this.modalForm)||void 0===t?void 0:t.hasError("incorrect","userPassword"))}
1onFormSubmit(){if(this.modalForm.invalid)return;this.formErrorMessage="",this.isFormLoading=!0;const{userLogin:e,userPassword:t}=this.modalForm.value;this.authService.signIn(e,t).pipe(Object(r.a)(1)).subscribe({next:e=>{this.modalForm.reset(),this.isFormLoading=!1,this.modal.close(e)},error:e=>{this.formErrorMessage=e.join(", "),this.modalForm.get("userLogin").setErrors({incorrect:!0}),this.modalForm.get("userPassword").setErrors({incorrect:!0}),this.isFormLoading=!1}})}ngOnInit(){super.ngOnInit(),this.oAuthProvidersSubscription=this.oAuthService.oAuthProviders.subscribe(e=>{this.oAuthProviders=e})}ngOnDestroy(){this.oAuthProvidersSubscription&&(this.oAuthProvidersSubscription.unsubscribe(),this.oAuthProvidersSubscription=void 0)}buildModalForm(){return this.formBuilder.group({userLogin:["",[i.D.required]],userPassword:["",[i.D.required]]},{validators:[e=>(this.modalForm&&(this.resetError(this.modalForm,"incorrect","userLogin"),this.resetError(this.modalForm,"incorrect","userPassword")),e.errors)]})}}return e.\u0275fac=function(t){return new(t||e)(o.yc(a.b),o.yc(s.e),o.yc(c.e),o.yc(i.f),o.yc(s.f),o.yc(s.M))},e.\u0275cmp=o.sc({type:e,selectors:[["app-sign-in-modal"]],features:[o.gc],decls:31,vars:14,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[3,"formGroup","ngSubmit"],[1,"form-group"],["type","text","formControlName","userLogin",1,"form-control",3,"placeholder"],["class","error-hint",4,"ngIf"],["type","password","formControlName","userPassword",1,"form-control",3,"placeholder"],["class","error-hint text-center mb-3",4,"ngIf"],["type","submit",1,"btn","btn--primary","btn--block",3,"disabled"],["class","btn__loader",4,"ngIf"],["translate","",4,"ngIf"],[1,"text-right"],["type","button","translate","",1,"btn","btn--sm","btn--link",3,"click"],[4,"ngIf"],[1,"text-center"],["translate",""],[1,"error-hint"],[1,"error-hint","text-center","mb-3"],[1,"btn__loader"],[1,"auth-block"],[3,"type","settings",4,"ngFor","ngForOf"],[3,"type","settings"]],template:function(e,t){1&e&&(o.Ec(0,"div",0),o.Ec(1,"h4",1),o.zd(2,"sign-in-label"),o.Dc(),o.Ec(3,"button",2),o.Qc("click",(function(){return t.modal.dismiss("Cross click")})),o.Ec(4,"span",3),o.zd(5,"\xd7"),o.Dc(),o.Dc(),o.Dc(),o.Ec(6,"div",4),o.Ec(7,"form",5),o.Qc("ngSubmit",(function(){return t.onFormSubmit()})),o.Ec(8,"div",6),o.zc(9,"input",7),o.Vc(10,"translate"),o.xd(11,u,2,1,"div",8),o.Dc(),o.Ec(12,"div",6),o.zc(13,"input",9),o.Vc(14,"translate"),o.xd(15,h,2,1,"div",8),o.Dc(),o.xd(16,p,2,1,"div",10),o.Ec(17,"button",11),o.xd(18,f,1,0,"span",12),o.xd(19,g,2,0,"span",13),o.Dc(),o.Dc(),o.Ec(20,"div",14),o.Ec(21,"button",15),o.Qc("click",(function(){return t.authModalsService.openResetPasswordModal()})),o.zd(22," modal-reset-password-prompt "),o.Dc(),o.Dc(),o.xd(23,b,5,3,"ng-container",16),o.zc(24,"hr"),o.Ec(25,"div",17),o.Ec(26,"span",18),o.zd(27,"modal-sign-up-prompt"),o.Dc(),o.zd(28,"\xa0 "),o.Ec(29,"button",15),o.Qc("click",(function(){return t.authModalsService.openSignUpModal()})),o.zd(30," sign-up-label "),o.Dc(),o.Dc(),o.Dc()),2&e&&(o.jc(7),o.bd("formGroup",t.modalForm),o.jc(2),o.cd("placeholder",o.Wc(10,10,"form-attribute-email-or-login-prompt")),o.jc(2),o.bd("ngIf",t.isFormControlHasErrors("userLogin")),o.jc(2),o.cd("placeholder",o.Wc(14,12,"form-attribute-password")),o.jc(2),o.bd("ngIf",t.isFormControlHasErrors("userPassword")),o.jc(1),o.bd("ngIf",t.isLoginOrPasswordIncorrect),o.jc(1),o.bd("disabled",!t.modalForm.valid),o.jc(1),o.bd("ngIf",t.isFormLoading),o.jc(1),o.bd("ngIf",!t.isFormLoading),o.jc(4),o.bd("ngIf",null==t.oAuthProviders?null:t.oAuthProviders.size))},styles:[".modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px}.form-group[_ngcontent-%COMP%]{position:relative;margin-bottom:16px}.form-control[_ngcontent-%COMP%]{width:100%;height:40px;line-height:40px;padding:0 10px;border:1px solid rgba(50,50,50,.15);border-radius:3px;font-size:16px;transition:all .3s ease-out}.form-control[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]::placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.form-control.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74
1c3c}.error-hint[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;color:#e74c3c}.auth-block[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-around}.auth-block[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 1 135px}"]}),e})()},a4Kx:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");new i.v("REQUEST");const r=new i.v("RESPONSE")},b6Qw:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("fXoL"),r=n("ofXK");let s=(()=>{class e{constructor(e,t){this.document=e,this.platformId=t,this.documentIsAccessible=Object(r.O)(this.platformId)}check(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))}get(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);const t=this.getCookieRegExp(e).exec(this.document.cookie);return this.safeDecodeURIComponent(t[1])}return""}getAll(){if(!this.documentIsAccessible)return{};const e={},t=this.document;return t.cookie&&""!==t.cookie&&t.cookie.split(";").forEach(t=>{const[n,i]=t.split("=");e[this.safeDecodeURIComponent(n.replace(/^ /,""))]=this.safeDecodeURIComponent(i)}),e}set(e,t,n,i,r,s,o){if(!this.documentIsAccessible)return;if("number"==typeof n||n instanceof Date||i||r||s||o)return void this.set(e,t,{expires:n,path:i,domain:r,secure:s,sameSite:o||"Lax"});let a=encodeURIComponent(e)+"="+encodeURIComponent(t)+";";const c=n||{};c.expires&&(a+="number"==typeof c.expires?"expires="+new Date((new Date).getTime()+1e3*c.expires*60*60*24).toUTCString()+";":"expires="+c.expires.toUTCString()+";"),c.path&&(a+="path="+c.path+";"),c.domain&&(a+="domain="+c.domain+";"),!1===c.secure&&"None"===c.sameSite&&(c.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),c.secure&&(a+="secure;"),c.sameSite||(c.sameSite="Lax"),a+="sameSite="+c.sameSite+";",this.document.cookie=a}delete(e,t,n,i,r="Lax"){if(!this.documentIsAccessible)return;const s=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:s,path:t,domain:n,secure:i,sameSite:r})}deleteAll(e,t,n,i="Lax"){if(!this.documentIsAccessible)return;const r=this.getAll();for(const s in r)r.hasOwnProperty(s)&&this.delete(s,e,t,n,i)}getCookieRegExp(e){const t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch(t){return e}}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(r.e),i.Mc(i.I))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(r.e),Object(i.Mc)(i.I))},token:e,providedIn:"root"}),e})()},bHHr:function(e,t,n){"use strict";n.d(t,"h",(function(){return L})),n.d(t,"f",(function(){return R})),n.d(t,"c",(function(){return F.a})),n.d(t,"d",(function(){return B})),n.d(t,"e",(function(){return Q})),n.d(t,"a",(function(){return te})),n.d(t,"b",(function(){return ie})),n.d(t,"g",(function(){return ne}));var i=n("G8aS"),r=function(e,t){return e>t},s=n("oSzE"),o=n("EqEh"),a=n("IzLi"),c=function(e){return e==e&&!Object(a.a)(e)},l=n("mkut"),u=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},d=n("/1FC"),h=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/,f=function(e,t){if(Object(d.a)(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Object(i.a)(e))||p.test(e)||!h.test(e)||null!=t&&e in Object(t)},g=n("DlmY");function m(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],s=n.cache;if(s.has(r))return s.get(r);var o=e.apply(this,i);return n.cache=s.set(r,o)||s,o};return n.cache=new(m.Cache||g.a),n}m.Cache=g.a;var b,v,w=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,y=/\\(\\)?/g,C=(b=m((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(w,(function(e,n,i,r){t.push(i?r.replace(y,"$1"):n||e)})),t}),(function(e){return 500===v.size&&v.clear(),e})),v=b.cache,b),_=n("efZk"),x=function(e,t){return Object(d.a)(e)?e:f(e,t)?[e]:C(Object(_.a)(e))},O=function(e){if("string"==typeof e||Object(i.a)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},S=function(e,t){for(var n=0,i=(t=x(t,e)).length;null!=e&&n<i;)e=e[O(t[n++])];return n&&n==i?e:void 0},E=function(e,t){return null!=e&&t in Object(e)},P=n("9f76"),k=n("cSlR"),M=n("Js68"),I=function(e,t){return f(e)&&c(t)?u(O(e),t):function(n){var i=function(e,t,n){var i=null==e?void 0:S(e,t);return void 0===i?void 0:i}(n,e);return void 0===i&&i===t?function(e,t){return null!=e&&function(e,t,n){for(var i=-1,r=(t=x(t,e)).length,s=!1;++i<r;){var o=O(t[i]);if(!(s=null!=e&&n(e,o)))break;e=e[o]}return s||++i!=r?s:!!(r=null==e?0:e.length)&&Object(M.a)(r)&&Object(k.a)(o,r)&&(Object(d.a)(e)||Object(P.a)(e))}(e,t,E)}(n,e):Object(o.a)(t,i,3)}},D=n("+Xah"),j=n("FSIP"),A=function(e,t){return e&&e.length?function(e,t,n){for(var r=-1,s=e.length;++r<s;){var o=e[r],a=t(o);if(null!=a&&(void 0===c?a==a&&!Object(i.a)(a):n(a,c)))var c=a,l=o}return l}(e,"function"==typeof(p=t)?p:null==p?D.a:"object"==typeof p?Object(d.a)(p)?I(p[0],p[1]):1==(h=function(e){for(var t=Object(l.a)(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,c(r)]}return t}(a=p)).length&&h[0][2]?u(h[0][0],h[0][1]):function(e){return e===a||function(e,t,n,i){var r=n.length,a=r;if(null==e)return!a;for(e=Object(e);r--;){var c=n[r];if(c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++r<a;){var l=(c=n[r])[0],u=e[l],d=c[1];if(c[2]){if(void 0===u&&!(l in e))return!1}else{var h,p=new s.a;if(!(void 0===h?Object(o.a)(d,u,3,void 0,p):h))return!1}}return!0}(e,0,h)}:f(n=p)?Object(j.a)(O(n)):function(e){return function(t){return S(t,e)}}(n),r):void 0;var n,a,h,p};class T{constructor(e,t,n){this.label=e,this.averageRating=t,this.userRating=n}get hasRating(){return null!==this.averageRating}get hasUserRating(){return null!==this.userRating}}class z{constructor(e){this.params=e}get hasRatings(){return[...this.params.values()].some(e=>e.hasRating)}get hasUserRatings(){return[...this.params.values()].some(e=>e.hasUserRating)}get topRatedRubric(){return A([...this.params.values()],e=>e.hasRating?e.averageRating.rate:0)}get averageRating(){let e=0;const t=[...this.params.values()].reduce((t,n)=>n.hasRating?(e++,t+n.averageRating.rate):t,0);return e>0?t/e:0}getUserRates(){const e={};
1return[...this.params].forEach(t=>{e[t[0]]=t[1].hasUserRating?t[1].userRating:0}),e}clearUserRates(){[...this.params.values()].forEach(e=>{e.userRating=null})}}function L(e){const t=new Map;return Object.keys(e).forEach(n=>{t.set(Number(n),function(e){return new T(e.label,e.averageRating,e.userRating)}(e[n]))}),new z(t)}var N=n("fXoL");const R=new N.v("Single rate options");var F=n("JUpc"),V=n("Muja"),U=n("1kSV");function H(e,t){if(1&e){const e=N.Fc();N.Ec(0,"div"),N.Ec(1,"div",8),N.zd(2),N.Dc(),N.Ec(3,"app-single-rate",9,10),N.Qc("ratingChange",(function(n){N.nd(e);const i=t.$implicit;return N.Uc().onRatingChange(i.key,n)})),N.Ec(5,"div",11),N.zd(6),N.Dc(),N.Dc(),N.Dc()}if(2&e){const e=t.$implicit,n=N.kd(4),i=N.Uc();N.jc(2),N.Bd(" ",e.value.label," "),N.jc(1),N.bd("model",i.userRatesData[e.key])("isInteractive",!0),N.jc(3),N.Cd("",n.actualRating," / ",i.maxRating,"")}}let B=(()=>{class e{constructor(e,t){this.modal=e,this.maxRating=(null==t?void 0:t.maxRating)||12}ngOnInit(){this.userRatesData=this.model.getUserRates()}sendRating(){this.modal.close(Object(V.a)(this.userRatesData,this.model.getUserRates())?null:this.userRatesData)}onRatingChange(e,t){this.userRatesData[e]=t}}return e.\u0275fac=function(t){return new(t||e)(N.yc(U.b),N.yc(R,8))},e.\u0275cmp=N.sc({type:e,selectors:[["app-model-ratings-modal"]],inputs:{model:"model"},decls:12,vars:3,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[4,"ngFor","ngForOf"],["type","submit",1,"btn","btn--primary","btn--block",3,"click"],["translate",""],[1,"category"],[1,"p-15",3,"model","isInteractive","ratingChange"],["rate","singleRate"],["data-rating-value","",1,"dot-rating__value"]],template:function(e,t){1&e&&(N.Ec(0,"div",0),N.Ec(1,"h4",1),N.zd(2,"model-ratings-modal-title"),N.Dc(),N.Ec(3,"button",2),N.Qc("click",(function(){return t.modal.dismiss()})),N.Ec(4,"span",3),N.zd(5,"\xd7"),N.Dc(),N.Dc(),N.Dc(),N.Ec(6,"div",4),N.xd(7,H,7,5,"div",5),N.Vc(8,"keyvalue"),N.Ec(9,"button",6),N.Qc("click",(function(){return t.sendRating()})),N.Ec(10,"span",7),N.zd(11,"model-ratings-modal-submit-label"),N.Dc(),N.Dc(),N.Dc()),2&e&&(N.jc(7),N.bd("ngForOf",N.Wc(8,1,t.model.params)))},styles:[".modal-header[_ngcontent-%COMP%]{display:block}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px;position:absolute;top:0;right:0;margin:auto}.category[_ngcontent-%COMP%], .dot-rating__value[_ngcontent-%COMP%]{margin-left:16px;font-size:21px;font-weight:700}.dot-rating__value[_ngcontent-%COMP%]{color:#dcdcdc}.p-15[_ngcontent-%COMP%]{padding:15px}"]}),e})();var $=n("ofXK");function q(e,t){if(1&e){const e=N.Fc();N.Ec(0,"div",5),N.Qc("mouseenter",(function(){N.nd(e);const n=t.index;return N.Uc(2).mouseEnterDot(n+1)}))("click",(function(){return N.nd(e),N.Uc(2).chooseRate()})),N.Dc()}2&e&&N.pc("is-active",t.$implicit)}function W(e,t){if(1&e){const e=N.Fc();N.Ec(0,"div",3),N.Qc("mouseleave",(function(){return N.nd(e),N.Uc().clearDots()})),N.xd(1,q,1,2,"div",4),N.Dc()}if(2&e){const e=N.Uc();N.jc(1),N.bd("ngForOf",e.ratingDots)}}function G(e,t){1&e&&N.zc(0,"div",8),2&e&&N.pc("is-active",t.$implicit)}function X(e,t){if(1&e&&(N.Ec(0,"div",6),N.xd(1,G,1,2,"div",7),N.Dc()),2&e){const e=N.Uc();N.jc(1),N.bd("ngForOf",e.ratingDots)}}const Z=[[["","data-rating-value",""]]],Y=["[data-rating-value]"];let Q=(()=>{class e{constructor(e){if(this.isInteractive=!1,this.ratingChange=new N.s,this.isChanging=!1,this.maxRating=(null==e?void 0:e.maxRating)||12,this.ratingPerStep=(null==e?void 0:e.ratingPerStep)||2,!(0==this.maxRating%this.ratingPerStep&&this.maxRating>0&&this.ratingPerStep>0))throw new Error("Invalid ratings params");this.dotCounter=Math.trunc(this.maxRating/this.ratingPerStep)}get ratingDots(){const e=this.actualRating;return this.oldRating!==e&&(this.pRatingDots=this.getStepsForRating(e),this.oldRating=e),this.pRatingDots}get actualRating(){return this.isChanging?this.mouseEnterRating:this.model}mouseEnterDot(e){this.mouseEnterRating=e*this.ratingPerStep,this.isChanging=!0}chooseRate(){this.model!==this.mouseEnterRating&&(this.model=this.mouseEnterRating,this.ratingChange.emit(this.model)),this.isChanging=!1}clearDots(){this.isChanging=!1}getStepsForRating(e){const t=Array(this.dotCounter).fill(!1,0,this.dotCounter),n=Math.round(e/this.ratingPerStep);return n>0&&t.fill(!0,0,n),t}}return e.\u0275fac=function(t){return new(t||e)(N.yc(R,8))},e.\u0275cmp=N.sc({type:e,selectors:[["app-single-rate"]],inputs:{isInteractive:"isInteractive",model:"model"},outputs:{ratingChange:"ratingChange"},exportAs:["singleRate"],ngContentSelectors:Y,decls:5,vars:4,consts:[[1,"dot-rating"],["class","dot-rating__items",3,"mouseleave",4,"ngIf","ngIfElse"],["staticControl",""],[1,"dot-rating__items",3,"mouseleave"],["class","dot-rating__item",3,"is-active","mouseenter","click",4,"ngFor","ngForOf"],[1,"dot-rating__item",3,"mouseenter","click"],[1,"dot-rating__items"],["class","dot-rating__item",3,"is-active",4,"ngFor","ngForOf"],[1,"dot-rating__item"]],template:function(e,t){if(1&e&&(N.ad(Z),N.Ec(0,"div",0),N.xd(1,W,2,1,"div",1),N.xd(2,X,2,1,"ng-template",null,2,N.yd),N.Zc(4),N.Dc()),2&e){const e=N.kd(3);N.pc("is-activated",t.isInteractive||t.model>0),N.jc(1),N.bd("ngIf",t.isInteractive)("ngIfElse",e)}},directives:[$.u,$.t],styles:[".dot-rating[_ngcontent-%COMP%]{display:flex;align-items:center}.dot-rating[_ngcontent-%COMP%]:hover{cursor:pointer}.dot-rating__items[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex:1 1 0;max-width:224px}.dot-rating__item[_ngcontent-%COMP%]{width:24px;height:24px;border-radius:50%;background-color:rgba(50,50,50,.15);z-index:10}.dot-rating__item.is-active[_ngcontent-%COMP%]{background-color:var(--green-primary)}[_nghost-%COMP%]     .dot-rating.is-activated .dot-rating__value{color:var(--green-primary)}"]}),e})();var K=n("lJxs"),J=n("GJzE"),ee=n("tk/3");let te=(()=>{class e{constructor(e,t){this.http=e,this.siteApiHostInfo=t}getRatingsInfo(e){return this.http.get(`${this.siteApiHostInfo}${e}`).pipe(Object(K.a)(e=>L(e)))}
1updateRatings(e,t,n){return this.http.post(`${this.siteApiHostInfo}${e}`,{userRates:n}).pipe(Object(K.a)(e=>L(e)))}}return e.\u0275fac=function(t){return new(t||e)(N.Mc(ee.b),N.Mc(J.hb))},e.\u0275prov=N.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ne=new N.v("Update model ratings service"),ie=new N.v("Get model ratings info service")},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("5+tZ"),r=n("SpAZ");function s(e=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("5+tZ");function r(e,t){return Object(i.a)(e,t,1)}},bsIB:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("fXoL"),r=n("ofXK"),s=n("GJzE"),o=n("1kSV"),a=n("sYmb");let c=(()=>{class e{constructor(e,t,n,r){this.elementRef=e,this.modalService=t,this.translateService=n,this.document=r,this.errorSelected=new i.s}onKeyDown(e){if(!e.ctrlKey||"Enter"!==e.key)return;const t=this.document.getSelection().getRangeAt(0);if(!this.isRangeFullyContained(t))return;e.stopImmediatePropagation(),e.preventDefault();const n=t.toString().trim();if(n.length>256)return void alert(this.translateService.instant("report-content-error-selection-too-big-message"));this.selectedText=n;const i=this.modalService.open(s.db,{centered:!0,size:"lg"});i.componentInstance.selectedText=this.selectedText,i.result.then(e=>{this.errorSelected.emit({reCaptcha:e,erroneousContent:this.selectedText})}).catch(()=>{})}isRangeFullyContained(e){let t=e.commonAncestorContainer;for(;Node.ELEMENT_NODE!==t.nodeType;)t=t.parentNode;return this.elementRef.nativeElement.contains(t)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(o.s),i.yc(a.e),i.yc(r.e))},e.\u0275dir=i.tc({type:e,selectors:[["","appReportContentError",""]],hostBindings:function(e,t){1&e&&i.Qc("keydown",(function(e){return t.onKeyDown(e)}),!1,i.ld)},outputs:{errorSelected:"errorSelected"}}),e})()},c2HN:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return i}))},cSlR:function(e,t,n){"use strict";var i=/^(?:0|[1-9]\d*)$/;t.a=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&i.test(e))&&e>-1&&e%1==0&&e<t}},cp0P:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("HDdC"),r=n("DH7j"),s=n("lJxs"),o=n("XoHu"),a=n("Cfvw");function c(...e){if(1===e.length){const t=e[0];if(Object(r.a)(t))return l(t,null);if(Object(o.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return l(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return l(e=1===e.length&&Object(r.a)(e[0])?e[0]:e,null).pipe(Object(s.a)(e=>t(...e)))}return l(e,null)}function l(e,t){return new i.a(n=>{const i=e.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,o=0;for(let c=0;c<i;c++){const l=Object(a.a)(e[c]);let u=!1;n.add(l.subscribe({next:e=>{u||(u=!0,o++),r[c]=e},error:e=>n.error(e),complete:()=>{s++,s!==i&&u||(o===i&&n.next(t?t.reduce((e,t,n)=>(e[t]=r[n],e),{}):r),n.complete())}}))}})}},"d8+s":function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("PqYM"),r=n("lJxs"),s=n("IzEk"),o=n("LrWZ"),a=n("ehPC"),c=n("PLBQ"),l=n("AytR"),u=n("fXoL");function d(e,t){1&e&&(u.zc(0,"div",2),u.Vc(1,"safeHtml")),2&e&&u.bd("outerHTML",u.Wc(1,1,t.$implicit.widget),u.od)}function h(e,t){if(1&e&&(u.Cc(0),u.xd(1,d,2,3,"div",1),u.Bc()),2&e){const e=u.Uc();u.jc(1),u.bd("ngForOf",e.models)}}let p=(()=>{class e extends a.j{constructor(e,t,n,i){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.itemsService=n,this.selectedItemsService=i}ngOnInit(){const e=null!==this.widget.id;if(e&&null===this.selectedItemsService||!e&&null===this.itemsService)throw new Error("Required services must be injected");(e?this.selectedItemsService.getSelectedCurrencyInformer(this.widget.id).pipe(Object(r.a)(e=>null!==e?[e]:null)):this.itemsService.getNextCurrencyInformers(this.widget.width*this.widget.height)).pipe(Object(s.a)(1)).subscribe(e=>{this.models=null!==e?e.filter(e=>!Object(o.a)(e.widget)):[],this.models.length>0?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};l.a.useLoadingDelay?Object(i.a)(1500).subscribe(t):t()})}}
1return e.\u0275fac=function(t){return new(t||e)(u.yc(a.A,8),u.yc(u.w),u.yc(c.d,8),u.yc(c.g,8))},e.\u0275cmp=u.sc({type:e,selectors:[["app-currency-informer-widget"]],features:[u.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[3,"outerHTML",4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(e,t){1&e&&(u.xd(0,h,2,1,"ng-container",0),u.Vc(1,"async")),2&e&&u.bd("appLoadingPlaceholder",u.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},encapsulation:2}),e})()},dDMU:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var i=n("LRne"),r=n("PqYM"),s=n("IzEk"),o=n("AytR"),a=n("ehPC"),c=n("GJzE"),l=n("nFFm"),u=n("fXoL"),d=n("sYmb");function h(e,t){1&e&&(u.Ec(0,"div",21),u.zc(1,"div",22),u.Dc())}function p(e,t){if(1&e){const e=u.Fc();u.Ec(0,"div",26),u.Ec(1,"button",27),u.Qc("click",(function(){u.nd(e);const t=u.Uc().$implicit;return u.Uc(3).addUserVote(t)})),u.zd(2),u.Dc(),u.Dc()}if(2&e){const e=u.Uc().$implicit,t=u.Uc(3);
1u.jc(1),u.bd("disabled",t.waitRequest),u.jc(1),u.Ad(e.answer)}}function f(e,t){if(1&e&&(u.Ec(0,"div",28),u.zd(1),u.Dc(),u.Ec(2,"div",29),u.Ec(3,"div",30),u.zc(4,"div"),u.Dc(),u.Ec(5,"div",31),u.zd(6),u.Vc(7,"percent"),u.Dc(),u.Dc()),2&e){const e=u.Uc().$implicit,t=u.Uc(3);u.jc(1),u.Ad(e.answer),u.jc(3),u.wd("width",100*t.getAnswerVotesPercent(e),"%"),u.jc(2),u.Ad(u.Xc(7,4,t.getAnswerVotesPercent(e),"1.1"))}}function g(e,t){if(1&e&&(u.Ec(0,"div",23),u.xd(1,p,3,2,"div",24),u.xd(2,f,8,7,"ng-template",null,25,u.yd),u.Dc()),2&e){const e=t.$implicit,n=u.kd(3),i=u.Uc(3);u.pc("quiz-option--is-chosen",i.isUserAnswer(e)),u.jc(1),u.bd("ngIf",!i.showResults)("ngIfElse",n)}}function m(e,t){if(1&e&&(u.Ec(0,"p"),u.zd(1),u.Dc()),2&e){const e=u.Uc().$implicit;u.jc(1),u.Ad(e)}}function b(e,t){if(1&e&&(u.Ec(0,"div"),u.xd(1,m,2,1,"p",32),u.Dc()),2&e){const e=t.$implicit;u.jc(1),u.bd("ngIf",e)}}function v(e,t){if(1&e){const e=u.Fc();u.Ec(0,"button",33),u.Qc("click",(function(){return u.nd(e),u.Uc(3).toggleResults()})),u.zd(1),u.Dc()}if(2&e){const e=u.Uc(3);u.jc(1),u.Bd(" ",e.stateToggleLabel," ")}}function w(e,t){1&e&&u.zc(0,"app-re-captcha",34)}function y(e,t){if(1&e){const e=u.Fc();u.Ec(0,"div",35),u.Ec(1,"button",36),u.Qc("click",(function(){return u.nd(e),u.Uc(3).showNextPoll()})),u.Tc(),u.Ec(2,"svg",37),u.zc(3,"use",38),u.Dc(),u.Dc(),u.Sc(),u.Ec(4,"button",36),u.Qc("click",(function(){return u.nd(e),u.Uc(3).showPreviousPoll()})),u.Tc(),u.Ec(5,"svg",37),u.zc(6,"use",39),u.Dc(),u.Dc(),u.Dc()}if(2&e){const e=u.Uc(3);u.jc(1),u.bd("disabled",!e.hasNextPoll),u.jc(3),u.bd("disabled",!e.hasPreviousPoll)}}const C=function(e,t){return{n:e,count:t}};function _(e,t){if(1&e&&(u.Ec(0,"div",2),u.xd(1,h,2,0,"div",3),u.Ec(2,"div",4),u.Ec(3,"div",5),u.zd(4),u.Dc(),u.Ec(5,"a",6),u.Tc(),u.Ec(6,"svg",7),u.zc(7,"use",8),u.Dc(),u.Dc(),u.Dc(),u.Sc(),u.Ec(8,"div",9),u.Ec(9,"div",10),u.Ec(10,"a",11),u.zd(11),u.Dc(),u.Ec(12,"div",12),u.zd(13),u.Dc(),u.Dc(),u.Ec(14,"div",13),u.xd(15,g,4,4,"div",14),u.Dc(),u.Ec(16,"div",15),u.Ec(17,"div"),u.xd(18,b,2,1,"div",16),u.xd(19,v,2,1,"button",17),u.Dc(),u.Ec(20,"div",18),u.xd(21,w,1,0,"app-re-captcha",19),u.Dc(),u.xd(22,y,7,2,"div",20),u.Dc(),u.Dc(),u.Dc()),2&e){const e=u.Uc(2);u.jc(1),u.bd("ngIf",e.waitRequest),u.jc(3),u.Ad(e.widget.label),u.jc(1),u.cd("href",e.model.url,u.qd),u.jc(5),u.cd("title",e.model.question),u.cd("href",e.model.url,u.qd),u.jc(1),u.Ad(e.model.question),u.jc(1),u.bd("translateParams",u.gd(13,C,e.model.votesCount,e.model.votesCount)),u.jc(1),u.Ad(e.votesCountLabelKey),u.jc(2),u.bd("ngForOf",e.model.answers),u.jc(3),u.bd("ngForOf",e.errorMessages),u.jc(1),u.bd("ngIf",e.model.canUserVote),u.jc(2),u.bd("ngIf",e.model.canUserVote),u.jc(1),u.bd("ngIf",e.isNavigationEnabled)}}function x(e,t){if(1&e&&(u.Cc(0),u.xd(1,_,23,16,"div",1),u.Bc()),2&e){const e=u.Uc();u.jc(1),u.bd("ngIf",e.model)}}let O=(()=>{class e extends a.j{constructor(e,t,n,i,r,s){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.translateService=n,this.addPollVoteService=i,this.pollsService=r,this.selectedPollsService=s,this.waitRequest=!1,this.errorMessages=[],this.pPollIndex=1,this.pIsNavigationEnabled=!1,this.pShowResults=!1}get stateToggleLabel(){return this.showResults?this.widget.voteLabel:this.widget.resultsLabel}get showResults(){var e;return!(null===(e=this.model)||void 0===e?void 0:e.canUserVote)||this.pShowResults}get votesCountLabelKey(){return"poll-widget-votes-count-label"}get isNavigationEnabled(){return this.pIsNavigationEnabled}get hasPreviousPoll(){return this.pHasPreviousPoll}get hasNextPoll(){return this.pHasNextPoll}ngOnInit(){let e;this.votesCountLabelKey===this.translateService.instant(this.votesCountLabelKey,{n:1,count:1})&&this.translateService.set(this.votesCountLabelKey,this.widget.votesCountLabel),this.model?e=Object(i.a)(this.model):(this.pIsNavigationEnabled=null===this.widget.id,e=this.pIsNavigationEnabled?this.pollsService.getPagedSimplePolls(this.pPollIndex,1):this.selectedPollsService.getSelectedSimplePoll(this.widget.id)),e.pipe(Object(s.a)(1)).subscribe(e=>{this.model=this.processServiceResult(e),null!==this.model?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};o.a.useLoadingDelay?Object(r.a)(1500).subscribe(t):t()})}toggleResults(){this.pShowResults=!this.pShowResults}showNextPoll(){return this.waitRequest=!0,this.pollsService.getPagedSimplePolls(++this.pPollIndex,1).pipe(Object(s.a)(1)).subscribe(e=>{this.model=this.processServiceResult(e),this.waitRequest=!1})}showPreviousPoll(){return this.waitRequest=!0,this.pollsService.getPagedSimplePolls(--this.pPollIndex,1).pipe(Object(s.a)(1)).subscribe(e=>{this.model=this.processServiceResult(e),this.waitRequest=!1})}getAnswerVotesPercent(e){return 0!==this.model.votesCount?e.votesCount/this.model.votesCount:0}isUserAnswer(e){return this.model.userVote&&e.id===this.model.userVote}addUserVote(e){var t;(null===(t=this.model)||void 0===t?void 0:t.canUserVote)&&(this.errorMessages=[],this.waitRequest=!0,this.answerToVote=e,this.reCaptchaExecute())}clearField(){this.answerToVote=void 0,this.waitRequest=!1}processServiceResult(e){let t;return Object(c.Ob)(e)?(this.pHasPreviousPoll=this.pPollIndex>1,this.pHasNextPoll=this.pPollIndex<e.pageCount,t=e.models.length>0?e.models[0]:null):t=e,t}reCaptchaExecute(){this.reCaptcha.queueExecute({onSuccess:e=>{this.addPollVoteService.addVote(this.model,this.answerToVote,e).pipe(Object(s.a)(1)).subscribe({error:e=>{this.errorMessages=Array.isArray(e.error)?e.error.map(e=>e.message):[],this.clearField()},complete:()=>{this.clearField()}})},onExpire:()=>{this.clearField()},onError:()=>{this.clearField(),this.reCaptcha.showErrorMessage()}})}}
1return e.\u0275fac=function(t){return new(t||e)(u.yc(a.A,8),u.yc(u.w),u.yc(d.e),u.yc(l.a),u.yc(l.h,8),u.yc(l.e,8))},e.\u0275cmp=u.sc({type:e,selectors:[["app-shared-poll"]],viewQuery:function(e,t){var n;1&e&&u.Dd(c.Z,!0),2&e&&u.jd(n=u.Rc())&&(t.reCaptcha=n.first)},inputs:{model:"model"},features:[u.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","lead-quiz",4,"ngIf"],[1,"lead-quiz"],["class","poll__loader",4,"ngIf"],[1,"lead-quiz__subinfo"],[1,"card-label"],[1,"lead-quiz__share-btn",3,"href"],["width","20","height","20"],[0,"xlink","href","#icon-share"],[1,"lead-quiz__content"],[1,"lead-quiz__header"],[1,"lead-quiz__title",3,"title","href"],["translate","",1,"lead-quiz__count","mt-2",3,"translateParams"],[1,"mt-4"],["class","quiz-option",3,"quiz-option--is-chosen",4,"ngFor","ngForOf"],[1,"lead-quiz__bottom"],[4,"ngFor","ngForOf"],["class","lead-quiz__result-button","type","button",3,"click",4,"ngIf"],[1,"lead-quiz__re-captcha-parent"],["size","invisible","badge","inline","errorMode","handled","class","lead-quiz__re-captcha",4,"ngIf"],["class","lead-quiz__controls",4,"ngIf"],[1,"poll__loader"],[1,"poll__loader--spinner"],[1,"quiz-option"],["class","lead-quiz__option",4,"ngIf","ngIfElse"],["results",""],[1,"lead-quiz__option"],["type","button",1,"lead-quiz__poll-button",3,"disabled","click"],[1,"quiz-option__title"],[1,"quiz-option__info"],[1,"quiz-option__progress"],[1,"quiz-option__percentage"],[4,"ngIf"],["type","button",1,"lead-quiz__result-button",3,"click"],["size","invisible","badge","inline","errorMode","handled",1,"lead-quiz__re-captcha"],[1,"lead-quiz__controls"],["type","button",1,"lead-quiz__control",3,"disabled","click"],["width","24","height","24"],[0,"xlink","href","#icon-chevron-left"],[0,"xlink","href","#icon-chevron-right"]],template:function(e,t){1&e&&(u.xd(0,x,2,1,"ng-container",0),u.Vc(1,"async")),2&e&&u.bd("appLoadingPlaceholder",u.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".card-label[_ngcontent-%COMP%]{padding:4px 8px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary);color:#fff}.lead-quiz[_ngcontent-%COMP%]{position:relative;margin:0 -8px;padding-top:16px;background-color:#f0f0f0;border-bottom:3px solid var(--green-primary)}.lead-quiz__poll-button[_ngcontent-%COMP%]{display:block;position:relative;width:100%;font-size:18px;padding:16px 24px;margin-bottom:8px;border-color:var(--green-primary);border-style:solid}.lead-quiz__poll-button[_ngcontent-%COMP%]:hover{color:#fff;background-color:var(--green-primary)}.lead-quiz__result-button[_ngcontent-%COMP%]{color:var(--green-primary);border:unset;text-decoration:underline;font-weight:700}.lead-quiz__header[_ngcontent-%COMP%]{margin-bottom:auto}.lead-quiz__subinfo[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:24px;padding-right:16px}.lead-quiz__content[_ngcontent-%COMP%]{padding:0 16px 16px}.lead-quiz__share-btn[_ngcontent-%COMP%]{border:0;background-color:transparent}.lead-quiz__share-btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.lead-quiz__title[_ngcontent-%COMP%]{margin:auto 0;font-size:32px}.lead-quiz__bottom[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:space-between;margin-top:32px}.lead-quiz__control[_ngcontent-%COMP%]{position:relative;margin:0 4px;padding:6px;background-color:#fff;box-shadow:1px 1px 2px rgba(0,0,0,.15);border-radius:3px;border:0}.lead-quiz__control[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:18px;height:30px;transition:all .3s ease-out}.lead-quiz__control[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.lead-quiz__control--spinner[_ngcontent-%COMP%]{position:absolute;display:inline-block;width:50px;height:50px;border-radius:50%;border:2px solid var(--green-primary);border-right-width:0;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.lead-quiz__re-captcha-parent[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:50%}
1@media (min-width:1024px){.lead-quiz[_ngcontent-%COMP%]{margin:0;height:calc(100% - 36px)}.lead-quiz[_ngcontent-%COMP%], .lead-quiz__content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.lead-quiz__content[_ngcontent-%COMP%]{flex-grow:1}}.quiz-option[_ngcontent-%COMP%]{display:block}.quiz-option[_ngcontent-%COMP%]:not(:last-child){margin-bottom:16px}.quiz-option__title[_ngcontent-%COMP%]{margin-bottom:4px;font-size:18px}.quiz-option__info[_ngcontent-%COMP%]{display:flex;align-items:center}.quiz-option__progress[_ngcontent-%COMP%]{position:relative;flex-grow:1;height:3px;background-color:#fff}.quiz-option__progress[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:3px;background-color:var(--green-primary)}.quiz-option__percentage[_ngcontent-%COMP%]{flex-shrink:0;width:48px;margin-left:16px;text-align:right;font-size:18px;font-weight:700}.quiz-option--is-chosen[_ngcontent-%COMP%]   .quiz-option__percentage[_ngcontent-%COMP%]{color:var(--green-primary)}.poll__loader[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:center;align-items:center;top:0;width:100%;height:100%;background-color:rgba(50,50,50,.5);z-index:1}.poll__loader--spinner[_ngcontent-%COMP%]{display:inline-block;width:50px;height:50px;border-radius:50%;border:2px solid var(--green-primary);border-right-width:0;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}[_nghost-%COMP%]     .grecaptcha-badge{transform:scale(.6);transform-origin:right bottom;margin:0}"]}),e})()},dLWn:function(e,t,n){"use strict";var i=Function.prototype.toString;t.a=function(e){if(null!=e){try{return i.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},dam5:function(e,t,n){"use strict";n.d(t,"a",(function(){return B}));var i=n("LFf6"),r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),s=function(e){return r.test(e)},o=n("IzLi"),a=n("8M4i"),c=n("EUcb"),l=n("ovuK"),u=n("xutz"),d=u.a&&u.a.isRegExp,h=d?Object(l.a)(d):function(e){return Object(c.a)(e)&&"[object RegExp]"==Object(a.a)(e)},p=n("FSIP"),f=Object(p.a)("length"),g="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",m="\\ud83c[\\udffb-\\udfff]",b="[^\\ud800-\\udfff]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",w="[\\ud800-\\udbff][\\udc00-\\udfff]",y="(?:"+g+"|"+m+")?",C="[\\ufe0e\\ufe0f]?"+y+"(?:\\u200d(?:"+[b,v,w].join("|")+")[\\ufe0e\\ufe0f]?"+y+")*",_="(?:"+[b+g+"?",g,v,w,"[\\ud800-\\udfff]"].join("|")+")",x=RegExp(m+"(?="+m+")|"+_+C,"g"),O="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",S="[^\\ud800-\\udfff]",E="(?:\\ud83c[\\udde6-\\uddff]){2}",P="[\\ud800-\\udbff][\\udc00-\\udfff]",k="(?:"+O+"|\\ud83c[\\udffb-\\udfff])?",M="[\\ufe0e\\ufe0f]?"+k+"(?:\\u200d(?:"+[S,E,P].join("|")+")[\\ufe0e\\ufe0f]?"+k+")*",I="(?:"+[S+O+"?",O,E,P,"[\\ud800-\\udfff]"].join("|")+")",D=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+I+M,"g"),j=n("G8aS"),A=/^\s+|\s+$/g,T=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,L=/^0o[0-7]+$/i,N=parseInt,R=n("efZk"),F=/\w*$/,V=function(e,t){var n=30,r="...";if(Object(o.a)(t)){var a="separator"in t?t.separator:a;n="length"in t?function(e){var t=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(Object(j.a)(e))return NaN;if(Object(o.a)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Object(o.a)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(A,"");var n=z.test(e);return n||L.test(e)?N(e.slice(2),n?2:8):T.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}(t.length):n,r="omission"in t?Object(i.a)(t.omission):r}var c=(e=Object(R.a)(e)).length;if(s(e)){var l=function(e){return s(e)?function(e){return e.match(D)||[]}(e):function(e){return e.split("")}(e)}(e);c=l.length}if(n>=c)return e;var u=n-function(e){return s(e)?function(e){for(var t=x.lastIndex=0;x.test(e);)++t;return t}(e):f(e)}(r);if(u<1)return r;var d=l?function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:function(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(r);++i<r;)s[i]=e[i+t];return s}
1(e,t,n)}(l,0,u).join(""):e.slice(0,u);if(void 0===a)return d+r;if(l&&(u+=d.length-u),h(a)){if(e.slice(u).search(a)){var p,g=d;for(a.global||(a=RegExp(a.source,Object(R.a)(F.exec(a))+"g")),a.lastIndex=0;p=a.exec(g);)var m=p.index;d=d.slice(0,void 0===m?u:m)}}else if(e.indexOf(Object(i.a)(a),u)!=u){var b=d.lastIndexOf(a);b>-1&&(d=d.slice(0,b))}return d+r},U=n("fXoL"),H=n("sYmb");let B=(()=>{class e{constructor(e){this.translateService=e,this.pAuthor="",this.pDescription="",this.pUseImageIndex=!0}set defaultName(e){this.pDefaultName=e}set imageIndex(e){this.pImageIndex=e}set author(e){this.pAuthor=e||""}set description(e){this.pDescription=e||""}set useImageIndex(e){this.pUseImageIndex=e}get alt(){const t=this.pAuthor,n=t.length;if(0===n)return this.internalGetTitle(e.maxAltLength);const i=e.maxAltLength-(n+2);if(i<=0)return V(t,{length:e.maxAltLength});try{return this.internalGetTitle(i)+(0!==n?", "+t:"")}catch(r){return t}}get title(){return this.internalGetTitle(e.maxTitleLength)}getTemplateFixedLength(t=null){return void 0===e.templateFixedLength&&(e.templateFixedLength=this.translateService.instant("default-image-description-template",{defaultName:"",imageIndex:""}).length),e.templateFixedLength+(null!==t?t:2)}internalGetTitle(e){let t=this.pDescription,n=!1;if(0===t.length&&(t=this.pDefaultName,this.pUseImageIndex&&(e-=this.getTemplateFixedLength(),n=!0)),e<=0)throw new Error("Maximal title's length must be greater than 0");return t.length>e&&(t=V(t,{length:e})),n?this.translateService.instant("default-image-description-template",{defaultName:t,imageIndex:this.pImageIndex}):t}}return e.maxAltLength=150,e.maxTitleLength=70,e.\u0275fac=function(t){return new(t||e)(U.yc(H.e))},e.\u0275dir=U.tc({type:e,selectors:[["","appImageAltAndTitle",""]],inputs:{defaultName:"defaultName",imageIndex:"imageIndex",author:"author",description:"description",useImageIndex:"useImageIndex"},exportAs:["imageAltAndTitle"]}),e})()},dhcM:function(e,t,n){"use strict";var i,r,s,o=n("oSzE"),a=n("uE2L"),c=n("YHEm"),l=function(e,t,n){(void 0!==n&&!Object(c.a)(e[t],n)||void 0===n&&!(t in e))&&Object(a.a)(e,t,n)},u=n("3/ER"),d=n("G4mU"),h=n("eAQQ"),p=n("hYPf"),f=n("9f76"),g=n("/1FC"),m=n("5WsY"),b=n("EUcb"),v=n("WOAq"),w=n("vJtL"),y=n("IzLi"),C=n("6LIB"),_=n("oYcn"),x=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},O=n("+EKe"),S=n("4/q3"),E=n("+Xah"),P=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},k=Math.max,M=n("AwXo"),I=Date.now,D=function(e){var t=0,n=0;return function(){var i=I(),r=16-(i-n);if(n=i,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(M.a?function(e,t){return Object(M.a)(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:E.a),j=n("cSlR"),A=(i=function(e,t,n,i){!function e(t,n,i,r,s){t!==n&&function(e,t,n){for(var i=-1,r=Object(e),s=n(e),o=s.length;o--;){var a=s[++i];if(!1===t(r[a],a,r))break}}(n,(function(a,c){if(s||(s=new o.a),Object(y.a)(a))!function(e,t,n,i,r,s,o){var a,c=x(e,n),E=x(t,n),P=o.get(E);if(P)l(e,n,P);else{var k=s?s(c,E,n+"",e,t,o):void 0,M=void 0===k;if(M){var I=Object(g.a)(E),D=!I&&Object(v.a)(E),j=!I&&!D&&Object(_.a)(E);k=E,I||D||j?Object(g.a)(c)?k=c:(a=c,Object(b.a)(a)&&Object(m.a)(a)?k=Object(h.a)(c):D?(M=!1,k=Object(u.a)(E,!0)):j?(M=!1,k=Object(d.a)(E,!0)):k=[]):Object(C.a)(E)||Object(f.a)(E)?(k=c,Object(f.a)(c)?k=function(e){return Object(O.a)(e,Object(S.a)(e))}(c):Object(y.a)(c)&&!Object(w.a)(c)||(k=Object(p.a)(E))):M=!1}M&&(o.set(E,k),r(k,E,i,s,o),o.delete(E)),l(e,n,k)}}(t,n,c,i,e,r,s);else{var E=r?r(x(t,c),a,c+"",t,n,s):void 0;void 0===E&&(E=a),l(t,c,E)}}),S.a)}(e,t,n,i)},D(function(e,t,n){return t=k(void 0===t?e.length-1:t,0),function(){for(var i=arguments,r=-1,s=k(i.length-t,0),o=Array(s);++r<s;)o[r]=i[t+r];r=-1;for(var a=Array(t+1);++r<t;)a[r]=i[r];return a[t]=n(o),P(e,this,a)}}(r=function(e,t){var n=-1,r=t.length,s=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(s=i.length>3&&"function"==typeof s?(r--,s):void 0,o&&function(e,t,n){if(!Object(y.a)(n))return!1;var i=typeof t;return!!("number"==i?Object(m.a)(n)&&Object(j.a)(t,n.length):"string"==i&&t in n)&&Object(c.a)(n[t],e)}(t[0],t[1],o)&&(s=r<3?void 0:s,r=1),e=Object(e);++n<r;){var a=t[n];a&&i(e,a,n,s)}return e},s,E.a),r+""));t.a=A},eAQQ:function(e,t,n){"use strict";t.a=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},eIep:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("l7GE"),r=n("51Dv"),s=n("ZUHj"),o=n("lJxs"),a=n("Cfvw");function c(e,t){return"function"==typeof t?n=>n.pipe(c((n,i)=>Object(a.a)(e(n,i)).pipe(Object(o.a)((e,r)=>t(n,e,i,r))))):t=>t.lift(new l(e))}class l{constructor(e){this.project=e}call(e,t){return t.subscribe(new u(e,this.project))}}class u extends i.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,n)}_innerSub(e,t,n){const i=this.innerSubscription;i&&i.unsubscribe();const o=new r.a(this,t,n),a=this.destination;a.add(o),this.innerSubscription=Object(s.a)(this,e,void 0,void 0,o),this.innerSubscription!==o&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,i,r){this.destination.next(t)}}},eLTN:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");let r=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-card-label"]],inputs:{className:"className",title:"title"},decls:2,vars:3,template:function(e,t){1&e&&(i.Ec(0,"div"),i.zd(1),i.Dc()),2&e&&(i.lc(t.className),i.jc(1),i.Bd(" ",t.title,"\n"))},styles:[".card-label[_ngcontent-%COMP%]{padding:4px 8px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary);color:#fff}.card-label--in-feed[_ngcontent-%COMP%]{display:none}@media (min-width:1024px){.card-label--in-feed[_ngcontent-%COMP%]{display:inline-block;margin-bottom:40px}}"]}),e})()},efZk:function(e,t,n){"use strict";var i=n("LFf6");t.a=function(e){return null==e?"":Object(i.a)(e)}},ehPC:function(e,t,n){"use strict";n.d(t,"L",(function(){return i})),n.d(t,"q",(function(){return r.b})),n.d(t,"c",(function(){return r.a})),n.d(t,"t",(function(){return r.c})),n.d(t,"B",(function(){return r.d})),n.d(t,"F",(function(){return a})),n.d(t,"H",(function(){return o}
1)),n.d(t,"l",(function(){return s})),n.d(t,"R",(function(){return c})),n.d(t,"i",(function(){return l})),n.d(t,"r",(function(){return d})),n.d(t,"P",(function(){return u})),n.d(t,"w",(function(){return h})),n.d(t,"D",(function(){return p})),n.d(t,"m",(function(){return g})),n.d(t,"K",(function(){return b})),n.d(t,"M",(function(){return m})),n.d(t,"S",(function(){return _})),n.d(t,"v",(function(){return w})),n.d(t,"y",(function(){return y})),n.d(t,"d",(function(){return M})),n.d(t,"j",(function(){return I})),n.d(t,"s",(function(){return D.a})),n.d(t,"Q",(function(){return j.a})),n.d(t,"g",(function(){return B})),n.d(t,"I",(function(){return $.a})),n.d(t,"o",(function(){return q.a})),n.d(t,"u",(function(){return W.a})),n.d(t,"C",(function(){return G.a})),n.d(t,"x",(function(){return X.a})),n.d(t,"E",(function(){return Z.a})),n.d(t,"b",(function(){return Y})),n.d(t,"n",(function(){return J})),n.d(t,"N",(function(){return ie})),n.d(t,"a",(function(){return ae})),n.d(t,"h",(function(){return de})),n.d(t,"G",(function(){return pe})),n.d(t,"J",(function(){return fe})),n.d(t,"e",(function(){return ge})),n.d(t,"p",(function(){return me})),n.d(t,"k",(function(){return be})),n.d(t,"O",(function(){return ve})),n.d(t,"f",(function(){return we})),n.d(t,"A",(function(){return ye})),n.d(t,"z",(function(){return Ce})),n.d(t,"T",(function(){return Ee}));var i=function(e){return e[e.desktop=1]="desktop",e[e.mobile=2]="mobile",e[e.all=3]="all",e}({}),r=n("DG55");class s{constructor(e,t,n){this.width=e,this.widgets=t,this.pEmptyAction=n,this.widgets.forEach(e=>{e.owner=this})}get emptyAction(){var e;return this.pEmptyAction||(null===(e=this.pOwner)||void 0===e?void 0:e.emptyAction)}set owner(e){this.pOwner=e}}class o{constructor(e,t,n){this.height=e,this.blocks=t,this.pEmptyAction=n,this.blocks.forEach(e=>{e.owner=this})}get emptyAction(){return this.pEmptyAction||this.pOwner.emptyAction}set owner(e){this.pOwner=e}}class a{constructor(e,t,n){this.width=e,this.sections=t,this.pEmptyAction=n,this.sections.forEach(e=>{e.owner=this})}get emptyAction(){return this.pEmptyAction||"doNothing"}}var c=function(e){return e[e.WidgetContainer=0]="WidgetContainer",e[e.BlockBanner=1]="BlockBanner",e[e.StretchBanner=2]="StretchBanner",e[e.ShiftStretchBanner=3]="ShiftStretchBanner",e[e.BannerInContent=4]="BannerInContent",e[e.CurrencyInformer=5]="CurrencyInformer",e[e.CustomWidget=6]="CustomWidget",e[e.IframeWidget=7]="IframeWidget",e[e.LastNewsFeed=8]="LastNewsFeed",e[e.CardsContainer=9]="CardsContainer",e[e.EndlessNewsBlock=10]="EndlessNewsBlock",e[e.Poll=11]="Poll",e[e.TwoAnswerPoll=12]="TwoAnswerPoll",e[e.SingleSpecialTheme=13]="SingleSpecialTheme",e[e.WeekTopNews=14]="WeekTopNews",e[e.PoliticalNews=15]="PoliticalNews",e[e.CompaniesNews=16]="CompaniesNews",e[e.AdsTeaser=17]="AdsTeaser",e[e.TopCompanies=18]="TopCompanies",e[e.CompanyLogos=19]="CompanyLogos",e[e.CatalogRubrics=20]="CatalogRubrics",e[e.PopularPlaces=21]="PopularPlaces",e[e.CompaniesList=22]="CompaniesList",e[e.CompaniesProducts=23]="CompaniesProducts",e[e.NewsDetailView=24]="NewsDetailView",e[e.NewsCardsBlock=25]="NewsCardsBlock",e}({});class l{constructor(e,t,n){this.width=e,this.height=t,this.pEmptyAction=n}get type(){return this.pType}get typeName(){return c[this.pType]}get widthInCols(){return 12/this.width}get isRenderedInBrowserApp(){return!0}get isRenderedInServerApp(){return!0}get emptyAction(){var e;return this.pEmptyAction||(null===(e=this.pOwner)||void 0===e?void 0:e.emptyAction)}set owner(e){this.pOwner=e}}class u extends l{constructor(e,t,n,i,r,s=!0,o=null){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.widgets=i,this.showByPage=r,this.useInfiniteScroll=s,this.replayCount=o,this.pType=c.WidgetContainer}getComponent(){return j.a}}class d extends l{constructor(e,t,n,i,r){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.label=i,this.cards=r,this.pType=c.CardsContainer}get widthInCols(){return 12/this.internalWidth}get internalWidth(){return this.width}get internalHeight(){return this.height}getComponent(){return D.a}}class h extends l{constructor(e,t,n,i,r,s,o){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.label=i,this.posterType=r,this.links=s,this.posterUrl=o,this.pType=c.CustomWidget}getComponent(){return X.a}}class p extends l{constructor(e,t,n,i){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.url=i,this.pType=c.IframeWidget}getComponent(){return Z.a}}class f extends l{constructor(e,t,n,i,r){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.placeUrl=i,this.gaPlaceName=r}}class g extends f{constructor(){super(...arguments),this.pType=c.BlockBanner}getComponent(){return J}}class m extends f{constructor(){super(...arguments),this.pType=c.StretchBanner}getComponent(){return ie}}class b extends m{constructor(e,t,n,i){super(e,t,n,i.length>0?i[0].placeUrl:null,i.length>0?i[0].gaPlaceName:null),this.width=e,this.height=t,this.pEmptyAction=n,this.bannersPlaces=i,this.pType=c.ShiftStretchBanner}}var v=n("6LIB"),w=function(e){return e[e.WithoutPoster=0]="WithoutPoster",e[e.HalfFill=1]="HalfFill",e[e.FullFill=2]="FullFill",e}({}),y=function(e){return e[e.WithoutPoster=0]="WithoutPoster",e[e.FullFill=1]="FullFill",e}({});class C{constructor(e,t,n){this.label=e,this.url=t,this.noFollow=n}}function _(e){return function(e){return Object(v.a)(e)&&"string"==typeof e.label&&"string"==typeof e.url&&"boolean"==typeof e.noFollow&&e.label.length>0&&e.url.length>0}(e)?new C(e.label,e.url,e.noFollow):null}var x=n("2Vo4"),O=n("PqYM"),S=n("zP0r"),E=n("IzEk"),P=n("AytR"),k=n("fXoL");let M=(()=>{class e{constructor(){this.isLoaded$=new x.a(!1),this.hasData$=new x.a(!1),this.pNeedInstantSubstitute=!0}get hostClasses(){const e=this.parentContainer.widget.widthInCols*this.card.width;
1return["col-12",this.addClassForTablet()?"col-md-6":"",12!==e?"col-lg-"+e:null].join(" ")}get isComponentLoaded$(){return this.isLoaded$.asObservable()}get isComponentHasData$(){return this.hasData$.asObservable().pipe(Object(S.a)(1))}get needInstantSubstitute(){return this.pNeedInstantSubstitute}ngOnInit(){const e=()=>{this.emitComponentLoaded()};void 0===this.models?this.getModels().pipe(Object(E.a)(1)).subscribe(t=>{null!==t?(this.renderCard(t),this.emitHasData()):this.emitEmptyData(),P.a.useLoadingDelay?Object(O.a)(1500).subscribe(e):e()}):(this.renderCard(this.models),this.emitHasData(),P.a.useLoadingDelay?Object(O.a)(1500).subscribe(e):e())}addClassForTablet(){return"PopularPlaces"===this.parentContainer.widget.typeName||"CompaniesProducts"===this.parentContainer.widget.typeName}emitHasData(){this.hasData$.next(!0)}emitEmptyData(e=!0){this.hasData$.next(!1),e&&this.parentContainer instanceof D.a&&this.parentContainer.processEmptyCard(this,this.containerRef.hostView)}emitComponentLoaded(){this.isLoaded$.next(!0)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=k.sc({type:e,selectors:[["app-base-card"]],hostVars:2,hostBindings:function(e,t){2&e&&k.lc(t.hostClasses)},inputs:{card:"card",models:"models",containerRef:"containerRef",parentContainer:"parentContainer"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),I=(()=>{class e{constructor(e,t){this.emptyWidgetProcessorsFactory=e,this.injector=t,this.isLoaded$=new x.a(!1),this.hasData$=new x.a(!1),this.needInstantSubstitute=!0}get isComponentLoaded$(){return this.isLoaded$.asObservable()}get isComponentHasData$(){return this.hasData$.asObservable().pipe(Object(S.a)(1))}emitHasData(){this.hasData$.next(!0)}emitEmptyData(e=!0){this.hasData$.next(!1),e&&null!==this.parentBlock&&this.parentBlock.processEmptyWidget(this.componentViewRef,this.getEmptyWidgetProcessor())}emitComponentLoaded(){this.isLoaded$.next(!0)}getEmptyWidgetProcessor(){if(null===this.emptyWidgetProcessorsFactory||"doNothing"===this.widget.emptyAction)return null;switch(this.widget.emptyAction){case"substituteByWidget":return this.emptyWidgetProcessorsFactory.getSubstituteByWidgetProcessor(this.widget,this.needInstantSubstitute);case"substituteByAdSense":return this.emptyWidgetProcessorsFactory.getSubstituteByAdSenseProcessor(this.widget,this.needInstantSubstitute)}}}return e.\u0275fac=function(t){return new(t||e)(k.yc(ye,8),k.yc(k.w))},e.\u0275cmp=k.sc({type:e,selectors:[["ng-component"]],inputs:{widget:"widget",parentBlock:"parentBlock"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();var D=n("SLGL"),j=n("hVat"),A=n("XNiG"),T=n("itXk"),z=n("1G5W"),L=n("vkgz"),N=n("JX91"),R=n("pLZG"),F=n("eIep"),V=n("/uUt"),U=n("lJxs"),H=n("GJzE");let B=(()=>{class e{constructor(e,t){this.layoutsManager=e,this.googleTagManagerService=t,this.layoutModel=null,this.isLoaded$=new x.a(!1),this.onDestroy$=new A.a}get isComponentLoaded$(){return this.isLoaded$.asObservable()}ngOnInit(){this.layoutsManager.onLayoutChange.pipe(Object(z.a)(this.onDestroy$),Object(L.a)(e=>{this.layoutModel=e,this.resetServices()})).subscribe(),this.registerDefaultOnLoadHandler()}ngAfterViewInit(){this.sectionComponents.changes.pipe(Object(z.a)(this.onDestroy$),Object(N.a)(this.sectionComponents),Object(L.a)(()=>{this.isLoaded$.next(!1)}),Object(R.a)(e=>e.length>0),Object(F.a)(e=>Object(T.a)([...e.map(e=>e.isComponentLoaded$.pipe(Object(V.a)()))])),Object(U.a)(e=>e.every(e=>e)),Object(V.a)(),Object(L.a)(e=>{this.isLoaded$.next(e)})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}registerDefaultOnLoadHandler(){this.isComponentLoaded$.pipe(Object(z.a)(this.onDestroy$),Object(R.a)(e=>e),Object(E.a)(1),Object(L.a)(()=>{this.sendPageView()})).subscribe()}sendPageView(){this.googleTagManagerService.sendPageView()}}return e.\u0275fac=function(t){return new(t||e)(k.yc(pe),k.yc(H.w))},e.\u0275cmp=k.sc({type:e,selectors:[["app-base-layout"]],viewQuery:function(e,t){var n;1&e&&k.Dd($.a,!0),2&e&&k.jd(n=k.Rc())&&(t.sectionComponents=n)},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();var $=n("Fbma"),q=n("ML90"),W=n("J8dt"),G=n("4qgU"),X=n("U7oc"),Z=n("96xf");let Y=(()=>{class e extends I{constructor(e,t){super(e,t),this.needInstantSubstitute=!1,this.pAspectRatio=null,this.pHasModel=!1,this.pIsCodePlace=!1,this.pPlaceUrl=null,this.pGaPlaceName=null,this.pActualBannerId=null}set aspectRatio(e){this.pAspectRatio=e}get aspectRatio(){return this.pIsCodePlace?null:this.pAspectRatio}get hasModel(){return this.pHasModel}get placeUrl(){return this.pPlaceUrl}get gaPlaceName(){return this.pGaPlaceName}get actualBannerId(){return this.pActualBannerId}ngOnInit(){this.pHasModel=null!==this.widget.placeUrl,this.pHasModel?(this.pPlaceUrl=this.widget.placeUrl,this.pGaPlaceName=this.widget.gaPlaceName,null===this.pAspectRatio&&(this.pAspectRatio=this.injector.get(H.t).isMobile?48:null),this.emitHasData()):this.emitEmptyData();const e=()=>{this.emitComponentLoaded()};P.a.useLoadingDelay?Object(O.a)(1500).subscribe(e):e()}onActualBannerIdUpdated(e){this.pActualBannerId=e}onPlaceLoaded(e){this.pIsCodePlace=e.isCodePlace}}return e.\u0275fac=function(t){return new(t||e)(k.yc(ye,8),k.yc(k.w))},e.\u0275cmp=k.sc({type:e,selectors:[["ng-component"]],hostVars:2,hostBindings:function(e,t){2&e&&k.kc("data-place-name",t.gaPlaceName)("data-banner-id",t.actualBannerId)},inputs:{aspectRatio:"aspectRatio"}
1,features:[k.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();function Q(e,t){if(1&e){const e=k.Fc();k.Ec(0,"app-banners-place-content",2),k.Qc("actualBannerIdUpdated",(function(t){return k.nd(e),k.Uc(2).onActualBannerIdUpdated(t)}))("placeLoaded",(function(t){return k.nd(e),k.Uc(2).onPlaceLoaded(t)})),k.Dc()}if(2&e){const e=k.Uc(2);k.bd("placeUrl",e.placeUrl)("appScaledBox",e.aspectRatio)}}function K(e,t){if(1&e&&(k.Cc(0),k.xd(1,Q,1,2,"app-banners-place-content",1),k.Bc()),2&e){const e=k.Uc();k.jc(1),k.bd("ngIf",e.hasModel)}}let J=(()=>{class e extends Y{constructor(){super(...arguments),this.pAspectRatio=163}}return e.\u0275fac=function(t){return ee(t||e)},e.\u0275cmp=k.sc({type:e,selectors:[["app-block-banners-place-widget"]],features:[k.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[3,"placeUrl","appScaledBox","actualBannerIdUpdated","placeLoaded",4,"ngIf"],[3,"placeUrl","appScaledBox","actualBannerIdUpdated","placeLoaded"]],template:function(e,t){1&e&&(k.xd(0,K,2,1,"ng-container",0),k.Vc(1,"async")),2&e&&k.bd("appLoadingPlaceholder",k.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   app-banners-place-content[_ngcontent-%COMP%]{margin-bottom:20px}"]}),e})();const ee=k.Gc(J);function te(e,t){if(1&e){const e=k.Fc();k.Ec(0,"app-banners-place-content",2),k.Qc("actualBannerIdUpdated",(function(t){return k.nd(e),k.Uc(2).onActualBannerIdUpdated(t)}))("placeLoaded",(function(t){return k.nd(e),k.Uc(2).onPlaceLoaded(t)})),k.Dc()}if(2&e){const e=k.Uc(2);k.bd("placeUrl",e.placeUrl)("appScaledBox",e.aspectRatio)}}function ne(e,t){if(1&e&&(k.Cc(0),k.xd(1,te,1,2,"app-banners-place-content",1),k.Bc()),2&e){const e=k.Uc();k.jc(1),k.bd("ngIf",e.hasModel)}}let ie=(()=>{class e extends Y{}return e.\u0275fac=function(t){return re(t||e)},e.\u0275cmp=k.sc({type:e,selectors:[["app-stretching-banners-place-widget"]],features:[k.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[3,"placeUrl","appScaledBox","actualBannerIdUpdated","placeLoaded",4,"ngIf"],[3,"placeUrl","appScaledBox","actualBannerIdUpdated","placeLoaded"]],template:function(e,t){1&e&&(k.xd(0,ne,2,1,"ng-container",0),k.Vc(1,"async")),2&e&&k.bd("appLoadingPlaceholder",k.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   app-banners-place-content[_ngcontent-%COMP%]{margin-bottom:20px}"]}),e})();const re=k.Gc(ie);var se=n("LRne"),oe=n("tk/3");let ae=(()=>{class e{constructor(e,t,n){this.http=e,this.transferStateService=t,this.siteApiHostInfo=n}requestLayout(e){const t=this.transferStateService.makeStateKey("page-layout-"+e);return this.transferStateService.hasKey(t)?Object(se.a)(this.transferStateService.restoreData(t,null)):this.http.get(`${this.siteApiHostInfo}api3/layouts/${e}`).pipe(Object(H.Tb)(this.transferStateService,t))}}return e.\u0275fac=function(t){return new(t||e)(k.Mc(oe.b),k.Mc(H.yb),k.Mc(H.hb))},e.\u0275prov=k.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var ce=n("SxV6"),le=n("CqXF"),ue=n("UXun");let de=(()=>{class e{constructor(e,t,n,i){this.deviceState=e,this.apiLayoutService=t,this.cardsFactory=n,this.widgetsFactory=i,this.pending=!1}get hasSeparateLayouts(){return this.requestLayout().pipe(Object(U.a)(()=>this.internalHasSeparateLayouts()),Object(ce.a)())}getActualLayout(e){return e=void 0!==e?e:this.deviceState.isMobile,this.requestLayout().pipe(Object(U.a)(()=>e&&this.internalHasSeparateLayouts()?this.mobileLayout:this.desktopLayout),Object(ce.a)())}requestLayout(){return void 0===this.requestLayoutObservable&&(this.pending=!0,this.requestLayoutObservable=this.apiLayoutService.requestLayout(this.getPageId()).pipe(Object(U.a)(e=>this.separateLayouts(e)),Object(L.a)(e=>{this.desktopLayout=e.desktop,this.mobileLayout=e.mobile,this.pending=!1}),Object(le.a)(!0),Object(ue.a)(1),Object(E.a)(1))),this.requestLayoutObservable}buildLayout(e){const t=e.sections.map(e=>{const t=e.blocks.map(e=>{const t=e.widgets.map(e=>this.buildWidget(e));return new s(e.width,t,e.emptyAction)});
1return new o(e.height,t,e.emptyAction)});return new a(e.width,t,e.emptyAction)}buildWidget(e){if(null===this.widgetsFactory)throw new Error("Widget factory must be provided");switch(e.type){case"widgetsContainer":case"repeatableWidgetsContainer":const t=e.widgets.map(e=>this.buildWidget(e));return this.widgetsFactory.buildWidgetContainer(e.width,e.height,e.emptyAction,t,e.showByPage,e.useInfiniteScroll,e.replayCount);case"cardsContainer":const n=e.cards.map(this.buildCard,this);return this.widgetsFactory.buildCardsContainer(e.width,e.height,e.emptyAction,e.label,n);case"companiesProducts":return this.widgetsFactory.buildCompaniesProducts(e.width,e.height,e.emptyAction,e.label,e.onlyForRubrics,e.cards.map(this.buildCard,this));case"popularPlaces":return this.widgetsFactory.buildPopularPlacesWidget(e.width,e.height,e.emptyAction,e.label,e.onlyForRubrics,e.cards.map(this.buildCard,this));case"custom":return this.widgetsFactory.buildCustomWidget(e.width,e.height,e.emptyAction,e.label,e.posterType,e.links.map(e=>_(e)).filter(e=>null!==e),e.posterUrl);case"iFrame":return this.widgetsFactory.buildIframeWidget(e.width,e.height,e.emptyAction,e.url);case"companiesList":const i=[];e.cards.length>0&&i.push(...e.cards.map(this.buildCard,this));for(let o=0;o<e.pageSize;++o)i.push(this.cardsFactory.buildCompanyCard(e.width));return this.widgetsFactory.buildCompaniesListWidget(e.width,e.height,e.emptyAction,e.useScrollSpy,e.itemsCount,e.pageSize,i);case"newsCardsBlock":const r=[];for(let o=0;o<e.width*e.height;++o)r.push(this.cardsFactory.buildSimpleNews(1,null,!1));return this.widgetsFactory.buildNewsCardsBlock(e.width,e.height,e.emptyAction,r);case"blockBanner":return this.widgetsFactory.buildBlockBannersPlace(e.width,e.height,e.emptyAction,e.placeUrl,e.gaPlaceName);case"stretchBanner":return this.widgetsFactory.buildStretchingBannersPlace(e.width,e.height,e.emptyAction,e.placeUrl,e.gaPlaceName);case"shiftStretchBanner":return this.widgetsFactory.buildShiftStretchingBannersPlace(e.width,e.height,e.emptyAction,e.bannersPlaces);case"topCompanies":return this.widgetsFactory.buildTopCompanies(e.width,e.height,e.emptyAction,e.label,e.itemsCount,e.addCompanyLabel,e.addCompanyLink);case"catalogRubrics":return this.widgetsFactory.buildCatalogRubrics(e.width,e.height,e.emptyAction,e.mainRubricsList);case"companyLogos":return this.widgetsFactory.buildCompanyLogos(e.width,e.height,e.emptyAction,e.itemsCount);case"lastNewsFeed":return this.widgetsFactory.buildLastNewsFeed(e.width,e.height,e.emptyAction,e.newsCount,e.label,e.fillerItemsCount);case"weekTopNews":return this.widgetsFactory.buildWeekTopNews(e.width,e.height,e.emptyAction,e.label,e.itemsCount);case"politicalNews":return this.widgetsFactory.buildPoliticalNews(e.width,e.height,e.emptyAction,e.label,e.itemsCount);case"companiesNews":return this.widgetsFactory.buildCompaniesNews(e.width,e.height,e.emptyAction,e.label,e.promoNewsLabel,e.promoNewsLink,e.placeHereLabel,e.placeHereLink,e.cards.map(this.buildCard,this));case"endlessNewsBlock":const s=[];for(let o=0;o<e.width*e.height;++o)s.push(this.cardsFactory.buildSimpleNews(1,null,!1));return this.widgetsFactory.buildEndlessNewsBlock(e.width,e.height,e.emptyAction,s,e.pageRowsCount,e.pagerButtonLabel);case"poll":return this.widgetsFactory.buildPoll(e.width,e.height,e.emptyAction,e.id,e.label,e.resultsLabel,e.voteLabel,e.votesCountLabel);case"twoAnswerPoll":return this.widgetsFactory.buildTwoAnswerPoll(e.width,e.height,e.emptyAction,e.id,e.votesCountLabel);case"singleSpecialTheme":return this.widgetsFactory.buildSingleSpecialTheme(e.width,e.height,e.emptyAction,e.id,e.label,e.showMoreLabel,e.showNewsPreview,e.newsPreviewCount);case"adsTeaser":return this.widgetsFactory.buildAdsTeaser(e.width,e.height,e.emptyAction,e.label,e.itemsCount,e.promoNewsLabel,e.promoNewsLink,e.placeHereLabel,e.placeHereLink);case"currencyInformer":return this.widgetsFactory.buildCurrencyInformer(e.width,e.height,e.emptyAction,e.id);case"newsDetailView":return this.widgetsFactory.buildNewsDetailView(e.width,e.height,e.emptyAction,new Map(Object.entries(e.sourceReliabilityLabels)),e.useScrollSpy,e.placementOfStretchingInNewsText,new Map(Object.entries(e.readInLabels)));default:return null}}buildCard(e){if(null===this.cardsFactory)throw new Error("Cards factory must be provided");
1switch(e.type){case"custom":return this.cardsFactory.buildCustomCard(e.width,e.label,e.posterType,e.links.map(e=>_(e)).filter(e=>null!==e),e.posterUrl);case"iFrame":return this.cardsFactory.buildIframeCard(e.width,e.url);case"companyProduct":return this.cardsFactory.buildCompanyProduct(e.width,e.id);case"news":return this.cardsFactory.buildSimpleNews(e.width,e.id,e.onlyNonCommercialNews);case"topNews":return this.cardsFactory.buildTopNews(e.width,e.onlyNonCommercialNews);case"companiesNewsNews":return this.cardsFactory.buildCompaniesNewsNews(e.width);case"promoNews":return this.cardsFactory.buildPromoNews(e.width,e.id);case"numberOfTheDay":return this.cardsFactory.buildNumberOfTheDay(e.width,e.label,e.backgroundColor,e.number,e.measure,e.description);case"currencyInformer":return this.cardsFactory.buildCurrencyInformer(e.width,e.id);case"popularCompany":return this.cardsFactory.buildPopularPlaceCard(e.width);case"payedCompany":return this.cardsFactory.buildPayedCompanyCard(e.width,e.id);default:throw new Error("Unknown card type: "+e.type)}}internalHasSeparateLayouts(){return null!==this.mobileLayout}separateLayouts(e){const t=[],n=[];let r=!1;return e.sections.forEach(e=>{const s=e.showOn||i.all;if(i.desktop===s)t.push(e);else if(i.mobile===s)n.push(e);else{if(i.all!==s)throw new Error('Unknown section\'s "show-on" type');{const s=[],o=[];let a=!1;e.blocks.forEach(e=>{const t=[],n=[];let r=!1;e.widgets.forEach(e=>{const s=e.showOn||i.all,o=Object.assign({},e),a=Object.assign({},e);("repeatableWidgetsContainer"===e.type||"widgetsContainer"===e.type)&&i.all===s&&(o.widgets=[],a.widgets=[],e.widgets.forEach(e=>{const t=e.showOn||i.all;i.desktop&t&&o.widgets.push(e),i.mobile&t&&a.widgets.push(e),r=r||i.all!==t})),i.desktop&s&&t.push(o),i.mobile&s&&n.push(a),r=r||i.all!==s}),s.push({width:e.width,widgets:t,emptyAction:e.emptyAction}),o.push({width:e.width,widgets:r?n:t,emptyAction:e.emptyAction}),a=a||r}),t.push({height:e.height,blocks:s,emptyAction:e.emptyAction}),n.push({height:e.height,blocks:a?o:s,emptyAction:e.emptyAction}),r=r||a}}r=r||i.all!==s}),{desktop:this.buildLayout({width:e.width,sections:t,emptyAction:e.emptyAction}),mobile:r?this.buildLayout({width:e.width,sections:n,emptyAction:e.emptyAction}):null}}}return e.\u0275fac=function(t){return new(t||e)(k.Mc(H.t),k.Mc(ae),k.Mc(me,8),k.Mc(ve,8))},e.\u0275prov=k.uc({token:e,factory:e.\u0275fac}),e})();var he=n("tyNb");new k.v("Page layout service");let pe=(()=>{class e{constructor(e,t,n,i){this.injector=e,this.activatedRoute=t,this.routesService=n,this.deviceState=i,this.actualState=new x.a(null),this.layouts=new Map,this.layoutChangedSubject=ne
1w x.a(null),console.log("LayoutsManagerService: constructor"),Object(T.a)([this.routesService.onRoutesChanged,this.deviceState.onMobileStateChange]).subscribe(([e,t])=>{console.log("LayoutsManagerService: preChange");let n=this.activatedRoute;if(null===n.firstChild)return;for(;null!==n.firstChild;)n=n.firstChild;const i=this.actualRoute!==e.actual,r=this.actualIsMobile!==t.actualState;this.actualRoute=e.actual,this.actualIsMobile=t.actualState,this.actualRouteSnapshot=n.snapshot,this.actualState.next({isMobile:this.actualIsMobile,route:this.actualRoute}),(i||r)&&(r&&!i?this.actualLayoutService.hasSeparateLayouts.pipe(Object(ce.a)()).subscribe(e=>{e&&this.triggerLayoutChange()}):this.triggerLayoutChange())})}get onLayoutChange(){return this.layoutChangedSubject.pipe(Object(R.a)(e=>e instanceof a))}get onActualStateChange(){return this.actualState.pipe(Object(R.a)(e=>null!==e))}get actualLayoutService(){return this.layouts.has(this.actualRoute)||this.layouts.set(this.actualRoute,this.getLayoutForRoute()),this.layouts.get(this.actualRoute)}triggerLayoutChange(){this.actualLayoutService.getActualLayout(this.actualIsMobile).pipe(Object(ce.a)(),Object(N.a)(null)).subscribe(e=>{this.layoutChangedSubject.next(e)})}getLayoutForRoute(){if(void 0===this.actualRouteSnapshot)throw new Error("Actual route snapshot must be set");return this.injector.get(this.actualRouteSnapshot.data.layoutService)}}return e.\u0275fac=function(t){return new(t||e)(k.Mc(k.w),k.Mc(he.a),k.Mc(H.fb),k.Mc(H.t))},e.\u0275prov=k.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),fe=(()=>{class e{constructor(e){this.router=e,this.shiftBannersPlaces=new Map,this.router.events.pipe(Object(R.a)(e=>e instanceof he.b)).subscribe(()=>{this.shiftBannersPlaces.clear()})}getNextBannerWidget(e,t){const n=this.getWidgetHash(e);this.shiftBannersPlaces.has(n)||this.shiftBannersPlaces.set(n,[...e.bannersPlaces]);const i=this.shiftBannersPlaces.get(n).shift(),r=void 0!==i;return t.buildStretchingBannersPlace(e.width,e.height,e.emptyAction,r?i.placeUrl:null,r?i.gaPlaceName:null)}getWidgetHash(e){return e.bannersPlaces.map(e=>e.gaPlaceName).sort().join("::")}}return e.\u0275fac=function(t){return new(t||e)(k.Mc(he.d))},e.\u0275prov=k.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ge=(()=>{class e{buildSimpleNews(e,t,n){throw new Error("Not implemented!")}buildTopNews(e,t){throw new Error("Not implemented!")}buildCompaniesNewsNews(e){throw new Error("Not implemented!")}buildPromoNews(e,t){throw new Error("Not implemented!")}buildCompanyProduct(e,t){throw new Error("Not implemented!")}buildPopularPlaceCard(e){throw new Error("Not implemented!")}buildPayedCompanyCard(e,t){throw new Error("Not implemented!")}buildCompanyCard(e){throw new Error("Not implemented!")}buildNumberOfTheDay(e,t,n,i,r,s){throw new Error("Not implemented!")}buildCurrencyInformer(e,t){throw new Error("Not implemented!")}buildCustomCard(e,t,n,i,s){return new r.c(e,t,n,i,s)}buildIframeCard(e,t){return new r.d(e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=k.uc({token:e,factory:e.\u0275fac}),e})();const me=new k.v("Cards factory");let be=(()=>{class e{buildWidgetContainer(e,t,n,i,r,s,o){return new u(e,t,n,i,r,s,o)}buildCardsContainer(e,t,n,i,r){throw new Error("Not implemented!")}buildNewsCardsBlock(e,t,n,i){throw new Error("Not implemented!")}buildBlockBannersPlace(e,t,n,i,r){return new g(e,t,n,i,r)}buildStretchingBannersPlace(e,t,n,i,r){return new m(e,t,n,i,r)}buildShiftStretchingBannersPlace(e,t,n,i){return new b(e,t,n,i)}buildAdsTeaser(e,t,n,i,r,s,o,a,c){throw new Error("Not implemented!")}buildCompaniesNews(e,t,n,i,r,s,o,a,c){throw new Error("Not implemented!")}buildEndlessNewsBlock(e,t,n,i,r,s){throw new Error("Not implemented!")}buildLastNewsFeed(e,t,n,i,r,s){throw new Error("Not implemented!")}buildNewsDetailView(e,t,n,i,r,s,o){throw new Error("Not implemented!")}buildPoliticalNews(e,t,n,i,r){throw new Error("Not implemented!")}buildPoll(e,t,n,i,r,s,o,a){throw new Error("Not implemented!")}buildTwoAnswerPoll(e,t,n,i,r){throw new Error("Not implemented!")}buildSingleSpecialTheme(e,t,n,i,r,s,o,a){throw new Error("Not implemented!")}buildTopCompanies(e,t,n,i,r,s,o){throw new Error("Not implemented!")}buildWeekTopNews(e,t,n,i,r){throw new Error("Not implemented!")}buildCurrencyInformer(e,t,n,i){throw new Error("Not implemented!")}buildCustomWidget(e,t,n,i,r,s,o){return new h(e,t,n,i,r,s,o)}buildIframeWidget(e,t,n,i){return new p(e,t,n,i)}buildCompaniesProducts(e,t,n,i,r,s){throw new Error("Not implemented!")}buildPopularPlacesWidget(e,t,n,i,r,s){throw new Error("Not implemented!")}buildCompaniesListWidget(e,t,n,i,r,s,o){throw new Error("Not implemented!")}buildCompanyLogos(e,t,n,i){throw new Error("Not implemented!")}buildCatalogRubrics(e,t,n,i){throw new Error("Not implemented!")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=k.uc({token:e,factory:e.\u0275fac}),e})();const ve=new k.v("Widgets factory");let we=(()=>{class e{getSubstituteByWidgetProcessor(e,t){return null}getSubstituteByAdSenseProcessor(e,t){return null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=k.uc({token:e,factory:e.\u0275fac}),e})();const ye=new k.v("Empty widget processors factory"),Ce=new k.v("Empty card processors factory");class _e{constructor(e,t,n,i){this.card=e,this.componentFactoryResolver=t,this.substituteService=n,this.deviceState=i}
1doSubstitute(e,t,n,i,r){const s={index:n.indexOf(i),newCardsComponents:[]};return-1===s.index||(n.remove(s.index),null===r||(s.newCardsComponents=r.map((i,r)=>{if(this.canRenderCard(i.card)){const o=this.componentFactoryResolver.resolveComponentFactory(e.get(i.card.getComponent(),i.card.getComponent())),a=n.createComponent(o,s.index+r),c=a.instance;return c.card=i.card,c.models=i.model,c.parentContainer=t,c.containerRef=a,a}return null}).filter(e=>null!==e))),s}canRenderCard(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}}class xe extends _e{getComponentReplaceCallback(){const e=this.substituteService.getInstantSubstitute(this.card);return(t,n,i,r)=>this.doSubstitute(t,n,i,r,e)}}class Oe extends _e{getComponentReplaceCallback(){const e=this.substituteService.getSubstitute(this.card);return(t,n,i,r)=>e.pipe(Object(E.a)(1),Object(U.a)(e=>this.doSubstitute(t,n,i,r,e)))}}let Se=(()=>{class e{constructor(e,t,n){this.componentFactoryResolver=e,this.deviceState=t,this.substituteService=n}getSubstituteProcessor(e){return null===this.substituteService?null:e.needInstantSubstitute?new xe(e.card,this.componentFactoryResolver,this.substituteService,this.deviceState):new Oe(e.card,this.componentFactoryResolver,this.substituteService,this.deviceState)}}return e.\u0275fac=function(t){return new(t||e)(k.Mc(k.n),k.Mc(H.t),k.Mc(H.n,8))},e.\u0275prov=k.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ee(){return{provide:Object(k.cb)(()=>Ce),useFactory:(e,t,n)=>new Se(e,t,n),deps:[Object(k.cb)(()=>k.n),Object(k.cb)(()=>H.t),[new k.G,Object(k.cb)(()=>H.n)]]}}},fXoL:function(e,t,n){"use strict";n.d(t,"a",(function(){return to})),n.d(t,"b",(function(){return mh})),n.d(t,"c",(function(){return dh})),n.d(t,"d",(function(){return lh})),n.d(t,"e",(function(){return uh})),n.d(t,"f",(function(){return kp})),n.d(t,"g",(function(){return ip})),n.d(t,"h",(function(){return jh})),n.d(t,"i",(function(){return me})),n.d(t,"j",(function(){return Ms})),n.d(t,"k",(function(){return Dh})),n.d(t,"l",(function(){return Ah})),n.d(t,"m",(function(){return ec})),n.d(t,"n",(function(){return rc})),n.d(t,"o",(function(){return Ja})),n.d(t,"p",(function(){return yh})),n.d(t,"q",(function(){return ac})),n.d(t,"r",(function(){return Pn})),n.d(t,"s",(function(){return Fd})),n.d(t,"t",(function(){return G})),n.d(t,"u",(function(){return d})),n.d(t,"v",(function(){return W})),n.d(t,"w",(function(){return eo})),n.d(t,"x",(function(){return Ec})),n.d(t,"y",(function(){return Pc})),n.d(t,"z",(function(){return wh})),n.d(t,"A",(function(){return xh})),n.d(t,"B",(function(){return ae})),n.d(t,"C",(function(){return sp})),n.d(t,"D",(function(){return oe})),n.d(t,"E",(function(){return Kh})),n.d(t,"F",(function(){return Lh})),n.d(t,"G",(function(){return h})),n.d(t,"H",(function(){return bh})),n.d(t,"I",(function(){return gh})),n.d(t,"J",(function(){return fh})),n.d(t,"K",(function(){return Ud})),n.d(t,"L",(function(){return dc})),n.d(t,"M",(function(){return lc})),n.d(t,"N",(function(){return uc})),n.d(t,"O",(function(){return pc})),n.d(t,"P",(function(){return gi})),n.d(t,"Q",(function(){return f})),n.d(t,"R",(function(){return cp})),n.d(t,"S",(function(){return Ch})),n.d(t,"T",(function(){return _h})),n.d(t,"U",(function(){return Dc})),n.d(t,"V",(function(){return $h})),n.d(t,"W",(function(){return fc})),n.d(t,"X",(function(){return Ac})),n.d(t,"Y",(function(){return be})),n.d(t,"Z",(function(){return uo})),n.d(t,"ab",(function(){return Jh})),n.d(t,"bb",(function(){return qn})),n.d(t,"cb",(function(){return D})),n.d(t,"db",(function(){return $n})),n.d(t,"eb",(function(){return Ep})),n.d(t,"fb",(function(){return Gh})),n.d(t,"gb",(function(){return sc})),n.d(t,"hb",(function(){return vh})),n.d(t,"ib",(function(){return El})),n.d(t,"jb",(function(){return Pl})),n.d(t,"kb",(function(){return Vs})),n.d(t,"lb",(function(){return Nu})),n.d(t,"mb",(function(){return Ns})),n.d(t,"nb",(function(){return pi})),n.d(t,"ob",(function(){return vi})),n.d(t,"pb",(function(){return Zn})),n.d(t,"qb",(function(){return zn}
1)),n.d(t,"rb",(function(){return Mp})),n.d(t,"sb",(function(){return Nn})),n.d(t,"tb",(function(){return Un})),n.d(t,"ub",(function(){return Fn})),n.d(t,"vb",(function(){return Rn})),n.d(t,"wb",(function(){return Vn})),n.d(t,"xb",(function(){return Vl})),n.d(t,"yb",(function(){return tg})),n.d(t,"zb",(function(){return Yc})),n.d(t,"Ab",(function(){return au})),n.d(t,"Bb",(function(){return Ip})),n.d(t,"Cb",(function(){return Au})),n.d(t,"Db",(function(){return Op})),n.d(t,"Eb",(function(){return Tu})),n.d(t,"Fb",(function(){return zu})),n.d(t,"Gb",(function(){return Ln})),n.d(t,"Hb",(function(){return R})),n.d(t,"Ib",(function(){return Ol})),n.d(t,"Jb",(function(){return xl})),n.d(t,"Kb",(function(){return ho})),n.d(t,"Lb",(function(){return Lo})),n.d(t,"Mb",(function(){return zo})),n.d(t,"Nb",(function(){return co})),n.d(t,"Ob",(function(){return Al})),n.d(t,"Pb",(function(){return jl})),n.d(t,"Qb",(function(){return Vp})),n.d(t,"Rb",(function(){return Ql})),n.d(t,"Sb",(function(){return Bp})),n.d(t,"Tb",(function(){return cu})),n.d(t,"Ub",(function(){return $p})),n.d(t,"Vb",(function(){return Hp})),n.d(t,"Wb",(function(){return lu})),n.d(t,"Xb",(function(){return zp})),n.d(t,"Yb",(function(){return ju})),n.d(t,"Zb",(function(){return yd})),n.d(t,"ac",(function(){return He})),n.d(t,"bc",(function(){return k})),n.d(t,"cc",(function(){return Wp})),n.d(t,"dc",(function(){return Zc})),n.d(t,"ec",(function(){return Tn})),n.d(t,"fc",(function(){return Zp})),n.d(t,"gc",(function(){return La})),n.d(t,"hc",(function(){return Ha})),n.d(t,"ic",(function(){return Ka})),n.d(t,"jc",(function(){return Yi})),n.d(t,"kc",(function(){return vo})),n.d(t,"lc",(function(){return ua})),n.d(t,"mc",(function(){return Pa})),n.d(t,"nc",(function(){return ka})),n.d(t,"oc",(function(){return Ma})),n.d(t,"pc",(function(){return aa})),n.d(t,"qc",(function(){return eh})),n.d(t,"rc",(function(){return xi})),n.d(t,"sc",(function(){return Ce})),n.d(t,"tc",(function(){return Me})),n.d(t,"uc",(function(){return v})),n.d(t,"vc",(function(){return w})),n.d(t,"wc",(function(){return Ee})),n.d(t,"xc",(function(){return Ie})),n.d(t,"yc",(function(){return xo})),n.d(t,"zc",(function(){return Io})),n.d(t,"Ac",(function(){return Ao})),n.d(t,"Bc",(function(){return jo})),n.d(t,"Cc",(function(){return Do})),n.d(t,"Dc",(function(){return Mo})),n.d(t,"Ec",(function(){return ko})),n.d(t,"Fc",(function(){return To})),n.d(t,"Gc",(function(){return xn})),n.d(t,"Hc",(function(){return Ia})),n.d(t,"Ic",(function(){return od})),n.d(t,"Jc",(function(){return dd})),n.d(t,"Kc",(function(){return ad})),n.d(t,"Lc",(function(){return ud})),n.d(t,"Mc",(function(){return ne})),n.d(t,"Nc",(function(){return Oo})),n.d(t,"Oc",(function(){return ch})),n.d(t,"Pc",(function(){return So})),n.d(t,"Qc",(function(){return No})),n.d(t,"Rc",(function(){return ih})),n.d(t,"Sc",(function(){return Lt})),n.d(t,"Tc",(function(){return zt})),n.d(t,"Uc",(function(){return Vo})),n.d(t,"Vc",(function(){return Ad})),n.d(t,"Wc",(function(){return Td})),n.d(t,"Xc",(function(){return zd})),n.d(t,"Yc",(function(){return Ld})),n.d(t,"Zc",(function(){return qo})),n.d(t,"ad",(function(){return Ho})),n.d(t,"bd",(function(){return Eo})),n.d(t,"cd",(function(){return Wo})),n.d(t,"dd",(function(){return Go})),n.d(t,"ed",(function(){return Od})),n.d(t,"fd",(function(){return Sd})),n.d(t,"gd",(function(){return Ed})),n.d(t,"hd",(function(){return Pd})),n.d(t,"id",(function(){return kd})),n.d(t,"jd",(function(){return Yd})),n.d(t,"kd",(function(){return _o})),n.d(t,"ld",(function(){return rn})),n.d(t,"md",(function(){return nn})),n.d(t,"nd",(function(){return ut})),n.d(t,"od",(function(){return wi})),n.d(t,"pd",(function(){return _i})),n.d(t,"qd",(function(){return Ci})),n.d(t,"rd",(function(){return _e})),n.d(t,"sd",(function(){return Pe})),n.d(t,"td",(function(){return th})),n.d(t,"ud",(function(){return Qd})),n.d(t,"vd",(function(){return ca})),n.d(t,"wd",(function(){return oa})),n.d(t,"xd",(function(){return Co})),n.d(t,"yd",(function(){return ah})),n.d(t,"zd",(function(){return xa})),n.d(t,"Ad",(function(){return Oa})),n.d(t,"Bd",(function(){return Sa})),n.d(t,"Cd",(function(){return Ea})),n.d(t,"Dd",(function(){return Kd}));var i=n("XNiG"),r=n("quSY"),s=n("HDdC"),o=n("VRyK"),a=n("w1tV");function c(e){return{toString:e}.toString()}const l="__parameters__";function u(e,t,n){return c(()=>{const i=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,i){const r=e.hasOwnProperty(l)?e[l]:Object.defineProperty(e,l,{value:[]})[l];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const d=u("Inject",e=>({token:e})),h=u("Optional"),p=u("Self"),f=u("SkipSelf");var g=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function m(e){for(let t in e)if(e[t]===m)return t;throw Error("Could not find renamed property on target object.")}function b(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function w(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function y(e){return C(e,e[x])||C(e,e[E])}function C(e,t){return t&&t.token===e?t:null}function _(e){return e&&(e.hasOwnProperty(O)||e.hasOwnProperty(P))?e[O]:null}const x=m({"\u0275prov":m}
1),O=m({"\u0275inj":m}),S=m({"\u0275provFallback":m}),E=m({ngInjectableDef:m}),P=m({ngInjectorDef:m});function k(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(k).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function M(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const I=m({__forward_ref__:m});function D(e){return e.__forward_ref__=D,e.toString=function(){return k(this())},e}function j(e){return A(e)?e():e}function A(e){return"function"==typeof e&&e.hasOwnProperty(I)&&e.__forward_ref__===D}const T="undefined"!=typeof globalThis&&globalThis,z="undefined"!=typeof window&&window,L="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,N="undefined"!=typeof global&&global,R=T||N||z||L,F=m({"\u0275cmp":m}),V=m({"\u0275dir":m}),U=m({"\u0275pipe":m}),H=m({"\u0275mod":m}),B=m({"\u0275loc":m}),$=m({"\u0275fac":m}),q=m({__NG_ELEMENT_ID__:m});class W{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=v({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const G=new W("INJECTOR",-1),X={},Z=/\n/gm,Y=m({provide:String,useValue:m});let Q,K=void 0;function J(e){const t=K;return K=e,t}function ee(e){const t=Q;return Q=e,t}function te(e,t=g.Default){if(void 0===K)throw new Error("inject() must be called from an injection context");return null===K?ie(e,void 0,t):K.get(e,t&g.Optional?null:void 0,t)}function ne(e,t=g.Default){return(Q||te)(j(e),t)}function ie(e,t,n){const i=y(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&g.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${k(e)}]`)}function re(e){const t=[];for(let n=0;n<e.length;n++){const i=j(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=g.Default;for(let t=0;t<i.length;t++){const r=i[t];r instanceof h||"Optional"===r.ngMetadataName||r===h?n|=g.Optional:r instanceof f||"SkipSelf"===r.ngMetadataName||r===f?n|=g.SkipSelf:r instanceof p||"Self"===r.ngMetadataName||r===p?n|=g.Self:e=r instanceof d||r===d?r.token:r}t.push(ne(e,n))}else t.push(ne(i))}return t}class se{get(e,t=X){if(t===X){const t=new Error(`NullInjectorError: No provider for ${k(e)}!`);throw t.name="NullInjectorError",t}return t}}class oe{}class ae{}function ce(e,t){for(let n=0;n<e.length;n++)t.push(e[n])}function le(e,t){e.forEach(e=>Array.isArray(e)?le(e,t):t(e))}function ue(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function de(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function he(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function pe(e,t,n){let i=ge(e,t);return i>=0?e[1|i]=n:(i=~i,function(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function fe(e,t){const n=ge(e,t);if(n>=0)return e[1|n]}function ge(e,t){return function(e,t,n){let i=0,r=e.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=e[n<<1];if(t===s)return n<<1;s>t?r=n:i=n+1}return~(r<<1)}(e,t)}const me=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),be=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),ve={},we=[];let ye=0;function Ce(e){return c(()=>{const t=e.type,n=t.prototype,i={},r={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===me.OnPush,directiveDefs:null,pipeDefs:null,
1selectors:e.selectors||we,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||be.Emulated,id:"c",styles:e.styles||we,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,o=e.features,a=e.pipes;return r.id+=ye++,r.inputs=ke(e.inputs,i),r.outputs=ke(e.outputs),o&&o.forEach(e=>e(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(xe):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(Oe):null,r})}function _e(e,t,n){const i=e.\u0275cmp;i.directiveDefs=()=>t.map(xe),i.pipeDefs=()=>n.map(Oe)}function xe(e){return De(e)||function(e){return e[V]||null}(e)}function Oe(e){return function(e){return e[U]||null}(e)}const Se={};function Ee(e){const t={type:e.type,bootstrap:e.bootstrap||we,declarations:e.declarations||we,imports:e.imports||we,exports:e.exports||we,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&c(()=>{Se[e.id]=e.type}),t}function Pe(e,t){return c(()=>{const n=Ae(e,!0);n.declarations=t.declarations||we,n.imports=t.imports||we,n.exports=t.exports||we})}function ke(e,t){if(null==e)return ve;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}const Me=Ce;function Ie(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function De(e){return e[F]||null}function je(e,t){return e.hasOwnProperty($)?e[$]:null}function Ae(e,t){const n=e[H]||null;if(!n&&!0===t)throw new Error(`Type ${k(e)} does not have '\u0275mod' property.`);return n}function Te(e){return Array.isArray(e)&&"object"==typeof e[1]}function ze(e){return Array.isArray(e)&&!0===e[1]}function Le(e){return 0!=(8&e.flags)}function Ne(e){return 2==(2&e.flags)}function Re(e){return 1==(1&e.flags)}function Fe(e){return null!==e.template}function Ve(e){return 0!=(512&e[2])}let Ue=void 0;function He(e){Ue=e}function Be(){return void 0!==Ue?Ue:"undefined"!=typeof document?document:void 0}function $e(e){return!!e.listen}const qe={createRenderer:(e,t)=>Be()};function We(e){for(;Array.isArray(e);)e=e[0];return e}function Ge(e,t){return We(t[e+20])}function Xe(e,t){return We(t[e.index])}function Ze(e,t){const n=e.index;return-1!==n?We(t[n]):null}function Ye(e,t){return e.data[t+20]}function Qe(e,t){return e[t+20]}function Ke(e,t){const n=t[e];return Te(n)?n:n[0]}function Je(e){return e.__ngContext__||null}function et(e){const t=Je(e);return t?Array.isArray(t)?t:t.lView:null}function tt(e){return 4==(4&e[2])}function nt(e){return 128==(128&e[2])}function it(e,t){return null===e||null==t?null:e[t]}function rt(e){e[18]=0}function st(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const ot={lFrame:kt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function at(){return ot.bindingsEnabled}function ct(){return ot.lFrame.lView}function lt(){return ot.lFrame.tView}function ut(e){ot.lFrame.contextLView=e}function dt(){return ot.lFrame.previousOrParentTNode}function ht(e,t){ot.lFrame.previousOrParentTNode=e,ot.lFrame.isParent=t}function pt(){return ot.lFrame.isParent}function ft(){ot.lFrame.isParent=!1}function gt(){return ot.checkNoChangesMode}function mt(e){ot.checkNoChangesMode=e}function bt(){const e=ot.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vt(){return ot.lFrame.bindingIndex}function wt(){return ot.lFrame.bindingIndex++}function yt(e){const t=ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ct(e,t){const n=ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,_t(t)}function _t(e){ot.lFrame.currentDirectiveIndex=e}function xt(){return ot.lFrame.currentQueryIndex}function Ot(e){ot.lFrame.currentQueryIndex=e}function St(e,t){const n=Pt();ot.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function Et(e,t){const n=Pt(),i=e[1];ot.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex}function Pt(){const e=ot.lFrame,t=null===e?null:e.child;return null===t?kt(e):t}function kt(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,
1selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Mt(){const e=ot.lFrame;return ot.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const It=Mt;function Dt(){const e=Mt();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function jt(){return ot.lFrame.selectedIndex}function At(e){ot.lFrame.selectedIndex=e}function Tt(){const e=ot.lFrame;return Ye(e.tView,e.selectedIndex)}function zt(){ot.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Lt(){ot.lFrame.currentNamespace=null}function Nt(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const t=e.data[n];t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked)),t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked)),null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}}function Rt(e,t,n){Ut(e,t,3,n)}function Ft(e,t,n,i){(3&e[2])===n&&Ut(e,t,n,i)}function Vt(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ut(e,t,n,i){const r=null!=i?i:-1;let s=0;for(let o=void 0!==i?65535&e[18]:0;o<t.length;o++)if("number"==typeof t[o+1]){if(s=t[o],null!=i&&s>=i)break}else t[o]<0&&(e[18]+=65536),(s<r||-1==r)&&(Ht(e,n,t,o),e[18]=(4294901760&e[18])+o+2),o++}function Ht(e,t,n,i){const r=n[i]<0,s=n[i+1],o=e[r?-n[i]:n[i]];r?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,s.call(o)):s.call(o)}class Bt{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function $t(e,t,n){const i=$e(e);let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],a=n[r++],c=n[r++];i?e.setAttribute(t,a,c,o):t.setAttributeNS(o,a,c)}else{const o=s,a=n[++r];Wt(o)?i&&e.setProperty(t,o,a):i?e.setAttribute(t,o,a):t.setAttribute(o,a),r++}}return r}function qt(e){return 3===e||4===e||6===e}function Wt(e){return 64===e.charCodeAt(0)}function Gt(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Xt(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Xt(e,t,n,i,r){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n){if(null===i)return void(null!==r&&(e[s+1]=r));if(i===e[s+1])return void(e[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==i&&e.splice(s++,0,i),null!==r&&e.splice(s++,0,r)}function Zt(e){return-1!==e}function Yt(e){return 32767&e}function Qt(e){return e>>16}function Kt(e,t){let n=Qt(e),i=t;for(;n>0;)i=i[15],n--;return i}function Jt(e){return"string"==typeof e?e:null==e?"":""+e}function en(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Jt(e)}const tn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(R))();function nn(e){return{name:"window",target:e.ownerDocument.defaultView}}function rn(e){return{name:"document",target:e.ownerDocument}}function sn(e){return e instanceof Function?e():e}let on=!0;function an(e){const t=on;return on=e,t}let cn=0;function ln(e,t){const n=dn(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,un(i.data,e),un(t,null),un(i.blueprint,null));const r=hn(e,t),s=e.injectorIndex;if(Zt(r)){const e=Yt(r),n=Kt(r,t),i=n[1].data;for(let r=0;r<8;r++)t[s+r]=n[e+r]|i[e+r]}return t[s+8]=r,s}function un(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function hn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[6],i=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function pn(e,t,n){!function(e,t,n){let i="string"!=typeof n?n[q]:n.charCodeAt(0)||0;null==i&&(i=n[q]=cn++);const r=255&i,s=1<<r,o=64&r,a=32&r,c=t.data;128&r?o?a?c[e+7]|=s:c[e+6]|=s:a?c[e+5]|=s:c[e+4]|=s:o?a?c[e+3]|=s:c[e+2]|=s:a?c[e+1]|=s:c[e]|=s}(e,t,n)}function fn(e,t,n,i=g.Default,r){if(null!==e){const r=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e[q];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof r){St(t,e);try{const e=r();if(null!=e||i&g.Optional)return e;throw new Error(`No provider for ${en(n)}!`)}finally{It()}}else if("number"==typeof r){if(-1===r)return new Cn(e,t);let s=null,o=dn(e,t),a=-1,c=i&g.Host?t[16][6]:null;for((-1===o||i&g.SkipSelf)&&(a=-1===o?hn(e,t):t[o+8],yn(i,!1)?(s=t[1],o=Yt(a
1),t=Kt(a,t)):o=-1);-1!==o;){a=t[o+8];const e=t[1];if(wn(r,o,e.data)){const e=mn(o,t,n,s,i,c);if(e!==gn)return e}yn(i,t[1].data[o+8]===c)&&wn(r,o,t)?(s=e,o=Yt(a),t=Kt(a,t)):o=-1}}}if(i&g.Optional&&void 0===r&&(r=null),0==(i&(g.Self|g.Host))){const e=t[9],s=ee(void 0);try{return e?e.get(n,r,i&g.Optional):ie(n,r,i&g.Optional)}finally{ee(s)}}if(i&g.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${en(n)}]`)}const gn={};function mn(e,t,n,i,r,s){const o=t[1],a=o.data[e+8],c=bn(a,o,n,null==i?Ne(a)&&on:i!=o&&3===a.type,r&g.Host&&s===a);return null!==c?vn(t,o,c,a):gn}function bn(e,t,n,i,r){const s=e.providerIndexes,o=t.data,a=65535&s,c=e.directiveStart,l=s>>16,u=r?a+l:e.directiveEnd;for(let d=i?a:a+l;d<u;d++){const e=o[d];if(d<c&&n===e||d>=c&&e.type===n)return d}if(r){const e=o[c];if(e&&Fe(e)&&e.type===n)return c}return null}function vn(e,t,n,i){let r=e[n];const s=t.data;if(r instanceof Bt){const o=r;if(o.resolving)throw new Error("Circular dep for "+en(s[n]));const a=an(o.canSeeViewProviders);let c;o.resolving=!0,o.injectImpl&&(c=ee(o.injectImpl)),St(e,i);try{r=e[n]=o.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{onChanges:i,onInit:r,doCheck:s}=t;i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{o.injectImpl&&ee(c),an(a),o.resolving=!1,It()}}return r}function wn(e,t,n){const i=64&e,r=32&e;let s;return s=128&e?i?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:i?r?n[t+3]:n[t+2]:r?n[t+1]:n[t],!!(s&1<<e)}function yn(e,t){return!(e&g.Self||e&g.Host&&t)}class Cn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return fn(this._tNode,this._lView,e,void 0,t)}}function _n(e){const t=e;if(A(e))return()=>{const e=_n(j(t));return e?e():null};let n=je(t);if(null===n){const e=_(t);n=e&&e.factory}return n||null}function xn(e){return c(()=>{const t=e.prototype.constructor,n=t[$]||_n(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const e=r[$]||_n(r);if(e&&e!==n)return e;r=Object.getPrototypeOf(r)}return e=>new e})}function On(e){return e.ngDebugContext}function Sn(e){return e.ngOriginalError}function En(e,...t){e.error(...t)}class Pn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||En}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?On(e)?On(e):this._findContext(Sn(e)):null}_findOriginalError(e){let t=Sn(e);for(;t&&Sn(t);)t=Sn(t);return t}}class kn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class Mn extends kn{getTypeName(){return"HTML"}}class In extends kn{getTypeName(){return"Style"}}class Dn extends kn{getTypeName(){return"Script"}}class jn extends kn{getTypeName(){return"URL"}}class An extends kn{getTypeName(){return"ResourceURL"}}function Tn(e){return e instanceof kn?e.changingThisBreaksApplicationSecurity:e}function zn(e,t){const n=Ln(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}function Ln(e){return e instanceof kn&&e.getTypeName()||null}function Nn(e){return new Mn(e)}function Rn(e){return new In(e)}function Fn(e){return new Dn(e)}function Vn(e){return new jn(e)}function Un(e){return new An(e)}let Hn=!0,Bn=!1;function $n(){return Bn=!0,Hn}function qn(){if(Bn)throw new Error("Cannot enable prod mode after platform setup.");Hn=!1}
1class Wn{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let t=this.inertDocument.body;if(null==t){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),t=this.inertDocument.createElement("body"),e.appendChild(t)}t.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!t.querySelector||t.querySelector("svg")?(t.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(i){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0<i;i--){const n=t.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Gn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Xn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Zn(e){return(e=String(e)).match(Gn)||e.match(Xn)?e:($n()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Yn(e){return(e=String(e)).split(",").map(e=>Zn(e.trim())).join(", ")}function Qn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Kn(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Jn=Qn("area,br,col,hr,img,wbr"),ei=Qn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ti=Qn("rp,rt"),ni=Kn(ti,ei),ii=Kn(Jn,Kn(ei,Qn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Kn(ti,Qn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ni),ri=Qn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),si=Qn("srcset"),oi=Kn(ri,si,Qn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Qn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ai=Qn("script,style,template");class ci{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!ii.hasOwnProperty(t))return this.sanitizedSomething=!0,!ai.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let i=0;i<n.length;i++){const e=n.item(i),t=e.name,r=t.toLowerCase();if(!oi.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let s=e.value;ri[r]&&(s=Zn(s)),si[r]&&(s=Yn(s)),this.buf.push(" ",t,'="',di(s),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();ii.hasOwnProperty(t)&&!Jn.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(di(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const li=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ui=/([^\#-~ |!])/g;function di(e){return e.replace(/&/g,"&amp;").replace(li,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ui,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let hi;function pi(e,t){let n=null;try{hi=hi||new Wn(e);let i=t?String(t):"";n=hi.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=hi.getInertBodyElement(i)}while(i!==s);const o=new ci,a=o.sanitizeChildren(fi(n)||n);return $n()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=fi(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}
1function fi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const gi=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),mi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),bi=/^url\(([^)]+)\)$/;function vi(e){if(!(e=String(e).trim()))return"";const t=e.match(bi);return t&&Zn(t[1])===t[1]||e.match(mi)&&function(e){let t=!0,n=!0;for(let i=0;i<e.length;i++){const r=e.charAt(i);"'"===r&&n?t=!t:'"'===r&&t&&(n=!n)}return t&&n}(e)?e:($n()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}function wi(e){const t=Si();return t?t.sanitize(gi.HTML,e)||"":zn(e,"HTML")?Tn(e):pi(Be(),Jt(e))}function yi(e){const t=Si();return t?t.sanitize(gi.STYLE,e)||"":zn(e,"Style")?Tn(e):vi(Jt(e))}function Ci(e){const t=Si();return t?t.sanitize(gi.URL,e)||"":zn(e,"URL")?Tn(e):Zn(Jt(e))}function _i(e){const t=Si();if(t)return t.sanitize(gi.RESOURCE_URL,e)||"";if(zn(e,"ResourceURL"))return Tn(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}const xi=function(e,t,n){if(void 0===t&&void 0===n)return yi(e);let i=!0;return 1&(n=n||3)&&(i=Oi(e)),2&n?i?yi(t):Tn(t):i};function Oi(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"border-image-source"===e||"borderImageSource"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}function Si(){const e=ct();return e&&e[12]}const Ei=/([A-Z])/g;function Pi(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function ki(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Mi(e,t){e.__ngContext__=t}function Ii(e,t){let n=e[1].firstChild;for(;n;){if(Ze(n,e)===t)return n.index;n=Di(n)}return-1}function Di(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function ji(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Ai(){throw new Error("Cannot mix multi providers and regular providers")}function Ti(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const n=t.length;if(r+n===i||e.charCodeAt(r+n)<=32)return r}n=r+1}}function zi(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==Ti(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function Li(e){return 0===e.type&&"ng-template"!==e.tagName}function Ni(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function Ri(e,t,n){let i=4;const r=e.attrs||[],s=function(e){for(let t=0;t<e.length;t++)if(qt(e[t]))return t;return e.length}(r);let o=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!o)if(4&i){if(i=2|1&i,""!==c&&!Ni(e,c,n)||""===c&&1===t.length){if(Fi(i))return!1;o=!0}}else{const l=8&i?c:t[++a];if(8&i&&null!==e.attrs){if(!zi(e.attrs,l,n)){if(Fi(i))return!1;o=!0}continue}const u=Vi(8&i?"class":c,r,Li(e),n);if(-1===u){if(Fi(i))return!1;o=!0;continue}if(""!==l){let e;e=u>s?"":r[u+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==Ti(t,l,0)||2&i&&l!==e){if(Fi(i))return!1;o=!0}}}}else{if(!o&&!Fi(i)&&!Fi(c))return!1;if(o&&Fi(c))continue;o=!1,i=c|1&i}}return Fi(i)||o}function Fi(e){return 0==(1&e)}function Vi(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r<t.length;){const i=t[r];if(i===e)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let e=t[++r];for(;"string"==typeof e;)e=t[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Ui(e,t,n=!1){for(let i=0;i<t.length;i++)if(Ri(e,t[i],n))return!0;return!1}function Hi(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let t=0;t<e.length;t++)if(e[t]!==i[t])continue e;return!0}}return!1}function Bi(e,t){return e?":not("+t.trim()+")":t}function $i(e){let t=e[0],n=1,i=2,r="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&i){const t=e[++n];r+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||Fi(o)||(t+=Bi(s,r),r=""),i=o,s=s||!Fi(i);n++}return""!==r&&(t+=Bi(s,r)),t}const qi={};function Wi(e){const t=e[3];return ze(t)?t[3]:t}function Gi(e){return Zi(e[13])}function Xi(e){return Zi(e[4])}function Zi(e){for(;null!==e&&!ze(e);)e=e[4];return e}function Yi(e){Qi(lt(),ct(),jt()+e,gt())}function Qi(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Rt(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ft(t,i,0,n)}At(n)}const Ki={marker:"element"},Ji={marker:"comment"};function er(e,t){return e<<17|t<<2}function tr(e){return e>>17&32767}function nr(e){return 2|e}function ir(e){return(131068&e)>>2}function rr(e,t){return-131069&e|t<<2}function sr(e){return 1|e}function or(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=e.data[s];
1Ot(r),n.contentQueries(2,t[s],s)}}}function ar(e,t,n){return $e(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function cr(e,t,n,i,r,s,o,a,c,l){const u=t.blueprint.slice();return u[0]=r,u[2]=140|i,rt(u),u[3]=u[15]=e,u[8]=n,u[10]=o||e&&e[10],u[11]=a||e&&e[11],u[12]=c||e&&e[12]||null,u[9]=l||e&&e[9]||null,u[6]=s,u[16]=2==t.type?e[16]:u,u}function lr(e,t,n,i,r,s){const o=n+20,a=e.data[o]||function(e,t,n,i,r,s){const o=dt(),a=pt(),c=a?o:o&&o.parent,l=e.data[n]=wr(0,c&&c!==t?c:null,i,n,r,s);return null===e.firstChild&&(e.firstChild=l),o&&(!a||null!=o.child||null===l.parent&&2!==o.type?a||(o.next=l):o.child=l),l}(e,t,o,i,r,s);return ht(a,!0),a}function ur(e,t,n){Et(t,t[6]);try{const i=e.viewQuery;null!==i&&Hr(1,i,n);const r=e.template;null!==r&&pr(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&or(e,t),e.staticViewQueries&&Hr(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)Nr(e,t[n])}(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),i}finally{t[2]&=-5,Dt()}}function dr(e,t,n,i){const r=t[2];if(256==(256&r))return;Et(t,t[6]);const s=gt();try{rt(t),ot.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&pr(e,t,n,2,i);const o=3==(3&r);if(!s)if(o){const n=e.preOrderCheckHooks;null!==n&&Rt(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Ft(t,n,0,null),Vt(t,0)}if(function(e){for(let t=Gi(e);null!==t;t=Xi(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],i=n[3];0==(1024&n[2])&&st(i,1),n[2]|=1024}}}(t),function(e){for(let t=Gi(e);null!==t;t=Xi(t))for(let e=10;e<t.length;e++){const n=t[e],i=n[1];nt(n)&&dr(i,n,i.template,n[8])}}(t),null!==e.contentQueries&&or(e,t),!s)if(o){const n=e.contentCheckHooks;null!==n&&Rt(t,n)}else{const n=e.contentHooks;null!==n&&Ft(t,n,1),Vt(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let i=e.expandoStartIndex,r=-1,s=-1;for(let e=0;e<n.length;e++){const o=n[e];"number"==typeof o?o<=0?(s=0-o,At(s),i+=9+n[++e],r=i):i+=o:(null!==o&&(Ct(i,r),o(2,t[r])),r++)}}}finally{At(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)Lr(e,t[n])}(t,a);const c=e.viewQuery;if(null!==c&&Hr(2,c,i),!s)if(o){const n=e.viewCheckHooks;null!==n&&Rt(t,n)}else{const n=e.viewHooks;null!==n&&Ft(t,n,2),Vt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,st(t[3],-1))}finally{Dt()}}function hr(e,t,n,i){const r=t[10],s=!gt(),o=tt(t);try{s&&!o&&r.begin&&r.begin(),o&&ur(e,t,i),dr(e,t,n,i)}finally{s&&!o&&r.end&&r.end()}}function pr(e,t,n,i,r){const s=jt();try{At(-1),2&i&&t.length>20&&Qi(e,t,0,gt()),n(i,r)}finally{At(s)}}function fr(e,t,n){if(Le(t)){const i=t.directiveEnd;for(let r=t.directiveStart;r<i;r++){const t=e.data[r];t.contentQueries&&t.contentQueries(1,n[r],r)}}}function gr(e,t,n){at()&&(function(e,t,n,i){const r=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||ln(n,t),Mi(i,t);const o=n.initialInputs;for(let a=r;a<s;a++){const i=e.data[a],s=Fe(i);s&&Dr(t,n,i);const c=vn(t,e,a,n);Mi(c,t),null!==o&&Ar(0,a-r,c,i,0,o),s&&(Ke(n.index,t)[8]=c)}}(e,t,n,Xe(n,t)),128==(128&n.flags)&&function(e,t,n){const i=n.directiveStart,r=n.directiveEnd,s=e.expandoInstructions,o=e.firstCreatePass,a=n.index-20,c=ot.lFrame.currentDirectiveIndex;try{At(a);for(let n=i;n<r;n++){const i=e.data[n],r=t[n];_t(n),null!==i.hostBindings||0!==i.hostVars||null!==i.hostAttrs?Sr(i,r):o&&s.push(null)}}finally{At(-1),_t(c)}}
1(e,t,n))}function mr(e,t,n=Xe){const i=t.localNames;if(null!==i){let r=t.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?n(t,e):e[o];e[r++]=a}}}function br(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=vr(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function vr(e,t,n,i,r,s,o,a,c,l){const u=20+i,d=u+r,h=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:qi);return n}(u,d);return h[1]={type:e,id:t,blueprint:h,template:n,queries:null,viewQuery:a,node:null,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:l,incompleteFirstPass:!1}}function wr(e,t,n,i,r,s){return{type:n,index:i,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function yr(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function Cr(e,t,n,i,r,s,o,a){const c=Xe(t,n);let l,u=t.inputs;var d;!a&&null!=u&&(l=u[i])?(Gr(e,n,l,i,r),Ne(t)&&function(e,t){const n=Ke(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(i="class"===(d=i)?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,r=null!=o?o(r,t.tagName||"",i):r,$e(s)?s.setProperty(c,i,r):Wt(i)||(c.setProperty?c.setProperty(i,r):c[i]=r))}function _r(e,t,n,i){let r=!1;if(at()){const s=function(e,t,n){const i=e.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];Ui(n,o.selectors,!1)&&(r||(r=[]),pn(ln(n,t),e,o.type),Fe(o)?(2&n.flags&&ji(n),Pr(e,n),r.unshift(o)):r.push(o))}return r}(e,t,n),o=null===i?null:{"":-1};if(null!==s){let i=0;r=!0,Mr(n,e.data.length,s.length);for(let e=0;e<s.length;e++){const t=s[e];t.providersResolver&&t.providersResolver(t)}Er(e,n,s.length);let a=!1,c=!1;for(let r=0;r<s.length;r++){const l=s[r];n.mergedAttrs=Gt(n.mergedAttrs,l.hostAttrs),Ir(e,t,l),kr(e.data.length-1,l,o),null!==l.contentQueries&&(n.flags|=8),null===l.hostBindings&&null===l.hostAttrs&&0===l.hostVars||(n.flags|=128),!a&&(l.onChanges||l.onInit||l.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),a=!0),c||!l.onChanges&&!l.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),c=!0),xr(e,l),i+=l.hostVars}!function(e,t){const n=t.directiveEnd,i=e.data,r=t.attrs,s=[];let o=null,a=null;for(let c=t.directiveStart;c<n;c++){const e=i[c],n=e.inputs,l=null===r||Li(t)?null:Tr(n,r);s.push(l),o=yr(n,c,o),a=yr(e.outputs,c,a)}null!==o&&(o.hasOwnProperty("class")&&(t.flags|=16),o.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=o,t.outputs=a}(e,n),Or(e,t,i)}o&&function(e,t,n){if(t){const i=e.localNames=[];for(let e=0;e<t.length;e+=2){const r=n[t[e+1]];if(null==r)throw new Error(`Export of name '${t[e+1]}' not found!`);i.push(t[e],r)}}}(n,i,o)}return n.mergedAttrs=Gt(n.mergedAttrs,n.attrs),r}function xr(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Or(e,t,n){for(let i=0;i<n;i++)t.push(qi),e.blueprint.push(qi),e.data.push(null)}function Sr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Er(e,t,n){const i=20-t.index,r=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(i,r,n)}function Pr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function kr(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Fe(t)&&(n[""]=e)}}function Mr(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t
1+n,e.providerIndexes=t}function Ir(e,t,n){e.data.push(n);const i=n.factory||(n.factory=je(n.type)),r=new Bt(i,Fe(n),null);e.blueprint.push(r),t.push(r)}function Dr(e,t,n){const i=Xe(t,e),r=br(n),s=e[10],o=Rr(e,cr(e,r,null,n.onPush?64:16,i,t,s,s.createRenderer(i,n)));e[t.index]=o}function jr(e,t,n,i,r,s){const o=Xe(e,t),a=t[11];if(null==i)$e(a)?a.removeAttribute(o,n,s):o.removeAttribute(n);else{const t=null==r?Jt(i):r(i,e.tagName||"",n);$e(a)?a.setAttribute(o,n,t,s):s?o.setAttributeNS(s,n,t):o.setAttribute(n,t)}}function Ar(e,t,n,i,r,s){const o=s[t];if(null!==o){const e=i.setInput;for(let t=0;t<o.length;){const r=o[t++],s=o[t++],a=o[t++];null!==e?i.setInput(n,a,r,s):n[s]=a}}}function Tr(e,t){let n=null,i=0;for(;i<t.length;){const r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function zr(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function Lr(e,t){const n=Ke(t,e);if(nt(n)){const e=n[1];80&n[2]?dr(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let i=Gi(t);null!==i;i=Xi(i))for(let t=10;t<i.length;t++){const n=i[t];if(1024&n[2]){const e=n[1];dr(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let i=0;i<n.length;i++){const r=Ke(n[i],t);nt(r)&&r[5]>0&&e(r)}}(n)}}function Nr(e,t){const n=Ke(t,e),i=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),ur(i,n,n[8])}function Rr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Fr(e){for(;e;){e[2]|=64;const t=Wi(e);if(Ve(e)&&!t)return e;e=t}return null}function Vr(e,t,n){const i=t[10];i.begin&&i.begin();try{dr(e,t,e.template,n)}catch(r){throw Wr(t,r),r}finally{i.end&&i.end()}}function Ur(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=et(n),r=i[1];hr(r,i,r.template,n)}}(e[8])}function Hr(e,t,n){Ot(0),t(e,n)}const Br=(()=>Promise.resolve(null))();function $r(e){return e[7]||(e[7]=[])}function qr(e){return e.cleanup||(e.cleanup=[])}function Wr(e,t){const n=e[9],i=n?n.get(Pn,null):null;i&&i.handleError(t)}function Gr(e,t,n,i,r){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],c=t[o],l=e.data[o];null!==l.setInput?l.setInput(c,r,i,a):c[a]=r}}function Xr(e,t,n){const i=Ge(t,e),r=e[11];$e(r)?r.setValue(i,n):i.textContent=n}function Zr(e,t){const n=t[3];return-1===e.index?ze(n)?n:null:n}function Yr(e,t){const n=Zr(e,t);return n?ls(t[11],n[7]):null}function Qr(e,t,n,i,r){if(null!=i){let s,o=!1;ze(i)?s=i:Te(i)&&(o=!0,i=i[0]);const a=We(i);0===e&&null!==n?null==r?as(t,n,a):os(t,n,a,r||null):1===e&&null!==n?os(t,n,a,r||null):2===e?ps(t,a,o):3===e&&t.destroyNode(a),null!=s&&function(e,t,n,i,r){const s=n[7];s!==We(n)&&Qr(t,e,i,s,r);for(let o=10;o<n.length;o++){const r=n[o];gs(r[1],r,e,t,i,s)}}(t,e,s,n,r)}}function Kr(e,t){return $e(t)?t.createText(e):t.createTextNode(e)}function Jr(e,t,n,i){const r=Yr(e.node,t);r&&gs(e,t,t[11],n?1:2,r,i)}function es(e,t){const n=e[9],i=n.indexOf(t);1024&t[2]&&st(t[3],-1),n.splice(i,1)}function ts(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[17];null!==r&&r!==e&&es(r,i),t>0&&(e[n-1][4]=i[4]);const s=de(e,10+t);Jr(i[1],i,!1,null);const o=s[19];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function ns(e,t){if(!(256&t[2])){const n=t[11];$e(n)&&n.destroyNode&&gs(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return rs(e[1],e);for(;t;){let n=null;if(Te(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Te(t)&&rs(t[1],t),t=is(t,e);null===t&&(t=e),Te(t)&&rs(t[1],t),n=t&&t[4]}t=n}}(t)}}function is(e,t){let n;return Te(e)&&(n=e[6])&&2===n.type?Zr(n,e):e[3]===t?null:e[3]}function rs(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const e=t[n[i]];if(!(e instanceof Bt)){const t=n[i+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const r=n[i+1],s="function"==typeof r?r(t):We(t[r]),o=e[n[i+2]],a=n[i+3];"boolean"==typeof a?s.removeEventListener(n[i],o,a):a>
1=0?e[a]():e[-a].unsubscribe(),i+=2}else n[i].call(e[n[i+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&$e(t[11])&&t[11].destroy();const i=t[17];if(null!==i&&ze(t[3])){i!==t[3]&&es(i,t);const n=t[19];null!==n&&n.detachView(e)}}}function ss(e,t,n){let i=t.parent;for(;null!=i&&(4===i.type||5===i.type);)i=(t=i).parent;if(null==i){const e=n[6];return 2===e.type?Yr(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return Xe(t,n).parentNode;if(2&i.flags){const t=e.data,n=t[t[i.index].directiveStart].encapsulation;if(n!==be.ShadowDom&&n!==be.Native)return null}return Xe(i,n)}function os(e,t,n,i){$e(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function as(e,t,n){$e(e)?e.appendChild(t,n):t.appendChild(n)}function cs(e,t,n,i){null!==i?os(e,t,n,i):as(e,t,n)}function ls(e,t){return $e(e)?e.parentNode(t):t.parentNode}function us(e,t){if(2===e.type){const n=Zr(e,t);return null===n?null:hs(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Xe(e,t):null}function ds(e,t,n,i){const r=ss(e,i,t);if(null!=r){const e=t[11],s=us(i.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)cs(e,r,n[t],s);else cs(e,r,n,s)}}function hs(e,t){const n=10+e+1;if(n<t.length){const e=t[n],i=e[1].firstChild;if(null!==i)return function e(t,n){if(null!==n){const i=n.type;if(3===i)return Xe(n,t);if(0===i)return hs(-1,t[n.index]);if(4===i||5===i){const i=n.child;if(null!==i)return e(t,i);{const e=t[n.index];return ze(e)?hs(-1,e):We(e)}}{const i=t[16],r=i[6],s=Wi(i),o=r.projection[n.projection];return null!=o?e(s,o):e(t,n.next)}}return null}(e,i)}return t[7]}function ps(e,t,n){const i=ls(e,t);i&&function(e,t,n,i){$e(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}function fs(e,t,n,i,r,s,o){for(;null!=n;){const a=i[n.index],c=n.type;o&&0===t&&(a&&Mi(We(a),i),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(fs(e,t,n.child,i,r,s,!1),Qr(t,e,r,a,s)):1===c?bs(e,t,i,n,r,s):Qr(t,e,r,a,s)),n=o?n.projectionNext:n.next}}function gs(e,t,n,i,r,s){fs(n,i,e.node.child,t,r,s,!1)}function ms(e,t,n){bs(t[11],0,t,n,ss(e,n,t),us(n.parent||t[6],t))}function bs(e,t,n,i,r,s){const o=n[16],a=o[6].projection[i.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++)Qr(t,e,r,a[c],s);else fs(e,t,a,o[3],r,s,!0)}function vs(e,t,n){$e(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ws(e,t,n){$e(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class ys{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,n,i,r,s=!1){for(;null!==i;){const o=n[i.index];if(null!==o&&r.push(We(o)),ze(o))for(let t=10;t<o.length;t++){const n=o[t],i=n[1].firstChild;null!==i&&e(n[1],n,i,r)}const a=i.type;if(4===a||5===a)e(t,n,i.child,r);else if(1===a){const t=n[16],s=t[6].projection[i.projection];if(Array.isArray(s))r.push(...s);else{const n=Wi(t);e(n[1],n,s,r,!0)}}i=s?i.projectionNext:i.next}return r}(e[1],e,e[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}ns(this._lView[1],this._lView)}onDestroy(e){var t,n,i;t=this._lView[1],i=e,$r(n=this._lView).push(i),t.firstCreatePass&&qr(t).push(n[7].length-1,null)}markForCheck(){Fr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){mt(!0);try{Vr(e,t,n)}finally{mt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,gs(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Cs extends ys{constructor(e){super(e),this._view=e}detectChanges(){Ur(this._view)}checkNoChanges(){!function(e){mt(!0);try{Ur(e)}finally{mt(!1)}}(this._view)}get context(){return null}}let _s,xs,Os;function Ss(e,t,n){return _s||(_s=class extends e{}),new _s(Xe(t,n))}function Es(e,t,n,i){return xs||(xs=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=cr(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const i=this._declarationView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),ur(t,n,e),new ys(n)}}),0===n.type?new xs(i,n,Ss(t,n,i)):null}function Ps(e,t,n,i){let r;Os||(Os=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}
1get element(){return Ss(t,this._hostTNode,this._hostView)}get injector(){return new Cn(this._hostTNode,this._hostView)}get parentInjector(){const e=hn(this._hostTNode,this._hostView),t=Kt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let i=Qt(e),r=t,s=t[6];for(;i>1;)r=r[15],s=r[6],i--;return s}(e,this._hostView,this._hostTNode);return Zt(e)&&null!=n?new Cn(n,t):new Cn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const s=n||this.parentInjector;if(!r&&null==e.ngModule&&s){const e=s.get(oe,null);e&&(r=e)}const o=e.create(s,i,void 0,r);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,i=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),ze(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new Os(t,t[6],t[3]);i.detach(i.indexOf(e))}}const r=this._adjustIndex(t);return function(e,t,n,i){const r=10+i,s=n.length;i>0&&(n[r-1][4]=t),i<s-10?(t[4]=n[r],ue(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,n,this._lContainer,r),Jr(i,n,!0,hs(r,this._lContainer)),e.attachToViewContainerRef(this),ue(this._lContainer[8],r,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1);!function(e,t){const n=ts(e,t);n&&ns(n[1],n)}(this._lContainer,t),de(this._lContainer[8],t)}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=ts(this._lContainer,t);return n&&null!=de(this._lContainer[8],t)?new ys(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=i[n.index];if(ze(s))r=s;else{let e;if(4===n.type)e=We(s);else if(e=i[11].createComment(""),Ve(i)){const t=i[11],r=Xe(n,i);os(t,ls(t,r),e,function(e,t){return $e(e)?e.nextSibling(t):t.nextSibling}(t,r))}else ds(i[1],i,e,n);i[n.index]=r=zr(s,i,e,n),Rr(i,r)}return new Os(r,n,i)}function ks(e=!1){return function(e,t,n){if(!n&&Ne(e)){const n=Ke(e.index,t);return new ys(n,n)}return 3===e.type||0===e.type||4===e.type||5===e.type?new ys(t[16],t):null}(dt(),ct(),e)}let Ms=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Is(),e})();const Is=ks,Ds=Function;function js(e){return"function"==typeof e}const As=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Ts=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,zs=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Ls=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class Ns{constructor(e){this._reflect=e||R.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=he(void 0===e?t.length:e.length);for(let i=0;i<n.length;i++)n[i]=void 0===e?[]:e[i]&&e[i]!=Object?[e[i]]:[],t&&null!=t[i]&&(n[i]=n[i].concat(t[i]));return n}_ownParameters(e,t){if(n=e.toString(),As.test(n)||Ls.test(n)||Ts.test(n)&&!zs.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const i=e.ctorParameters;if(i&&i!==t.ctorParameters){const e="function"==typeof i?i():i,t=e.map(e=>e&&e.type),n=e.map(e=>e&&Rs(e.decorators));return this._zipTypesAndAnnotations(t,n)}const r=e.hasOwnProperty(l)&&e[l],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||r?this._zipTypesAndAnnotations(s,r):he(e.length)}parameters(e){if(!js(e))return[];const t=Fs(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?Rs(e.decorators):e.hasOwnProperty("__annotations__")?e.__annotations__:null}annotations(e){if(!js(e))return[];const t=Fs(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};
1return Object.keys(t).forEach(e=>{n[e]=Rs(t[e])}),n}return e.hasOwnProperty("__prop__metadata__")?e.__prop__metadata__:null}propMetadata(e){if(!js(e))return{};const t=Fs(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...i[e]),n[e]=t}),n}ownPropMetadata(e){return js(e)&&this._ownPropMetadata(e,Fs(e))||{}}hasLifecycleHook(e,t){return e instanceof Ds&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n        return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+k(e)}resourceUri(e){return"./"+k(e)}resolveIdentifier(e,t,n,i){return i}resolveEnum(e,t){return e[t]}}function Rs(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Fs(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Vs=new W("Set Injector scope."),Us={},Hs={},Bs=[];let $s=void 0;function qs(){return void 0===$s&&($s=new se),$s}function Ws(e,t=null,n=null,i){return new Gs(e,n,t||qs(),i)}class Gs{constructor(e,t,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];t&&le(t,n=>this.processProvider(n,e,t)),le([e],e=>this.processInjectorType(e,[],r)),this.records.set(G,Ys(void 0,this));const s=this.records.get(Vs);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof e?null:k(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=X,n=g.Default){this.assertNotDestroyed();const i=J(this);try{if(!(n&g.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof W)&&y(e);t=n&&this.injectableDefInScope(n)?Ys(Xs(e),Us):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&g.Self?qs():this.parent).get(e,t=n&g.Optional&&t===X?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(k(e)),i)throw s;return function(e,t,n,i){const r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=k(t);if(Array.isArray(t))r=t.map(k).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):k(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Z,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{J(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(k(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=j(e)))return!1;let i=_(e);const r=null==i&&e.ngModule||void 0,s=void 0===r?e:r,o=-1!==n.indexOf(s);if(void 0!==r&&(i=_(r)),null==i)return!1;if(null!=i.imports&&!o){let e;n.push(s);try{le(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:i}=e[t];le(i,e=>this.processProvider(e,n,i||Bs))}}this.injectorDefTypes.add(s),this.records.set(s,Ys(i.factory,Us));const a=i.providers;if(null!=a&&!o){const t=e;le(a,e=>this.processProvider(e,t,a))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=Ks(e=j(e))?e:j(e&&e.provide);const r=function(e,t,n){return Qs(e)?Ys(void 0,e.useValue):Ys(Zs(e,t,n),Us)}(e,t,n);if(Ks(e)||!0!==e.multi){const e=this.records.get(i);e&&void 0!==e.multi&&Ai()}else{let t=this.records.get(i);t?void 0===t.multi&&Ai():(t=Ys(void 0,Us,!0),t.factory=()=>re(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,r)}hydrate(e,t){var n;return t.value===Hs?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(k(e)):t.value===Us&&(t.value=Hs,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Xs(e){const t=y(e),n=null!==t?t.factory:je(e);if(null!==n)return n;const i=_(e);if(null!==i)return i.factory;if(e instanceof W)throw new Error(`Token ${k(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=he(t,"?");throw new Error(`Can't resolve all parameters for ${k(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[x]||e[E]||e[S]&&e[S]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);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 v10. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Zs(e,t,n){let i=void 0;if(Ks(e)){const t=j(e);return je(t)||Xs(t)}if(Qs(e))i=()=>j(e.useValue);else if((r=e)&&r.useFactory)i=()=>e.useFactory(...re(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>ne(j(e.useExisting));else{const r=j(e&&(e.useClass||e.provide));if(r||function(e,t,n){let i="";throw e&&t&&(i=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${k(e)}'`+i)}(t,n,e),!function(e){return!!e.deps}(e))return je(r)||Xs(r);i=()=>new r(...re(e.deps))}var r;return i}function Ys(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qs(e){return null!==e&&"object"==typeof e&&Y in e}function Ks(e){return"function"==typeof e}const Js=function(e,t,n){return function(e,t=null,n=null,i){const r=Ws(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let eo=(()=>{class e{static create(e,t){return Array.isArray(e)?Js(e,t,""):Js(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=X,e.NULL=new se,e.\u0275prov=v({token:e,providedIn:"any",factory:()=>ne(G)}),e.__NG_ELEMENT_ID__=-1,e})();const to=new W("AnalyzeForEntryComponents");let no=new Map;const io=new Set;function ro(e){return"string"==typeof e?e:e.text()}
1function so(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const e=t[o];"number"==typeof e?s=e:1==s?r=M(r,e):2==s&&(i=M(i,e+": "+t[++o]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}let oo=null;function ao(){if(!oo){const e=R.Symbol;if(e&&e.iterator)oo=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(oo=n)}}}return oo}function co(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function lo(e,t){const n=ho(e),i=ho(t);if(n&&i)return function(e,t,n){const i=e[ao()](),r=t[ao()]();for(;;){const e=i.next(),t=r.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,lo);{const r=e&&("object"==typeof e||"function"==typeof e),s=t&&("object"==typeof t||"function"==typeof t);return!(n||!r||i||!s)||co(e,t)}}class uo{constructor(e){this.wrapped=e}static wrap(e){return new uo(e)}static unwrap(e){return uo.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof uo}}function ho(e){return!!po(e)&&(Array.isArray(e)||!(e instanceof Map)&&ao()in e)}function po(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function fo(e,t,n){return e[t]=n}function go(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function mo(e,t,n,i){const r=go(e,t,n);return go(e,t+1,i)||r}function bo(e,t,n,i,r,s){const o=mo(e,t,n,i);return mo(e,t+2,r,s)||o}function vo(e,t,n,i){const r=ct();return go(r,wt(),t)&&(lt(),jr(Tt(),r,e,t,n,i)),vo}function wo(e,t,n,i){return go(e,wt(),n)?t+Jt(n)+i:qi}function yo(e,t,n,i,r,s){const o=mo(e,vt(),n,r);return yt(2),o?t+Jt(n)+i+Jt(r)+s:qi}function Co(e,t,n,i,r,s,o,a){const c=ct(),l=lt(),u=e+20,d=l.firstCreatePass?function(e,t,n,i,r,s,o,a,c){const l=t.consts,u=lr(t,n[6],e,0,o||null,it(l,a));_r(t,n,u,it(l,c)),Nt(t,u);const d=u.tViews=vr(2,-1,i,r,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l),h=wr(0,null,2,-1,null,null);return h.injectorIndex=u.injectorIndex,d.node=h,null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(e,l,c,t,n,i,r,s,o):l.data[u];ht(d,!1);const h=c[11].createComment("");ds(l,c,h,d),Mi(h,c),Rr(c,c[u]=zr(h,c,h,d)),Re(d)&&gr(l,c,d),null!=o&&mr(c,d,a)}function _o(e){return Qe(ot.lFrame.contextLView,e)}function xo(e,t=g.Default){const n=ct();return null==n?ne(e,t):fn(dt(),n,j(e),t)}function Oo(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i<e;){const r=n[i];if(qt(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<e&&"string"==typeof n[i];)i++;else{if(r===t)return n[i+1];i+=2}}}return null}(dt(),e)}function So(){throw new Error("invalid")}function Eo(e,t,n){const i=ct();return go(i,wt(),t)&&Cr(lt(),Tt(),i,e,t,i[11],n,!1),Eo}function Po(e,t,n,i,r){const s=r?"class":"style";Gr(e,n,t.inputs[s],s,i)}function ko(e,t,n,i){const r=ct(),s=lt(),o=20+e,a=r[11],c=r[o]=ar(t,a,ot.lFrame.currentNamespace),l=s.firstCreatePass?function(e,t,n,i,r,s,o){const a=t.consts,c=it(a,s),l=lr(t,n[6],e,3,r,c);return _r(t,n,l,it(a,o)),null!==l.attrs&&so(l,l.attrs,!1),null!==l.mergedAttrs&&so(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,s,r,0,t,n,i):s.data[o];ht(l,!0);const u=l.mergedAttrs;null!==u&&$t(a,c,u);const d=l.classes;null!==d&&ws(a,c,d);const h=l.styles;null!==h&&vs(a,c,h),ds(s,r,c,l),0===ot.lFrame.elementDepthCount&&Mi(c,r),ot.lFrame.elementDepthCount++,Re(l)&&(gr(s,r,l),fr(s,l,r)),null!==i&&mr(r,l)}function Mo(){let e=dt();pt()?ft():(e=e.parent,ht(e,!1));const t=e;ot.lFrame.elementDepthCount--;const n=lt();n.firstCreatePass&&(Nt(n,e),Le(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Po(n,t,ct(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Po(n,t,ct(),t.stylesWithoutHost,!1)}function Io(e,t,n,i){ko(e,t,n,i),Mo()}function Do(e,t,n){const i=ct(),r=lt(),s=e+20,o=r.firstCreatePass?function(e,t,n,i,r){const s=t.consts,o=it(s,i),a=lr(t,n[6],e,4,"ng-container",o);return null!==o&&so(a,o,!0),_r(t,n,a,it(s,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(e,r,i,t,n):r.data[s];ht(o,!0);const a=i[s]=i[11].createComment("");
1ds(r,i,a,o),Mi(a,i),Re(o)&&(gr(r,i,o),fr(r,o,i)),null!=n&&mr(i,o)}function jo(){let e=dt();const t=lt();pt()?ft():(e=e.parent,ht(e,!1)),t.firstCreatePass&&(Nt(t,e),Le(e)&&t.queries.elementEnd(e))}function Ao(e,t,n){Do(e,t,n),jo()}function To(){return ct()}function zo(e){return!!e&&"function"==typeof e.then}function Lo(e){return!!e&&"function"==typeof e.subscribe}function No(e,t,n=!1,i){const r=ct(),s=lt(),o=dt();return function(e,t,n,i,r,s,o=!1,a){const c=Re(i),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=$r(t);let d=!0;if(3===i.type){const h=Xe(i,t),p=a?a(h):ve,f=p.target||h,g=u.length,m=a?e=>a(We(e[i.index])).target:i.index;if($e(n)){let o=null;if(!a&&c&&(o=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const e=r[s];if(e===n&&r[s+1]===i){const e=t[7],n=r[s+2];return e.length>n?e[n]:null}"string"==typeof e&&(s+=2)}return null}(e,t,r,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,d=!1;else{s=Fo(i,t,s,!1);const e=n.listen(p.name||f,r,s);u.push(s,e),l&&l.push(r,m,g,g+1)}}else s=Fo(i,t,s,!0),f.addEventListener(r,s,o),u.push(s),l&&l.push(r,m,g,o)}const h=i.outputs;let p;if(d&&null!==h&&(p=h[r])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=t[p[n]][p[n+1]].subscribe(s),o=u.length;u.push(s,e),l&&l.push(r,i.index,o,-(o+1))}}}(s,r,r[11],o,e,t,n,i),No}function Ro(e,t,n){try{return!1!==t(n)}catch(i){return Wr(e,i),!1}}function Fo(e,t,n,i){return function r(s){if(s===Function)return n;const o=2&e.flags?Ke(e.index,t):t;0==(32&t[2])&&Fr(o);let a=Ro(t,n,s),c=r.__ngNextListenerFn__;for(;c;)a=Ro(t,c,s)&&a,c=c.__ngNextListenerFn__;return i&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function Vo(e=1){return function(e){return(ot.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,ot.lFrame.contextLView))[8]}(e)}function Uo(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r<t.length;r++){const s=t[r];if("*"!==s){if(null===i?Ui(e,s,!0):Hi(i,s))return r}else n=r}return n}function Ho(e){const t=ct()[16][6];if(!t.projection){const n=t.projection=he(e?e.length:1,null),i=n.slice();let r=t.child;for(;null!==r;){const t=e?Uo(r,e):0;null!==t&&(i[t]?i[t].projectionNext=r:n[t]=r,i[t]=r),r=r.next}}}let Bo=!1;function $o(e){Bo=e}function qo(e,t=0,n){const i=ct(),r=lt(),s=lr(r,i[6],e,1,null,n||null);null===s.projection&&(s.projection=t),ft(),Bo||ms(r,i,s)}function Wo(e,t,n){return Go(e,"",t,"",n),Wo}function Go(e,t,n,i,r){const s=ct(),o=wo(s,t,n,i);return o!==qi&&Cr(lt(),Tt(),s,e,o,s[11],r,!1),Go}const Xo=[];function Zo(e,t,n,i,r){const s=e[n+1],o=null===t;let a=i?tr(s):ir(s),c=!1;for(;0!==a&&(!1===c||o);){const n=e[a+1];Yo(e[a],t)&&(c=!0,e[a+1]=i?sr(n):nr(n)),a=i?tr(n):ir(n)}c&&(e[n+1]=i?nr(s):sr(s))}function Yo(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ge(e,t)>=0}const Qo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ko(e){return e.substring(Qo.key,Qo.keyEnd)}function Jo(e){return e.substring(Qo.value,Qo.valueEnd)}function ea(e,t){const n=Qo.textEnd;return n===t?-1:(t=Qo.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Qo.key=t,n),ia(e,t,n))}function ta(e,t){const n=Qo.textEnd;let i=Qo.key=ia(e,t,n);return n===i?-1:(i=Qo.keyEnd=function(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90);)t++;return t}(e,i,n),i=ra(e,i,n),i=Qo.value=ia(e,i,n),i=Qo.valueEnd=function(e,t,n){let i=-1,r=-1,s=-1,o=t,a=o;for(;o<n;){const c=e.charCodeAt(o++);if(59===c)return a;34===c||39===c?a=o=sa(e,c,o,n):t===o-4&&85===s&&82===r&&76===i&&40===c?a=o=sa(e,41,o,n):c>32&&(a=o),s=r,r=i,i=-33&c}return a}(e,i,n),ra(e,i,n))}function na(e){Qo.key=0,Qo.keyEnd=0,Qo.value=0,Qo.valueEnd=0,Qo.textEnd=e.length}function ia(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ra(e,t,n,i){return(t=ia(e,t,n))<n&&t++,t}function sa(e,t,n,i){let r=-1,s=n;for(;s<i;){const n=e.charCodeAt(s++);if(n==t&&92!==r)return s;r=92==n&&92===r?0:n}throw new Error}
1function oa(e,t,n){return ha(e,t,n,!1),oa}function aa(e,t){return ha(e,t,null,!0),aa}function ca(e){pa(va,la,e,!1)}function la(e,t){for(let n=function(e){return na(e),ta(e,ia(e,0,Qo.textEnd))}(t);n>=0;n=ta(t,n))va(e,Ko(t),Jo(t))}function ua(e){pa(pe,da,e,!0)}function da(e,t){for(let n=function(e){return na(e),ea(e,ia(e,0,Qo.textEnd))}(t);n>=0;n=ea(t,n))pe(e,Ko(t),!0)}function ha(e,t,n,i){const r=ct(),s=lt(),o=yt(2);if(s.firstUpdatePass&&ga(s,e,o,i),t!==qi&&go(r,o,t)){let a;null==n&&(a=function(){const e=ot.lFrame;return null===e?null:e.currentSanitizer}())&&(n=a),wa(s,s.data[jt()+20],r,r[11],e,r[o+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=k(Tn(e)))),e}(t,n),i,o)}}function pa(e,t,n,i){const r=lt(),s=yt(2);r.firstUpdatePass&&ga(r,null,s,i);const o=ct();if(n!==qi&&go(o,s,n)){const a=r.data[jt()+20];if(_a(a,i)&&!fa(r,s)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=M(e,n||"")),Po(r,a,o,n,i)}else!function(e,t,n,i,r,s,o,a){r===qi&&(r=Xo);let c=0,l=0,u=0<r.length?r[0]:null,d=0<s.length?s[0]:null;for(;null!==u||null!==d;){const h=c<r.length?r[c+1]:void 0,p=l<s.length?s[l+1]:void 0;let f=null,g=void 0;u===d?(c+=2,l+=2,h!==p&&(f=d,g=p)):null===d||null!==u&&u<d?(c+=2,f=u):(l+=2,f=d,g=p),null!==f&&wa(e,t,n,i,f,g,o,a),u=c<r.length?r[c]:null,d=l<s.length?s[l]:null}}(r,a,o,o[11],o[s+1],o[s+1]=function(e,t,n){if(null==n||""===n)return Xo;const i=[],r=Tn(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)e(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&e(i,s,r[s]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,s)}}function fa(e,t){return t>=e.expandoStartIndex}function ga(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[jt()+20],o=fa(e,n);_a(s,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){const r=function(e){const t=ot.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=ba(n=ma(null,e,t,n,i),t.attrs,i),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=ma(r,e,t,n,i),null===s){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==ir(i))return e[tr(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=ma(null,e,t,n[1],i),n=ba(n,t.attrs,i),function(e,t,n,i){e[tr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else s=function(e,t,n){let i=void 0;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<r;s++)i=ba(i,e[s].hostAttrs,n);return ba(i,t.attrs,n)}(e,t,i)}return void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s),n}(r,s,t,i),function(e,t,n,i,r,s){let o=s?t.classBindings:t.styleBindings,a=tr(o),c=ir(o);e[i]=n;let l,u=!1;if(Array.isArray(n)){const e=n;l=e[1],(null===l||ge(e,l)>0)&&(u=!0)}else l=n;if(r)if(0!==c){const t=tr(e[a+1]);e[i+1]=er(t,a),0!==t&&(e[t+1]=rr(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=er(a,0),0!==a&&(e[a+1]=rr(e[a+1],i)),a=i;else e[i+1]=er(c,0),0===a?a=i:e[c+1]=rr(e[c+1],i),c=i;u&&(e[i+1]=nr(e[i+1])),Zo(e,l,i,!0),Zo(e,l,i,!1),function(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ge(s,t)>=0&&(n[i+1]=sr(n[i+1]))}(t,l,e,i,s),o=er(a,c),s?t.classBindings=o:t.styleBindings=o}(r,s,t,n,o,i)}}function ma(e,t,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=t[a],i=ba(i,s.hostAttrs,r),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function ba(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?r=o:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),pe(e,o,!!n||t[++s]))}return void 0===e?null:e}function va(e,t,n){Oi(t)&&(n=yi(n)),pe(e,t,n)}function wa(e,t,n,i,r,s,o,a){if(3!==t.type)return;const c=e.data,l=c[a+1];Ca(1==(1&l)?ya(c,t,n,r,ir(l),o):void 0)||(Ca(s)||function(e){return 2==(2&e)}(l)&&(s=ya(c,null,n,r,a,o)),function(e,t,n,i,r){const s=$e(e);if(t)r?s?e.addClass(n,i):n.classList.add(i):s?e.removeClass(n,i):n.classList.remove(i);else{const t=-1==i.indexOf("-")?void 0:2;null==r?s?e.removeStyle(n,i,t):n.style.removeProperty(i):s?e.setStyle(n,i,r,t):n.style.setProperty(i,r)}}
1(i,o,Ge(jt(),n),r,s))}function ya(e,t,n,i,r,s){const o=null===t;let a=void 0;for(;r>0;){const t=e[r],s=Array.isArray(t),c=s?t[1]:t,l=null===c;let u=n[r+1];u===qi&&(u=l?Xo:void 0);let d=l?fe(u,i):c===i?u:void 0;if(s&&!Ca(d)&&(d=fe(t,i)),Ca(d)&&(a=d,o))return a;const h=e[r+1];r=o?tr(h):ir(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=fe(e,i))}return a}function Ca(e){return void 0!==e}function _a(e,t){return 0!=(e.flags&(t?16:32))}function xa(e,t=""){const n=ct(),i=lt(),r=e+20,s=i.firstCreatePass?lr(i,n[6],e,3,null,null):i.data[r],o=n[r]=Kr(t,n[11]);ds(i,n,o,s),ht(s,!1)}function Oa(e){return Sa("",e,""),Oa}function Sa(e,t,n){const i=ct(),r=wo(i,e,t,n);return r!==qi&&Xr(i,jt(),r),Sa}function Ea(e,t,n,i,r){const s=ct(),o=yo(s,e,t,n,i,r);return o!==qi&&Xr(s,jt(),o),Ea}function Pa(e,t,n){pa(pe,da,wo(ct(),e,t,n),!0)}function ka(e,t,n,i,r){pa(pe,da,yo(ct(),e,t,n,i,r),!0)}function Ma(e,t,n,i,r,s,o,a,c){pa(pe,da,function(e,t,n,i,r,s,o,a,c,l){const u=bo(e,vt(),n,r,o,c);return yt(4),u?t+Jt(n)+i+Jt(r)+s+Jt(o)+a+Jt(c)+l:qi}(ct(),e,t,n,i,r,s,o,a,c),!0)}function Ia(e,t,n){const i=ct();return go(i,wt(),t)&&Cr(lt(),Tt(),i,e,t,i[11],n,!0),Ia}function Da(e){Ta(e);const t=ja(e,!1);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];return 2&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function ja(e,t=!0){const n=function(e){let t=Je(e);if(t){if(Array.isArray(t)){const i=t;let r,s=void 0,o=void 0;if((n=e)&&n.constructor&&n.constructor.\u0275cmp){if(r=function(e,t){const n=e[1].components;if(n)for(let i=0;i<n.length;i++){const r=n[i];if(Ke(r,e)[8]===t)return r}else if(Ke(20,e)[8]===t)return 20;return-1}(i,e),-1==r)throw new Error("The provided component was not found in the application");s=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function(e,t){let n=e[1].firstChild;for(;n;){const i=n.directiveEnd;for(let r=n.directiveStart;r<i;r++)if(e[r]===t)return n.index;n=Di(n)}return-1}(i,e),-1==r)throw new Error("The provided directive was not found in the application");o=function(e,t,n){const i=t[1].data[e];let r=i.directiveStart;return 0==r?we:(2&i.flags&&r++,t.slice(r,i.directiveEnd))}(r,i)}else if(r=Ii(i,e),-1==r)return null;const a=We(i[r]),c=Je(a),l=c&&!Array.isArray(c)?c:ki(i,r,a);if(s&&void 0===l.component&&(l.component=s,Mi(l.component,l)),o&&void 0===l.directives){l.directives=o;for(let e=0;e<o.length;e++)Mi(o[e],l)}Mi(l.native,l),t=l}}else{const n=e;let i=n;for(;i=i.parentNode;){const e=Je(i);if(e){let i;if(i=Array.isArray(e)?e:e.lView,!i)return null;const r=Ii(i,n);if(r>=0){const e=We(i[r]),n=ki(i,r,e);Mi(e,n),t=n;break}}}}var n;return t||null}(e);if(!n&&t)throw new Error("Invalid ng target");return n}function Aa(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function Ta(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function za(e,t){const n=et(e)[1],i=n.data.length-1;Nt(n,{directiveStart:i,directiveEnd:i+1})}function La(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const i=[e];for(;t;){let r=void 0;if(Fe(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);const t=e;t.inputs=Na(e.inputs),t.declaredInputs=Na(e.declaredInputs),t.outputs=Na(e.outputs);const n=r.hostBindings;n&&Va(e,n);const s=r.viewQuery,o=r.contentQueries;if(s&&Ra(e,s),o&&Fa(e,o),b(e.inputs,r.inputs),b(e.declaredInputs,r.declaredInputs),b(e.outputs,r.outputs),Fe(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}t.afterContentChecked=t.afterContentChecked||r.afterContentChecked,t.afterContentInit=e.afterContentInit||r.afterContentInit,t.afterViewChecked=e.afterViewChecked||r.afterViewChecked,t.afterViewInit=e.afterViewInit||r.afterViewInit,t.doCheck=e.doCheck||r.doCheck,t.onDestroy=e.onDestroy||r.onDestroy,t.onInit=e.onInit||r.onInit}const t=r.features;if(t)for(let i=0;i<t.length;i++){const r=t[i];r&&r.ngInherit&&r(e),r===La&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Gt(r.hostAttrs,n=Gt(n,r.hostAttrs))}}(i)}function Na(e){return e===ve?{}:e===we?[]:e}function Ra(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>
vendor: 12,325 bytes, line 1
1{t(e,i),n(e,i)}:t}function Fa(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function Va(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}class Ua{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function Ha(e){e.type.prototype.ngOnChanges&&(e.setInput=Ba,e.onChanges=function(){const e=$a(this),t=e&&e.current;if(t){const n=e.previous;if(n===ve)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function Ba(e,t,n,i){const r=$a(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ve,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],c=o[a];s[a]=new Ua(c&&c.currentValue,t,o===ve),e[i]=t}function $a(e){return e.__ngSimpleChanges__||null}function qa(e,t,n,i,r){if(e=j(e),Array.isArray(e))for(let s=0;s<e.length;s++)qa(e[s],t,n,i,r);else{const s=lt(),o=ct();let a=Ks(e)?e:j(e.provide),c=Zs(e);const l=dt(),u=65535&l.providerIndexes,d=l.directiveStart,h=l.providerIndexes>>16;if(Ks(e)||!e.multi){const i=new Bt(c,r,xo),p=Xa(a,t,r?u:u+h,d);-1===p?(pn(ln(l,o),s,a),Wa(s,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=Xa(a,t,u+h,d),f=Xa(a,t,u,u+h),g=p>=0&&n[p],m=f>=0&&n[f];if(r&&!m||!r&&!g){pn(ln(l,o),s,a);const u=function(e,t,n,i,r){const s=new Bt(e,n,xo);return s.multi=[],s.index=t,s.componentProviders=0,Ga(s,r,i&&!n),s}(r?Ya:Za,n.length,r,i,c);!r&&m&&(n[f].providerFactory=u),Wa(s,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(u),o.push(u)}else Wa(s,e,p>-1?p:f,Ga(n[r?f:p],c,!r&&i));!r&&i&&m&&n[f].componentProviders++}}}function Wa(e,t,n,i){const r=Ks(t);if(r||t.useClass){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const o=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=o.indexOf(n);-1===e?o.push(n,[i,s]):o[e+1].push(i,s)}else o.push(n,s)}}}function Ga(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xa(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function Za(e,t,n,i){return Qa(this.multi,[])}function Ya(e,t,n,i){const r=this.multi;let s;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=vn(n,n[1],this.providerFactory.index,i);s=t.slice(0,e),Qa(r,s);for(let n=e;n<t.length;n++)s.push(t[n])}else s=[],Qa(r,s);return s}function Qa(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ka(e,t=[]){return n=>{n.providersResolver=(n,i)=>function(e,t,n){const i=lt();if(i.firstCreatePass){const r=Fe(e);qa(n,i.data,i.blueprint,r,!0),qa(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}Ha.ngInherit=!0;class Ja{}class ec{}function tc(e){const t=Error(`No component factory found for ${k(e)}. Did you add it to @NgModule.entryComponents?`);return t[nc]=e,t}const nc="ngComponent";class ic{resolveComponentFactory(e){throw tc(e)}}let rc=(()=>{class e{}return e.NULL=new ic,e})();class sc{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let i=0;i<e.length;i++){const t=e[i];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw tc(e);return new oc(t,this._ngModule)}}class oc extends ec{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,i){return this.factory.create(e,t,n,i||this.ngModule)}}let ac=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>cc(e),e})();const cc=function(e){return Ss(e,dt(),ct())};class lc{}const uc=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let dc=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>hc(),e})();const hc=function(){const e=ct(),t=Ke(dt().index,e);return function(e){const t=e[11];if($e(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Te(t)?t:e)};let pc=(()=>{class e{}return e.\u0275prov=v({token:e,providedIn:"root",factory:()=>null}),e})();class fc{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const gc=new fc("9.1.12");class mc{constructor(){}supports(e){return ho(e)}create(e){return new vc(e)}}const bc=(e,t)=>t;class vc{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||bc}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const s=!n||t&&t.currentIndex<_c(n,i,r)?t:n,o=_c(s,i,r),a=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)i++;else{r||(r=[]);const e=o-i,t=a-i;if(e!=t){for(let n=0;n<e;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;t<=s&&s<e&&(r[n]=i+1)}r[s.previousIndex]=t-e}}o!==a&&e(s,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!ho(e))throw new Error(`Error trying to diff '${k(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,i,r=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],i=this._trackByFn(t,n),null!==r&&co(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,t)),co(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,t),s=!0),r=r._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[ao()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(e,e=>{i=this._trackByFn(t,e),null!==r&&co(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,e,i,t)),co(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),s=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(co(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(co(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):e=this._addAfter(new wc(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Cc),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Cc),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class wc{constructor(e,t){this.item=e,this.trackById=t,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 yc{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&co(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Cc{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new yc,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _c(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class xc{constructor(){}supports(e){return e instanceof Map||po(e)}create(){return new Oc}}class Oc{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||po(e)))throw new Error(`Error trying to diff '${k(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;
vendor: 4,409 bytes, line 1
1if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);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 Sc(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){co(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Sc{constructor(e){this.key=e,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 Ec=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new f,new h]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=v({token:e,providedIn:"root",factory:()=>new e([new mc])}),e})(),Pc=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new f,new h]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=v({token:e,providedIn:"root",factory:()=>new e([new xc])}),e})();const kc=[new xc],Mc=new Ec([new mc]),Ic=new Pc(kc);let Dc=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>jc(e,ac),e})();const jc=function(e,t){return Es(e,t,dt(),ct())};let Ac=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Tc(e,ac),e})();const Tc=function(e,t){return Ps(e,t,dt(),ct())};function zc(e,t,n,i){let r=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return i&&(r+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return Lc(n,t),n}(r,e)}function Lc(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Nc(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function Rc(e,t,n){const i=e.state,r=1792&i;return r===t?(e.state=-1793&i|n,e.initIndex=-1,!0):r===n}function Fc(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}
1function Vc(e,t){return e.nodes[t]}function Uc(e,t){return e.nodes[t]}function Hc(e,t){return e.nodes[t]}function Bc(e,t){return e.nodes[t]}function $c(e,t){return e.nodes[t]}const qc={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Wc=()=>{},Gc=new Map;function Xc(e){let t=Gc.get(e);return t||(t=k(e)+"_"+Gc.size,Gc.set(e,t)),t}function Zc(e,t,n,i){if(uo.isWrapped(i)){i=uo.unwrap(i);const r=e.def.nodes[t].bindingIndex+n,s=uo.unwrap(e.oldValues[r]);e.oldValues[r]=new uo(s)}return i}function Yc(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Qc=0;function Kc(e,t,n,i){return!(!(2&e.state)&&co(e.oldValues[t.bindingIndex+n],i))}function Jc(e,t,n,i){return!!Kc(e,t,n,i)&&(e.oldValues[t.bindingIndex+n]=i,!0)}function el(e,t,n,i){const r=e.oldValues[t.bindingIndex+n];if(1&e.state||!lo(r,i)){const s=t.bindings[n].name;throw zc(qc.createDebugContext(e,t.nodeIndex),`${s}: ${r}`,`${s}: ${i}`,0!=(1&e.state))}}function tl(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function nl(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function il(e,t,n,i){try{return tl(33554432&e.def.nodes[t].flags?Uc(e,t).componentView:e),qc.handleEvent(e,t,n,i)}catch(r){e.root.errorHandler.handleError(r)}}function rl(e){return e.parent?Uc(e.parent,e.parentNodeDef.nodeIndex):null}function sl(e){return e.parent?e.parentNodeDef.parent:null}function ol(e,t){switch(201347067&t.flags){case 1:return Uc(e,t.nodeIndex).renderElement;case 2:return Vc(e,t.nodeIndex).renderText}}function al(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function cl(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function ll(e){return 1<<e%32}function ul(e){const t={};let n=0;const i={};return e&&e.forEach(([e,r])=>{"number"==typeof e?(t[e]=r,n|=ll(e)):i[e]=r}),{matchedQueries:t,references:i,matchedQueryIds:n}}function dl(e,t){return e.map(e=>{let n,i;return Array.isArray(e)?[i,n]=e:(i=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,"__source",{value:t,configurable:!0}),{flags:i,token:n,tokenKey:Xc(n)}})}function hl(e,t,n){let i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===be.Native?Uc(e,n.renderParent.nodeIndex).renderElement:void 0:t}const pl=new WeakMap;function fl(e){let t=pl.get(e);return t||(t=e(()=>Wc),t.factory=e,pl.set(e,t)),t}function gl(e,t,n,i,r){3===t&&(n=e.renderer.parentNode(ol(e,e.def.lastRenderRootNode))),ml(e,t,0,e.def.nodes.length-1,n,i,r)}function ml(e,t,n,i,r,s,o){for(let a=n;a<=i;a++){const n=e.def.nodes[a];11&n.flags&&vl(e,n,t,r,s,o),a+=n.childCount}}function bl(e,t,n,i,r,s){let o=e;for(;o&&!al(o);)o=o.parent;const a=o.parent,c=sl(o),l=c.nodeIndex+c.childCount;for(let u=c.nodeIndex+1;u<=l;u++){const e=a.def.nodes[u];e.ngContentIndex===t&&vl(a,e,n,i,r,s),u+=e.childCount}if(!a.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t<o.length;t++)wl(e,o[t],n,i,r,s)}}function vl(e,t,n,i,r,s){if(8&t.flags)bl(e,t.ngContent.index,n,i,r,s);else{const o=ol(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&wl(e,o,n,i,r,s),32&t.bindingFlags&&wl(Uc(e,t.nodeIndex).componentView,o,n,i,r,s)):wl(e,o,n,i,r,s),16777216&t.flags){const o=Uc(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<o.length;e++)gl(o[e],n,i,r,s)}1&t.flags&&!t.element.name&&ml(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,i,r,s)}}function wl(e,t,n,i,r,s){const o=e.renderer;switch(n){case 1:o.appendChild(i,t);break;case 2:o.insertBefore(i,t,r);break;case 3:o.removeChild(i,t);break;case 0:s.push(t)}}const yl=/^:([^:]+):(.+)$/;function Cl(e){if(":"===e[0]){const t=e.match(yl);return[t[1],t[2]]}return["",e]}function _l(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function xl(e,t){let n="";for(let i=0;i<2*e;i+=2)n=n+t[i]+Sl(t[i+1]);return n+t[2*e]}function Ol(e,t,n,i,r,s,o,a,c,l,u,d,h,p,f,g,m,b,v,w){switch(e){case 1:return t+Sl(n)+i;case 2:return t+Sl(n)+i+Sl(r)+s;case 3:return t+Sl(n)+i+Sl(r)+s+Sl(o)+a;case 4:return t+Sl(n)+i+Sl(r)+s+Sl(o)+a+Sl(c)+l;case 5:return t+Sl(n)+i+Sl(r)+s+Sl(o)+a+Sl(c)+l+Sl(u)+d;case 6:return t+Sl(n)+i+Sl(r)+s+Sl(o)+a+Sl(c)+l+Sl(u)+d+Sl(h)+p;case 7:return t+Sl(n)+i+Sl(r)+s+Sl(o)+a+Sl(c)+l+Sl(u)+d+Sl(h)+p+Sl(f)+g;case 8:return t+Sl(n)+i+Sl(r)+s+Sl(o)+a+Sl(c)+l+Sl(u)+d+Sl(h)+p+Sl(f)+g+Sl(m)+b;case 9:return t+Sl(n)+i+Sl(r)+s+Sl(o)+a+Sl(c)+l+Sl(u)+d+Sl(h)+p+Sl(f)+g+Sl(m)+b+Sl(v)+w;default:throw new Error("Does not support more than 9 expressions")}}function Sl(e){return null!=e?e.toString():""}const El=[],Pl={},kl={},Ml=Xc(eo),Il=Xc(G),Dl=Xc(oe);function jl(e,t,n,i){return n=j(n),{index:-1,deps:dl(i,k(t)),flags:e,token:t,value:n}}function Al(e){const t={},n=[];let i=null;for(let r=0;r<e.length;r++){const s=e[r];s.token===Vs&&(i=s.value),1073741824&s.flags&&n.push(s.token),s.index=r,t[Xc(s.token)]=s}return{factory:null,providersByKey:t,providers:e,modules:n,scope:i}}function Tl(e,t,n=eo.THROW_IF_NOT_FOUND){const i=J(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const r=t.tokenKey;switch(r){case Ml:case Il:case Dl:return e}const s=e._def.providersByKey[r];let o;if(s){let t=e._providers[s.index];return void 0===t&&(t=e._providers[s.index]=zl(e,s)),t===kl?void 0:t}if((o=y(t.token))&&function(e,t){const n=t.providedIn;return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,o)){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:o.factory,deps:[],index:n,token:t.token},e._providers[n]=kl,e._providers[n]=zl(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{J(i)}}function zl(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const i=n.length;switch(i){case 0:return new t;case 1:return new t(Tl(e,n[0]));case 2:return new t(Tl(e,n[0]),Tl(e,n[1]));case 3:return new t(Tl(e,n[0]),Tl(e,n[1]),Tl(e,n[2]));default:const r=[];for(let t=0;t<i;t++)r[t]=Tl(e,n[t]);return new t(...r)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const i=n.length;switch(i){case 0:return t();case 1:return t(Tl(e,n[0]));case 2:return t(Tl(e,n[0]),Tl(e,n[1]));case 3:return t(Tl(e,n[0]),Tl(e,n[1]),Tl(e,n[2]));default:const r=[];for(let t=0;t<i;t++)r[t]=Tl(e,n[t]);return t(...r)}}(e,t.value,t.deps);break;case 2048:n=Tl(e,t.deps[0]);break;case 256:n=t.value}return n===kl||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?kl:n}function Ll(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const i=n[t];return i.viewContainerParent=null,de(n,t),qc.dirtyParentQueries(i),Rl(i),i}function Nl(e,t,n){const i=t?ol(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(i),s=n.renderer.nextSibling(i);gl(n,2,r,s,void 0)}function Rl(e){gl(e,3,null,null,void 0)}const Fl={};function Vl(e,t,n,i,r,s){return new Ul(e,t,n,i,r,s)}class Ul extends ec{constructor(e,t,n,i,r,s){super(),this.selector=e,this.componentType=t,this._inputs=i,this._outputs=r,this.ngContentSelectors=s,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,i){if(!i)throw new Error("ngModule should be provided");const r=fl(this.viewDefFactory),s=r.nodes[0].element.componentProvider.nodeIndex,o=qc.createRootView(e,t||[],n,r,i,Fl),a=Hc(o,s).instance;return n&&o.renderer.setAttribute(Uc(o,0).renderElement,"ng-version",gc.full),new Hl(o,new Wl(o),a)}}class Hl extends Ja{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new ac(Uc(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Yl(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Bl(e,t,n){return new $l(e,t,n)}class $l{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}
vendor: 4,944 bytes, line 1
1get element(){return new ac(this._data.renderElement)}get injector(){return new Yl(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=sl(e),e=e.parent;return e?new Yl(e,t):new Yl(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Ll(this._data,e);qc.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Wl(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const s=n||this.parentInjector;r||e instanceof oc||(r=s.get(oe));const o=e.create(s,i,void 0,r);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,i){let r=t.viewContainer._embeddedViews;null==n&&(n=r.length),i.viewContainerParent=e,ue(r,n,i),function(e,t){const n=rl(t);if(!n||n===e||16&t.state)return;t.state|=16;let i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,i),qc.dirtyParentQueries(i),Nl(t,n>0?r[n-1]:null,i)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const i=e.viewContainer._embeddedViews,r=i[t];de(i,t),null==n&&(n=i.length),ue(i,n,r),qc.dirtyParentQueries(r),Rl(r),Nl(e,n>0?i[n-1]:null,r)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Ll(this._data,e);t&&qc.destroyView(t)}detach(e){const t=Ll(this._data,e);return t?new Wl(t):null}}function ql(e){return new Wl(e)}class Wl{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return gl(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){tl(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{qc.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){qc.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),qc.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Rl(this._view),qc.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Gl(e,t){return new Xl(e,t)}class Xl extends Dc{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Wl(qc.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new ac(Uc(this._parentView,this._def.nodeIndex).renderElement)}}function Zl(e,t){return new Yl(e,t)}class Yl{constructor(e,t){this.view=e,this.elDef=t}get(e,t=eo.THROW_IF_NOT_FOUND){return qc.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Xc(e)},t)}}function Ql(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=Uc(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return Vc(e,n.nodeIndex).renderText;if(20240&n.flags)return Hc(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Kl(e,t,n,i){return new Jl(e,t,n,i)}class Jl{constructor(e,t,n,i){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=i,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=he(t.providers.length);for(let i=0;i<t.providers.length;i++){const r=t.providers[i];4096&r.flags||void 0===n[i]&&(n[i]=zl(e,r))}}(this)}get(e,t=eo.THROW_IF_NOT_FOUND,n=g.Default){let i=0;return n&g.SkipSelf?i|=1:n&g.Self&&(i|=4),Tl(this,{token:e,tokenKey:Xc(e),flags:i},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(rc)}destroy(){if(this._destroyed)throw new Error(`The ng module ${k(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,i=new Set;for(let r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){const t=e._providers[r];if(t&&t!==kl){const e=t.ngOnDestroy;"function"!=typeof e||i.has(t)||(e.apply(t),i.add(t))}}}
1(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const eu=Xc(dc),tu=Xc(ac),nu=Xc(Ac),iu=Xc(Dc),ru=Xc(Ms),su=Xc(eo),ou=Xc(G);function au(e,t,n,i,r,s,o,a){const c=[];if(o)for(let u in o){const[e,t]=o[u];c[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const l=[];if(a)for(let u in a)l.push({type:1,propName:u,target:null,eventName:a[u]});return uu(e,t|=16384,n,i,r,r,s,c,l)}function cu(e,t,n){return uu(-1,e|=16,null,0,t,t,n)}function lu(e,t,n,i,r){return uu(-1,e,t,0,n,i,r)}function uu(e,t,n,i,r,s,o,a,c){const{matchedQueries:l,references:u,matchedQueryIds:d}=ul(n);c||(c=[]),a||(a=[]),s=j(s);const h=dl(o,k(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:d,references:u,ngContentIndex:-1,childCount:i,bindings:a,bindingFlags:_l(a),outputs:c,element:null,provider:{token:r,value:s,deps:h},text:null,query:null,ngContent:null}}function du(e,t){return gu(e,t)}function hu(e,t){let n=e;for(;n.parent&&!al(n);)n=n.parent;return mu(n.parent,sl(n),!0,t.provider.value,t.provider.deps)}function pu(e,t){const n=mu(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let i=0;i<t.outputs.length;i++){const r=t.outputs[i],s=n[r.propName];if(!Lo(s))throw new Error(`@Output ${r.propName} not initialized in '${n.constructor.name}'.`);{const n=s.subscribe(fu(e,t.parent.nodeIndex,r.eventName));e.disposables[t.outputIndex+i]=n.unsubscribe.bind(n)}}return n}function fu(e,t,n){return i=>il(e,t,n,i)}function gu(e,t){const n=(8192&t.flags)>0,i=t.provider;switch(201347067&t.flags){case 512:return mu(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,r){const s=r.length;switch(s){case 0:return i();case 1:return i(vu(e,t,n,r[0]));case 2:return i(vu(e,t,n,r[0]),vu(e,t,n,r[1]));case 3:return i(vu(e,t,n,r[0]),vu(e,t,n,r[1]),vu(e,t,n,r[2]));default:const o=[];for(let i=0;i<s;i++)o.push(vu(e,t,n,r[i]));return i(...o)}}(e,t.parent,n,i.value,i.deps);case 2048:return vu(e,t.parent,n,i.deps[0]);case 256:return i.value}}function mu(e,t,n,i,r){const s=r.length;switch(s){case 0:return new i;case 1:return new i(vu(e,t,n,r[0]));case 2:return new i(vu(e,t,n,r[0]),vu(e,t,n,r[1]));case 3:return new i(vu(e,t,n,r[0]),vu(e,t,n,r[1]),vu(e,t,n,r[2]));default:const o=[];for(let i=0;i<s;i++)o.push(vu(e,t,n,r[i]));return new i(...o)}}const bu={};function vu(e,t,n,i,r=eo.THROW_IF_NOT_FOUND){if(8&i.flags)return i.token;const s=e;2&i.flags&&(r=null);const o=i.tokenKey;o===ru&&(n=!(!t||!t.element.componentView)),t&&1&i.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(o){case eu:return wu(a,t,n).renderer;case tu:return new ac(Uc(a,t.nodeIndex).renderElement);case nu:return Uc(a,t.nodeIndex).viewContainer;case iu:if(t.element.template)return Uc(a,t.nodeIndex).template;break;case ru:return ql(wu(a,t,n));case su:case ou:return Zl(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[o];if(e){let t=Hc(a,e.nodeIndex);return t||(t={instance:gu(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=al(a),t=sl(a),a=a.parent,4&i.flags&&(a=null)}const c=s.root.injector.get(i.token,bu);return c!==bu||r===bu?c:s.root.ngModule.injector.get(i.token,r)}function wu(e,t,n){let i;if(n)i=Uc(e,t.nodeIndex).componentView;else for(i=e;i.parent&&!al(i);)i=i.parent;return i}function yu(e,t,n,i,r,s){if(32768&n.flags){const t=Uc(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[i].name]=r,524288&n.flags){s=s||{};const t=uo.unwrap(e.oldValues[n.bindingIndex+i]);s[n.bindings[i].nonMinifiedName]=new Ua(t,r,0!=(2&e.state))}return e.oldValues[n.bindingIndex+i]=r,s}function Cu(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let i=0;for(let r=0;r<n.length;r++){const s=n[r];let o=s.parent;for(!o&&s.flags&t&&xu(e,r,s.flags&t,i++),0==(s.childFlags&t)&&(r+=s.childCount);o&&1&o.flags&&r===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(i=_u(e,o,t,i)),o=o.parent}}function _u(e,t,n,i){for(let r=t.nodeIndex+1;r<=t.nodeIndex+t.childCount;r++){const t=e.def.nodes[r];t.flags&n&&xu(e,r,t.flags&n,i++),r+=t.childCount}return i}function xu(e,t,n,i){const r=Hc(e,t);if(!r)return;const s=r.instance;s&&(qc.setCurrentNode(e,t),1048576&n&&Fc(e,512,i)&&s.ngAfterContentInit(),2097152&n&&s.ngAfterContentChecked(),4194304&n&&Fc(e,768,i)&&s.ngAfterViewInit(),8388608&n&&s.ngAfterViewChecked(),131072&n&&s.ngOnDestroy())}class Ou extends rc{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=De(e);return new Pu(t,this.ngModule)}}function Su(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Eu=new W("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>tn});class Pu extends ec{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map($i).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Su(this.componentDef.inputs)}get outputs(){return Su(this.componentDef.outputs)}create(e,t,n,i){const r=(i=i||this.ngModule)?function(e,t){return{get:(n,i,r)=>{const s=e.get(n,bu,r);return s!==bu||i===bu?s:t.get(n,i,r)}}}(e,i.injector):e,s=r.get(lc,qe),o=r.get(pc,null),a=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(e,t,n){if($e(e))return e.selectRootElement(t,n===be.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(a,n,this.componentDef.encapsulation):ar(c,s.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,d="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),h={components:[],scheduler:tn,clean:Br,playerHandler:null,flags:0},p=vr(0,-1,null,1,0,null,null,null,null,null),f=cr(null,p,h,u,null,null,s,a,o,r);let g,m;Et(f,null);try{const e=function(e,t,n,i,r,s){const o=n[1];n[20]=e;const a=lr(o,null,0,3,null,null),c=a.mergedAttrs=t.hostAttrs;null!==c&&(so(a,c,!0),null!==e&&($t(r,e,c),null!==a.classes&&ws(r,e,a.classes),null!==a.styles&&vs(r,e,a.styles)));const l=i.createRenderer(e,t),u=cr(n,br(t),null,t.onPush?64:16,n[20],a,i,l,void 0);return o.firstCreatePass&&(pn(ln(a,n),o,t.type),Pr(o,a),Mr(a,n.length,1)),Rr(n,u),n[20]=u}(l,this.componentDef,f,s,a);if(l)if(n)$t(a,l,["ng-version",gc.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===r?""!==s&&t.push(s,e[++i]):8===r&&n.push(s);else{if(!Fi(r))break;r=s}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&$t(a,l,e),t&&t.length>0&&ws(a,l,t.join(" "))}if(m=Ye(p,0),void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=t[n];e.push(null!=i?Array.from(i):null)}}g=function(e,t,n,i,r){const s=n[1],o=function(e,t,n){const i=dt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Er(e,i,1),Ir(e,t,n));const r=vn(t,e,t.length-1,i);Mi(r,t);const s=Xe(i,t);return s&&Mi(s,t),r}(s,n,t);
1i.components.push(o),e[8]=o,r&&r.forEach(e=>e(o,t)),t.contentQueries&&t.contentQueries(1,o,n.length-1);const a=dt();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){At(a.index-20);const e=n[1];xr(e,t),Or(e,n,t.hostVars),Sr(t,o)}return o}(e,this.componentDef,f,h,[za]),ur(p,f,null)}finally{Dt()}const b=new ku(this.componentType,g,Ss(ac,m,f),f,m);return n&&!d||(p.node.child=m),b}}class ku extends Ja{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new Cs(i),function(e,t,n,i){let r=e.node;null==r&&(e.node=r=wr(0,null,2,-1,null,null)),i[6]=r}(i[1],0,0,i),this.componentType=e}get injector(){return new Cn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const Mu=void 0;var Iu=["en",[["a","p"],["AM","PM"],Mu],[["AM","PM"],Mu,Mu],[["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"]],Mu,[["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"]],Mu,[["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}",Mu,"{1} 'at' {0}",Mu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Du={};function ju(e,t,n){"string"!=typeof t&&(n=t,t=e[Nu.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Du[t]=e,n&&(Du[t][Nu.ExtraData]=n)}function Au(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Lu(t);if(n)return n;const i=t.split("-")[0];if(n=Lu(i),n)return n;if("en"===i)return Iu;throw new Error(`Missing locale data for the locale "${e}".`)}function Tu(e){return Au(e)[Nu.CurrencyCode]||null}function zu(e){return Au(e)[Nu.PluralCase]}function Lu(e){return e in Du||(Du[e]=R.ng&&R.ng.common&&R.ng.common.locales&&R.ng.common.locales[e]),Du[e]}const Nu=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),Ru=["zero","one","two","few","many"],Fu=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Vu=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Uu=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,Hu=/\ufffd(\d+):?\d*\ufffd/gi,Bu=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi;function $u(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(e);){const r=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);
1Fu.test(n)?i.push(qu(n)):i.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);i.push(n),t=r+1}n.push("{")}}const o=e.substring(t);return i.push(o),i}function qu(e){const t=[],n=[];let i=1,r=0;const s=$u(e=e.replace(Fu,(function(e,t,n){return i="select"===n?0:1,r=parseInt(t.substr(1),10),""})));for(let o=0;o<s.length;){let e=s[o++].trim();1===i&&(e=e.replace(/\s*(?:=)?(\w+)\s*/,"$1")),e.length&&t.push(e);const r=$u(s[o++]);t.length>n.length&&n.push(r)}return{type:i,mainBinding:r,cases:t,values:n}}function Wu(e){let t,n,i="",r=0,s=!1;for(;null!==(t=Vu.exec(e));)s?t[0]===`\ufffd/*${n}\ufffd`&&(r=t.index,s=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],s=!0);return i+=e.substr(r),i}function Gu(e,t,n,i=null){const r=[null,null],s=e.split(Hu);let o=0;for(let a=0;a<s.length;a++){const e=s[a];if(1&a){const t=parseInt(e,10);r.push(-1-t),o|=Qu(t)}else""!==e&&r.push(e)}return r.push(t<<2|(n?1:0)),n&&r.push(n,i),r[0]=o,r[1]=r.length-2,r}function Xu(e,t=0){let n;t|=Qu(e.mainBinding);for(let i=0;i<e.values.length;i++){const r=e.values[i];for(let e=0;e<r.length;e++){const i=r[e];if("string"==typeof i)for(;n=Hu.exec(i);)t|=Qu(parseInt(n[1],10));else t=Xu(i,t)}}return t}const Zu=[];let Yu=-1;function Qu(e){return 1<<Math.min(e,31)}const Ku=[];let Ju;function ed(e){return e+Ju++}function td(e,t,n,i,r){const s=t.next;i||(i=n),i===n&&t!==n.child?(t.next=n.child,n.child=t):i!==n&&t!==i.next?(t.next=i.next,i.next=t):t.next=null,n!==r[6]&&(t.parent=n);let o=t.next;for(;o;)o.next===t&&(o.next=s),o=o.next;if(1===t.type)return ms(e,r,t),t;ds(e,r,Xe(t,r),t);const a=r[t.index];return 0!==t.type&&ze(a)&&ds(e,r,a[7],t),t}function nd(e){return void 0===e}function id(e,t,n,i,r,s){const o=dt();t[n+20]=r;const a=lr(e,t[6],n,i,s,null);return o&&o.next===a&&(o.next=null),a}function rd(e,t,n,i){const r=i[11];let s=null,o=null;const a=[];for(let c=0;c<t.length;c++){const l=t[c];if("string"==typeof l){const e=Kr(l,r),u=t[++c];o=s,s=id(n,i,u,3,e,null),a.push(u),ft()}else if("number"==typeof l)switch(7&l){case 1:const r=l>>>17;let u;u=r===e?i[6]:Ye(n,r),o=td(n,s,u,o,i);break;case 0:const d=l>=0,h=(d?l:~l)>>>3;a.push(h),o=s,s=Ye(n,h),s&&ht(s,d);break;case 5:o=s=Ye(n,l>>>3),ht(s,!1);break;case 4:const p=t[++c],f=t[++c];jr(Ye(n,l>>>3),i,p,f,null,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case Ji:const e=t[++c],u=t[++c],d=r.createComment(e);o=s,s=id(n,i,u,5,d,null),a.push(u),Mi(d,i),s.activeCaseIndex=null,ft();break;case Ki:const h=t[++c],p=t[++c];o=s,s=id(n,i,p,3,r.createElement(h),h),a.push(p);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}}return ft(),a}function sd(e,t,n,i){const r=Ye(e,n),s=Ge(n,t);s&&ps(t[11],s);const o=Qe(t,n);if(ze(o)){const e=o;0!==r.type&&ps(t[11],e[7])}i&&(r.flags|=64)}function od(e,t,n){(function(e,t,n){const i=lt();Zu[++Yu]=e,$o(!0),i.firstCreatePass&&null===i.data[e+20]&&function(e,t,n,i,r){const s=t.blueprint.length-20;Ju=0;const o=dt(),a=pt()?o:o&&o.parent;let c=a&&a!==e[6]?a.index-20:n,l=0;Ku[l]=c;const u=[];if(n>0&&o!==a){let e=o.index-20;pt()||(e=~e),u.push(e<<3|0)}const d=[],h=[];if(""===i&&nd(r))u.push(i,ed(s),c<<17|1);else{const e=function(e,t){if(nd(t))return Wu(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,i=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Wu(e.substring(n,i))}}(i,r),t=(p=e,p.replace(md," ")).split(Uu);for(let n=0;n<t.length;n++){let i=t[n];if(1&n)if("/"===i.charAt(0)){if("#"===i.charAt(1)){const e=parseInt(i.substr(2),10);c=Ku[--l],u.push(e<<3|5)}}else{const e=parseInt(i.substr(1),10),t="#"===i.charAt(0);u.push((t?e:~e)<<3|0,c<<17|1),t&&(Ku[++l]=c=e)}else{const t=$u(i);for(let n=0;n<t.length;n++)if(1&n){const i=t[n];if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${e}" message.`);const r=ed(s);u.push(Ji,"",r,c<<17|1);const o=Xu(i);pd(h,i,r,r);const a=h.length-1;d.push(Qu(i.mainBinding),3,-1-i.mainBinding,r<<2|2,a,o,2,r<<2|3,a)}else if(""!==t[n]){const e=t[n],i=e.match(Hu),r=ed(s);u.push(i?"":e,r,c<<17|1),i&&ce(Gu(e,r),d)}}}}var p;Ju>0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(let i=0;i<n;i++)e.blueprint.push(null),e.data.push(null),t.push(null);e.expandoInstructions?e.expandoInstructions.push(n):e.expandoStartIndex+=n}}(t,e,Ju),t.data[n+20]={vars:Ju,create:u,update:d,icus:h.length?h:null}}(ct(),i,e,t,n)})(e,t,n),function(){const e=ct();!function(e,t){const n=Zu[Yu--],i=e.data[n+20],r=dt(),s=rd(n,i.create,e,t);let o=n+1;for(;o<=r.index-20;){-1===s.indexOf(o)&&sd(e,t,o,!0);const n=Ye(e,o);!n||0!==n.type&&3!==n.type&&4!==n.type||null===n.localNames||(o+=n.localNames.length>>1),o++}}(lt(),e),$o(!1)}()}function ad(e,t){!function(e,t,n,i){const r=dt().index-20,s=[];for(let o=0;o<i.length;o+=2){const a=i[o],c=i[o+1].split(Bu);for(let i=0;i<c.length;i++){const o=c[i];if(1&i)throw new Error("ICU expressions are not yet supported in attributes");if(""!==o)if(o.match(Hu))t.firstCreatePass&&null===t.data[n+20]&&ce(Gu(o,r,a),s);else{const n=Ye(t,r);
13===n.type&&jr(n,e,a,o,null,null);const i=null!==n.inputs&&n.inputs[a];i&&Gr(t,e,i,a,o)}}}t.firstCreatePass&&null===t.data[n+20]&&(t.data[n+20]=s)}(ct(),lt(),e,t)}let cd=0,ld=0;function ud(e){return go(ct(),wt(),e)&&(cd|=1<<ld),ld++,ud}function dd(e){if(ld){const t=lt(),n=t.data[e+20];let i,r=null;Array.isArray(n)?i=n:(i=n.update,r=n.icus);const s=vt()-ld-1,o=ct();!function e(t,n,i,r,s,o,a=!1){let c=!1;for(let l=0;l<t.length;l++){const u=t[l],d=t[++l];if(a||u&r){let a="";for(let u=l+1;u<=l+d;u++){const l=t[u];if("string"==typeof l)a+=l;else if("number"==typeof l)if(l<0)a+=Jt(o[i-l]);else{const d=l>>>2;let h,p,f;switch(3&l){case 1:const l=t[++u],g=t[++u];Cr(s,Ye(s,d),o,l,a,o[11],g,!1);break;case 0:Xr(o,d,a);break;case 2:if(h=t[++u],p=n[h],f=Ye(s,d),null!==f.activeCaseIndex){const e=p.remove[f.activeCaseIndex];for(let t=0;t<e.length;t++){const i=e[t];switch(7&i){case 3:sd(s,o,i>>>3,!1);break;case 6:const r=Ye(s,e[t+1]>>>3).activeCaseIndex;null!==r&&ce(n[i>>>3].remove[r],e)}}}const m=hd(p,a);f.activeCaseIndex=-1!==m?m:null,m>-1&&(rd(-1,p.create[m],s,o),c=!0);break;case 3:h=t[++u],p=n[h],f=Ye(s,d),null!==f.activeCaseIndex&&e(p.update[f.activeCaseIndex],n,i,r,s,o,c)}}}}l+=d}}(i,r,s,cd,t,o),cd=0,ld=0}}function hd(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){const n=zu(t)(parseInt(e,10)),i=Ru[n];return void 0!==i?i:"other"}(t,bd);n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return n}function pd(e,t,n,i){const r=[],s=[],o=[],a=[],c=[];for(let l=0;l<t.values.length;l++){const u=t.values[l],d=[];for(let e=0;e<u.length;e++){const t=u[e];if("string"!=typeof t){const n=d.push(t)-1;u[e]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}const h=fd(u.join(""),n,d,e,i);r.push(h.create),s.push(h.remove),o.push(h.update),a.push(h.vars),c.push(h.childIcus)}e.push({type:t.type,vars:a,childIcus:c,cases:t.cases,create:r,remove:s,update:o}),Ju+=Math.max(...a)}function fd(e,t,n,i,r){const s=new Wn(Be()).getInertBodyElement(e);if(!s)throw new Error("Unable to generate inert body element");const o={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,i,r,s,o){if(t){const a=[];for(;t;){const c=t.nextSibling,l=o+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:const c=t,u=c.tagName.toLowerCase();if(ii.hasOwnProperty(u)){n.create.push(Ki,u,l,i<<17|1);const a=c.attributes;for(let e=0;e<a.length;e++){const t=a.item(e),i=t.name.toLowerCase();t.value.match(Hu)?oi.hasOwnProperty(i)&&ce(ri[i]?Gu(t.value,l,t.name,Zn):si[i]?Gu(t.value,l,t.name,Yn):Gu(t.value,l,t.name),n.update):n.create.push(l<<3|4,t.name,t.value)}e(t.firstChild,n,l,r,s,o),n.remove.push(l<<3|3)}else n.vars--;break;case Node.TEXT_NODE:const d=t.textContent||"",h=d.match(Hu);n.create.push(h?"":d,l,i<<17|1),n.remove.push(l<<3|3),h&&ce(Gu(d,l),n.update);break;case Node.COMMENT_NODE:const p=gd.exec(t.textContent||"");if(p){const e=parseInt(p[1],10);n.create.push(Ji,"",l,i<<17|1),a.push([r[e],l])}else n.vars--;break;default:n.vars--}t=c}for(let e=0;e<a.length;e++){const t=a[e][0],i=a[e][1];pd(s,t,i,o+n.vars);const r=s.length-1;n.vars+=Math.max(...s[r].vars),n.childIcus.push(r);const c=Xu(t);n.update.push(Qu(t.mainBinding),3,-1-t.mainBinding,i<<2|2,r,c,2,i<<2|3,r),n.remove.push(r<<3|6,i<<3|3)}}}((fi(s)||s).firstChild,o,t,n,i,r),o}const gd=/\ufffd(\d+)\ufffd/,md=/\uE500/g;let bd="en-US";function vd(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(bd=e.toLowerCase().replace(/_/g,"-"))}const wd=new Map;function yd(e,t){const n=wd.get(e);Cd(e,n&&n.moduleType,t.moduleType),wd.set(e,t)}function Cd(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${k(t)} vs ${k(t.name)}`)}class _d extends oe{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ou(this);const n=Ae(e),i=e[B]||null;i&&vd(i),this._bootstrapComponents=sn(n.bootstrap),this._r3Injector=Ws(e,t,[{provide:oe,useValue:this},{provide:rc,useValue:this.componentFactoryResolver}],k(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=eo.THROW_IF_NOT_FOUND,n=g.Default){return e===eo||e===oe||e===G?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;
1!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class xd extends ae{constructor(e){super(),this.moduleType=e,null!==Ae(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;Cd(e,wd.get(e),t),wd.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new _d(this.moduleType,e)}}function Od(e,t,n){const i=bt()+e,r=ct();return r[i]===qi?fo(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function Sd(e,t,n,i){return Id(ct(),bt(),e,t,n,i)}function Ed(e,t,n,i,r){return Dd(ct(),bt(),e,t,n,i,r)}function Pd(e,t,n,i,r,s){return jd(ct(),bt(),e,t,n,i,r,s)}function kd(e,t,n,i,r,s,o){return function(e,t,n,i,r,s,o,a,c){const l=t+n;return bo(e,l,r,s,o,a)?fo(e,l+4,c?i.call(c,r,s,o,a):i(r,s,o,a)):Md(e,l+4)}(ct(),bt(),e,t,n,i,r,s,o)}function Md(e,t){const n=e[t];return n===qi?void 0:n}function Id(e,t,n,i,r,s){const o=t+n;return go(e,o,r)?fo(e,o+1,s?i.call(s,r):i(r)):Md(e,o+1)}function Dd(e,t,n,i,r,s,o){const a=t+n;return mo(e,a,r,s)?fo(e,a+2,o?i.call(o,r,s):i(r,s)):Md(e,a+2)}function jd(e,t,n,i,r,s,o,a){const c=t+n;return function(e,t,n,i,r){const s=mo(e,t,n,i);return go(e,t+2,r)||s}(e,c,r,s,o)?fo(e,c+3,a?i.call(a,r,s,o):i(r,s,o)):Md(e,c+3)}function Ad(e,t){const n=lt();let i;const r=e+20;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=je(i.type)),o=ee(xo),a=an(!1),c=s();return an(a),ee(o),function(e,t,n,i){const r=n+20;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}(n,ct(),e,c),c}function Td(e,t,n){const i=ct(),r=Qe(i,e);return Rd(i,Nd(i,e)?Id(i,bt(),t,r.transform,n,r):r.transform(n))}function zd(e,t,n,i){const r=ct(),s=Qe(r,e);return Rd(r,Nd(r,e)?Dd(r,bt(),t,s.transform,n,i,s):s.transform(n,i))}function Ld(e,t,n,i,r){const s=ct(),o=Qe(s,e);return Rd(s,Nd(s,e)?jd(s,bt(),t,o.transform,n,i,r,o):o.transform(n,i,r))}function Nd(e,t){return e[1].data[t+20].pure}function Rd(e,t){return uo.isWrapped(t)&&(t=uo.unwrap(t),e[vt()]=qi),t}class Fd extends i.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,s=e=>null,o=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(i,s,o);return e instanceof r.a&&e.add(a),a}}function Vd(){return this._results[ao()]()}class Ud{constructor(){this.dirty=!0,this._results=[],this.changes=new Fd,this.length=0;const e=ao(),t=Ud.prototype;t[e]||(t[e]=Vd)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let i=0;i<t.length;i++){let r=t[i];Array.isArray(r)?(n===t&&(n=t.slice(0,i)),e(r,n)):n!==t&&n.push(r)}return n}(e),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 Hd{constructor(e){this.queryList=e,this.matches=null}clone(){return new Hd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Bd{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);i.push(this.queries[n.indexInDeclarationView].clone())}return new Bd(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==oh(e,t).matches&&this.queries[t].setDirty()}}class $d{constructor(e,t,n,i=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=i}}class qd{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const i=null!==t?t.length:0,r=this.getByIndex(n).embeddedTView(e,i);r&&(r.indexInDeclarationView=n,null!==t?t.push(r):t=[r])}return null!==t?new qd(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Wd{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Wd(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}
1matchTNode(e,t){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let i=0;i<n.length;i++)this.matchTNodeWithReadOption(e,t,Gd(t,n[i]))}else{const n=this.metadata.predicate;n===Dc?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,bn(t,e,n,!1,!1))}}matchTNodeWithReadOption(e,t,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===ac||i===Ac||i===Dc&&0===t.type)this.addMatch(t.index,-2);else{const n=bn(t,e,i,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Gd(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Xd(e,t,n,i){return-1===n?function(e,t){return 3===e.type||4===e.type?Ss(ac,e,t):0===e.type?Es(Dc,ac,e,t):null}(t,e):-2===n?function(e,t,n){return n===ac?Ss(ac,t,e):n===Dc?Es(Dc,ac,t,e):n===Ac?Ps(Ac,ac,t,e):void 0}(e,t,i):vn(e,e[1],n,t)}function Zd(e,t,n,i){const r=t[19].queries[i];if(null===r.matches){const i=e.data,s=n.matches,o=[];for(let e=0;e<s.length;e+=2){const r=s[e];o.push(r<0?null:Xd(t,i[r],s[e+1],n.metadata.read))}r.matches=o}return r.matches}function Yd(e){const t=ct(),n=lt(),i=xt();Ot(i+1);const r=oh(n,i);if(e.dirty&&tt(t)===r.metadata.isStatic){if(null===r.matches)e.reset([]);else{const s=r.crossesNgTemplate?function e(t,n,i,r){const s=t.queries.getByIndex(i),o=s.matches;if(null!==o){const a=Zd(t,n,s,i);for(let t=0;t<o.length;t+=2){const i=o[t];if(i>0)r.push(a[t/2]);else{const s=o[t+1],a=n[-i];for(let t=10;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,s,r)}if(null!==a[9]){const t=a[9];for(let n=0;n<t.length;n++){const i=t[n];e(i[1],i,s,r)}}}}}return r}(n,t,i,[]):Zd(n,t,r,i);e.reset(s),e.notifyOnChanges()}return!0}return!1}function Qd(e,t,n){Jd(lt(),ct(),e,t,n,!0)}function Kd(e,t,n){Jd(lt(),ct(),e,t,n,!1)}function Jd(e,t,n,i,r,s){e.firstCreatePass&&(sh(e,new $d(n,i,s,r),-1),s&&(e.staticViewQueries=!0)),rh(e,t)}function eh(e,t,n,i){nh(lt(),ct(),t,n,i,!1,dt(),e)}function th(e,t,n,i){nh(lt(),ct(),t,n,i,!0,dt(),e)}function nh(e,t,n,i,r,s,o,a){e.firstCreatePass&&(sh(e,new $d(n,i,s,r),o.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,a),s&&(e.staticContentQueries=!0)),rh(e,t)}function ih(){return e=ct(),t=xt(),e[19].queries[t].queryList;var e,t}function rh(e,t){const n=new Ud;!function(e,t,n,i){const r=$r(t);r.push(n),e.firstCreatePass&&qr(e).push(i,r.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new Bd),t[19].queries.push(new Hd(n))}function sh(e,t,n){null===e.queries&&(e.queries=new qd),e.queries.track(new Wd(t,n))}function oh(e,t){return e.queries.getByIndex(t)}function ah(e,t){return Es(Dc,ac,e,t)}function ch(e=g.Default){const t=ks(!0);if(null!=t||e&g.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}const lh=new W("Application Initializer");let uh=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();zo(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(ne(lh,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac}),e})();const dh=new W("AppId"),hh={provide:dh,useFactory:function(){return`${ph()}${ph()}${ph()}`},deps:[]};function ph(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const fh=new W("Platform Initializer"),gh=new W("Platform ID"),mh=new W("appBootstrapListener"),bh=new W("Application Packages Root URL");let vh=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac}),e})();const wh=new W("LocaleId"),yh=new W("DefaultCurrencyCode"),Ch=new W("Translations"),_h=new W("TranslationsFormat"),xh=function(){var e={Error:0,Warning:1,Ignore:2};return e[e.Error]="Error",e[e.Warning]="Warning",e[e.Ignore]="Ignore",e}();class Oh{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Sh=function(e){return new xd(e)},Eh=Sh,Ph=function(e){return Promise.resolve(Sh(e))},kh=function(e){const t=Sh(e),n=sn(Ae(e).declarations).reduce((e,t)=>
1{const n=De(t);return n&&e.push(new Pu(n)),e},[]);return new Oh(t,n)},Mh=kh,Ih=function(e){return Promise.resolve(kh(e))};let Dh=(()=>{class e{constructor(){this.compileModuleSync=Eh,this.compileModuleAsync=Ph,this.compileModuleAndAllComponentsSync=Mh,this.compileModuleAndAllComponentsAsync=Ih}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac}),e})();const jh=new W("compilerOptions");class Ah{}const Th=(()=>Promise.resolve(0))();function zh(e){"undefined"==typeof Zone?Th.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Lh{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fd(!1),this.onMicrotaskEmpty=new Fd(!1),this.onStable=new Fd(!1),this.onError=new Fd(!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.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=R.requestAnimationFrame,t=R.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(R,()=>{e.lastRequestAnimationFrameId=-1,Vh(e),Fh(e)}),Vh(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,i,r,s,o,a)=>{try{return Uh(e),n.invokeTask(r,s,o,a)}finally{t&&"eventTask"===s.type&&t(),Hh(e)}},onInvoke:(t,n,i,r,s,o,a)=>{try{return Uh(e),t.invoke(i,r,s,o,a)}finally{Hh(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Vh(e),Fh(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Lh.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Lh.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,e,Rh,Nh,Nh);try{return r.runTask(s,t,n)}finally{r.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Nh(){}const Rh={};function Fh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Vh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Uh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hh(e){e._nesting--,Fh(e)}class Bh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fd,this.onMicrotaskEmpty=new Fd,this.onStable=new Fd,this.onError=new Fd}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}let $h=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZ
1oneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.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:()=>{Lh.assertNotInAngularZone(),zh(()=>{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())zh(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(ne(Lh))},e.\u0275prov=v({token:e,factory:e.\u0275fac}),e})(),qh=(()=>{class e{constructor(){this._applications=new Map,Zh.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Zh.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac}),e})();class Wh{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function Gh(e){Zh=e}let Xh,Zh=new Wh,Yh=function(e,t,n){const i=e.get(jh,[]).concat(t),r=new xd(n);if(0===no.size)return Promise.resolve(r);const s=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(i.map(e=>e.providers));if(0===s.length)return Promise.resolve(r);const o=function(){const e=R.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),a=eo.create({providers:s}).get(o.ResourceLoader);return function(e){const t=[],n=new Map;function i(e){let t=n.get(e);if(!t){const i=(e=>Promise.resolve(a.get(e)))(e);n.set(e,t=i.then(ro))}return t}return no.forEach((e,n)=>{const r=[];e.templateUrl&&r.push(i(e.templateUrl).then(t=>{e.template=t}));const s=e.styleUrls,o=e.styles||(e.styles=[]),a=e.styles.length;s&&s.forEach((t,n)=>{o.push(""),r.push(i(t).then(i=>{o[a+n]=i,s.splice(s.indexOf(t),1),0==s.length&&(e.styleUrls=void 0)}))});const c=Promise.all(r).then(()=>function(e){io.delete(e)}(n));t.push(c)}),no=new Map,Promise.all(t).then(()=>{})}().then(()=>r)};const Qh=new W("AllowMultipleToken");class Kh{constructor(e,t){this.name=e,this.token=t}}function Jh(e,t,n=[]){const i="Platform: "+t,r=new W(i);return(t=[])=>{let s=ep();if(!s||s.injector.get(Qh,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:Vs,useValue:"platform"});!function(e){if(Xh&&!Xh.destroyed&&!Xh.injector.get(Qh,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Xh=e.get(tp);const t=e.get(fh,null);
1t&&t.forEach(e=>e())}(eo.create({providers:e,name:i}))}return function(e){const t=ep();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function ep(){return Xh&&!Xh.destroyed?Xh:null}let tp=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Bh:("zone.js"===e?void 0:e)||new Lh({enableLongStackTrace:$n(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),i=[{provide:Lh,useValue:n}];return n.run(()=>{const t=eo.create({providers:i,parent:this.injector,name:e.moduleType.name}),r=e.create(t),s=r.injector.get(Pn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>rp(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{s.handleError(e)}})),function(e,t,n){try{const i=n();return zo(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(s,n,()=>{const e=r.injector.get(uh);return e.runInitializers(),e.donePromise.then(()=>(vd(r.injector.get(wh,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=np({},t);return Yh(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(ip);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${k(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(ne(eo))},e.\u0275prov=v({token:e,factory:e.\u0275fac}),e})();function np(e,t){return Array.isArray(t)?t.reduce(np,e):Object.assign(Object.assign({},e),t)}let ip=(()=>{class e{constructor(e,t,n,i,r,c){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=$n(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new s.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new s.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Lh.assertNotInAngularZone(),zh(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Lh.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(l,u.pipe(Object(a.a)()))}bootstrap(e,t){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=e instanceof ec?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(oe),r=n.create(eo.NULL,[],t||n.selector,i);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get($h,null);return s&&r.injector.get(qh).registerApplication(r.location.nativeElement,s),this._loadComponent(r),$n()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;rp(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(mh,[]).concat(this._bootstrapListeners).forEac
1h(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),rp(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(ne(Lh),ne(vh),ne(eo),ne(Pn),ne(rc),ne(uh))},e.\u0275prov=v({token:e,factory:e.\u0275fac}),e})();function rp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class sp{}class op{}const ap={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let cp=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||ap}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n("zn8P")(t).then(e=>e[i]).then(e=>lp(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+r]).then(e=>lp(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(ne(Dh),ne(op,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac}),e})();function lp(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class up{constructor(e,t){this.name=e,this.callback=t}}class dp{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof hp&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class hp extends dp{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,i){t.childNodes.forEach(t=>{t instanceof hp&&(n(t)&&i.push(t),e(t,n,i))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,i){t instanceof hp&&t.childNodes.forEach(t=>{n(t)&&i.push(t),t instanceof hp&&e(t,n,i)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof hp)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}class pp{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new fp(e):null}get injector(){return function(e){const t=ja(e,!1);return null===t?eo.NULL:new Cn(t.lView[1].data[t.nodeIndex],t.lView)}(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(Da(e)||function(e){const t=ja(e,!1);if(null===t)return null;let n,i=t.lView;for(;null===i[0]&&(n=Wi(i));)i=n;return 512&i[2]?null:i[8]}(e))}get context(){return Da(this.nativeNode)||function(e){Ta(e);const t=ja(e,!1);return null===t?null:t.lView[8]}(this.nativeNode)}get listeners(){return function(e){Ta(e);const t=ja(e,!1);if(null===t)return[];const n=t.lView,i=n[7],r=n[1].cleanup,s=[];if(r&&i)for(let o=0;o<r.length;){const t=r[o++],a=r[o++];if("string"==typeof t){const c=t,l=We(n[a]),u=i[r[o++]],d=r[o++],h="boolean"==typeof d||d>=0?"dom":"output",p="boolean"==typeof d&&d;e==l&&s.push({element:e,name:c,callback:u,useCapture:p,type:h})}}return s.sort(Aa),s}(this.nativeNode).filter(e=>"dom"===e.type)}get references(){return function(e){const t=ja(e,!1);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let i=n.index+1;for(let r=0;r<n.localNames.length;r+=2)t[n.localNames[r]]=e[i],i++;return t}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=ja(e,!1);if(null===t)return[];const n=t.lView[1],i=n.data[t.nodeIndex],r=[],s=i.directiveEnd;for(let a=65535&i.providerIndexes;a<s;a++){let e=n.data[a];void 0!==(o=e).type&&void 0!==o.template&&void 0!==o.declaredInputs&&(e=e.type),r.push(e)}var o;return r}(this.nativeNode)}}class fp extends pp{constructor(e){super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){try{const e=ja(this.nativeNode);return e.lView[1].data[e.nodeIndex].tagName}catch(e){return this.nativeNode.nodeName}}get properties(){const e=ja(this.nativeNode,!1);if(null==e)return{};const t=e.lView,n=t[1].data,i=n[e.nodeIndex],r={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const i=Node.prototype;for(;null!==n&&n!==i;){const i=Object.getOwnPropertyDescriptors(n);for(let n in i)if(!n.startsWith("__")&&!n.startsWith("on")){const i=e[n];gp(i)&&(t[n]=i)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,r),function(e,t,n,i){let r=t.propertyBindings;if(null!==r)for(let s=0;s<r.length;s++){const t=r[s],o=i[t].split("\ufffd"),a=o[0];if(o.length>1){let i=o[1];for(let e=1;e<o.length-1;e++)i+=Jt(n[t+e-1])+o[e+1];e[a]=i}else e[a]=n[t]}}
1(r,i,t,n),r}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=ja(t,!1);if(null==n)return{};const i=n.lView[1].data[n.nodeIndex].attrs,r=[];if(i){let t=0;for(;t<i.length;){const n=i[t];if("string"!=typeof n)break;e[n]=i[t+1],r.push(n.toLowerCase()),t+=2}}const s=t.attributes;for(let o=0;o<s.length;o++){const t=s[o],n=t.name.toLowerCase();-1===r.indexOf(n)&&(e[n]=t.value)}return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach(t=>e[t]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++)t.push(_p(e[n]));return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let i=0;i<t.length;i++)n.push(_p(t[i]));return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return mp(this,e,t,!0),t}queryAllNodes(e){const t=[];return mp(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,i=[];this.listeners.forEach(r=>{if(r.name===e){const e=r.callback;e.call(n,t),i.push(e)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const r=e("__ngUnwrap__");return-1===i.indexOf(r)&&r.call(n,t)}})}}function gp(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function mp(e,t,n,i){const r=ja(e.nativeNode,!1);
1null!==r?bp(r.lView[1].data[r.nodeIndex],r.lView,t,n,i,e.nativeNode):yp(e.nativeNode,t,n,i)}function bp(e,t,n,i,r,s){const o=Ze(e,t);if(3===e.type||4===e.type){if(wp(o,n,i,r,s),Ne(e)){const o=Ke(e.index,t);o&&o[1].firstChild&&bp(o[1].firstChild,o,n,i,r,s)}else e.child&&bp(e.child,t,n,i,r,s),o&&yp(o,n,i,r);const a=t[e.index];ze(a)&&vp(a,n,i,r,s)}else if(0===e.type){const o=t[e.index];wp(o[7],n,i,r,s),vp(o,n,i,r,s)}else if(1===e.type){const o=t[16],a=o[6].projection[e.projection];if(Array.isArray(a))for(let e of a)wp(e,n,i,r,s);else if(a){const e=o[3];bp(e[1].data[a.index],e,n,i,r,s)}}else e.child&&bp(e.child,t,n,i,r,s);if(s!==o){const o=4&e.flags?e.projectionNext:e.next;o&&bp(o,t,n,i,r,s)}}function vp(e,t,n,i,r){for(let s=10;s<e.length;s++){const o=e[s];bp(o[1].node,o,t,n,i,r)}}function wp(e,t,n,i,r){if(r!==e){const r=xp(e);if(!r)return;(i&&r instanceof fp&&t(r)&&-1===n.indexOf(r)||!i&&t(r)&&-1===n.indexOf(r))&&n.push(r)}}function yp(e,t,n,i){const r=e.childNodes,s=r.length;for(let o=0;o<s;o++){const e=r[o],s=xp(e);s&&((i&&s instanceof fp&&t(s)&&-1===n.indexOf(s)||!i&&t(s)&&-1===n.indexOf(s))&&n.push(s),yp(e,t,n,i))}}const Cp=new Map;function _p(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new fp(e):new pp(e)),e.__ng_debug__):null}const xp=_p,Op=function(e){return null};function Sp(e){Cp.set(e.nativeNode,e)}const Ep=Jh(null,"core",[{provide:gh,useValue:"unknown"},{provide:tp,deps:[eo]},{provide:qh,deps:[]},{provide:vh,deps:[]}]),Pp=[{provide:ip,useClass:ip,deps:[Lh,vh,eo,Pn,rc,uh]},{provide:Eu,deps:[Lh],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:uh,useClass:uh,deps:[[new h,lh]]},{provide:Dh,useClass:Dh,deps:[]},hh,{provide:Ec,useFactory:function(){return Mc},deps:[]},{provide:Pc,useFactory:function(){return Ic},deps:[]},{provide:wh,useFactory:function(e){return vd(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new d(wh),new h,new f]]},{provide:yh,useValue:"USD"}];let kp=(()=>{class e{constructor(e){}}return e.\u0275mod=Ee({type:e}),e.\u0275inj=w({factory:function(t){return new(t||e)(ne(ip))},providers:Pp}),e})();function Mp(e,t,n,i,r,s){e|=1;const{matchedQueries:o,references:a,matchedQueryIds:c}=ul(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:c,references:a,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:s?fl(s):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Wc},provider:null,text:null,query:null,ngContent:null}}function Ip(e,t,n,i,r,s,o=[],a,c,l,u,d){l||(l=Wc);const{matchedQueries:h,references:p,matchedQueryIds:f}=ul(n);let g=null,m=null;s&&([g,m]=Cl(s)),a=a||[];const b=[];for(let y=0;y<a.length;y++){const[e,t,n]=a[y],[i,r]=Cl(t);let s=void 0,o=void 0;switch(15&e){case 4:o=n;break;case 1:case 8:s=n}b[y]={flags:e,ns:i,name:r,nonMinifiedName:r,securityContext:s,suffix:o}}c=c||[];const v=[];for(let y=0;y<c.length;y++){const[e,t]=c[y];v[y]={type:0,target:e,eventName:t,propName:null}}const w=(o=o||[]).map(([e,t])=>{const[n,i]=Cl(e);return[n,i,t]});return d=function(e){if(e&&"$$undefined"===e.id){const t=null!=e.encapsulation&&e.encapsulation!==be.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Qc++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(d),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:i,childCount:r,bindings:b,bindingFlags:_l(b),outputs:v,element:{ns:g,name:m,attrs:w,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:l||Wc},provider:null,text:null,query:null,ngContent:null}}function Dp(e,t,n){const i=n.element,r=e.root.selectorOrNode,s=e.renderer;let o;if(e.parent||!r){o=i.name?s.createElement(i.name,i.ns):s.createComment("");const r=hl(e,t,n);r&&s.appendChild(r,o)}else o=s.selectRootElement(r,!!i.componentRendererType&&i.componentRendererType.encapsulation===be.ShadowDom);if(i.attrs)for(let a=0;a<i.attrs.length;a++){const[e,t,n]=i.attrs[a];s.setAttribute(o,t,n,e)}return o}function jp(e,t,n,i){for(let o=0;o<n.outputs.length;o++){const a=n.outputs[o],c=Ap(e,n.nodeIndex,(s=a.eventName,(r=a.target)?`${r}:${s}`:s));let l=a.target,u=e;"component"===a.target&&(l=null,u=t);const d=u.renderer.listen(l||i,a.eventName,c);e.disposables[n.outputIndex+o]=d}var r,s}function Ap(e,t,n){return i=>il(e,t,n,i)}function Tp(e,t,n,i){if(!Jc(e,t,n,i))return!1;const r=t.bindings[n],s=Uc(e,t.nodeIndex),o=s.renderElement,a=r.name;switch(15&r.flags){case 1:!function(e,t,n,i,r,s){const o=t.securityContext;let a=o?e.root.sanitizer.sanitize(o,s):s;a=null!=a?a.toString():null;const c=e.renderer;null!=s?c.setAttribute(n,r,a,i):c.removeAttribute(n,r,i)}(e,r,o,r.ns,a,i);break;case 2:!function(e,t,n,i){const r=e.renderer;i?r.addClass(t,n):r.removeClass(t,n)}(e,o,a,i);break;case 4:!function(e,t,n,i,r){let s=e.root.sanitizer.sanitize(gi.STYLE,r);if(null!=s){s=s.toString();const e=t.suffix;null!=e&&(s+=e)}else s=null;const o=e.renderer;null!=s?o.setStyle(n,i,s):o.removeStyle(n,i)}(e,r,o,a,i);break;case 8:!function(e,t,n,i,r){const s=t.securityContext;let o=s?e.root.sanitizer.sanitize(s,r):r;e.renderer.setProperty(n,i,o)}(33554432&t.flags&&32&r.flags?s.componentView:e,r,o,a,i)}return!0}function zp(e,t,n){let i=[];for(let r in n)i.push({propName:r,bindingType:n[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
1checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:ll(t),bindings:i},ngContent:null}}function Lp(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&cl(e);){let n=e.parentNodeDef;e=e.parent;const i=n.nodeIndex+n.childCount;for(let r=0;r<=i;r++){const i=e.def.nodes[r];67108864&i.flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&$c(e,r).setDirty(),!(1&i.flags&&r+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(r+=i.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&$c(e,n).setDirty(),n+=t.childCount}}function Np(e,t){const n=$c(e,t.nodeIndex);if(!n.dirty)return;let i,r=void 0;if(67108864&t.flags){const n=t.parent.parent;r=Rp(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),i=Hc(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(r=Rp(e,0,e.def.nodes.length-1,t.query,[]),i=e.component);n.reset(r);const s=t.query.bindings;let o=!1;for(let a=0;a<s.length;a++){const e=s[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,o=!0}i[e.propName]=t}o&&n.notifyOnChanges()}function Rp(e,t,n,i,r){for(let s=t;s<=n;s++){const t=e.def.nodes[s],n=t.matchedQueries[i.id];if(null!=n&&r.push(Fp(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&i.filterId)===i.filterId){const n=Uc(e,s);if((t.childMatchedQueries&i.filterId)===i.filterId&&(Rp(e,s+1,s+t.childCount,i,r),s+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const s=e[t],o=rl(s);o&&o===n&&Rp(s,0,s.def.nodes.length-1,i,r)}}const o=n.template._projectedViews;if(o)for(let e=0;e<o.length;e++){const t=o[e];Rp(t,0,t.def.nodes.length-1,i,r)}}(t.childMatchedQueries&i.filterId)!==i.filterId&&(s+=t.childCount)}return r}function Fp(e,t,n){if(null!=n)switch(n){case 1:return Uc(e,t.nodeIndex).renderElement;case 0:return new ac(Uc(e,t.nodeIndex).renderElement);case 2:return Uc(e,t.nodeIndex).template;case 3:return Uc(e,t.nodeIndex).viewContainer;case 4:return Hc(e,t.nodeIndex).instance}}function Vp(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function Up(e,t,n){const i=hl(e,t,n);i&&bl(e,n.ngContent.index,1,i,null,void 0)}function Hp(e,t){return qp(128,e,he(t+1))}function Bp(e,t){return qp(32,e,he(t))}function $p(e,t){const n=Object.keys(t),i=n.length,r=[];for(let s=0;s<i;s++)r.push(n[s]);return qp(64,e,r)}function qp(e,t,n){const i=[];for(let r=0;r<n.length;r++){const e=n[r];i.push({flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:i,bindingFlags:_l(i),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Wp(e,t,n){const i=[];for(let r=1;r<n.length;r++)i[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[r]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:i,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Gp(e,t,n){let i;const r=e.renderer;i=r.createText(n.text.prefix);const s=hl(e,t,n);return s&&r.appendChild(s,i),{renderText:i}}function Xp(e,t){return(null!=e?e.toString():"")+t.suffix}function Zp(e,t,n,i){let r=0,s=0,o=0,a=0,c=0,l=null,u=null,d=!1,h=!1,p=null;for(let f=0;f<t.length;f++){const e=t[f];if(e.nodeIndex=f,e.parent=l,e.bindingIndex=r,e.outputIndex=s,e.renderParent=u,o|=e.flags,c|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=l?l.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(c|=e.element.template.nodeMatchedQueries)}
vendor: 21,196 bytes, line 1
1if(Qp(l,e,t.length),r+=e.bindings.length,s+=e.outputs.length,!u&&3&e.flags&&(p=e),20224&e.flags){d||(d=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?l.element.publicProviders[Xc(e.provider.token)]=e:(h||(h=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Xc(e.provider.token)]=e),t&&(l.element.componentProvider=e)}if(l?(l.childFlags|=e.flags,l.directChildFlags|=e.flags,l.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(l.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)l=e,Yp(e)||(u=e);else for(;l&&f===l.nodeIndex+l.childCount;){const e=l.parent;e&&(e.childFlags|=l.childFlags,e.childMatchedQueries|=l.childMatchedQueries),l=e,u=l&&Yp(l)?l.renderParent:l}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:c,flags:e,nodes:t,updateDirectives:n||Wc,updateRenderer:i||Wc,handleEvent:(e,n,i,r)=>t[n].element.handleEvent(e,i,r),bindingCount:r,outputCount:s,lastRenderRootNode:p}}function Yp(e){return 0!=(1&e.flags)&&null===e.element.name}function Qp(e,t,n){const i=t.element&&t.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Kp(e,t,n,i){const r=tf(e.root,e.renderer,e,t,n);return nf(r,e.component,i),rf(r),r}function Jp(e,t,n){const i=tf(e,e.renderer,null,null,t);return nf(i,n,n),rf(i),i}function ef(e,t,n,i){const r=t.element.componentRendererType;let s;return s=r?e.root.rendererFactory.createRenderer(i,r):e.root.renderer,tf(e.root,s,e,t.element.componentProvider,n)}function tf(e,t,n,i,r){const s=new Array(r.nodes.length),o=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:s,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:o,initIndex:-1}}function nf(e,t,n){e.component=t,e.context=n}function rf(e){let t;al(e)&&(t=Uc(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,i=e.nodes;for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];let o;switch(qc.setCurrentNode(e,r),201347067&s.flags){case 1:const n=Dp(e,t,s);let a=void 0;if(33554432&s.flags){const t=fl(s.element.componentView);a=qc.createComponentView(e,s,t,n)}jp(e,a,s,n),o={renderElement:n,componentView:a,viewContainer:null,template:s.element.template?Gl(e,s):void 0},16777216&s.flags&&(o.viewContainer=Bl(e,s,o));break;case 2:o=Gp(e,t,s);break;case 512:case 1024:case 2048:case 256:o=i[r],o||4096&s.flags||(o={instance:du(e,s)});break;case 16:o={instance:hu(e,s)};break;case 16384:o=i[r],o||(o={instance:pu(e,s)}),32768&s.flags&&nf(Uc(e,s.parent.nodeIndex).componentView,o.instance,o.instance);break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new Ud;break;case 8:Up(e,t,s),o=void 0}i[r]=o}pf(e,hf.CreateViewNodes),bf(e,201326592,268435456,0)}function sf(e){cf(e),qc.updateDirectives(e,1),ff(e,hf.CheckNoChanges),qc.updateRenderer(e,1),pf(e,hf.CheckNoChanges),e.state&=-97}function of(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Rc(e,0,256),cf(e),qc.updateDirectives(e,0),ff(e,hf.CheckAndUpdate),bf(e,67108864,536870912,0);let t=Rc(e,256,512);Cu(e,2097152|(t?1048576:0)),qc.updateRenderer(e,0),pf(e,hf.CheckAndUpdate),bf(e,134217728,536870912,0),t=Rc(e,512,768),Cu(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Rc(e,768,1024)}function af(e,t,n,i,r,s,o,a,c,l,u,d,h){return 0===n?function(e,t,n,i,r,s,o,a,c,l,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,i,r,s,o,a,c,l,u,d){const h=t.bindings.length;let p=!1;return h>0&&Tp(e,t,0,n)&&(p=!0),h>1&&Tp(e,t,1,i)&&(p=!0),h>2&&Tp(e,t,2,r)&&(p=!0),h>3&&Tp(e,t,3,s)&&(p=!0),h>4&&Tp(e,t,4,o)&&(p=!0),h>5&&Tp(e,t,5,a)&&(p=!0),h>6&&Tp(e,t,6,c)&&(p=!0),h>7&&Tp(e,t,7,l)&&(p=!0),h>8&&Tp(e,t,8,u)&&(p=!0),h>9&&Tp(e,t,9,d)&&(p=!0),p}(e,t,n,i,r,s,o,a,c,l,u,d);case 2:return function(e,t,n,i,r,s,o,a,c,l,u,d){let h=!1;const p=t.bindings,f=p.length;if(f>0&&Jc(e,t,0,n)&&(h=!0),f>1&&Jc(e,t,1,i)&&(h=!0),f>2&&Jc(e,t,2,r)&&(h=!0),f>3&&Jc(e,t,3,s)&&(h=!0),f>4&&Jc(e,t,4,o)&&(h=!0),f>5&&Jc(e,t,5,a)&&(h=!0),f>6&&Jc(e,t,6,c)&&(h=!0),f>7&&Jc(e,t,7,l)&&(h=!0),f>8&&Jc(e,t,8,u)&&(h=!0),f>9&&Jc(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;f>0&&(h+=Xp(n,p[0])),f>1&&(h+=Xp(i,p[1])),f>2&&(h+=Xp(r,p[2])),f>3&&(h+=Xp(s,p[3])),f>4&&(h+=Xp(o,p[4])),f>5&&(h+=Xp(a,p[5])),f>6&&(h+=Xp(c,p[6])),f>7&&(h+=Xp(l,p[7])),f>8&&(h+=Xp(u,p[8])),f>9&&(h+=Xp(d,p[9]));const g=Vc(e,t.nodeIndex).renderText;e.renderer.setValue(g,h)}return h}(e,t,n,i,r,s,o,a,c,l,u,d);case 16384:return function(e,t,n,i,r,s,o,a,c,l,u,d){const h=Hc(e,t.nodeIndex),p=h.instance;let f=!1,g=void 0;const m=t.bindings.length;return m>0&&Kc(e,t,0,n)&&(f=!0,g=yu(e,h,t,0,n,g)),m>1&&Kc(e,t,1,i)&&(f=!0,g=yu(e,h,t,1,i,g)),m>2&&Kc(e,t,2,r)&&(f=!0,g=yu(e,h,t,2,r,g)),m>3&&Kc(e,t,3,s)&&(f=!0,g=yu(e,h,t,3,s,g)),m>4&&Kc(e,t,4,o)&&(f=!0,g=yu(e,h,t,4,o,g)),m>5&&Kc(e,t,5,a)&&(f=!0,g=yu(e,h,t,5,a,g)),m>6&&Kc(e,t,6,c)&&(f=!0,g=yu(e,h,t,6,c,g)),m>7&&Kc(e,t,7,l)&&(f=!0,g=yu(e,h,t,7,l,g)),m>8&&Kc(e,t,8,u)&&(f=!0,g=yu(e,h,t,8,u,g)),m>9&&Kc(e,t,9,d)&&(f=!0,g=yu(e,h,t,9,d,g)),g&&p.ngOnChanges(g),65536&t.flags&&Fc(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,i,r,s,o,a,c,l,u,d);case 32:case 64:case 128:return function(e,t,n,i,r,s,o,a,c,l,u,d){const h=t.bindings;let p=!1;const f=h.length;if(f>0&&Jc(e,t,0,n)&&(p=!0),f>1&&Jc(e,t,1,i)&&(p=!0),f>2&&Jc(e,t,2,r)&&(p=!0),f>3&&Jc(e,t,3,s)&&(p=!0),f>4&&Jc(e,t,4,o)&&(p=!0),f>5&&Jc(e,t,5,a)&&(p=!0),f>6&&Jc(e,t,6,c)&&(p=!0),f>7&&Jc(e,t,7,l)&&(p=!0),f>8&&Jc(e,t,8,u)&&(p=!0),f>9&&Jc(e,t,9,d)&&(p=!0),p){const p=Bc(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=[],f>0&&g.push(n),f>1&&g.push(i),f>2&&g.push(r),f>3&&g.push(s),f>4&&g.push(o),f>5&&g.push(a),f>6&&g.push(c),f>7&&g.push(l),f>8&&g.push(u),f>9&&g.push(d);break;case 64:g={},f>0&&(g[h[0].name]=n),f>1&&(g[h[1].name]=i),f>2&&(g[h[2].name]=r),f>3&&(g[h[3].name]=s),f>4&&(g[h[4].name]=o),f>5&&(g[h[5].name]=a),f>6&&(g[h[6].name]=c),f>7&&(g[h[7].name]=l),f>8&&(g[h[8].name]=u),f>9&&(g[h[9].name]=d);break;case 128:const e=n;switch(f){case 1:g=e.transform(n);break;case 2:g=e.transform(i);break;case 3:g=e.transform(i,r);break;case 4:g=e.transform(i,r,s);break;case 5:g=e.transform(i,r,s,o);break;case 6:g=e.transform(i,r,s,o,a);break;case 7:g=e.transform(i,r,s,o,a,c);break;case 8:g=e.transform(i,r,s,o,a,c,l);break;case 9:g=e.transform(i,r,s,o,a,c,l,u);break;case 10:g=e.transform(i,r,s,o,a,c,l,u,d)}}p.value=g}return p}(e,t,n,i,r,s,o,a,c,l,u,d);default:throw"unreachable"}}(e,t,i,r,s,o,a,c,l,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let i=!1;for(let r=0;r<n.length;r++)Tp(e,t,r,n[r])&&(i=!0);return i}(e,t,n);case 2:return function(e,t,n){const i=t.bindings;let r=!1;for(let s=0;s<n.length;s++)Jc(e,t,s,n[s])&&(r=!0);if(r){let r="";for(let e=0;e<n.length;e++)r+=Xp(n[e],i[e]);r=t.text.prefix+r;const s=Vc(e,t.nodeIndex).renderText;e.renderer.setValue(s,r)}return r}(e,t,n);case 16384:return function(e,t,n){const i=Hc(e,t.nodeIndex),r=i.instance;let s=!1,o=void 0;for(let a=0;a<n.length;a++)Kc(e,t,a,n[a])&&(s=!0,o=yu(e,i,t,a,n[a],o));return o&&r.ngOnChanges(o),65536&t.flags&&Fc(e,256,t.nodeIndex)&&r.ngOnInit(),262144&t.flags&&r.ngDoCheck(),s}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const i=t.bindings;let r=!1;for(let s=0;s<n.length;s++)Jc(e,t,s,n[s])&&(r=!0);if(r){const r=Bc(e,t.nodeIndex);let s;switch(201347067&t.flags){case 32:s=n;break;case 64:s={};for(let r=0;r<n.length;r++)s[i[r].name]=n[r];break;case 128:const e=n[0],t=n.slice(1);s=e.transform(...t)}r.value=s}return r}(e,t,n);default:throw"unreachable"}}(e,t,i)}function cf(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const i=t.nodes[n];if(4&i.flags){const t=Uc(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const i=t[n];i.state|=32,nl(i,e)}}else 0==(4&i.childFlags)&&(n+=i.childCount)}}function lf(e,t,n,i,r,s,o,a,c,l,u,d,h){return 0===n?function(e,t,n,i,r,s,o,a,c,l,u,d){const h=t.bindings.length;h>0&&el(e,t,0,n),h>1&&el(e,t,1,i),h>2&&el(e,t,2,r),h>3&&el(e,t,3,s),h>4&&el(e,t,4,o),h>5&&el(e,t,5,a),h>6&&el(e,t,6,c),h>7&&el(e,t,7,l),h>8&&el(e,t,8,u),h>9&&el(e,t,9,d)}(e,t,i,r,s,o,a,c,l,u,d,h):function(e,t,n){for(let i=0;i<n.length;i++)el(e,t,i,n[i])}(e,t,i),!1}function uf(e,t){if($c(e,t.nodeIndex).dirty)throw zc(qc.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function df(e){if(!(128&e.state)){if(ff(e,hf.Destroy),pf(e,hf.Destroy),Cu(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=rl(e);if(t){const n=t.template._projectedViews;n&&(de(n,n.indexOf(e)),qc.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(Uc(e,n).renderElement):2&t.flags?e.renderer.destroyNode(Vc(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&$c(e,n).destroy()}}(e),al(e)&&e.renderer.destroy(),e.state|=128}}const hf=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function pf(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let i=0;i<n.nodes.length;i++){const r=n.nodes[i];33554432&r.flags?gf(Uc(e,i).componentView,t):0==(33554432&r.childFlags)&&(i+=r.childCount)}}function ff(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let i=0;i<n.nodes.length;i++){const r=n.nodes[i];if(16777216&r.flags){const n=Uc(e,i).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)gf(n[e],t)}else 0==(16777216&r.childFlags)&&(i+=r.childCount)}}function gf(e,t){const n=e.state;switch(t){case hf.CheckNoChanges:0==(128&n)&&(12==(12&n)?sf(e):64&n&&mf(e,hf.CheckNoChangesProjectedViews));break;case hf.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?sf(e):64&n&&mf(e,t));break;case hf.CheckAndUpdate:0==(128&n)&&(12==(12&n)?of(e):64&n&&mf(e,hf.CheckAndUpdateProjectedViews));break;case hf.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?of(e):64&n&&mf(e,t));break;case hf.Destroy:df(e);break;case hf.CreateViewNodes:rf(e)}}function mf(e,t){ff(e,t),pf(e,t)}function bf(e,t,n,i){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const r=e.def.nodes.length;for(let s=0;s<r;s++){const r=e.def.nodes[s];if(r.flags&t&&r.flags&n)switch(qc.setCurrentNode(e,r.nodeIndex),i){case 0:Np(e,r);break;case 1:uf(e,r)}r.childFlags&t&&r.childFlags&n||(s+=r.childCount)}}let vf=!1;function wf(e,t,n,i,r,s){const o=r.injector.get(lc);return Jp(Cf(e,r,o,t,n),i,s)}function yf(e,t,n,i,r,s){const o=r.injector.get(lc),a=Cf(e,r,new Jf(o),t,n),c=Df(i);return Qf(Nf.create,Jp,null,[a,c,s])}function Cf(e,t,n,i,r){const s=t.injector.get(pc),o=t.injector.get(Pn),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:i,selectorOrNode:r,sanitizer:s,rendererFactory:n,renderer:a,errorHandler:o}}function _f(e,t,n,i){const r=Df(n);return Qf(Nf.create,Kp,null,[e,t,r,i])}function xf(e,t,n,i){return n=Pf.get(t.element.componentProvider.provider.token)||Df(n),Qf(Nf.create,ef,null,[e,t,n,i])}function Of(e,t,n,i){return Kl(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===Sf.size||(e.providers.forEach(e=>{const i=Sf.get(e.token);3840&e.flags&&i&&(t=!0,n=n||i.deprecatedBehavior)}),e.modules.forEach(e=>{Ef.forEach((i,r)=>{y(r).providedIn===e&&(t=!0,n=n||i.deprecatedBehavior)})})),{hasOverrides:t,hasDeprecatedOverrides:n}}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const i=e.providers[t];n&&(i.flags|=4096);const r=Sf.get(i.token);r&&(i.flags=-3841&i.flags|r.flags,i.deps=dl(r.deps),i.value=r.value)}if(Ef.size>0){let t=new Set(e.modules);Ef.forEach((i,r)=>{if(t.has(y(r).providedIn)){let t={token:r,flags:i.flags|(n?4096:0),deps:dl(i.deps),value:i.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Xc(r)]=t}})}}(e=e.factory(()=>Wc)),e):e}(i))}const Sf=new Map,Ef=new Map,Pf=new Map;function kf(e){let t;Sf.set(e.token,e),"function"==typeof e.token&&(t=y(e.token))&&"function"==typeof t.providedIn&&Ef.set(e.token,e)}function Mf(e,t){const n=fl(t.viewDefFactory),i=fl(n.nodes[0].element.componentView);Pf.set(e,i)}function If(){Sf.clear(),Ef.clear(),Pf.clear()}function Df(e){if(0===Sf.size)return e;const t=function(e){const t=[];let n=null;for(let i=0;i<e.nodes.length;i++){const r=e.nodes[i];1&r.flags&&(n=r),n&&3840&r.flags&&Sf.has(r.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Wc);for(let i=0;i<t.length;i++)n(e,t[i]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=Sf.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=dl(n.deps),e.value=n.value)}}}}function jf(e,t,n,i,r,s,o,a,c,l,u,d,h){const p=e.def.nodes[t];return af(e,p,n,i,r,s,o,a,c,l,u,d,h),224&p.flags?Bc(e,t).value:void 0}function Af(e,t,n,i,r,s,o,a,c,l,u,d,h){const p=e.def.nodes[t];return lf(e,p,n,i,r,s,o,a,c,l,u,d,h),224&p.flags?Bc(e,t).value:void 0}function Tf(e){return Qf(Nf.detectChanges,of,null,[e])}function zf(e){return Qf(Nf.checkNoChanges,sf,null,[e])}function Lf(e){return Qf(Nf.destroy,df,null,[e])}const Nf=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let Rf,Ff,Vf;function Uf(e,t){Ff=e,Vf=t}function Hf(e,t,n,i){return Uf(e,t),Qf(Nf.handleEvent,e.def.handleEvent,null,[e,t,n,i])}function Bf(e,t){if(128&e.state)throw Nc(Nf[Rf]);return Uf(e,Gf(e,0)),e.def.updateDirectives((function(e,n,i,...r){const s=e.def.nodes[n];return 0===t?qf(e,s,i,r):Wf(e,s,i,r),16384&s.flags&&Uf(e,Gf(e,n)),224&s.flags?Bc(e,s.nodeIndex).value:void 0}),e)}function $f(e,t){if(128&e.state)throw Nc(Nf[Rf]);return Uf(e,Xf(e,0)),e.def.updateRenderer((function(e,n,i,...r){const s=e.def.nodes[n];return 0===t?qf(e,s,i,r):Wf(e,s,i,r),3&s.flags&&Uf(e,Xf(e,n)),224&s.flags?Bc(e,s.nodeIndex).value:void 0}),e)}function qf(e,t,n,i){if(af(e,t,n,...i)){const s=1===n?i[0]:i;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const i=t.bindings[e],o=s[e];8&i.flags&&(n[(r=i.nonMinifiedName,"ng-reflect-"+r.replace(/[$@]/g,"_").replace(Ei,(...e)=>"-"+e[1].toLowerCase()))]=Pi(o))}const i=t.parent,o=Uc(e,i.nodeIndex).renderElement;if(i.element.name)for(let t in n){const i=n[t];null!=i?e.renderer.setAttribute(o,t,i):e.renderer.removeAttribute(o,t)}else e.renderer.setValue(o,"bindings="+JSON.stringify(n,null,2))}}var r}function Wf(e,t,n,i){lf(e,t,n,...i)}function Gf(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function Xf(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class Zf{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,i=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&i;)n=sl(i),i=i.parent;this.elDef=n,this.elView=i}get elOrCompView(){return Uc(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Zl(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){Yf(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&Yf(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!al(e);)e=e.parent;return e.parent?Uc(e.parent,sl(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?ol(this.view,this.nodeDef):ol(this.elView,this.elDef)}logError(e,...t){let n,i;2&this.nodeDef.flags?(n=this.view.def,i=this.nodeDef.nodeIndex):(n=this.elView.def,i=this.elDef.nodeIndex);const r=function(e,t){let n=-1;for(let i=0;i<=t;i++)3&e.nodes[i].flags&&n++;return n}(n,i);let s=-1;n.factory(()=>(s++,s===r?e.error.bind(e,...t):Wc)),s<r&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function Yf(e,t,n){for(let i in t.references)n[i]=Fp(e,t,t.references[i])}function Qf(e,t,n,i){const r=Rf,s=Ff,o=Vf;try{Rf=e;const a=t.apply(n,i);return Ff=s,Vf=o,Rf=r,a}catch(a){if(On(a)||!Ff)throw a;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Lc(e,t),e}(a,Kf())}}function Kf(){return Ff?new Zf(Ff,Vf):null}class Jf{constructor(e){this.delegate=e}createRenderer(e,t){return new eg(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class eg{constructor(e){this.delegate=e,this.debugContextFactory=Kf,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=xp(e);!function(e){Cp.delete(e.nativeNode)}(t),t instanceof dp&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),i=this.createDebugContext(n);if(i){const t=new hp(n,null,i);t.name=e,Sp(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Sp(new dp(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Sp(new dp(t,null,n)),t}appendChild(e,t){const n=xp(e),i=xp(t);n&&i&&n instanceof hp&&n.addChild(i),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const i=xp(e),r=xp(t),s=xp(n);i&&r&&i instanceof hp&&i.insertBefore(s,r),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=xp(e),i=xp(t);n&&i&&n instanceof hp&&n.removeChild(i),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),i=Kf();return i&&Sp(new hp(n,null,i)),n}setAttribute(e,t,n,i){const r=xp(e);r&&r instanceof hp&&(r.attributes[i?i+":"+t:t]=n),this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){const i=xp(e);i&&i instanceof hp&&(i.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=xp(e);n&&n instanceof hp&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=xp(e);n&&n instanceof hp&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,i){const r=xp(e);r&&r instanceof hp&&(r.styles[t]=n),this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){const i=xp(e);i&&i instanceof hp&&(i.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const i=xp(e);i&&i instanceof hp&&(i.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const i=xp(e);i&&i.listeners.push(new up(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function tg(e,t,n){return new ng(e,t,n)}class ng extends ae{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(vf)return;vf=!0;const e=$n()?{setCurrentNode:Uf,createRootView:yf,createEmbeddedView:_f,createComponentView:xf,createNgModuleRef:Of,overrideProvider:kf,overrideComponentView:Mf,clearOverrides:If,checkAndUpdateView:Tf,checkNoChangesView:zf,destroyView:Lf,createDebugContext:(e,t)=>
1new Zf(e,t),handleEvent:Hf,updateDirectives:Bf,updateRenderer:$f}:{setCurrentNode:()=>{},createRootView:wf,createEmbeddedView:Kp,createComponentView:ef,createNgModuleRef:Kl,overrideProvider:Wc,overrideComponentView:Wc,clearOverrides:Wc,checkAndUpdateView:of,checkNoChangesView:sf,destroyView:df,createDebugContext:(e,t)=>new Zf(e,t),handleEvent:(e,t,n,i)=>e.def.handleEvent(e,t,n,i),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?jf:Af,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?jf:Af,e)};qc.setCurrentNode=e.setCurrentNode,qc.createRootView=e.createRootView,qc.createEmbeddedView=e.createEmbeddedView,qc.createComponentView=e.createComponentView,qc.createNgModuleRef=e.createNgModuleRef,qc.overrideProvider=e.overrideProvider,qc.overrideComponentView=e.overrideComponentView,qc.clearOverrides=e.clearOverrides,qc.checkAndUpdateView=e.checkAndUpdateView,qc.checkNoChangesView=e.checkNoChangesView,qc.destroyView=e.destroyView,qc.resolveDep=vu,qc.createDebugContext=e.createDebugContext,qc.handleEvent=e.handleEvent,qc.updateDirectives=e.updateDirectives,qc.updateRenderer=e.updateRenderer,qc.dirtyParentQueries=Lp}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),i={};for(const r in e.providersByKey)i[r]=e.providersByKey[r];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:i}}(fl(this._ngModuleDefFactory));return qc.createNgModuleRef(this.moduleType,e||eo.NULL,this._bootstrapComponents,t)}}},fujP:function(e,t,n){"use strict";var i=n("jMTf"),r=n("YM6B"),s=n("9f76"),o=n("/1FC"),a=n("5WsY"),c=n("WOAq"),l=n("pyRK"),u=n("oYcn"),d=Object.prototype.hasOwnProperty;t.a=function(e){if(null==e)return!0;if(Object(a.a)(e)&&(Object(o.a)(e)||"string"==typeof e||"function"==typeof e.splice||Object(c.a)(e)||Object(u.a)(e)||Object(s.a)(e)))return!e.length;var t=Object(r.a)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(Object(l.a)(e))return!Object(i.a)(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("2fFW"),r=n("NJ4a");const s={closed:!0,next(e){},error(e){if(i.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete(){}}},hVat:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var i=n("fXoL"),r=n("XNiG"),s=n("HDdC"),o=n("EY2u"),a=n("cp0P"),c=n("PqYM"),l=n("VRyK"),u=n("itXk"),d=n("1G5W"),h=n("vkgz"),p=n("eIep"),f=n("IzEk"),g=n("pLZG"),m=n("/uUt"),b=n("lJxs"),v=n("ehPC"),w=n("GJzE"),y=n("H0t/"),C=n("ofXK");const _=["insertPoint"],x=["scrollSpy"];function O(e,t){1&e&&i.zc(0,"div",3)}function S(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",4),i.Ec(1,"button",5),i.Qc("click",(function(){return i.nd(e),i.Uc().doReplay()})),i.zd(2,"\u0415\u0449\u0451"),i.Dc(),i.Dc()}}let E=(()=>{class e extends v.j{constructor(e,t,n,i,s,o,a,c){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.componentFactoryResolver=n,this.changeDetector=i,this.deviceState=s,this.scrollSpy=o,this.widgetsFactory=a,this.shiftBannersPlacesService=c,this.widgetComponents=[],this.pBatchIsLoading=!1,this.reset$=new r.a,this.doReplay$=new r.a,this.onDestroy$=new r.a,this.actualWidgetIndex=0,this.actualReplay=0,this.widgetsToRemove=[]}get canReplay(){return(null===this.widget.replayCount||this.actualReplay<this.widget.replayCount)&&this.getActualWidgets().length>0}get batchIsLoading(){return this.pBatchIsLoading}ngOnInit(){this.registerDoReplyHandler(),this.reset(),this.doReplay()}ngDoCheck(){this.widgetsToRemove.length>0&&(this.widgetsToRemove.forEach(e=>{const t=this.insertPoint.indexOf(e.widgetViewRef);if(-1!==t){if(this.insertPoint.remove(t),this.widgetComponents.splice(t,1),null!==e.componentReplaceCallback){const n=e.componentReplaceCallback(this.insertPoint,t);if(null!==n){const e=e=>{null!==e&&this.widgetComponents.splice(t,0,e.instance)};n instanceof s.a?n.subscribe(e):e(n)}}this.subscribeIsAllWidgetsLoaded()}}),this.widgetsToRemove=[])}ngOnDestroy(){this.onDestroy$.next()}reset(){this.reset$.next()}doReplay(){this.doReplay$.next()}processEmptyWidget(e,t){this.widgetsToRemove.push({widgetViewRef:e,componentReplaceCallback:null!==t?t.getComponentReplaceCallback():null})}registerDoReplyHandler(){this.reset$.asObservable().pipe(Object(d.a)(this.onDestroy$),Object(h.a)(()=>{this.pBatchIsLoading=!1,this.actualWidgetIndex=0,this.actualReplay=0,this.widgetComponents=[],this.isLoaded$.next(!1),this.insertPoint.clear(),this.getActualWidgets(!0)}),Object(p.a)(()=>this.doReplay$.pipe(Object(d.a)(this.onDestroy$),Object(p.a)(()=>
1{if(!this.canReplay||this.batchIsLoading)return o.a;this.pBatchIsLoading=!0;const e=this.actualWidgetIndex;let t=this.getActualWidgets().length;const n=[];if(this.actualWidgetIndex<t)do{n.push(this.renderNextWidget().instance)}while(this.widget.showByPage&&this.actualWidgetIndex<t);return n.length>0?Object(a.a)(...n.map(e=>e.isComponentHasData$.pipe(Object(f.a)(1)))).pipe(Object(h.a)(i=>{let r=e;for(const e of i)e?++r:(this.actualWidgets.splice(r,1),this.actualWidgetIndex>r&&--this.actualWidgetIndex);t=this.getActualWidgets().length,t>0&&(this.actualWidgetIndex>=t&&(this.actualWidgetIndex=0,null!==this.widget.replayCount&&++this.actualReplay),this.widget.useInfiniteScroll&&this.canReplay&&this.registerScrollSpy(n)),Object(c.a)(1).subscribe(()=>{this.pBatchIsLoading=!1,this.changeDetector.markForCheck()})})):void 0})))).subscribe()}getActualWidgets(e=!1){return(void 0===this.actualWidgets||e)&&(this.actualWidgets=this.widget.widgets.filter(this.canRenderWidget,this)),this.actualWidgets}canRenderWidget(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}renderNextWidget(){let e=this.getActualWidgets()[this.actualWidgetIndex++];e instanceof v.K&&(e=this.shiftBannersPlacesService.getNextBannerWidget(e,this.widgetsFactory));const t=this.componentFactoryResolver.resolveComponentFactory(this.injector.get(e.getComponent(),e.getComponent())),n=this.insertPoint.createComponent(t);return n.instance.widget=e,n.instance.parentBlock=this,n.instance.componentViewRef=n.hostView,this.widgetComponents.push(n.instance),this.subscribeIsAllWidgetsLoaded(),n}registerScrollSpy(e){Object(l.a)(...e.map(e=>e.isComponentLoaded$.pipe(Object(f.a)(1)))).subscribe({complete:()=>{Object(c.a)(10).subscribe(()=>{const e=this.insertPoint.createEmbeddedView(this.scrollSpyTemplate);this.scrollSpy.registerScrollSpy({element:e.rootNodes[0],offset:100}).pipe(Object(g.a)(e=>e),Object(f.a)(1)).subscribe(()=>{this.insertPoint.remove(this.insertPoint.indexOf(e)),this.doReplay()})})}})}subscribeIsAllWidgetsLoaded(){this.unsubscribeIsAllWidgetsLoaded(),this.isAllWidgetsLoadedSubscription=Object(u.a)([...this.widgetComponents.map(e=>e.isComponentLoaded$.pipe(Object(m.a)()))]).pipe(Object(d.a)(this.onDestroy$),Object(b.a)(e=>e.every(e=>e)),Object(m.a)(),Object(h.a)(e=>{this.isLoaded$.next(e)})).subscribe()}unsubscribeIsAllWidgetsLoaded(){void 0!==this.isAllWidgetsLoadedSubscription&&(this.isAllWidgetsLoadedSubscription.unsubscribe(),this.isAllWidgetsLoadedSubscription=void 0)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(v.A,8),i.yc(i.w),i.yc(i.n),i.yc(i.j),i.yc(w.t),i.yc(y.d),i.yc(v.O),i.yc(v.J))},e.\u0275cmp=i.sc({type:e,selectors:[["app-widget-container"]],viewQuery:function(e,t){var n;1&e&&(i.ud(_,!0,i.X),i.ud(x,!0,i.U)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.scrollSpyTemplate=n.first))},inputs:{widget:"widget"},features:[i.gc],decls:5,vars:1,consts:[["insertPoint",""],["scrollSpy",""],["class","text-center mt-2",4,"ngIf"],[2,"height","1px"],[1,"text-center","mt-2"],[1,"btn","btn--primary",3,"click"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,O,1,0,"ng-template",null,1,i.yd),i.xd(4,S,3,0,"div",2)),2&e&&(i.jc(4),i.bd("ngIf",!t.widget.useInfiniteScroll&&!t.batchIsLoading&&t.canReplay))},directives:[C.u],styles:[""]}),e})()},hYPf:function(e,t,n){"use strict";var i=n("IzLi"),r=Object.create,s=function(){function e(){}return function(t){if(!Object(i.a)(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),o=n("UudT"),a=n("pyRK");t.a=function(e){return"function"!=typeof e.constructor||Object(a.a)(e)?{}:s(Object(o.a)(e))}},iAk7:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("PqYM"),r=n("lJxs"),s=n("IzEk"),o=n("WI3F"),a=n("AytR"),c=n("ehPC"),l=n("fXoL"),u=n("GJzE");function d(e,t){if(1&e&&(l.Ec(0,"a",22),l.zd(1),l.Dc()),2&e){const e=t.$implicit;l.cd("title",e.title),l.bd("appNewsUrl",e),l.jc(1),l.Bd(" ",e.title," ")}}function h(e,t){if(1&e&&(l.Ec(0,"div",20),l.xd(1,d,2,3,"a",21),l.Dc()),2&e){const e=l.Uc(3);l.jc(1),l.bd("ngForOf",e.model.news.slice(0,e.widget.newsPreviewCount))}}function p(e,t){if(1&e&&(l.Ec(0,"div",23),l.Ec(1,"a",24),l.zd(2),l.Dc(),l.Dc()),2&e){const e=l.Uc(3);l.jc(1),l.cd("href",e.model.url,l.qd),l.jc(1),l.Ad(e.widget.showMoreLabel)}}function f(e,t){if(1&e&&(l.Ec(0,"div",25),l.Ec(1,"a",24),l.zd(2),l.Dc(),l.Dc()),2&e){const e=l.Uc(3);l.jc(1),l.cd("href",e.model.url,l.qd),l.jc(1),l.Ad(e.widget.showMoreLabel)}}function g(e,t){if(1&e&&(l.Ec(0,"div",27),l.Ec(1,"article",28),l.zc(2,"a",29),l.Ec(3,"div",14),l.Ec(4,"div",15),l.zd(5),l.Dc(),l.Dc(),l.Ec(6,"div",30),l.Ec(7,"div",31),l.Ec(8,"a",32),l.zd(9),l.Dc(),l.Dc(),l.Dc(),l.Dc(),l.Dc()),2&e){const e=t.$implicit,n=l.Uc(4);l.jc(2),l.bd("appNewsUrl",e)("lazyLoad",e.rectanglePosterUrl),l.jc(3),l.Ad(n.model.title),l.jc(3),l.cd("title",e.title),l.bd("appNewsUrl",e),l.jc(1),l.Ad(e.title)}}function m(e,t){if(1&e&&(l.Cc(0),l.xd(1,g,10,6,"div",26),l.Bc()),2&e){const e=l.Uc(3);l.jc(1),l.bd("ngForOf",e.model.news.slice(0,e.widget.newsPreviewCount))}}function b(e,t){if(1&e&&(l.Cc(0),l.Ec(1,"div",2),l.Ec(2,"div",3),l.zd(3),l.Dc(),l.Ec(4,"div",4),l.Ec(5,"div",5),l.Ec(6,"a",6),l.zd(7),l.Dc(),l.Dc(),l.xd(8,h,2,1,"div",7),l.xd(9,p,3,2,"div",8),l.Dc(),l.Dc(),l.Ec(10,"div",9),l.Ec(11,"div",10),l.Ec(12,"div",11),l.Ec(13,"article",12),l.zc(14,"div",13),l.Ec(15,"div",14),l.Ec(16,"div",15),l.zd(17),l.Dc(),l.Dc(),l.Ec(18,"div",16),l.Ec(19,"div",17),l.Ec(20,"a",6),l.zd(21),l.Dc(),l.Dc(),l.Ec(22,"div",18),l.zd(23),l.Dc(),l.xd(24,f,3,2,"div",19),l.Dc(),l.Dc(),l.Dc(),l.xd(25,m,2,1,"ng-container",1),l.Dc(),l.Dc(),l.Bc()),2&e){const e=l.Uc(2);l.jc(1),l.bd("lazyLoad",e.model.posterUrl),l.jc(2),l.Ad(e.widget.label),l.jc(3),l.cd("href",e.model.url,l.qd),l.jc(1),l.Ad(e.model.title),l.jc(1),l.bd("ngIf",e.widget.showNewsPreview&&e.model.news.length>0),l.jc(1),l.bd("ngIf",e.model.hasMoreNews),l.jc(5),l.bd("lazyLoad",e.model.posterUrl),l.jc(3),l.Ad(e.widget.label),l.jc(3),l.cd("href",e.model.url,l.qd),l.jc(1),l.Ad(e.model.title),l.jc(2),l.Ad(e.model.description),l.jc(1),l.bd("ngIf",e.model.hasMoreNews),l.jc(1),l.bd("ngIf",e.widget.showNewsPreview&&e.model.news.length>0)}}function v(e,t){if(1&e&&(l.Cc(0),l.xd(1,b,26,13,"ng-container",1),l.Bc()),2&e){const e=l.Uc();l.jc(1),l.bd("ngIf",e.model)}}let w=(()=>{class e extends c.j{constructor(e,t,n,i,r){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.routesService=n,this.specialThemesService=i,this.selectedSpecialThemesService=r}ngOnInit(){const e=null!==this.widget.id;if(e&&null===this.selectedSpecialThemesService||!e&&null===this.specialThemesService)throw new Error("Required services must be injected");(e?this.selectedSpecialThemesService.getSelectedSpecialTheme(this.widget.id):this.specialThemesService.getNextSimpleSpecialTheme(1).pipe(Object(r.a)(e=>null!==e?e[0]:null))).pipe(Object(s.a)(1)).subscribe(e=>{this.model=e,null!==this.model?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};a.a.useLoadingDelay?Object(i.a)(1500).subscribe(t):t()})}}return e.\u0275fac=function(t){return new(t||e)(l.yc(c.A,8),l.yc(l.w),l.yc(u.fb),l.yc(o.c,8),l.yc(o.b,8))},e.\u0275cmp=l.sc({type:e,selectors:[["app-shared-single-special-theme"]],features:[l.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","a
1ppLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[4,"ngIf"],[1,"mobile-spec-theme","d-lg-none",3,"lazyLoad"],[1,"mobile-spec-theme__label","card-label"],[1,"mobile-spec-theme__content"],[1,"mobile-spec-theme__title"],[3,"href"],["class","mobile-spec-theme__cards",4,"ngIf"],["class","text-center mt-4",4,"ngIf"],[1,"desktop-spec-theme","d-none","d-lg-block"],[1,"row"],[1,"col-12"],[1,"article-card","lead-theme-card"],[1,"article-card__poster",3,"lazyLoad"],[1,"article-card__subinfo"],[1,"card-label"],[1,"lead-theme-card__content"],[1,"lead-theme-card__title"],[1,"lead-theme-card__subtitle"],["class","lead-theme-card__btn-wrapper",4,"ngIf"],[1,"mobile-spec-theme__cards"],["class","mobile-spec-theme__card",3,"appNewsUrl","title",4,"ngFor","ngForOf"],[1,"mobile-spec-theme__card",3,"appNewsUrl","title"],[1,"text-center","mt-4"],[1,"btn","btn--primary",3,"href"],[1,"lead-theme-card__btn-wrapper"],["class","col-4",4,"ngFor","ngForOf"],[1,"col-4"],[1,"article-card","article-card--half"],[1,"article-card__poster",3,"appNewsUrl","lazyLoad"],[1,"article-card__content"],[1,"article-card__title"],[3,"appNewsUrl","title"]],template:function(e,t){1&e&&(l.xd(0,v,2,1,"ng-container",0),l.Vc(1,"async")),2&e&&l.bd("appLoadingPlaceholder",l.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:['.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--double[_ngcontent-%COMP%]{padding-bottom:137.2%;color:#fff}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.article-card--double[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding:16px}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{line-height:1;font-size:30px;font-weight:700}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{margin-top:16px;font-size:18px}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.35)}.article-card--double[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:hsla(0,0%,100%,.35)}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{padding-bottom:47.6%}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:16px 24px}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;top:12px;left:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;margin-top:4px;margin-right:10px;color:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:none}.article-card--double[_ngcontent-%COMP%]{padding-bottom:45.12%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8
1%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{display:none}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:12px 16px}}@media (min-width:1200px){.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{font-size:36px}}.card-label[_ngcontent-%COMP%]{padding:4px 8px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary);color:#fff}.mobile-spec-theme[_ngcontent-%COMP%]{position:relative;margin:0 -8px;padding:80px 16px 20px;background-position:50%;background-size:cover;border-bottom:3px solid var(--green-primary);color:#fff}.mobile-spec-theme[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:rgba(50,50,50,.2)}.mobile-spec-theme__content[_ngcontent-%COMP%]{position:relative;z-index:1}.mobile-spec-theme__label[_ngcontent-%COMP%]{position:absolute;z-index:1;left:0;top:24px}.mobile-spec-theme__title[_ngcontent-%COMP%]{margin-bottom:32px;font-size:36px;font-weight:700}.mobile-spec-theme__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.mobile-spec-theme__card[_ngcontent-%COMP%]{display:block;margin-bottom:8px;padding:16px 12px;background-color:rgba(0,0,0,.71);color:inherit;font-size:21px}.mobile-spec-theme__card[_ngcontent-%COMP%]:nth-child(2n){background-color:var(--green-primary)}.desktop-spec-theme[_ngcontent-%COMP%]{background-color:#f0f0f0;border-bottom:3px solid var(--green-primary)}@media (min-width:1024px){.desktop-spec-theme[_ngcontent-%COMP%]{margin-bottom:36px}}.lead-theme-card[_ngcontent-%COMP%]{padding-bottom:28.58%}.lead-theme-card[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column}.lead-theme-card[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:rgba(50,50,50,.2)}.lead-theme-card__content[_ngcontent-%COMP%]{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;padding:60px 20px 24px;color:#fff}.lead-theme-card__title[_ngcontent-%COMP%]{margin-bottom:16px;font-size:48px;font-weight:700}.lead-theme-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.lead-theme-card__subtitle[_ngcontent-%COMP%]{margin-bottom:16px;font-size:24px;font-weight:700}.lead-theme-card__btn-wrapper[_ngcontent-%COMP%]{margin-top:auto;text-align:right}.lead-theme-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{font-size:17px}@media (min-width:1024px){.lead-theme-card__subtitle[_ngcontent-%COMP%]{max-width:65%;max-height:2.35em;overflow:hidden}}@media (min-width:1024px){.height-auto[_nghost-%COMP%]   .desktop-spec-theme[_ngcontent-%COMP%], .height-auto   [_nghost-%COMP%]   .desktop-spec-theme[_ngcontent-%COMP%]{height:auto}}']}),e})()},iOsp:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");let r=(()=>{class e{constructor(){this.$pAspectRatioStyle=null}set aspectRatio(e){this.$pAspectRatioStyle=null!==e?"100/"+Number(e):null}get scaledBoxStyles(){return null!==this.$pAspectRatioStyle?{position:"relative",display:"block",width:"100%",overflow:"hidden",aspectRatio:this.$pAspectRatioStyle}:null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","appScaledBox",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.vd(t.scaledBoxStyles)},inputs:{aspectRatio:["appScaledBox","aspectRatio"]}}),e})()},iQdX:function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return P})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return E})),n.d(t,"f",(function(){return _}));var i=n("fXoL"),r=n("ofXK");let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(M){s=!1}let o=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Object(r.O)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!s)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.I))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(i.I))},token:e,providedIn:"root"}),e})(),a=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})();class c{constructor(e,t){this._document=t;const n=this._textarea=this._document.createElement("textarea"),i=n.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",n.setAttribute("aria-hidden","true"),n.value=e,this._document.body.appendChild(n)}copy(){const e=this._textarea;let t=!1;try{if(e){const n=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),t=this._document.execCommand("copy"),n&&n.focus()}}catch(M){}return t}destroy(){const e=this._textarea;e&&(e.parentNode&&e.parentNode.removeChild(e),this._textarea=void 0)}}let l=(()=>{class e{constructor(e){this._document=e}copy(e){const t=this.beginCopy(e),n=t.copy();return t.destroy(),n}beginCopy(e){return new c(e,this._document)}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(r.e))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(r.e))},token:e,providedIn:"root"}),e})(),u=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})();var d=n("HDdC"),h=n("LRne"),p=n("2Vo4"),f=n("XNiG"),g=n("EY2u"),m=n("vkgz"),b=n("3E0/"),v=n("IzEk"),w=n("1G5W"),y=n("jhN1");const C=new i.v("shareButtonsConfig");var _=function(e){return e.Anchor="anchor",e.Window="window",e}({});function x(e){return e&&"object"==typeof e&&!Array.isArray(e)}const O={description:e=>e.description?`${e.description}\r\n${e.url}`:e.url},S={facebook:{type:"facebook",text:"Facebook",ariaLabel:"Share on Facebook",icon:["fab","facebook-f"],color:"#4267B2",share:{desktop:"https://www.facebook.com/sharer/sharer.php?"},params:{url:"u"}},twitter:{type:"twitter",text:"Twitter",ariaLabel:"Share on Twitter",icon:["fab","twitter"],color:"#00acee",share:{desktop:"https://twitter.com/intent/tweet?"},params:{url:"url",description:"text",tags:"hashtags",via:"via"}},linkedin:{type:"linkedin",text:"LinkedIn",ariaLabel:"Share on LinkedIn",icon:["fab","linkedin-in"],color:"#006fa6",share:{desktop:"https://www.linkedin.com/shareArticle?"},params:{url:"url",title:"title",description:"summary"}},pinterest:{type:"pinterest",text:"Pinterest",ariaLabel:"Share on Pinterest",icon:["fab","pinterest-p"],color:"#BD091D",share:{desktop:"https://pinterest.com/pin/create/button/?"},params:{url:"url",description:"description",image:"media"}},reddit:{type:"reddit",text:"Reddit",ariaLabel:"Share on Reddit",icon:["fab","reddit-alien"],color:"#FF4006",share:{desktop:"https://www.reddit.com/submit?"},params:{url:"url",title:"title"}},tumblr:{type:"tumblr",text:"Tumblr",ariaLabel:"Share on Tumblr",icon:["fab","tumblr"],color:"#36465D",share:{desktop:"https://tumblr.com/widgets/share/tool?"},params:{url:"canonicalUrl",description:"caption",tags:"tags"}},mix:{type:"mix",text:"Mix",ariaLabel:"Share on Mix",icon:["fab","mix"],color:"#eb4924",share:{desktop:"https://mix.com/add?"},params:{url:"url"}},viber:{type:"viber",text:"Viber",ariaLabel:"Share on Viber",icon:["fab","viber"],color:"#665ca7",share:{android:"viber://forward?",ios:"viber://forward?"},params:{description:"text"},paramsFunc:O},vk:{type:"vk",text:"VKontakte",ariaLabel:"Share on VKontakte",icon:["fab","vk"],color:"#4C75A3",share:{desktop:"https://vk.com/share.php?"},params:{url:"url"}},telegram:{type:"telegram",text:"Telegram",ariaLabel:"Share on Telegram",icon:["fab","telegram-plane"],color:"#0088cc",share:{desktop:"https://t.me/share/url?"},params:{url:"url",description:"text"}},messenger:{type:"messenger",text:"Messenger",ariaLabel:"Share on Messenger",icon:["fab","facebook-messenger"],color:"#0080FF",share:{android:"fb-messenger://share/?",i
1os:"fb-messenger://share/?"},params:{url:"link"}},whatsapp:{type:"whatsapp",text:"WhatsApp",ariaLabel:"Share on WhatsApp",icon:["fab","whatsapp"],color:"#25D366",share:{desktop:"https://web.whatsapp.com/send?",android:"whatsapp://send?",ios:"https://api.whatsapp.com/send?"},params:{description:"text"},paramsFunc:O},xing:{type:"xing",text:"Xing",ariaLabel:"Share on Xing",icon:["fab","xing"],color:"#006567",share:{desktop:"https://www.xing.com/spi/shares/new?"},params:{url:"url"}},line:{type:"line",text:"Line",ariaLabel:"Share on Line",icon:["fab","line"],color:"#00b900",share:{desktop:"https://social-plugins.line.me/lineit/share?"},params:{url:"url"}},sms:{type:"sms",text:"SMS",ariaLabel:"Share link via SMS",icon:["fas","sms"],color:"#20c16c",share:{desktop:"sms:?",ios:"sms:&"},params:{description:"body"},paramsFunc:O},email:{type:"email",text:"Email",ariaLabel:"Share link via email",icon:["fas","envelope"],color:"#FF961C",share:{desktop:"mailto:?"},params:{title:"subject",description:"body"},paramsFunc:O},print:{type:"print",text:"Print",ariaLabel:"Print page",icon:["fas","print"],color:"#765AA2",func:function(){return new d.a(e=>document.defaultView.print())}},copy:{type:"copy",text:"Copy link",ariaLabel:"Copy link",icon:["fas","link"],color:"#607D8B",data:{text:"Copy link",icon:["fas","link"],successText:"Copied",successIcon:["fas","check"],delay:2e3},func:function({params:e,data:t,clipboard:n,updater:i}){return Object(h.a)(null).pipe(Object(m.a)(()=>{n.copy(e.url),i.next({icon:t.successIcon,text:t.successText,disabled:!0})}),Object(b.a)(t.delay),Object(m.a)(()=>i.next({icon:t.icon,text:t.text,disabled:!1})),Object(v.a)(1))}}};let E=(()=>{class e{constructor(e,t){this._document=t,this.config={sharerMethod:_.Anchor,sharerTarget:"_blank",windowObj:this._document.defaultView,windowFuncName:"open",prop:S,theme:"default",include:[],exclude:[],size:0,autoSetMeta:!0,windowWidth:800,windowHeight:500,moreButtonIcon:"ellipsis-h",lessButtonIcon:"minus"},this.config$=new p.a(this.config),e&&this.setConfig(e)}get prop(){return this.config.prop}get windowSize(){return`width=${this.config.windowWidth}, height=${this.config.windowHeight}`}setConfig(e){this.config=function e(t,...n){if(!n.length)return t;const i=n.shift();if(x(t)&&x(i))for(const r in i)x(i[r])?(t[r]||Object.assign(t,{[r]:{}}),e(t[r],i[r])):Object.assign(t,{[r]:i[r]});return e(t,...n)}(this.config,e),this.config$.next(this.config)}addButton(e,t){this.setConfig({prop:{[e]:t}})}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(C,8),i.Mc(r.e))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(C,8),Object(i.Mc)(r.e))},token:e,providedIn:"root"}),e})(),P=(()=>{class e{constructor(e,t,n,r,s,o,a){this._meta=t,this._platform=n,this._clipboard=r,this._share=s,this._cd=o,this._document=a,this._destroyed=new f.a,this._updater=new f.a,this.autoSetMeta=this._share.config.autoSetMeta,this.url=this._share.config.url,this.title=this._share.config.title,this.description=this._share.config.description,this.image=this._share.config.image,this.tags=this._share.config.tags,this.opened=new i.s,this.closed=new i.s,this._el=e.nativeElement}share(){if(this._platform.isBrowser&&this.shareButton){const e=this.autoSetMeta?this.getParamsFromMetaTags():this.getParamsFromInputs();(this.shareButton.share?this.open(e):this.shareButton.func({params:e,data:this.shareButton.data,clipboard:this._clipboard,updater:this._updater})).pipe(Object(w.a)(this._destroyed)).subscribe()}else console.warn(this.text+" button is not compatible on this Platform")}ngOnInit(){this._updater.pipe(Object(m.a)(e=>{this.icon=e.icon,this.text=e.text,this._el.style.pointerEvents=e.disabled?"none":"auto",this._cd.markForCheck()}),Object(w.a)(this._destroyed)).subscribe()}ngOnChanges(e){this._platform.isBrowser&&(this._shareButtonChanged(e.shareButtonName)&&this._createShareButton(),this._urlChanged(e.url)&&(this.url=function(e,t){if(e){if(/(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/.test(e))return e;console.warn(`[ShareButtons]: Sharing link '${e}' is invalid!`)}return t}(this.autoSetMeta?this.url||this._getMetaTagContent("og:url"):this.url,this._document.defaultView.location.href)))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createShareButton(){const e=this._share.config.prop[this.shareButtonName];e?(this.shareButton=e,this._el.classList.remove("sb-"+this._buttonClass),this._el.classList.add("sb-"+this.shareButtonName),this._el.style.setProperty("--button-color",this.shareButton.color),this._buttonClass=this.shareButtonName,this.color=this.shareButton.color,this.text=this.shareButton.text,this.icon=this.shareButton.icon,this._el.setAttribute("aria-label",e.ariaLabel)):console.error(`[ShareButtons]: The share button '${this.shareButtonName}' does not exist!`)}_getMetaTagContent(e){const t=this._meta.getTag(`property="${e}"`);
1if(t)return t.getAttribute("content");const n=this._meta.getTag(`name="${e}"`);return n?n.getAttribute("content"):void 0}_shareButtonChanged(e){return e&&(e.firstChange||e.previousValue!==e.currentValue)}_urlChanged(e){return!this.url||e&&e.previousValue!==e.currentValue}getParamsFromMetaTags(){return{url:this.url,title:this.title||this._getMetaTagContent("og:title"),description:this.description||this._getMetaTagContent("og:description"),image:this.image||this._getMetaTagContent("og:image"),via:this._share.config.twitterAccount,tags:this.tags}}getParamsFromInputs(){return{url:this.url,title:this.title,description:this.description,image:this.image,tags:this.tags,via:this._share.config.twitterAccount}}open(e){let t;if(t=this._platform.IOS&&this.shareButton.share.ios?this.shareButton.share.ios:this._platform.ANDROID&&this.shareButton.share.android?this.shareButton.share.android:this.shareButton.share.desktop,t){this._finalUrl=t+this._serializeParams(e),this._share.config.debug&&console.log("[DEBUG SHARE BUTTON]: ",this._finalUrl);const n=this.shareButton.target||this._share.config.sharerTarget;switch(this.shareButton.method||this._share.config.sharerMethod){case _.Anchor:const e=this._document.createElement("a");e.setAttribute("target",n),e.setAttribute("rel","noopener noreferrer"),e.href=this._finalUrl,e.click(),e.remove();break;case _.Window:const t=(0,this._share.config.windowObj[this._share.config.windowFuncName])(this._finalUrl,n,this._share.windowSize);if(this._share.config.windowObj.opener=null,t)return new d.a(e=>{const n=this._document.defaultView.setInterval(()=>{t.closed&&(this._document.defaultView.clearInterval(n),this.closed.emit(this.shareButtonName),e.next(),e.complete())},200)})}this.opened.emit(this.shareButtonName)}return g.a}_serializeParams(e){return Object.entries(this.shareButton.params).map(([t,n])=>{const i=this.shareButton.paramsFunc?this.shareButton.paramsFunc[t]:null;if(e[t]||i){const r=i?i(e):e[t];return`${n}=${encodeURIComponent(r)}`}return""}).filter(e=>""!==e).join("&")}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(y.g),i.yc(o),i.yc(l),i.yc(E),i.yc(i.j),i.yc(r.e))},e.\u0275dir=i.tc({type:e,selectors:[["","shareButton",""]],hostBindings:function(e,t){1&e&&i.Qc("click",(function(){return t.share()}))},inputs:{autoSetMeta:"autoSetMeta",url:"url",title:"title",description:"description",image:"image",tags:"tags",shareButtonName:["shareButton","shareButtonName"]},outputs:{opened:"opened",closed:"closed"},exportAs:["shareButton"],features:[i.hc]}),e})(),k=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:C,useValue:t}]}}}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[a,u]]}),e})()},itXk:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("z+Ro"),r=n("DH7j"),s=n("l7GE"),o=n("ZUHj"),a=n("yCtX");const c={};function l(...e){let t=null,n=null;return Object(i.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(r.a)(e[0])&&(e=e[0]),Object(a.a)(e,n).lift(new u(t))}class u{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new d(e,this.resultSelector))}}class d extends s.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(c),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(Object(o.a)(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,i,r){const s=this.values,o=this.toRespond?s[n]===c?--this.toRespond:this.toRespond:0;s[n]=t,0===o&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},jCJ1:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v}));var i=n("fXoL"),r=n("ofXK"),s=n("LRne"),o=n("2Vo4"),a=(n("XNiG"),n("3Pt+"));const c=new i.v("recaptcha-language"),l=new i.v("recaptcha-base-url"),u=new i.v("recaptcha-nonce-tag"),d=new i.v("recaptcha-settings"),h=new i.v("recaptcha-v3-site-key");let p=(()=>{class e{constructor(t,n,i,o,a){this.platformId=t,this.language=n,this.baseUrl=i,this.nonce=o,this.v3SiteKey=a,this.init(),this.ready=Object(r.O)(this.platformId)?e.ready.asObservable():Object(s.a)()}init(){if(!e.ready&&Object(r.O)(this.platformId)){const t=new o.a(null);e.ready=t,function(e,n,i,r,s){window.ng2recaptchaloaded=()=>{(e=>{t.next(e)})(grecaptcha)};const o=document.createElement("script");o.innerHTML="",o.src=`${r||"https://www.google.com/recaptcha/api.js"}?render=${e}&onload=ng2recaptchaloaded${i}`,s&&(o.nonce=s),o.async=!0,o.defer=!0,document.head.appendChild(o)}(this.v3SiteKey||"explicit",0,this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.I),i.Mc(c,8),i.Mc(l,8),i.Mc(u,8),i.Mc(h,8))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e.ready=null,e})(),f=0,g=(()=>{class e{constructor(e,t,n,r){this.elementRef=e,this.loader=t,this.zone=n,this.id="ngrecaptcha-"+f++,this.errorMode="default",this.resolved=new i.s,this.error=new i.s,r&&(this.siteKey=r.siteKey,this.theme=r.theme,this.type=r.type,this.size=r.size,this.badge=r.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(e=>{null!=e&&e.render instanceof Function&&(this.grecaptcha=e,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset()
1)}expired(){this.resolved.emit(null)}errored(e){this.error.emit(e)}captchaResponseCallback(e){this.resolved.emit(e)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const e={badge:this.badge,callback:e=>{this.zone.run(()=>this.captchaResponseCallback(e))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(e["error-callback"]=(...e)=>{this.zone.run(()=>this.errored(e))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,e),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(p),i.yc(i.F),i.yc(d,8))},e.\u0275cmp=i.sc({type:e,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("id",t.id)},inputs:{id:"id",errorMode:"errorMode",siteKey:"siteKey",theme:"theme",type:"type",size:"size",badge:"badge",tabIndex:"tabIndex"},outputs:{resolved:"resolved",error:"error"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),m=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})(),b=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[p],imports:[[m]]}),e})(),v=(()=>{class e{constructor(e){this.host=e}writeValue(e){e||this.host.reset()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}onResolve(e){this.onChange&&this.onChange(e),this.onTouched&&this.onTouched()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(g))},e.\u0275dir=i.tc({type:e,selectors:[["re-captcha","formControlName",""],["re-captcha","formControl",""],["re-captcha","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("resolved",(function(e){return t.onResolve(e)}))},features:[i.ic([{multi:!0,provide:a.o,useExisting:Object(i.cb)(()=>e)}])]}),e})(),w=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[a.k,m]]}),e})()},jMTf:function(e,t,n){"use strict";var i=n("pyRK"),r=n("U6JX"),s=Object(r.a)(Object.keys,Object),o=Object.prototype.hasOwnProperty;t.a=function(e){if(!Object(i.a)(e))return s(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},jN84:function(e,t,n){"use strict";var i=n("WJ6P"),r=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;t.a=s?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var i=-1,s=null==t?0:t.length,o=0,a=[];++i<s;){var c=t[i];r.call(e,c)&&(a[o++]=c)}return a}(s(e)))}:i.a},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("HDdC"),r=n("quSY");function s(e,t){return new i.a(n=>{const i=new r.a;let s=0;return i.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||i.add(this.schedule())):n.complete()}))),i})}},jhN1:function(e,t,n){"use strict";n.d(t,"a",(function(){return R})),n.d(t,"b",(function(){return W})),n.d(t,"c",(function(){return A})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return E})),n.d(t,"f",(function(){return P})),n.d(t,"g",(function(){return V})),n.d(t,"h",(function(){return H})),n.d(t,"i",(function(){return $})),n.d(t,"j",(function(){return B})),n.d(t,"k",(function(){return L}));var i=n("ofXK"),r=n("fXoL");class s extends i.R{constructor(){super()}supportsDOMEvents(){return!0}}class o extends s{static makeCurrent(){Object(i.V)(new o)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}
1isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=c||(c=document.querySelector("base"),c)?c.getAttribute("href"):null;return null==t?null:(n=t,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(i.U)(document.cookie,e)}}let a,c=null;const l=new r.v("TRANSITION_ID"),u=[{provide:r.d,useFactory:function(e,t,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(i.T)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[l,i.e,r.w],multi:!0}];class d{static init(){Object(r.fb)(new d)}addToWindow(e){r.Hb.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.Hb.getAllAngularTestabilities=()=>e.getAllTestabilities(),r.Hb.getAllAngularRootElements=()=>e.getAllRootElements(),r.Hb.frameworkStabilizers||(r.Hb.frameworkStabilizers=[]),r.Hb.frameworkStabilizers.push(e=>{const t=r.Hb.getAllAngularTestabilities();let n=t.length,i=!1;const s=function(t){i=i||t,n--,0==n&&e(i)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Object(i.T)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const h=new r.v("EventManagerPlugins");let p=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let i=0;i<n.length;i++){const t=n[i];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(h),r.Mc(r.F))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})();class f{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Object(i.T)().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let g=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})(),m=(()=>{class e extends g{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Object(i.T)().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(i.e))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})();const b={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/"},v=/%COMP%/g;function w(e,t,n){for(let i=0;i<t.length;i++){let r=t[i];Array.isArray(r)?w(e,r,n):(r=r.replace(v,e),n.push(r))}return n}function y(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let C=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new _(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case r.Y.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new x(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyTo
1Host(e),n}case r.Y.Native:case r.Y.ShadowDom:return new O(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=w(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(p),r.Mc(m),r.Mc(r.c))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})();class _{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(b[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const r=b[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=b[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&r.N.DashCase?e.style.setProperty(t,n,i&r.N.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&r.N.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,y(n)):this.eventManager.addEventListener(e,t,y(n))}}class x extends _{constructor(e,t,n,i){super(e),this.component=n;const r=w(i+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(v,i+"-"+n.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(v,e)}(i+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class O extends _{constructor(e,t,n,i){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===r.Y.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=w(i.id,i.styles,[]);for(let r=0;r<s.length;r++){const e=document.createElement("style");e.textContent=s[r],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let S=(()=>{class e extends f{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(i.e))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})();const E=new r.v("HammerGestureConfig");let P=(()=>{class e{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})();const k=["alt","control","meta","shift"],M={"\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"},I={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},D={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let j=(()=>{class e extends f{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.T)().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let s="";
1if(k.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),s+=e+".")}),s+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=i,o.fullKey=s,o}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&I.hasOwnProperty(t)&&(t=I[t]))}return M[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),k.forEach(i=>{i!=n&&(0,D[i])(e)&&(t+=i+".")}),t+=n,t}static eventCallback(t,n,i){return r=>{e.getEventFullKey(r)===t&&i.runGuarded(()=>n(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(i.e))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})(),A=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.uc)({factory:function(){return Object(r.Mc)(z)},token:e,providedIn:"root"}),e})();function T(e){return new z(e.get(i.e))}let z=(()=>{class e extends A{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case r.P.NONE:return t;case r.P.HTML:return Object(r.qb)(t,"HTML")?Object(r.ec)(t):Object(r.nb)(this._doc,String(t));case r.P.STYLE:return Object(r.qb)(t,"Style")?Object(r.ec)(t):Object(r.ob)(t);case r.P.SCRIPT:if(Object(r.qb)(t,"Script"))return Object(r.ec)(t);throw new Error("unsafe value used in a script context");case r.P.URL:return Object(r.Gb)(t),Object(r.qb)(t,"URL")?Object(r.ec)(t):Object(r.pb)(String(t));case r.P.RESOURCE_URL:if(Object(r.qb)(t,"ResourceURL"))return Object(r.ec)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(r.sb)(e)}bypassSecurityTrustStyle(e){return Object(r.vb)(e)}bypassSecurityTrustScript(e){return Object(r.ub)(e)}bypassSecurityTrustUrl(e){return Object(r.wb)(e)}bypassSecurityTrustResourceUrl(e){return Object(r.tb)(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(i.e))},e.\u0275prov=Object(r.uc)({factory:function(){return T(Object(r.Mc)(r.t))},token:e,providedIn:"root"}),e})();const L=[{provide:r.I,useValue:i.S},{provide:r.J,useValue:function(){o.makeCurrent(),d.init()},multi:!0},{provide:i.e,useFactory:function(){return Object(r.ac)(document),document},deps:[]}],N=[[],{provide:r.kb,useValue:"root"},{provide:r.r,useFactory:function(){return new r.r},deps:[]},{provide:h,useClass:S,multi:!0,deps:[i.e,r.F,r.I]},{provide:h,useClass:j,multi:!0,deps:[i.e]},[],{provide:C,useClass:C,deps:[p,m,r.c]},{provide:r.M,useExisting:C},{provide:g,useExisting:m},{provide:m,useClass:m,deps:[i.e]},{provide:r.V,useClass:r.V,deps:[r.F]},{provide:p,useClass:p,deps:[h,r.F]},[]];let R=(()=>{class e{constructor(e){if(e)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(t){return{ngModule:e,providers:[{provide:r.c,useValue:t.appId},{provide:l,useExisting:r.c},u]}}}return e.\u0275mod=r.wc({type:e}),e.\u0275inj=r.vc({factory:function(t){return new(t||e)(r.Mc(e,12))},providers:N,imports:[i.c,r.f]}),e})();function F(){return new V(Object(r.Mc)(i.e))}let V=(()=>{class e{constructor(e){this._doc=e,this._dom=Object(i.T)()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(e,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(n,e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(n)===e[n])}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(i.e))},e.\u0275prov=Object(r.uc)({factory:F,token:e,providedIn:"root"}),e})();function U(){return new H(Object(r.Mc)(i.e))}let H=(()=>{class e{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(i.e))},e.\u0275prov=Object(r.uc)({factory:U,token:e,providedIn:"root"}),e})();function B(e){return e}"undefined"!=typeof window&&window;let $=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static init(t){const n=new e;return n.store=t,n}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})();function q(e,t){const n=e.getElementById(t+"-state");let i={};if(n&&n.textContent)try{i=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,e=>t[e])}(n.textContent))}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return $.init(i)}let W=(()=>{class e{}return e.\u0275mod=r.wc({type:e}),e.\u0275inj=r.vc({factory:function(t){return new(t||e)},providers:[{provide:$,useFactory:q,deps:[i.e,r.c]}]}),e})()},jtHE:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("XNiG"),r=n("3N8a");
1class s extends r.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var o=n("IjjT");class a extends o.a{}const c=new a(s);var l=n("quSY"),u=n("7o/Q"),d=n("WMd4");class h extends u.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(h.dispatch,this.delay,new p(e,this.destination)))}_next(e){this.scheduleMessage(d.a.createNext(e))}_error(e){this.scheduleMessage(d.a.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(d.a.createComplete()),this.unsubscribe()}}class p{constructor(e,t){this.notification=e,this.destination=t}}var f=n("9ppp"),g=n("Ylt2");class m extends i.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new b(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let s;if(this.closed)throw new f.a;if(this.isStopped||this.hasError?s=l.a.EMPTY:(this.observers.push(e),s=new g.a(this,e)),i&&e.add(e=new h(e,i)),t)for(let o=0;o<r&&!e.closed;o++)e.next(n[o]);else for(let o=0;o<r&&!e.closed;o++)e.next(n[o].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),s}_getNow(){return(this.scheduler||c).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,r=i.length;let s=0;for(;s<r&&!(e-i[s].time<n);)s++;return r>t&&(s=Math.max(s,r-t)),s>0&&i.splice(0,s),i}}class b{constructor(e,t){this.time=e,this.value=t}}},kBKH:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return c})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return O})),n.d(t,"f",(function(){return j})),n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return R})),n.d(t,"c",(function(){return W})),n.d(t,"d",(function(){return G})),n.d(t,"e",(function(){return X}));var i=n("6LIB"),r=n("GJzE");class s{constructor(e){this.siteKeyV2=e}get isConfigured(){return this.isSiteKeyValid()}isSiteKeyValid(){return"string"==typeof this.siteKeyV2&&this.siteKeyV2.length>0}}class o{constructor(e,t,n,i,r){this.region=e,this.primary=t,this.secondary=n,this.selected=i,this.routesRestrictions=r}}function a(e){const t=e=>"string"==typeof e?{iso:e,name:e}:e;return e.routesRestrictions=new Map(Object(i.a)(e.routesRestrictions)?Object.entries(e.routesRestrictions):null),new o(e.region,t(e.primary),e.secondary.map(t),e.selected,e.routesRestrictions)}function c(e){return Object(i.a)(e)&&e.hasOwnProperty("content")&&(e.hasOwnProperty("property")||e.hasOwnProperty("name"))}class l{constructor(e,t,n,i,r,s,o,a,c,l,u,d,h,p){this.siteUrl=e,this.siteId=t,this.logoUrl=n,this.cityLogoUrl=i,this.favIconUrl=r,this.headerImage=s,this.locale=o,this.siteTheme=a,this.siteHeaderType=c,this.reCaptcha=l,this.gtmContainerId=u,this.additionalMeta=d,this.cookieConsentSettings=h,this.pushNotifications=p}get language(){const e=this.locale.split("-");if(0===e.length)throw new Error("Site locale must be set!");return e[0]}get region(){const e=this.locale.split("-");if(0===e.length)throw new Error("Site locale must be set!");return e.length>1?e[1]:null}}class u{constructor(e,t,n,i,r){this.type=e,this.label=t,this.iconType=n,this.externalUrl=i,this.externalLinkOptions=r}get isExternal(){return"external"===this.type}}class d{constructor(e,t,n,i,r){this.label=e,this.url=t,this.imageUrl=n,this.linkTarget=i,this.noFollow=r}
1get linkRel(){return this.noFollow?"nofollow":null}}class h{constructor(e,t){this.desktop=e,this.inHeader=t}}class p{constructor(e,t,n,i){this.authUrl=e,this.title=t,this.popupWidth=n,this.popupHeight=i}}class f{}class g{constructor(e,t,n,i,r,s){this.mainConfig=e,this.navigation=t,this.oAuthProviders=n,this.oldUrls=i,this.i18n=r,this.socialSharesConfig=s}get hasI18n(){return Object.keys(this.i18n).length>0}}function m(e){const t=new Map;return Object.keys(e.oAuthProviders).forEach(n=>{t.set(n,function(e){return new p(e.authUrl,e.title,e.popupWidth,e.popupHeight)}(e.oAuthProviders[n]))}),new g(function(e){return new l(e.siteUrl,e.siteId,e.logoUrl,e.cityLogoUrl,e.favIconUrl,Object(r.Pb)(e.headerImage)?e.headerImage:void 0,e.locale,e.siteTheme,e.siteHeaderType,function(e){return new s(e.siteKeyV2)}(e.reCaptcha),e.gtmContainerId,(e.additionalMeta||[]).filter(c),e.cookieConsentSettings,(e.pushNotifications||[]).map(O).filter(e=>null!==e))}(e.mainConfig),function(e){return new h(e.desktop.map(e=>function(e){const t="external"===e.type;return new u(e.type,e.label,e.iconType,t?e.externalUrl:null,t?e.externalLinkOptions:null)}(e)),function(e){return t=e,Object(i.a)(t)&&t.hasOwnProperty("label")&&t.hasOwnProperty("url")&&t.hasOwnProperty("imageUrl")&&t.hasOwnProperty("linkTarget")&&t.hasOwnProperty("noFollow")?new d(e.label,e.url,e.imageUrl,e.linkTarget,e.noFollow):null;var t}(e.inHeader))}(e.navigation),t,function(e){const t=new f;return Object.assign(t,e),t}(e.oldUrls),e.i18n,function(e){return new Map(Object.entries(e))}(e.socialSharesConfig))}class b{constructor(e,t,n,i,r,s){this.title=e,this.description=t,this.imageUrl=n,this.siteName=i,this.pageType=r,this.url=s}}class v{constructor(e,t){this.label=e,this.page=t}get isSimpleItem(){return void 0===this.page}}class w{constructor(e,t,n,i,r,s,o,a,c,l,u,d){this.title=e,this.keywords=t,this.description=n,this.headerTitle=i,this.facebookAppId=r,this.breadCrumbs=s,this.openGraphTags=o,this.links=a,this.banners=c,this.additionalMeta=l,this.i18n=u,this.misc=d}get hasLinks(){return this.links.size>0}get hasAdditionalMeta(){return Array.isArray(this.additionalMeta)&&this.additionalMeta.length>0}get hasI18n(){return void 0!==this.i18n&&Object.keys(this.i18n).length>0}}function y(e){return e.links=new Map(e.links&&Object.keys(e.links).length>0?Object.entries(e.links):[]),Array.isArray(e.additionalMeta)&&(e.additionalMeta=e.additionalMeta.filter(c)),null!==e.banners&&(e.banners=new Map(Object.keys(e.banners).map(t=>[t,new Map(Object.keys(e.banners[t]).map(n=>[n,e.banners[t][n]]))]))),new w(e.title,e.keywords,e.description,e.headerTitle,e.facebookAppId,e.breadCrumbs.map(e=>function(e){return new v(e.label,e.page)}(e)),function(e){const t=new b;return Object.assign(t,e),t}(e.openGraphTags),e.links,e.banners,e.additionalMeta,e.i18n,e.misc)}class C{constructor(e){this.scriptUrl=e.scriptUrl}static isValidConfig(e){return Object(i.a)(e)&&"string"==typeof e.scriptUrl}register(e){if(0===this.scriptUrl.length)return!1;const t=e.get(r.A,null);return null!==t&&(t.injectJsFile(this.scriptUrl).catch(e=>{console.log(e)}),!0)}}class _{constructor(e){this.sdkUrl=e.sdkUrl,this.manifestUrl=e.manifestUrl,this.initOptions=e.initOptions}static isValidConfig(e){return Object(i.a)(e)&&"string"==typeof e.sdkUrl&&"string"==typeof e.manifestUrl&&Object(i.a)(e.initOptions)}register(e){if(0===Object.keys(this.initOptions).length)return!1;if(0!==this.manifestUrl.length){const t=e.get(r.T,null);null!==t&&t.updateLinkUrl("manifest",this.manifestUrl)}if(0!==this.sdkUrl.length){const t=e.get(r.A,null);if(null===t)return!1;t.injectJsFile(this.sdkUrl).then(()=>{if(!Object(r.Kb)())return;const e=Object(r.Jb)();void 0===e.OneSignal&&(e.OneSignal=[]),e.OneSignal.push(()=>{e.OneSignal.init(this.initOptions)})}).catch(e=>{console.log(e)})}return!0}}class x{constructor(e){this.scriptUrl=e.scriptUrl}static isValidConfig(e){return Object(i.a)(e)&&"string"==typeof e.scriptUrl}register(e){if(0===this.scriptUrl.length)return!1;const t=e.get(r.A,null);return null!==t&&(t.injectJsFile(this.scriptUrl).catch(e=>{console.log(e)}),!0)}}function O(e){if(!Object(i.a)(e)||"string"!=typeof e.name)return null;switch(e.name){case"gravitec":return C.isValidConfig(e)?new C(e):null;case"oneSignal":return _.isValidConfig(e)?new _(e):null;case"sendPulse":return x.isValidConfig(e)?new x(e):null;default:return null}}class S{constructor(e,t,n){this.url=e,this.name=t,this.noFollow=n}}function E(e){return new S(e.url,e.name,void 0!==e.noFollow&&e.noFollow)}class P{constructor(e,t,n){this.aboutUs=e,this.mobile=t,this.social=n}}class k{constructor(e,t,n){this.address=e,this.email=t,this.phone=n}}class M{constructor(e,t,n){this.label=e,this.url=t,this.options=n}}class I{constructor(e,t,n,i,r){this.copyright=e,this.counters=t,this.info=n,this.socialsNetwork=i,this.staticPageLinks=r}}class D{constructor(e,t){this.bottom=e,this.top=t}}function j(e){return new D(function(e){const t=new Map;
1return Object.keys(e.staticPageLinks).forEach(n=>{t.set(n,function(e){return new M(e.label,e.url,e.options)}(e.staticPageLinks[n]))}),new I(e.copyright,e.counters,function(e){return new k(e.address,e.email,e.phone)}(e.info),new Map(Object.entries(e.socialsNetwork)),t)}(e.bottom),function(e){return new P(e.aboutUs.map(E),e.mobile.map(E),e.social.map(E))}(e.top))}var A=n("LRne"),T=n("lJxs"),z=n("fXoL"),L=n("tk/3");let N=(()=>{class e{constructor(e,t,n){this.http=e,this.transferStateService=t,this.siteApiHostInfo=n}requestSiteConfig(t=!0,n=!0){const i=this.transferStateService.makeStateKey(`site-config-${t}-${n}`);return this.transferStateService.hasKey(i)?Object(A.a)(m(this.transferStateService.restoreData(i,null))):this.http.get(`${this.siteApiHostInfo}${e.siteConfigUrl}`).pipe(Object(r.Tb)(this.transferStateService,i),Object(T.a)(m))}requestSiteLanguages(){const e=this.transferStateService.makeStateKey("site-languages");return this.transferStateService.hasKey(e)?Object(A.a)(a(this.transferStateService.restoreData(e,null))):this.http.get(this.siteApiHostInfo+"api3/misc/site-languages").pipe(Object(r.Tb)(this.transferStateService,e),Object(T.a)(a))}requestSiteFooter(){console.log("Request footer");const t=this.transferStateService.makeStateKey("site-footer");return this.transferStateService.hasKey(t)?Object(A.a)(j(this.transferStateService.restoreData(t,null))):this.http.get(`${this.siteApiHostInfo}${e.siteFooterUrl}`).pipe(Object(r.Tb)(this.transferStateService,t),Object(T.a)(j))}requestPageMeta(t,n={}){const i=Object(r.Hb)(n),s=this.transferStateService.makeStateKey(`page-meta-${t}-${i}`);return this.transferStateService.hasKey(s)?Object(A.a)(y(this.transferStateService.restoreData(s,null))):this.http.get(`${this.siteApiHostInfo}${e.pageMetaUrl}/${t}`,{params:i}).pipe(Object(r.Tb)(this.transferStateService,s),Object(T.a)(y))}}return e.siteConfigUrl="api3/misc",e.siteFooterUrl="api3/misc/get-footer",e.pageMetaUrl="api3/misc/page-meta",e.\u0275fac=function(t){return new(t||e)(z.Mc(L.b),z.Mc(r.yb),z.Mc(r.hb))},e.\u0275prov=z.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class R{constructor(e,t,n,i,r,s){this.titleService=e,this.metaService=t,this.pageMetaDataService=n,this.titleDataService=i,this.pageLinksService=r,this.bannersPlacesService=s}get pageMiscData(){}setUpPageMeta(e){this.titleService.setTitle(e.title),this.titleDataService.changeTitle(e.headerTitle),this.pageMetaDataService.updateBreadCrumbs(e.breadCrumbs),this.setUpPageLinks(e.links),this.metaService.updateTag({name:"description",content:e.description}),this.metaService.updateTag({name:"keywords",content:Array.isArray(e.keywords)?e.keywords.join(", "):e.keywords}),e.facebookAppId?this.metaService.updateTag({property:"fb:app_id",content:e.facebookAppId}):this.metaService.removeTag("property='fb:app_id'"),e.hasAdditionalMeta&&e.additionalMeta.forEach(e=>{this.metaService.updateTag(e)})}setUpPageOpenGraph(e){const t={title:"og:title",pageType:"og:type",description:"og:description",url:"og:url",siteName:"og:site_name",imageUrl:"og:image"};Object.keys(t).forEach(n=>{const i=t[n];e[n]?this.metaService.updateTag({property:i,content:e[n]}):this.metaService.removeTag(`property='${i}'`)})}setUpPageLinks(e){["canonical","amphtml","manifest","alternate"].forEach(t=>{if(e.has(t)){const n=e.get(t);Array.isArray(n)?(this.pageLinksService.removeLinkUrl(t),this.pageLinksService.createLink(t,n)):this.pageLinksService.updateLinkUrl(t,n)}else this.pageLinksService.removeLinkUrl(t)}),this.pageMetaDataService.updateLinks(e)}updateBannersPlacesInfo(e,t){this.bannersPlacesService.updateBannerPlacesInfo(e,null!==t?t:new Map)}}var F=n("ofXK"),V=n("eIep"),U=n("vkgz"),H=n("CqXF"),B=n("UXun"),$=n("sYmb"),q=n("jhN1");let W=(()=>{class e{constructor(e,t,n,i,r,s,o,a){this.injector=e,this.translateService=t,this.apiService=n,this.pageLinksService=i,this.languagesManagerService=r,this.siteThemeService=s,this.metaService=o,this.document=a}get instantMainConfig(){var e;return null===(e=this.siteConfigData)||void 0===e?void 0:e.mainConfig}get instantSiteLocale(){return this.siteConfigData.mainConfig.locale}get allConfig(){return this.prepare().pipe(Object(T.a)(()=>this.siteConfigData))}get siteLocale(){return this.prepare().pipe(Object(T.a)(()=>this.siteConfigData.mainConfig.locale))}get instantSocialSharesConfig(){var e;return null===(e=this.siteConfigData)||void 0===e?void 0:e.socialSharesConfig}prepare(){return void 0===this.prepareObservable&&(this.prepareObservable=this.languagesManagerService.appLocale$.pipe(Object(V.a)(()=>this.apiService.requestSiteConfig()),Object(U.a)(e=>{this.siteConfigData=e,this.setUpSite(e),this.siteConfigData.hasI18n&&this.translateService.setTranslation(this.translateService.currentLang,this.siteConfigData.i18n,!0)}),Object(H.a)(!0),Object(B.a)(1))),this.prepareObservable}setUpSite(e){const t=e.mainConfig;this.document&&(this.document.documentElement.lang=t.language,this.siteThemeService.setUpSiteTheme(e.mainConfig.siteTheme),t.favIconUrl&&this.pageLinksService.setFavIcon(t.favIconUrl,"image/png"),t.additionalMeta.forEach(e
1=>{this.metaService.updateTag(e)}));const n=this.injector.get(r.t,null);if(null!==n&&n.isBrowserApp&&t.pushNotifications.length>0)for(const i of t.pushNotifications)if(i.register(this.injector))break}}return e.\u0275fac=function(t){return new(t||e)(z.Mc(z.w),z.Mc($.e),z.Mc(N),z.Mc(r.T),z.Mc(r.C),z.Mc(X),z.Mc(q.g),z.Mc(F.e,8))},e.\u0275prov=z.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),G=(()=>{class e{constructor(e){this.apiService=e}get footer(){return this.prepare().pipe(Object(T.a)(()=>Object.assign({},this.footerModel)))}prepare(){return void 0===this.prepareObservable&&(this.prepareObservable=this.apiService.requestSiteFooter().pipe(Object(U.a)(e=>{this.footerModel=e}),Object(H.a)(!0),Object(B.a)(1))),this.prepareObservable}}return e.\u0275fac=function(t){return new(t||e)(z.Mc(N))},e.\u0275prov=z.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),X=(()=>{class e{constructor(e,t,n){this.metaService=e,this.deviceState=t,this.document=n}setUpSiteTheme(e){if(null===this.document)return;const t=this.document.documentElement;t.setAttribute("data-site-theme",e);
1const n=this.getPrimaryThemeColor(e),i=this.getSecondaryThemeColor(e);this.deviceState.isBrowserApp?(t.style.setProperty("--green-primary-h",n.h),t.style.setProperty("--green-primary-s",n.s),t.style.setProperty("--green-primary-l",n.l),t.style.setProperty("--green-extra-h",i.h),t.style.setProperty("--green-extra-s",i.s),t.style.setProperty("--green-extra-l",i.l)):t.setAttribute("style",`--green-primary-h: ${n.h}; --green-primary-s: ${n.s}; --green-primary-l:\n      ${n.l}; --green-extra-h: ${i.h}; --green-extra-s: ${i.s}; --green-extra-l: ${i.l};`),this.metaService.updateTag({name:"theme-color",content:`hsl(${n.h} ${n.s} ${n.l})`})}getPrimaryThemeColor(e){switch(e){case"blue":return{h:"236",s:"64.6%",l:"52.4%"};case"darkGreen":return{h:"151",s:"62.8%",l:"35.9%"};default:return{h:"72",s:"100%",l:"35.3%"}}}getSecondaryThemeColor(e){switch(e){case"blue":return{h:"236",s:"64.6%",l:"52.4%"};case"darkGreen":default:return{h:"101",s:"37%",l:"44%"}}}}return e.\u0275fac=function(t){return new(t||e)(z.Mc(q.g),z.Mc(r.t),z.Mc(F.e,8))},e.\u0275prov=z.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");class r extends i.a{notifyNext(e,t,n,i,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(e,t))}}class s{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}class o extends i.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lPHt:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("vkgz"),r=n("CqXF"),s=n("UXun"),o=n("kBKH"),a=n("qHzz"),c=n("fXoL"),l=n("jhN1"),u=n("GJzE"),d=n("sYmb");let h=(()=>{class e extends o.b{constructor(e,t,n,i,r,s,o,a){super(e,t,n,i,r,s),this.translateService=o,this.apiService=a}get pageMiscData(){return this.pageMeta.misc}get openGraphTags(){return this.pageMeta.openGraphTags}prepare(e,t){if(void 0===this.prepareObservable||null!==e){const n={id:e};t&&(n.demo=t),this.prepareObservable=this.apiService.requestPageMeta("newsDetailPage",n).pipe(Object(i.a)(e=>{e.misc=Object(a.w)(e.misc),this.pageMeta=e,this.pageMeta.hasI18n&&this.translateService.setTranslation(this.translateService.currentLang,this.pageMeta.i18n,!0)}),Object(r.a)(!0),Object(s.a)(1),Object(i.a)(()=>{this.setUpPageMeta(this.pageMeta),this.setUpPageOpenGraph(this.pageMeta.openGraphTags),this.updateBannersPlacesInfo("news",this.pageMeta.banners)}))}return this.prepareObservable}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(l.h),c.Mc(l.g),c.Mc(u.V),c.Mc(u.xb),c.Mc(u.T),c.Mc(u.k),c.Mc(d.e),c.Mc(o.a))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},lkxz:function(e,t,n){"use strict";var i=n("Ce4a");t.a=function(e){var t=new e.constructor(e.byteLength);return new i.a(t).set(new i.a(e)),t}},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var i=n("SpAZ");function r(...e){return s(e)}function s(e){return 0===e.length?i.a:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},mkut:function(e,t,n){"use strict";var i=n("7gMY"),r=n("jMTf"),s=n("5WsY");t.a=function(e){return Object(s.a)(e)?Object(i.a)(e):Object(r.a)(e)}},mrSG:function(e,t,n){"use strict";function i(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}n.d(t,"a",(function(){return i}))},n6bG:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",(function(){return i}))},nFFm:function(e,t,n){"use strict";n.d(t,"g",(function(){return o}
1)),n.d(t,"k",(function(){return a})),n.d(t,"m",(function(){return c})),n.d(t,"n",(function(){return l})),n.d(t,"o",(function(){return u})),n.d(t,"c",(function(){return h})),n.d(t,"i",(function(){return p})),n.d(t,"d",(function(){return f.a})),n.d(t,"j",(function(){return _})),n.d(t,"a",(function(){return x})),n.d(t,"e",(function(){return S})),n.d(t,"f",(function(){return P})),n.d(t,"h",(function(){return O})),n.d(t,"l",(function(){return E})),n.d(t,"b",(function(){return j}));class i{constructor(e,t,n,i){this.id=e,this.answer=t,this.votesCount=n,this.posterUrl=i}}function r(e){const t=new i(e.id);return Object.assign(t,e),t}class s{constructor(e,t,n,i,r,s,o,a,c,l,u,d,h){this.id=e,this.isWhoWorse=t,this.question=n,this.answers=i,this.isActive=r,this.canUserVote=s,this.votesCount=o,this.votesCountLabel=a,this.userVote=c,this.beginDate=l,this.endDate=u,this.url=d,this.posterUrl=h}}class o extends s{constructor(e,t,n,i,r,s,o,a,c,l,u,d){super(e,!1,t,n,i,r,s,o,a,c,l,u,d),this.id=e,this.question=t,this.answers=n,this.isActive=i,this.canUserVote=r,this.votesCount=s,this.votesCountLabel=o,this.userVote=a,this.beginDate=c,this.endDate=l,this.url=u,this.posterUrl=d}}class a extends s{constructor(e,t,n,i,r,s,o,a,c,l,u){super(e,!0,t,n,i,r,s,o,a,c,l,u,null),this.id=e,this.question=t,this.answers=n,this.isActive=i,this.canUserVote=r,this.votesCount=s,this.votesCountLabel=o,this.userVote=a,this.beginDate=c,this.endDate=l,this.url=u}}function c(e){if(!e.hasOwnProperty("isWhoWorse"))throw Error("Field isWhoWorse must be set");const t=e.isWhoWorse?new a(e.id):new o(e.id);return e.hasOwnProperty("answers")&&(e.answers=e.answers.map(r)),Object.assign(t,e),t}function l(e){return e.isWhoWorse=!1,c(e)}function u(e){return e.isWhoWorse=!0,c(e)}var d=n("ehPC");class h extends d.i{constructor(e,t,n,i,r,s,o,a){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.id=i,this.label=r,this.resultsLabel=s,this.voteLabel=o,this.votesCountLabel=a,this.pType=d.R.Poll}getComponent(){return f.a}}class p extends d.i{constructor(e,t,n,i,r){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.id=i,this.votesCountLabel=r,this.pType=d.R.TwoAnswerPoll}getComponent(){return _}}var f=n("dDMU"),g=n("PqYM"),m=n("lJxs"),b=n("IzEk"),v=n("AytR"),w=n("GJzE"),y=n("fXoL"),C=n("sYmb");let _=(()=>{class e extends d.j{constructor(e,t,n,i,r,s){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.translateService=n,this.addPollVoteService=i,this.pollsService=r,this.selectedPollsService=s,this.waitRequest=!1,this.errorMessages=[]}get showResults(){var e;return!(null===(e=this.model)||void 0===e?void 0:e.canUserVote)}get votesCountLabelKey(){return"two-answer-poll-widget-votes-count-label"}ngOnInit(){this.votesCountLabelKey===this.translateService.instant(this.votesCountLabelKey,{n:1,count:1})&&this.translateService.set(this.votesCountLabelKey,this.widget.votesCountLabel),(null!==this.widget.id?this.selectedPollsService.getSelectedTwoAnswerPoll(this.widget.id):this.pollsService.getNextTwoAnswerPolls(1).pipe(Object(m.a)(e=>null!==e?e[0]:null))).pipe(Object(b.a)(1)).subscribe(e=>{this.model=e,null!==this.model?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};v.a.useLoadingDelay?Object(g.a)(1500).subscribe(t):t()})}getAnswerVotesPercent(e){return 0!==this.model.votesCount?e.votesCount/this.model.votesCount:0}isUserAnswer(e){return this.model.userVote&&e.id===this.model.userVote}addUserVote(e){var t;(null===(t=this.model)||void 0===t?void 0:t.canUserVote)&&(this.errorMessages=[],this.waitRequest=!0,this.answerToVote=e,this.reCaptchaExecute())}clearField(){this.answerToVote=void 0,this.waitRequest=!1}reCaptchaExecute(){this.reCaptcha.queueExecute({onSuccess:e=>{this.addPollVoteService.addVote(this.model,this.answerToVote,e).pipe(Object(b.a)(1)).subscribe({error:e=>{this.errorMessages=Array.isArray(e.error)?e.error.map(e=>e.message):[],this.clearField()},complete:()=>{this.clearField()}})},onExpire:()=>{this.clearField()},onError:()=>{this.clearField(),this.reCaptcha.showErrorMessage()}})}}return e.\u0275fac=function(t){return new(t||e)(y.yc(d.A,8),y.yc(y.w),y.yc(C.e),y.yc(x),y.yc(E),y.yc(P))},e.\u0275cmp=y.sc({type:e,selectors:[["app-shared-two-answer-poll"]],viewQuery:function(e,t){var n;1&e&&y.Dd(w.Z,!0),2&e&&y.jd(n=y.Rc())&&(t.reCaptcha=n.first)},features:[y.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();const x=new y.v("Add poll's vote service"),O=(new y.v("Polls service with simple poll"),new y.v("Paged polls service for simple poll")),S=new y.v("Polls service with selected simple poll"),E=new y.v("Polls service with two-answer poll"),P=(new y.v("Paged polls service for two-answer poll"),new y.v("Polls service with selected two-answer poll"));var k=n("LRne"),M=n("fujP"),I=n("LrWZ"),D=n("tk/3");let j=(()=>{class e{constructor(e,t,n){this.http=e,this.transferStateService=t,this.siteApiHostInfo=n}doCompoundRequest(e){const t={request:{}},n=["question","url","votesCount","votesCountLabel","userVote","canUserVote","isActive","answers.answer","answers.votesCount"];if(!0===e.simplePolls.count||e.simplePolls.count>0){const i={onlyActive:!1};e.selectedIds.length>0&&(i.excludedIds=e.selectedIds),t.request.simplePolls={filter:i,fields:n.join()},!0===e.simplePolls.count?t.request.simplePolls.extraParams={page:1,"per-page":1}:i.count=e.simplePolls.count}if(e.twoAnswerPolls.count>0){const i={count:e.twoAnswerPolls.count,onlyActive:!1};e.selectedIds.length>0&&(i.excludedIds=e.selectedIds),t.request.twoAnswerPolls={filter:i,fields:[...n,"answers.posterUrl"].join()}}e.selectedIds.length>0&&(t.request.selectedPolls={filter:{onlyActive:!1,selectedIds:e.selectedIds},fields:[...n,"isWhoWorse","answers.posterUrl"].join()});const i=Object(w.Hb)(t),r=this.transferStateService.makeStateKey("compound-poll-models-"+i);return this.transferStateService.hasKey(r)?Object(k.a)(this.buildCompoundPolls(this.transferStateService.restoreData(r,null))):(Object.keys(t.request).length>0?this.http.get(this.siteApiHostInfo+"api3/polls/compound",{params:i,withCredentials:!0}):Object(k.a)({})).pipe(Object(w.Tb)(this.transferStateService,r),Object(m.a)(this.buildCompoundPolls))}doSimplePollsRequest(e,t,n){return this.doSimpleRequest(e,t,n,"simplePolls")}doTwoAnswerPollsRequest(e,t,n){return this.doSimpleRequest(e,t,n,"twoAnswerPolls")}doSimpleRequest(e,t,n,i=null){let r={filter:e,expand:Array.isArray(t)?t.join():t};Object(M.a)(n)||(r=Object.assign(Object.assign({},r),n)),Object(I.a)(i)||(r.template=i);const s=Object(w.Hb)(r),o=this.transferStateService.makeStateKey(`${i}-poll-models-${s}`),a={params:s};let d;switch(i){case"simplePolls":d=l;break;case"twoAnswerPolls":d=u;break;default:d=c}return this.http.get(this.siteApiHostInfo+"api3/polls",a).pipe(Object(w.Tb)(this.transferStateService,o),Object(m.a)(e=>{const t=e.hasOwnProperty("_meta"),n=e.polls.map(d);return t?new w.ob(n,e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount):n}))}addVote(e,t,n){const i=`${this.siteApiHostInfo}api3/polls/${e.id}/votes?expand=${["isWhoWorse","votesCount","votesCountLabel","userVote","canUserVote","isActive","answers.votesCount"].join()}`;return this.http.post(i,{answerId:t.id,reCaptcha:n},{withCredentials:!0}).pipe(Object(m.a)(e=>c(e)))}buildCompoundPolls(e){const t=(e,t)=>new w.ob(e.polls.map(t),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount);if(e.simplePolls&&(e.simplePolls=Array.isArray(e.simplePolls)?e.simplePolls.map(l):t(e.simplePolls,l)),e.twoAnswerPolls&&(e.twoAnswerPolls=Array.isArray(e.twoAnswerPolls)?e.twoAnswerPolls.map(u):t(e.twoAnswerPolls,u)),e.selectedPolls)for(const n in e.selectedPolls)e.selectedPolls.hasOwnProperty(n)&&(e.selectedPolls[n]=c(e.selectedPolls[n]));return e}}return e.\u0275fac=function(t){return new(t||e)(y.Mc(D.b),y.Mc(w.yb),y.Mc(w.hb))},e.\u0275prov=y.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},nL8Z:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");let r=(()=>{class e{constructor(e){this.elementRef=e,this.clickOutside=new i.s}onDocumentClicked(e,t){t&&document.body.contains(t)&&!this.elementRef.nativeElement.contains(t)&&this.clickOutside.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["","appClickOutside",""]],hostBindings:function(e,t){1&e&&i.Qc("click",(function(e){return t.onDocumentClicked(e,e.target)}),!1,i.ld)},outputs:{clickOutside:"clickOutside"}}),e})()},nLtN:function(e,t,n){"use strict";var i=n("YHEm"),r=function(e,t){for(var n=e.length;n--;)if(Object(i.a)(e[n][0],t))return n;return-1},s=Array.prototype.splice;function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}o.prototype.clear=function(){this.__data__=[],this.size=0},o.prototype.delete=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():s.call(t,n,1),--this.size,0))},o.prototype.get=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]},o.prototype.has=function(e){return r(this.__data__,e)>-1},o.prototype.set=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},t.a=o},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=e=>t=>{for(let n=0,i=e.length;n<i&&!t.closed;
1n++)t.next(e[n]);t.complete()}},nhfI:function(e,t,n){"use strict";n.d(t,"a",(function(){return ve})),n.d(t,"b",(function(){return be})),n.d(t,"c",(function(){return we}));var i=n("fXoL"),r=n("ofXK");function s(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function o(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(n){void 0===e[n]?e[n]=t[n]:s(t[n])&&s(e[n])&&Object.keys(t[n]).length>0&&o(e[n],t[n])}))}var a="undefined"!=typeof document?document:{},c={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};o(a,c);var l="undefined"!=typeof window?window:{};o(l,{document:c,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});class u{constructor(e){const t=this;for(let n=0;n<e.length;n+=1)t[n]=e[n];return t.length=e.length,this}}function d(e,t){const n=[];let i=0;if(e&&!t&&e instanceof u)return e;if(e)if("string"==typeof e){let r,s;const o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){let e="div";for(0===o.indexOf("<li")&&(e="ul"),0===o.indexOf("<tr")&&(e="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(e="tr"),0===o.indexOf("<tbody")&&(e="table"),0===o.indexOf("<option")&&(e="select"),s=a.createElement(e),s.innerHTML=o,i=0;i<s.childNodes.length;i+=1)n.push(s.childNodes[i])}else for(r=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||a).querySelectorAll(e.trim()):[a.getElementById(e.trim().split("#")[1])],i=0;i<r.length;i+=1)r[i]&&n.push(r[i])}else if(e.nodeType||e===l||e===a)n.push(e);else if(e.length>0&&e[0].nodeType)for(i=0;i<e.length;i+=1)n.push(e[i]);return new u(n)}function h(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}d.fn=u.prototype,d.Class=u,d.Dom7=u,"resize scroll".split(" ");const p={addClass:function(e){if(void 0===e)return this;const t=e.split(" ");for(let n=0;n<t.length;n+=1)for(let e=0;e<this.length;e+=1)void 0!==this[e]&&void 0!==this[e].classList&&this[e].classList.add(t[n]);return this},removeClass:function(e){const t=e.split(" ");for(let n=0;n<t.length;n+=1)for(let e=0;e<this.length;e+=1)void 0!==this[e]&&void 0!==this[e].classList&&this[e].classList.remove(t[n]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){const t=e.split(" ");for(let n=0;n<t.length;n+=1)for(let e=0;e<this.length;e+=1)void 0!==this[e]&&void 0!==this[e].classList&&this[e].classList.toggle(t[n]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){let n;if(void 0!==t){for(let i=0;i<this.length;i+=1)n=this[i],n.dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0],n)return n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage?n.dom7ElementDataStorage[e]:n.getAttribute("data-"+e)||void 0},transform:function(e){for(let t=0;t<this.length;t+=1){const n=this[t].style;n.webkitTransform=e,n.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(let t=0;t<this.length;t+=1){const n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this},on:function(...e){let[t,n,i,r]=e;function s(e){const t=e.target;if(!t)return;const r=e.target.dom7EventData||[];if(r.indexOf(e)<0&&r.unshift(e),d(t).is(n))i.apply(t,r);else{const e=d(t).parents();for(let t=0;t<e.length;t+=1)d(e[t]).is(n)&&i.apply(e[t],r)}}function o(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),i.apply(this,t)}"function"==typeof e[1]&&([t,i,r]=e,n=void 0),r||(r=!1);const a=t.split(" ");let c;for(let l=0;l<this.length;l+=1){const e=this[l];if(n)for(c=0;c<a.length;c+=1){const t=a[c];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:i,proxyListener:s}),e.addEventListener(t,s,r)}else for(c=0;c<a.length;c+=1){const t=a[c];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:i,proxyListener:o}),e.addEventListener(t,o,r)}}return this},off:function(...e){let[t,n,i,r]=e;"function"==typeof e[1]&&([t,i,r]=e,n=void 0),r||(r=!1);const s=t.split(" ");for(let o=0;o<s.length;o+=1){const e=s[o];for(let t=0;t<this.length;t+=1){const s=this[t];let o;if(!n&&s.dom7Listeners?o=s.dom7Listeners[e]:n&&s.dom7LiveListeners&&(o=s.dom7LiveListeners[e]),o&&o.length)for(let t=o.length-1;t>=0;t-=1){const n=o[t];i&&n.listener===i||i&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===i?(s.removeEventListener(e,n.proxyListener,r),o.splice(t,1)
1):i||(s.removeEventListener(e,n.proxyListener,r),o.splice(t,1))}}}return this},trigger:function(...e){const t=e[0].split(" "),n=e[1];for(let r=0;r<t.length;r+=1){const s=t[r];for(let t=0;t<this.length;t+=1){const r=this[t];let o;try{o=new l.CustomEvent(s,{detail:n,bubbles:!0,cancelable:!0})}catch(i){o=a.createEvent("Event"),o.initEvent(s,!0,!0),o.detail=n}r.dom7EventData=e.filter((e,t)=>t>0),r.dispatchEvent(o),r.dom7EventData=[],delete r.dom7EventData}}return this},transitionEnd:function(e){const t=["webkitTransitionEnd","transitionend"],n=this;let i;function r(s){if(s.target===this)for(e.call(this,s),i=0;i<t.length;i+=1)n.off(t[i],r)}if(e)for(i=0;i<t.length;i+=1)n.on(t[i],r);return this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){const e=this[0],t=e.getBoundingClientRect(),n=a.body;return{top:t.top+(e===l?l.scrollY:e.scrollTop)-(e.clientTop||n.clientTop||0),left:t.left+(e===l?l.scrollX:e.scrollLeft)-(e.clientLeft||n.clientLeft||0)}}return null},css:function(e,t){let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(let t in e)this[n].style[t]=e[t];return this}if(this[0])return l.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(let t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=this[0];let n,i;if(!t||void 0===e)return!1;if("string"==typeof e){if(t.matches)return t.matches(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);for(n=d(e),i=0;i<n.length;i+=1)if(n[i]===t)return!0;return!1}if(e===a)return t===a;if(e===l)return t===l;if(e.nodeType||e instanceof u){for(n=e.nodeType?[e]:e,i=0;i<n.length;i+=1)if(n[i]===t)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;let n;return e>t-1?new u([]):e<0?(n=t+e,new u(n<0?[]:[this[n]])):new u([this[e]])},append:function(...e){let t;for(let n=0;n<e.length;n+=1){t=e[n];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const n=a.createElement("div");for(n.innerHTML=t;n.firstChild;)this[e].appendChild(n.firstChild)}else if(t instanceof u)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this},prepend:function(e){let t,n;for(t=0;t<this.length;t+=1)if("string"==typeof e){const i=a.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof u)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&d(this[0].nextElementSibling).is(e)?new u([this[0].nextElementSibling]):new u([]):new u(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):new u([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return new u([]);for(;n.nextElementSibling;){const i=n.nextElementSibling;e?d(i).is(e)&&t.push(i):t.push(i),n=i}return new u(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&d(t.previousElementSibling).is(e)?new u([t.previousElementSibling]):new u([]):new u(t.previousElementSibling?[t.previousElementSibling]:[])}return new u([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return new u([]);for(;n.previousElementSibling;){const i=n.previousElementSibling;e?d(i).is(e)&&t.push(i):t.push(i),n=i}return new u(t)},parent:function(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?d(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return d(h(t))},parents:function(e){const t=[];for(let n=0;n<this.length;n+=1){let i=this[n].parentNode;for(;i;)e?d(i).is(e)&&t.push(i):t.push(i),i=i.parentNode}return d(h(t))},closest:function(e){let t=this;return void 0===e?new u([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let n=0;n<this.length;n+=1){const i=this[n].querySelectorAll(e);for(let e=0;e<i.length;e+=1)t.push(i[e])}return new u(t)},children:function(e){const t=[];for(let n=0;n<this.length;n+=1){const i=this[n].childNodes;for(let n=0;n<i.length;n+=1)e?1===i[n].nodeType&&d(i[n]).is(e)&&t.push(i[n]):1===i[n].nodeType&&t.push(i[n])}return new u(h(t))},filter:function(e){const t=[],n=this;for(let i=0;i<n.length;
1i+=1)e.call(n[i],i,n[i])&&t.push(n[i]);return new u(t)},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(...e){const t=this;let n,i;for(n=0;n<e.length;n+=1){const r=d(e[n]);for(i=0;i<r.length;i+=1)t[t.length]=r[i],t.length+=1}return t},styles:function(){return this[0]?l.getComputedStyle(this[0],null):{}}};Object.keys(p).forEach(e=>{d.fn[e]=d.fn[e]||p[e]});const f={deleteProps(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}})},nextTick:(e,t=0)=>setTimeout(e,t),now:()=>Date.now(),getTranslate(e,t="x"){let n,i,r;const s=l.getComputedStyle(e,null);return l.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new l.WebKitCSSMatrix("none"===i?"":i)):(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=r.toString().split(",")),"x"===t&&(i=l.WebKitCSSMatrix?r.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=l.WebKitCSSMatrix?r.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0},parseUrlQuery(e){const t={};let n,i,r,s,o=e||l.location.href;if("string"==typeof o&&o.length)for(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"",i=o.split("&").filter(e=>""!==e),s=i.length,n=0;n<s;n+=1)r=i[n].replace(/#\S+/g,"").split("="),t[decodeURIComponent(r[0])]=void 0===r[1]?void 0:decodeURIComponent(r[1])||"";return t},isObject:e=>"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object,extend(...e){const t=Object(e[0]);for(let n=1;n<e.length;n+=1){const i=e[n];if(null!=i){const e=Object.keys(Object(i));for(let n=0,r=e.length;n<r;n+=1){const r=e[n],s=Object.getOwnPropertyDescriptor(i,r);void 0!==s&&s.enumerable&&(f.isObject(t[r])&&f.isObject(i[r])?f.extend(t[r],i[r]):!f.isObject(t[r])&&f.isObject(i[r])?(t[r]={},f.extend(t[r],i[r])):t[r]=i[r])}}}return t}},g={touch:!!("ontouchstart"in l||l.DocumentTouch&&a instanceof l.DocumentTouch),pointerEvents:!!l.PointerEvent&&"maxTouchPoints"in l.navigator&&l.navigator.maxTouchPoints>=0,observer:"MutationObserver"in l||"WebkitMutationObserver"in l,passiveListener:function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get(){e=!0}});l.addEventListener("testPassiveListener",null,t)}catch(t){}return e}(),gestures:"ongesturestart"in l};class m{constructor(e={}){const t=this;t.params=e,t.eventsListeners={}
1,t.params&&t.params.on&&Object.keys(t.params.on).forEach(e=>{t.on(e,t.params.on[e])})}on(e,t,n){const i=this;if("function"!=typeof t)return i;const r=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i}once(e,t,n){const i=this;if("function"!=typeof t)return i;function r(...n){i.off(e,r),r.f7proxy&&delete r.f7proxy,t.apply(i,n)}return r.f7proxy=t,i.on(e,r,n)}off(e,t){const n=this;return n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((i,r)=>{(i===t||i.f7proxy&&i.f7proxy===t)&&n.eventsListeners[e].splice(r,1)})}),n):n}emit(...e){const t=this;if(!t.eventsListeners)return t;let n,i,r;return"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),r=t):(n=e[0].events,i=e[0].data,r=e[0].context||t),(Array.isArray(n)?n:n.split(" ")).forEach(e=>{if(t.eventsListeners&&t.eventsListeners[e]){const n=[];t.eventsListeners[e].forEach(e=>{n.push(e)}),n.forEach(e=>{e.apply(r,i)})}}),t}useModulesParams(e){const t=this;t.modules&&Object.keys(t.modules).forEach(n=>{const i=t.modules[n];i.params&&f.extend(e,i.params)})}useModules(e={}){const t=this;t.modules&&Object.keys(t.modules).forEach(n=>{const i=t.modules[n],r=e[n]||{};i.instance&&Object.keys(i.instance).forEach(e=>{const n=i.instance[e];t[e]="function"==typeof n?n.bind(t):n}),i.on&&t.on&&Object.keys(i.on).forEach(e=>{t.on(e,i.on[e])}),i.create&&i.create.bind(t)(r)})}static set components(e){this.use&&this.use(e)}static installModule(e,...t){const n=this;n.prototype.modules||(n.prototype.modules={});const i=e.name||`${Object.keys(n.prototype.modules).length}_${f.now()}`;return n.prototype.modules[i]=e,e.proto&&Object.keys(e.proto).forEach(t=>{n.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(t=>{n[t]=e.static[t]}),e.install&&e.install.apply(n,t),n}static use(e,...t){const n=this;return Array.isArray(e)?(e.forEach(e=>n.installModule(e)),n):n.installModule(e,...t)}}var b={updateSize:function(){let e,t;const n=this.$el;e=void 0!==this.params.width?this.params.width:n[0].clientWidth,t=void 0!==this.params.height?this.params.height:n[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),t=t-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),f.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){const e=this,t=e.params,{$wrapperEl:n,size:i,rtlTranslate:r,wrongRTL:s}=e,o=e.virtual&&t.virtual.enabled,a=o?e.virtual.slides.length:e.slides.length,c=n.children("."+e.params.slideClass),u=o?e.virtual.slides.length:c.length;let d=[];const h=[],p=[];function g(e){return!t.cssMode||e!==c.length-1}let m=t.slidesOffsetBefore;"function"==typeof m&&(m=t.slidesOffsetBefore.call(e));let b=t.slidesOffsetAfter;"function"==typeof b&&(b=t.slidesOffsetAfter.call(e));const v=e.snapGrid.length,w=e.snapGrid.length;let y,C,_=t.spaceBetween,x=-m,O=0,S=0;if(void 0===i)return;"string"==typeof _&&_.indexOf("%")>=0&&(_=parseFloat(_.replace("%",""))/100*i),e.virtualSize=-_,c.css(r?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(y=Math.floor(u/t.slidesPerColumn)===u/e.params.slidesPerColumn?u:Math.ceil(u/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(y=Math.max(y,t.slidesPerView*t.slidesPerColumn)));const E=t.slidesPerColumn,P=y/E,k=Math.floor(u/t.slidesPerColumn);for(let f=0;f<u;f+=1){C=0;const n=c.eq(f);if(t.slidesPerColumn>1){let i,r,s;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){const e=Math.floor(f/(t.slidesPerGroup*t.slidesPerColumn)),o=f-t.slidesPerColumn*t.slidesPerGroup*e,a=0===e?t.slidesPerGroup:Math.min(Math.ceil((u-e*E*t.slidesPerGroup)/E),t.slidesPerGroup);s=Math.floor(o/a),r=o-s*a+e*t.slidesPerGroup,i=r+s*y/E,n.css({"-webkit-box-ordinal-group":i,"-moz-box-ordinal-group":i,"-ms-flex-order":i,"-webkit-order":i,order:i})}else"column"===t.slidesPerColumnFill?(r=Math.floor(f/E),s=f-r*E,(r>k||r===k&&s===E-1)&&(s+=1,s>=E&&(s=0,r+=1))):(s=Math.floor(f/P),r=f-s*P);n.css("margin-"+(e.isHorizontal()?"top":"left"),0!==s&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==n.css("display")){if("auto"===t.slidesPerView){const i=l.getComputedStyle(n[0],null),r=n[0].style.transform,s=n[0].style.webkitTransform;if(r&&(n[0].style.transform="none"),s&&(n[0].style.webkitTransform="none"),t.roundLengths)C=e.isHorizontal()?n.outerWidth(!0):n.outerHeight(!0);else if(e.isHorizontal()){const e=parseFloat(i.getPropertyValue("width")),t=parseFloat(i.getPropertyValue("padding-left")),n=parseFloat(i.getPropertyValue("padding-right")),r=parseFloat(i.getPropertyValue("margin-left")),s=parseFloat(i.getPropertyValue("margin-right")),o=i.getPropertyValue("box-sizing");C=o&&"border-box"===o?e+r+s:e+t+n+r+s}else{const e=parseFloat(i.getPropertyValue("height")),t=parseFloat(i.getPropertyValue("padding-top")),n=parseFloat(i.getPropertyValue("padding-bottom")),r=parseFloat(i.getPropertyValue("margin-top")),s=parseFloat(i.getPropertyValue("margin-bottom")),o=i.getPropertyValue("box-sizing");C=o&&"border-box"===o?e+r+s:e+t+n+r+s}r&&(n[0].style.transform=r),s&&(n[0].style.webkitTransform=s),t.roundLengths&&(C=Math.floor(C))}else C=(i-(t.slidesPerView-1)*_)/t.slidesPerView,t.roundLengths&&(C=Math.floor(C)),c[f]&&(e.isHorizontal()?c[f].style.width=C+"px":c[f].style.height=C+"px");c[f]&&(c[f].swiperSlideSize=C),p.push(C),t.centeredSlides?(x=x+C/2+O/2+_,0===O&&0!==f&&(x=x-i/2-_),0===f&&(x=x-i/2-_),Math.abs(x)<.001&&(x=0),t.roundLengths&&(x=Math.floor(x)),S%t.slidesPerGroup==0&&d.push(x),h.push(x)):(t.roundLengths&&(x=Math.floor(x)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&d.push(x),h.push(x),x=x+C+_),e.virtualSize+=C+_,O=C,S+=1}}let M;if(e.virtualSize=Math.max(e.virtualSize,i)+b,r&&s&&("slide"===t.effect||"coverflow"===t.effect)&&n.css({width:e.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(e.isHorizontal()?n.css({width:e.virtualSize+t.spaceBetween+"px"}):n.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(C+t.spaceBetween)*y,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?n.css({width:e.virtualSize+t.spaceBetween+"px"}):n.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){M=[];for(let n=0;n<d.length;n+=1){let i=d[n];t.roundLengths&&(i=Math.floor(i)),d[n]<e.virtualSize+d[0]&&M.push(i)}d=M}if(!t.centeredSlides){M=[];for(let n=0;n<d.length;n+=1){let r=d[n];t.roundLengths&&(r=Math.floor(r)),d[n]<=e.virtualSize-i&&M.push(r)}d=M,Math.floor(e.virtualSize-i)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-i)}if(0===d.length&&(d=[0]),0!==t.spaceBetween&&(e.isHorizontal()?r?c.filter(g).css({marginLeft:_+"px"}):c.filter(g).css({marginRight:_+"px"}):c.filter(g).css({marginBottom:_+"px"}
1)),t.centeredSlides&&t.centeredSlidesBounds){let e=0;p.forEach(n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween;const n=e-i;d=d.map(e=>e<0?-m:e>n?n+b:e)}if(t.centerInsufficientSlides){let e=0;if(p.forEach(n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween,e<i){const t=(i-e)/2;d.forEach((e,n)=>{d[n]=e-t}),h.forEach((e,n)=>{h[n]=e+t})}}f.extend(e,{slides:c,snapGrid:d,slidesGrid:h,slidesSizesGrid:p}),u!==a&&e.emit("slidesLengthChange"),d.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==w&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()},updateAutoHeight:function(e){const t=this,n=[];let i,r=0;if("number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed),"auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each((e,t)=>{n.push(t)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length)break;n.push(t.slides.eq(e)[0])}else n.push(t.slides.eq(t.activeIndex)[0]);for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;r=e>r?e:r}r&&t.$wrapperEl.css("height",r+"px")},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:i,rtlTranslate:r}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;r&&(s=e),i.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let o=0;o<i.length;o+=1){const e=i[o],a=(s+(n.centeredSlides?t.minTranslate():0)-e.swiperSlideOffset)/(e.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){const r=-(s-e.swiperSlideOffset),a=r+t.slidesSizesGrid[o];(r>=0&&r<t.size-1||a>1&&a<=t.size||r<=0&&a>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(o),i.eq(o).addClass(n.slideVisibleClass))}e.progress=r?-a:a}t.visibleSlides=d(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:o}=t;const a=s,c=o;0===i?(r=0,s=!0,o=!0):(r=(e-t.minTranslate())/i,s=r<=0,o=r>=1),f.extend(t,{progress:r,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!a&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(a&&!s||c&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const{slides:e,params:t,$wrapperEl:n,activeIndex:i,realIndex:r}=this,s=this.virtual&&t.virtual.enabled;let o;e.removeClass(`${t.slideActiveClass} ${t.slideNextClass} ${t.slidePrevClass} ${t.slideDuplicateActiveClass} ${t.slideDuplicateNextClass} ${t.slideDuplicatePrevClass}`),o=s?this.$wrapperEl.find(`.${t.slideClass}[data-swiper-slide-index="${i}"]`):e.eq(i),o.addClass(t.slideActiveClass),t.loop&&(o.hasClass(t.slideDuplicateClass)?n.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(t.slideDuplicateActiveClass):n.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(t.slideDuplicateActiveClass));let a=o.nextAll("."+t.slideClass).eq(0).addClass(t.slideNextClass);t.loop&&0===a.length&&(a=e.eq(0),a.addClass(t.slideNextClass));let c=o.prevAll("."+t.slideClass).eq(0).addClass(t.slidePrevClass);t.loop&&0===c.length&&(c=e.eq(-1),c.addClass(t.slidePrevClass)),t.loop&&(a.hasClass(t.slideDuplicateClass)?n.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicateNextClass):n.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicateNextClass),c.hasClass(t.slideDuplicateClass)?n.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicatePrevClass):n.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicatePrevClass))},updateActiveIndex:function(e){const t=this.rtlTranslate?this.translate:-this.translate,{slidesGrid:n,snapGrid:i,params:r,activeIndex:s,realIndex:o,snapIndex:a}=this;let c,l=e;if(void 0===l){for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?t>=n[e]&&t<n[e+1]-(n[e+1]-n[e])/2?l=e:t>=n[e]&&t<n[e+1]&&(l=e+1):t>=n[e]&&(l=e);r.normalizeSlideIndex&&(l<0||void 0===l)&&(l=0)}if(i.indexOf(t)>=0)c=i.indexOf(t);else{const e=Math.min(r.slidesPerGroupSkip,l);c=e+Math.floor((l-e)/r.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),l===s)return void(c!==a&&(this.snapIndex=c,this.emit
1("snapIndexChange")));const u=parseInt(this.slides.eq(l).attr("data-swiper-slide-index")||l,10);f.extend(this,{snapIndex:c,realIndex:u,previousIndex:s,activeIndex:l}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==u&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,i=d(e.target).closest("."+n.slideClass)[0];let r=!1;if(i)for(let s=0;s<t.slides.length;s+=1)t.slides[s]===i&&(r=!0);if(!i||!r)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.clickedIndex=t.virtual&&t.params.virtual.enabled?parseInt(d(i).attr("data-swiper-slide-index"),10):d(i).index(),n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},v={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:i,$wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let s=f.getTranslate(r[0],e);return n&&(s=-s),s||0},setTranslate:function(e,t){const{rtlTranslate:n,params:i,$wrapperEl:r,wrapperEl:s,progress:o}=this;let a,c=0,l=0;this.isHorizontal()?c=n?-e:e:l=e,i.roundLengths&&(c=Math.floor(c),l=Math.floor(l)),i.cssMode?s[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-c:-l:i.virtualTranslate||r.transform(`translate3d(${c}px, ${l}px, 0px)`),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?c:l;const u=this.maxTranslate()-this.minTranslate();a=0===u?0:(e-this.minTranslate())/u,a!==o&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,i=!0,r){const s=this,{params:o,wrapperEl:a}=s;if(s.animating&&o.preventInteractionOnTransition)return!1;const c=s.minTranslate(),l=s.maxTranslate();let u;if(u=i&&e>c?c:i&&e<l?l:e,s.updateProgress(u),o.cssMode){const e=s.isHorizontal();return 0===t?a[e?"scrollLeft":"scrollTop"]=-u:a.scrollTo?a.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"}):a[e?"scrollLeft":"scrollTop"]=-u,!0}return 0===t?(s.setTransition(0),s.setTranslate(u),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(u),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,n&&s.emit("transitionEnd"))}),s.$wrapperEl[0].addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd))),!0}},w={slideTo:function(e=0,t=this.params.speed,n=!0,i){const r=this;let s=e;s<0&&(s=0);const{params:o,snapGrid:a,slidesGrid:c,previousIndex:l,activeIndex:u,rtlTranslate:d,wrapperEl:h}=r;if(r.animating&&o.preventInteractionOnTransition)return!1;const p=Math.min(r.params.slidesPerGroupSkip,s);let f=p+Math.floor((s-p)/r.params.slidesPerGroup);f>=a.length&&(f=a.length-1),(u||o.initialSlide||0)===(l||0)&&n&&r.emit("beforeSlideChangeStart");const g=-a[f];if(r.updateProgress(g),o.normalizeSlideIndex)for(let b=0;b<c.length;b+=1)-Math.floor(100*g)>=Math.floor(100*c[b])&&(s=b);if(r.initialized&&s!==u){if(!r.allowSlideNext&&g<r.translate&&g<r.minTranslate())return!1;if(!r.allowSlidePrev&&g>r.translate&&g>r.maxTranslate()&&(u||0)!==s)return!1}let m;if(m=s>u?"next":s<u?"prev":"reset",d&&-g===r.translate||!d&&g===r.translate)return r.updateActiveIndex(s),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(g),"reset"!==m&&(r.transitionStart(n,m),r.transitionEnd(n,m)),!1;if(o.cssMode){const e=r.isHorizontal();let n=-g;return d&&(n=h.scrollWidth-h.offsetWidth-n),0===t?h[e?"scrollLeft":"scrollTop"]=n:h.scrollTo?h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"}):h[e?"scrollLeft":"scrollTop"]=n,!0}return 0===t?(r.setTransition(0),r.setTranslate(g),r.updateActiveIndex(s),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,m),r.transitionEnd(n,m)):(r.setTransition(t),r.setTranslate(g),r.updateActiveIndex(s),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,m),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$
1wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,m))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,i){let r=e;return this.params.loop&&(r+=this.loopedSlides),this.slideTo(r,t,n,i)},slideNext:function(e=this.params.speed,t=!0,n){const i=this,{params:r,animating:s}=i,o=i.activeIndex<r.slidesPerGroupSkip?1:r.slidesPerGroup;if(r.loop){if(s)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+o,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){const i=this,{params:r,animating:s,snapGrid:o,slidesGrid:a,rtlTranslate:c}=i;if(r.loop){if(s)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=l(c?i.translate:-i.translate),d=o.map(e=>l(e));a.map(e=>l(e)),d.indexOf(u);let h,p=o[d.indexOf(u)-1];return void 0===p&&r.cssMode&&o.forEach(e=>{!p&&u>=e&&(p=e)}),void 0!==p&&(h=a.indexOf(p),h<0&&(h=i.activeIndex-1)),i.slideTo(h,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,i=.5){const r=this;let s=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/r.params.slidesPerGroup),c=r.rtlTranslate?r.translate:-r.translate;if(c>=r.snapGrid[a]){const e=r.snapGrid[a];c-e>(r.snapGrid[a+1]-e)*i&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[a-1];c-e<=(r.snapGrid[a]-e)*i&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,s=e.clickedIndex;if(t.loop){if(e.animating)return;r=parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?s<e.loopedSlides-i/2||s>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),s=n.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),f.nextTick(()=>{e.slideTo(s)})):e.slideTo(s):s>e.slides.length-i?(e.loopFix(),s=n.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),f.nextTick(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}},y={loopCreate:function(){const e=this,{params:t,$wrapperEl:n}=e;n.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let i=n.children("."+t.slideClass);if(t.loopFillGroupWithBlank){const e=t.slidesPerGroup-i.length%t.slidesPerGroup;if(e!==t.slidesPerGroup){for(let i=0;i<e;i+=1){const e=d(a.createElement("div")).addClass(`${t.slideClass} ${t.slideBlankClass}`);n.append(e)}i=n.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=i.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>i.length&&(e.loopedSlides=i.length);const r=[],s=[];i.each((t,n)=>{const o=d(n);t<e.loopedSlides&&s.push(n),t<i.length&&t>=i.length-e.loopedSlides&&r.push(n),o.attr("data-swiper-slide-index",t)});for(let o=0;o<s.length;o+=1)n.append(d(s[o].cloneNode(!0)).addClass(t.slideDuplicateClass));for(let o=r.length-1;o>=0;o-=1)n.prepend(d(r[o].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");const{activeIndex:e,slides:t,loopedSlides:n,allowSlidePrev:i,allowSlideNext:r,snapGrid:s,rtlTranslate:o}=this;let a;this.allowSlidePrev=!0,this.allowSlideNext=!0;const c=-s[e]-this.getTranslate();e<n?(a=t.length-3*n+e,a+=n,this.slideTo(a,0,!1,!0)&&0!==c&&this.setTranslate((o?-this.translate:this.translate)-c)):e>=t.length-n&&(a=-t.length+e+n,a+=n,this.slideTo(a,0,!1,!0)&&0!==c&&this.setTranslate((o?-this.translate:this.translate)-c)),this.allowSlidePrev=i,this.allowSlideNext=r,this.emit
1("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}},C={setGrabCursor:function(e){if(g.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)return;const t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){g.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},_={appendSlide:function(e){const{$wrapperEl:t,params:n}=this;if(n.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(let i=0;i<e.length;i+=1)e[i]&&t.append(e[i]);else t.append(e);n.loop&&this.loopCreate(),n.observer&&g.observer||this.update()},prependSlide:function(e){const{params:t,$wrapperEl:n,activeIndex:i}=this;t.loop&&this.loopDestroy();let r=i+1;if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&n.prepend(e[t]);r=i+e.length}else n.prepend(e);t.loop&&this.loopCreate(),t.observer&&g.observer||this.update(),this.slideTo(r,0,!1)},addSlide:function(e,t){const n=this,{$wrapperEl:i,params:r,activeIndex:s}=n;let o=s;r.loop&&(o-=n.loopedSlides,n.loopDestroy(),n.slides=i.children("."+r.slideClass));const a=n.slides.length;if(e<=0)return void n.prependSlide(t);if(e>=a)return void n.appendSlide(t);let c=o>e?o+1:o;const l=[];for(let u=a-1;u>=e;u-=1){const e=n.slides.eq(u);e.remove(),l.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&i.append(t[e]);c=o>e?o+t.length:o}else i.append(t);for(let u=0;u<l.length;u+=1)i.append(l[u]);r.loop&&n.loopCreate(),r.observer&&g.observer||n.update(),n.slideTo(r.loop?c+n.loopedSlides:c,0,!1)},removeSlide:function(e){const t=this,{params:n,$wrapperEl:i,activeIndex:r}=t;let s=r;n.loop&&(s-=t.loopedSlides,t.loopDestroy(),t.slides=i.children("."+n.slideClass));let o,a=s;if("object"==typeof e&&"length"in e){for(let n=0;n<e.length;n+=1)o=e[n],t.slides[o]&&t.slides.eq(o).remove(),o<a&&(a-=1);a=Math.max(a,0)}else o=e,t.slides[o]&&t.slides.eq(o).remove(),o<a&&(a-=1),a=Math.max(a,0);n.loop&&t.loopCreate(),n.observer&&g.observer||t.update(),t.slideTo(n.loop?a+t.loopedSlides:a,0,!1)},removeAllSlides:function(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}};const x=function(){const e=l.navigator.platform,t=l.navigator.userAgent,n={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!l.cordova&&!l.phonegap),phonegap:!(!l.cordova&&!l.phonegap),electron:!1},i=l.screen.width,r=l.screen.height,s=t.match(/(Android);?[\s\/]+([\d.]+)?/);let o=t.match(/(iPad).*OS\s([\d_]+)/);const a=t.match(/(iPod)(.*OS\s([\d_]+))?/),c=!o&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),u=t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0,d=t.indexOf("Edge/")>=0,h=t.indexOf("Gecko/")>=0&&t.indexOf("Firefox/")>=0,p="Win32"===e,f=t.toLowerCase().indexOf("electron")>=0;let m="MacIntel"===e;return!o&&m&&g.touch&&(1024===i&&1366===r||834===i&&1194===r||834===i&&1112===r||768===i&&1024===r)&&(o=t.match(/(Version)\/([\d.]+)/),m=!1),n.ie=u,n.edge=d,n.firefox=h,s&&!p&&(n.os="android",n.osVersion=s[2],n.android=!0,n.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(o||c||a)&&(n.os="ios",n.ios=!0),c&&!a&&(n.osVersion=c[2].replace(/_/g,"."),n.iphone=!0),o&&(n.osVersion=o[2].replace(/_/g,"."),n.ipad=!0),a&&(n.osVersion=a[3]?a[3].replace(/_/g,"."):null,n.ipod=!0),n.ios&&n.osVersion&&t.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),n.webView=!(!(c||o||a)||!t.match(/.*AppleWebKit(?!.*Safari)/i)&&!l.navigator.standalone)||l.matchMedia&&l.matchMedia("(display-mode: standalone)").matches,n.webview=n.webView,n.standalone=n.webView,n.desktop=!(n.ios||n.android)||f,n.desktop&&(n.electron=f,n.macos=m,n.windows=p,n.macos&&(n.os="macos"),n.windows&&(n.os="windows")),n.pixelRatio=l.devicePixelRatio||1,n}();function O(e){const t=this,n=t.touchEventsData,{params:i,touches:r}=t;if(t.animating&&i.preventInteractionOnTransition)return;let s=e;s.originalEvent&&(s=s.originalEvent);const o=d(s.target);
vendor: 4,370 bytes, line 1
1if("wrapper"===i.touchEventsTarget&&!o.closest(t.wrapperEl).length)return;if(n.isTouchEvent="touchstart"===s.type,!n.isTouchEvent&&"which"in s&&3===s.which)return;if(!n.isTouchEvent&&"button"in s&&s.button>0)return;if(n.isTouched&&n.isMoved)return;if(i.noSwiping&&o.closest(i.noSwipingSelector?i.noSwipingSelector:"."+i.noSwipingClass)[0])return void(t.allowClick=!0);if(i.swipeHandler&&!o.closest(i.swipeHandler)[0])return;r.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,r.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;const c=r.currentX,u=r.currentY,h=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(!i.edgeSwipeDetection&&!i.iOSEdgeSwipeDetection||!(c<=h||c>=l.screen.width-h)){if(f.extend(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=c,r.startY=u,n.touchStartTime=f.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==s.type){let e=!0;o.is(n.formElements)&&(e=!1),a.activeElement&&d(a.activeElement).is(n.formElements)&&a.activeElement!==o[0]&&a.activeElement.blur();const r=e&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||r)&&s.preventDefault()}t.emit("touchStart",s)}}function S(e){const t=this,n=t.touchEventsData,{params:i,touches:r,rtlTranslate:s}=t;let o=e;if(o.originalEvent&&(o=o.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",o));if(n.isTouchEvent&&"touchmove"!==o.type)return;const c="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),l="touchmove"===o.type?c.pageX:o.pageX,u="touchmove"===o.type?c.pageY:o.pageY;if(o.preventedByNestedSwiper)return r.startX=l,void(r.startY=u);if(!t.allowTouchMove)return t.allowClick=!1,void(n.isTouched&&(f.extend(r,{startX:l,startY:u,currentX:l,currentY:u}),n.touchStartTime=f.now()));if(n.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(u<r.startY&&t.translate<=t.maxTranslate()||u>r.startY&&t.translate>=t.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(l<r.startX&&t.translate<=t.maxTranslate()||l>r.startX&&t.translate>=t.minTranslate())return;if(n.isTouchEvent&&a.activeElement&&o.target===a.activeElement&&d(o.target).is(n.formElements))return n.isMoved=!0,void(t.allowClick=!1);if(n.allowTouchCallbacks&&t.emit("touchMove",o),o.targetTouches&&o.targetTouches.length>1)return;r.currentX=l,r.currentY=u;const h=r.currentX-r.startX,p=r.currentY-r.startY;if(t.params.threshold&&Math.sqrt(h**2+p**2)<t.params.threshold)return;if(void 0===n.isScrolling){let e;t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:h*h+p*p>=25&&(e=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,n.isScrolling=t.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(n.isScrolling&&t.emit("touchMoveOpposite",o),void 0===n.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;t.allowClick=!1,!i.cssMode&&o.cancelable&&o.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&o.stopPropagation(),n.isMoved||(i.loop&&t.loopFix(),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!i.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",o)),t.emit("sliderMove",o),n.isMoved=!0;let g=t.isHorizontal()?h:p;r.diff=g,g*=i.touchRatio,s&&(g=-g),t.swipeDirection=g>0?"prev":"next",n.currentTranslate=g+n.startTranslate;let m=!0,b=i.resistanceRatio;if(i.touchReleaseOnEdges&&(b=0),g>0&&n.currentTranslate>t.minTranslate()?(m=!1,i.resistance&&(n.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+n.startTranslate+g)**b)):g<0&&n.currentTranslate<t.maxTranslate()&&(m=!1,i.resistance&&(n.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-n.startTranslate-g)**b)),m&&(o.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.threshold>0){if(!(Math.abs(g)>i.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
1if(!n.allowThresholdMove)return n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,void(r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&(0===n.velocities.length&&n.velocities.push({position:r[t.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:r[t.isHorizontal()?"currentX":"currentY"],time:f.now()})),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}function E(e){const t=this,n=t.touchEventsData,{params:i,touches:r,rtlTranslate:s,$wrapperEl:o,slidesGrid:a,snapGrid:c}=t;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=f.now(),d=u-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(l),t.emit("tap click",l),d<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)),n.lastClickTime=f.now(),f.nextTick(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=i.followFinger?s?t.translate:-t.translate:-n.currentTranslate,i.cssMode)return;if(i.freeMode){if(h<-t.minTranslate())return void t.slideTo(t.activeIndex);if(h>-t.maxTranslate())return void t.slideTo(t.slides.length<c.length?c.length-1:t.slides.length-1);if(i.freeModeMomentum){if(n.velocities.length>1){const e=n.velocities.pop(),r=n.velocities.pop(),s=e.time-r.time;t.velocity=(e.position-r.position)/s,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(s>150||f.now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;
1let e=1e3*i.freeModeMomentumRatio,r=t.translate+t.velocity*e;s&&(r=-r);let a,l=!1;const u=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;let d;if(r<t.maxTranslate())i.freeModeMomentumBounce?(r+t.maxTranslate()<-u&&(r=t.maxTranslate()-u),a=t.maxTranslate(),l=!0,n.allowMomentumBounce=!0):r=t.maxTranslate(),i.loop&&i.centeredSlides&&(d=!0);else if(r>t.minTranslate())i.freeModeMomentumBounce?(r-t.minTranslate()>u&&(r=t.minTranslate()+u),a=t.minTranslate(),l=!0,n.allowMomentumBounce=!0):r=t.minTranslate(),i.loop&&i.centeredSlides&&(d=!0);else if(i.freeModeSticky){let e;for(let t=0;t<c.length;t+=1)if(c[t]>-r){e=t;break}r=Math.abs(c[e]-r)<Math.abs(c[e-1]-r)||"next"===t.swipeDirection?c[e]:c[e-1],r=-r}if(d&&t.once("transitionEnd",()=>{t.loopFix()}),0!==t.velocity){if(e=s?Math.abs((-r-t.translate)/t.velocity):Math.abs((r-t.translate)/t.velocity),i.freeModeSticky){const n=Math.abs((s?-r:r)-t.translate),o=t.slidesSizesGrid[t.activeIndex];e=n<o?i.speed:n<2*o?1.5*i.speed:2.5*i.speed}}else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&l?(t.updateProgress(a),t.setTransition(e),t.setTranslate(r),t.transitionStart(!0,t.swipeDirection),t.animating=!0,o.transitionEnd(()=>{t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),setTimeout(()=>{t.setTranslate(a),o.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(r),t.setTransition(e),t.setTranslate(r),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,o.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(r),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();return void((!i.freeModeMomentum||d>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses()))}let p=0,g=t.slidesSizesGrid[0];for(let f=0;f<a.length;f+=f<i.slidesPerGroupSkip?1:i.slidesPerGroup){const e=f<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==a[f+e]?h>=a[f]&&h<a[f+e]&&(p=f,g=a[f+e]-a[f]):h>=a[f]&&(p=f,g=a[a.length-1]-a[a.length-2])}const m=(h-a[p])/g,b=p<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(d>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(m>=i.longSwipesRatio?p+b:p),"prev"===t.swipeDirection&&t.slideTo(m>1-i.longSwipesRatio?p+b:p)}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(p+b),"prev"===t.swipeDirection&&t.slideTo(p)):t.slideTo(l.target===t.navigation.nextEl?p+b:p)}}function P(){const{params:e,el:t}=this;if(t&&0===t.offsetWidth)return;e.breakpoints&&this.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:r}=this;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),this.slideTo(("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides?this.slides.length-1:this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=i,this.allowSlideNext=n,this.params.watchOverflow&&r!==this.snapGrid&&this.checkOverflow()}function k(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function M(){const{wrapperEl:e,rtlTranslate:t}=this;let n;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?t?e.scrollWidth-e.offsetWidth-e.scrollLeft:-e.scrollLeft:-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();const i=this.maxTranslate()-this.minTranslate();n=0===i?0:(this.translate-this.minTranslate())/i,n!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}let I=!1;function D(){}var j={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesB
1ounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0};const A={update:b,translate:v,transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{activeIndex:i,params:r,previousIndex:s}=n;if(r.cssMode)return;r.autoHeight&&n.updateAutoHeight();let o=t;if(o||(o=i>s?"next":i<s?"prev":"reset"),n.emit("transitionStart"),e&&i!==s){if("reset"===o)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),n.emit("next"===o?"slideNextTransitionStart":"slidePrevTransitionStart")}},transitionEnd:function(e=!0,t){const n=this,{activeIndex:i,previousIndex:r,params:s}=n;if(n.animating=!1,s.cssMode)return;n.setTransition(0);let o=t;if(o||(o=i>r?"next":i<r?"prev":"reset"),n.emit("transitionEnd"),e&&i!==r){if("reset"===o)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),n.emit("next"===o?"slideNextTransitionEnd":"slidePrevTransitionEnd")}}},slide:w,loop:y,grabCursor:C,manipulation:_,events:{attachEvents:function(){const e=this,{params:t,touchEvents:n,el:i,wrapperEl:r}=e;e.onTouchStart=O.bind(e),e.onTouchMove=S.bind(e),e.onTouchEnd=E.bind(e),t.cssMode&&(e.onScroll=M.bind(e)),e.onClick=k.bind(e);const s=!!t.nested;if(!g.touch&&g.pointerEvents)i.addEventListener(n.start,e.onTouchStart,!1),a.addEventListener(n.move,e.onTouchMove,s),a.addEventListener(n.end,e.onTouchEnd,!1);else{if(g.touch){const r=!("touchstart"!==n.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};i.addEventListener(n.start,e.onTouchStart,r),i.addEventListener(n.move,e.onTouchMove,g.passiveListener?{passive:!1,capture:s}:s),i.addEventListener(n.end,e.onTouchEnd,r),n.cancel&&i.addEventListener(n.cancel,e.onTouchEnd,r),I||(a.addEventListener("touchstart",D),I=!0)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!g.touch&&x.ios)&&(i.addEventListener("mousedown",e.onTouchStart,!1),a.addEventListener("mousemove",e.onTouchMove,s),a.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&i.addEventListener("click",e.onClick,!0),t.cssMode&&r.addEventListener("scroll",e.onScroll),e.on(t.updateOnWindowResize?x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",P,!0)},detachEvents:function(){const e=this,{params:t,touchEvents:n,el:i,wrapperEl:r}=e,s=!!t.nested;if(!g.touch&&g.pointerEvents)i.removeEventListener(n.start,e.onTouchStart,!1),a.removeEventListener(n.move,e.onTouchMove,s),a.removeEventListener(n.end,e.onTouchEnd,!1);else{if(g.touch){const r=!("onTouchStart"!==n.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(n.start,e.onTouchStart,r),i.removeEventListener(n.move,e.onTouchMove,s),i.removeEventListener(n.end,e.onTouchEnd,r),n.cancel&&i.removeEventListener(n.cancel,e.onTouchEnd,r)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!g.touch&&x.ios)&&(i.removeEventListener("mousedown",e.onTouchStart,!1),a.removeEventListener("mousemove",e.onTouchMove,s),a.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&i.removeEventListener("click",e.onClick,!0),t.cssMode&&r.removeEventListener("scroll",e.onScroll),e.off(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",P)}},breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:i=0,params:r,$el:s}=e,o=r.breakpoints;if(!o||o&&0===Object.keys(o).length)return;
1const a=e.getBreakpoint(o);if(a&&e.currentBreakpoint!==a){const c=a in o?o[a]:void 0;c&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(e=>{const t=c[e];void 0!==t&&(c[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});const l=c||e.originalParams,u=r.slidesPerColumn>1,d=l.slidesPerColumn>1;u&&!d?s.removeClass(`${r.containerModifierClass}multirow ${r.containerModifierClass}multirow-column`):!u&&d&&(s.addClass(r.containerModifierClass+"multirow"),"column"===l.slidesPerColumnFill&&s.addClass(r.containerModifierClass+"multirow-column"));const h=l.direction&&l.direction!==r.direction,p=r.loop&&(l.slidesPerView!==r.slidesPerView||h);h&&n&&e.changeDirection(),f.extend(e.params,l),f.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=a,p&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}},getBreakpoint:function(e){if(!e)return;let t=!1;const n=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:l.innerHeight*t,point:e}}return{value:e,point:e}});n.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let i=0;i<n.length;i+=1){const{point:e,value:r}=n[i];r<=l.innerWidth&&(t=e)}return t||"max"}},checkOverflow:{checkOverflow:function(){const e=this.params,t=this.isLocked,n=this.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;this.isLocked=e.slidesOffsetBefore&&e.slidesOffsetAfter&&n?n<=this.size:1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation&&this.navigation.update())}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:n,$el:i}=this,r=[];r.push("initialized"),r.push(t.direction),t.freeMode&&r.push("free-mode"),t.autoHeight&&r.push("autoheight"),n&&r.push("rtl"),t.slidesPerColumn>1&&(r.push("multirow"),"column"===t.slidesPerColumnFill&&r.push("multirow-column")),x.android&&r.push("android"),x.ios&&r.push("ios"),t.cssMode&&r.push("css-mode"),r.forEach(n=>{e.push(t.containerModifierClass+n)}),i.addClass(e.join(" "))},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,n,i,r,s){let o;function a(){s&&s()}d(e).parent("picture")[0]||e.complete&&r?a():t?(o=new l.Image,o.onload=a,o.onerror=a,i&&(o.sizes=i),n&&(o.srcset=n),t&&(o.src=t)):a()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){const i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},T={};class z extends m{constructor(...e){let t,n;1===e.length&&e[0].constructor&&e[0].constructor===Object?n=e[0]:[t,n]=e,n||(n={}),n=f.extend({},n),t&&!n.el&&(n.el=t),super(n),Object.keys(A).forEach(e=>
1{Object.keys(A[e]).forEach(t=>{z.prototype[t]||(z.prototype[t]=A[e][t])})});const i=this;void 0===i.modules&&(i.modules={}),Object.keys(i.modules).forEach(e=>{const t=i.modules[e];if(t.params){const e=Object.keys(t.params)[0],i=t.params[e];if("object"!=typeof i||null===i)return;if(!(e in n)||!("enabled"in i))return;!0===n[e]&&(n[e]={enabled:!0}),"object"!=typeof n[e]||"enabled"in n[e]||(n[e].enabled=!0),n[e]||(n[e]={enabled:!1})}});const r=f.extend({},j);i.useModulesParams(r),i.params=f.extend({},r,T,n),i.originalParams=f.extend({},i.params),i.passedParams=f.extend({},n),i.$=d;const s=d(i.params.el);if(t=s[0],!t)return;if(s.length>1){const e=[];return s.each((t,i)=>{const r=f.extend({},n,{el:i});e.push(new z(r))}),e}let o;return t.swiper=i,s.data("swiper",i),t&&t.shadowRoot&&t.shadowRoot.querySelector?(o=d(t.shadowRoot.querySelector("."+i.params.wrapperClass)),o.children=e=>s.children(e)):o=s.children("."+i.params.wrapperClass),f.extend(i,{$el:s,el:t,$wrapperEl:o,wrapperEl:o[0],classNames:[],slides:d(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===i.params.direction,isVertical:()=>"vertical"===i.params.direction,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===i.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===o.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"];let t=["mousedown","mousemove","mouseup"];return g.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),i.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},i.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},g.touch||!i.params.simulateTouch?i.touchEventsTouch:i.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:f.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.useModules(),i.params.init&&i.init(),i}slidesPerViewDynamic(){const{params:e,slides:t,slidesGrid:n,size:i,activeIndex:r}=this;let s=1;if(e.centeredSlides){let e,n=t[r].swiperSlideSize;for(let o=r+1;o<t.length;o+=1)t[o]&&!e&&(n+=t[o].swiperSlideSize,s+=1,n>i&&(e=!0));for(let o=r-1;o>=0;o-=1)t[o]&&!e&&(n+=t[o].swiperSlideSize,s+=1,n>i&&(e=!0))}else for(let o=r+1;o<t.length;o+=1)n[o]-n[r]<i&&(s+=1);return s}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=Math.min(Math.max(e.rtlTranslate?-1*e.translate:e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}let r;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(r=e.slideTo(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slides.length-1:e.activeIndex,0,!1,!0),r||i()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass(`${this.params.containerModifierClass}${n}`).addClass(`${this.params.containerModifierClass}${e}`),this.params.direction=e,this.slides.each((t,n)=>{"vertical"===e?n.style.width="":n.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}init(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(
1),this.params.preloadImages&&this.preloadImages(),this.slideTo(this.params.loop?this.params.initialSlide+this.loopedSlides:this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))}destroy(e=!0,t=!0){const n=this,{params:i,$el:r,$wrapperEl:s,slides:o}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),s.removeAttr("style"),o&&o.length&&o.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),f.deleteProps(n)),n.destroyed=!0),null}static extendDefaults(e){f.extend(T,e)}static get extendedDefaults(){return T}static get defaults(){return j}static get Class(){return m}static get $(){return d}}var L={name:"device",proto:{device:x},static:{device:x}},N={name:"support",proto:{support:g},static:{support:g}};const R={isEdge:!!l.navigator.userAgent.match(/Edge/g),isSafari:function(){const e=l.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(l.navigator.userAgent)};var F={name:"browser",proto:{browser:R},static:{browser:R}},V={name:"resize",create(){const e=this;f.extend(e,{resize:{resizeHandler(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init(){l.addEventListener("resize",this.resize.resizeHandler),l.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy(){l.removeEventListener("resize",this.resize.resizeHandler),l.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}};const U={func:l.MutationObserver||l.WebkitMutationObserver,attach(e,t={}){const n=this,i=new(0,U.func)(e=>{if(1===e.length)return void n.emit("observerUpdate",e[0]);const t=function(){n.emit("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(t):l.setTimeout(t,0)});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(i)},init(){const e=this;if(g.observer&&e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let n=0;n<t.length;n+=1)e.observer.attach(t[n])}e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy(){this.observer.observers.forEach(e=>{e.disconnect()}),this.observer.observers=[]}};var H={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create(){f.extend(this,{observer:{init:U.init.bind(this),attach:U.attach.bind(this),destroy:U.destroy.bind(this),observers:[]}})},on:{init(){this.observer.init()},destroy(){this.observer.destroy()}}};const B={update(e){const t=this,{slidesPerView:n,slidesPerGroup:i,centeredSlides:r}=t.params,{addSlidesBefore:s,addSlidesAfter:o}=t.params.virtual,{from:a,to:c,slides:l,slidesGrid:u,renderSlide:d,offset:h}=t.virtual;t.updateActiveIndex();const p=t.activeIndex||0;let g,m,b;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(m=Math.floor(n/2)+i+s,b=Math.floor(n/2)+i+o):(m=n+(i-1)+s,b=i+o);const v=Math.max((p||0)-b,0),w=Math.min((p||0)+m,l.length-1),y=(t.slidesGrid[v]||0)-(t.slidesGrid[0]||0);function C(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(f.extend(t.virtual,{from:v,to:w,offset:y,slidesGrid:t.slidesGrid}),a===v&&c===w&&!e)return t.slidesGrid!==u&&y!==h&&t.slides.css(g,y+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:y,from:v,to:w,slides:function(){const e=[];for(let t=v;t<=w;t+=1)e.push(l[t]);return e}()}),void C();const _=[],x=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(let f=a;f<=c;f+=1)(f<v||f>w)&&t.$wrapperEl.find(`.${t.params.slideClass}[data-swiper-slide-index="${f}"]`).remove();for(let f=0;f<l.length;f+=1)f>=v&&f<=w&&(void 0===c||e?x.push(f):(f>c&&x.push(f),f<a&&_.push(f)));
1x.forEach(e=>{t.$wrapperEl.append(d(l[e],e))}),_.sort((e,t)=>t-e).forEach(e=>{t.$wrapperEl.prepend(d(l[e],e))}),t.$wrapperEl.children(".swiper-slide").css(g,y+"px"),C()},renderSlide(e,t){const n=this.params.virtual;if(n.cache&&this.virtual.cache[t])return this.virtual.cache[t];const i=d(n.renderSlide?n.renderSlide.call(this,e,t):`<div class="${this.params.slideClass}" data-swiper-slide-index="${t}">${e}</div>`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),n.cache&&(this.virtual.cache[t]=i),i},appendSlide(e){const t=this;if("object"==typeof e&&"length"in e)for(let n=0;n<e.length;n+=1)e[n]&&t.virtual.slides.push(e[n]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide(e){const t=this,n=t.activeIndex;let i=n+1,r=1;if(Array.isArray(e)){for(let n=0;n<e.length;n+=1)e[n]&&t.virtual.slides.unshift(e[n]);i=n+e.length,r=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){const e=t.virtual.cache,n={};Object.keys(e).forEach(t=>{const i=e[t],s=i.attr("data-swiper-slide-index");s&&i.attr("data-swiper-slide-index",parseInt(s,10)+1),n[parseInt(t,10)+r]=i}),t.virtual.cache=n}t.virtual.update(!0),t.slideTo(i,0)},removeSlide(e){const t=this;if(null==e)return;let n=t.activeIndex;if(Array.isArray(e))for(let i=e.length-1;i>=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<n&&(n-=1),n=Math.max(n,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<n&&(n-=1),n=Math.max(n,0);t.virtual.update(!0),t.slideTo(n,0)},removeAllSlides(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}};var $={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create(){f.extend(this,{virtual:{update:B.update.bind(this),appendSlide:B.appendSlide.bind(this),prependSlide:B.prependSlide.bind(this),removeSlide:B.removeSlide.bind(this),removeAllSlides:B.removeAllSlides.bind(this),renderSlide:B.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit(){if(!this.params.virtual.enabled)return;this.classNames.push(this.params.containerModifierClass+"virtual");const e={watchSlidesProgress:!0};f.extend(this.params,e),f.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update(
1)},setTranslate(){this.params.virtual.enabled&&this.virtual.update()}}};const q={handle(e){const t=this,{rtlTranslate:n}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const r=i.keyCode||i.charCode,s=t.params.keyboard.pageUpDown,o=s&&33===r,c=s&&34===r,u=37===r,d=39===r,h=38===r,p=40===r;if(!t.allowSlideNext&&(t.isHorizontal()&&d||t.isVertical()&&p||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&u||t.isVertical()&&h||o))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||a.activeElement&&a.activeElement.nodeName&&("input"===a.activeElement.nodeName.toLowerCase()||"textarea"===a.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(o||c||u||d||h||p)){let e=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;const i=l.innerWidth,r=l.innerHeight,s=t.$el.offset();n&&(s.left-=t.$el[0].scrollLeft);const o=[[s.left,s.top],[s.left+t.width,s.top],[s.left,s.top+t.height],[s.left+t.width,s.top+t.height]];for(let t=0;t<o.length;t+=1){const n=o[t];n[0]>=0&&n[0]<=i&&n[1]>=0&&n[1]<=r&&(e=!0)}if(!e)return}t.isHorizontal()?((o||c||u||d)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((c||d)&&!n||(o||u)&&n)&&t.slideNext(),((o||u)&&!n||(c||d)&&n)&&t.slidePrev()):((o||c||h||p)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(c||p)&&t.slideNext(),(o||h)&&t.slidePrev()),t.emit("keyPress",r)}},enable(){this.keyboard.enabled||(d(a).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable(){this.keyboard.enabled&&(d(a).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}};var W={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create(){f.extend(this,{keyboard:{enabled:!1,enable:q.enable.bind(this),disable:q.disable.bind(this),handle:q.handle.bind(this)}})},on:{init(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy(){this.keyboard.enabled&&this.keyboard.disable()}}};const G={lastScrollTime:f.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:()=>l.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){let e="onwheel"in a;if(!e){const t=a.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&a.implementation&&a.implementation.hasFeature&&!0!==a.implementation.hasFeature("","")&&(e=a.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel",normalize(e){let t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=r,r=0),(i||r)&&e.deltaMode&&(1===e.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}},handleMouseEnter(){this.mouseEntered=!0},handleMouseLeave(){this.mouseEntered=!1},handle(e){let t=e;const n=this,i=n.params.mousewheel;n.params.cssMode&&t.preventDefault();let r=n.$el;if("container"!==n.params.mousewheel.eventsTarged&&(r=d(n.params.mousewheel.eventsTarged)),!n.mouseEntered&&!r[0].contains(t.target)&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);let s=0;const o=n.rtlTranslate?-1:1,a=G.normalize(t);if(i.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(a.pixelX)>Math.abs(a.pixelY)))return!0;s=-a.pixelX*o}else{if(!(Math.abs(a.pixelY)>Math.abs(a.pixelX)))return!0;s=-a.pixelY}else s=Math.abs(a.pixelX)>Math.abs(a.pixelY)?-a.pixelX*o:-a.pixelY;if(0===s)return!0;if(i.invert&&(s=-s),n.params.freeMode){const e={time:f.now(),delta:Math.abs(s),direction:Math.sign(s)},{lastEventBeforeSnap:r}=n.mousewheel,o=r&&e.time<r.time+500&&e.delta<=r.delta&&e.direction===r.direction;if(!o){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();let r=n.getTranslate()+s*i.sensitivity;const a=n.isBeginning,c=n.isEnd;if(r>=n.minTranslate()&&(r=n.minTranslate()),r<=n.maxTranslate()&&(r=n.maxTranslate()),n.setTransition(0),n.setTranslate(r),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!a&&n.isBeginning||!c&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;const t=n.mousewheel.recentWheelEvents;t.length>=15&&t.shift();const i=t.length?t[t.length-1]:void 0,r=t[0];if(t.push(e),i&&(e.delta>i.delta||e.direction!==i.direction))t.splice(0);else if(t.length>=15&&e.time-r.time<500&&r.delta-e.delta>=1&&e.delta<=6){const i=s>0?.8:.2;n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.mousewheel.timeout=f.nextTick(()=>{n.slideToClosest(n.params.speed,!0,void 0,i)},0)}n.mousewheel.timeout||(n.mousewheel.timeout=f.nextTick(()=>{n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)},500))}if(o||n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),r===n.minTranslate()||r===n.maxTranslate())return!0}}else{const t={time:f.now(),delta:Math.abs(s),direction:Math.sign(s),raw:e}
1,i=n.mousewheel.recentWheelEvents;i.length>=2&&i.shift();const r=i.length?i[i.length-1]:void 0;if(i.push(t),r?(t.direction!==r.direction||t.delta>r.delta||t.time>r.time+150)&&n.mousewheel.animateSlider(t):n.mousewheel.animateSlider(t),n.mousewheel.releaseScroll(t))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider(e){return e.delta>=6&&f.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new l.Date).getTime(),!1)},releaseScroll(e){const t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable(){const e=G.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(this.mousewheel.enabled)return!1;let t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=d(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(e,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable(){const e=G.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;let t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=d(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},X={update(){const e=this.params.navigation;if(this.params.loop)return;const{$nextEl:t,$prevEl:n}=this.navigation;n&&n.length>0&&(this.isBeginning?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),t&&t.length>0&&(this.isEnd?t.addClass(e.disabledClass):t.removeClass(e.disabledClass),t[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))},onPrevClick(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init(){const e=this.params.navigation;if(!e.nextEl&&!e.prevEl)return;let t,n;e.nextEl&&(t=d(e.nextEl),this.params.uniqueNavElements&&"string"==typeof e.nextEl&&t.length>1&&1===this.$el.find(e.nextEl).length&&(t=this.$el.find(e.nextEl))),e.prevEl&&(n=d(e.prevEl),this.params.uniqueNavElements&&"string"==typeof e.prevEl&&n.length>1&&1===this.$el.find(e.prevEl).length&&(n=this.$el.find(e.prevEl))),t&&t.length>0&&t.on("click",this.navigation.onNextClick),n&&n.length>0&&n.on("click",this.navigation.onPrevClick),f.extend(this.navigation,{$nextEl:t,nextEl:t&&t[0],$prevEl:n,prevEl:n&&n[0]})},destroy(){const{$nextEl:e,$prevEl:t}=this.navigation;e&&e.length&&(e.off("click",this.navigation.onNextClick),e.removeClass(this.params.navigation.disabledClass)),t&&t.length&&(t.off("click",this.navigation.onPrevClick),t.removeClass(this.params.navigation.disabledClass))}},Z={update(){const e=this,t=e.rtl,n=e.params.pagination;if(!n.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el;let s;const o=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(s=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),s>i-1-2*e.loopedSlides&&(s-=i-2*e.loopedSlides),s>o-1&&(s-=o),s<0&&"bullets"!==e.params.paginationType&&(s=o+s)):s=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let o,a,c;if(n.dynamicBullets&&(e.pagination.bulletSize=i.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=s-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=s-e.pagination.dynamicBulletIndex,a=o+(Math.min(i.length,n.dynamicMainBullets)-1),c=(a+o)/2),i.removeClass(`${n.bulletActiveClass} ${n.bulletActiveClass}-next ${n.bulletActiveClass}-next-next ${n.bulletActiveClass}-prev ${n.bulletActiveClass}-prev-prev ${n.bulletActiveClass}-main`),r.length>1)i.each((e,t)=>{const i=d(t),r=i.index();r===s&&i.addClass(n.bulletActiveClass),n.dynamicBullets&&(r>=o&&r<=a&&i.addClass(n.bulletActiveClass+"-main"),r===o&&i.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),r===a&&i.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next"))});else{const t=i.eq(s),r=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=i.eq(o),s=i.eq(a);for(let e=o;e<=a;e+=1)i.eq(e).addClass(n.bulletActiveClass+"-main");if(e.params.loop)if(r>=i.length-n.dynamicMainBullets){for(let e=n.dynamicMainBullets;e>=0;e-=1)i.eq(i.length-e).addClass(n.bulletActiveClass+"-main");i.eq(i.length-n.dynamicMainBullets-1).addClass(n.bulletActiveClass+"-prev")}else t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),s.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next");else t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),s.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}}if(n.dynamicBullets){const r=Math.min(i.length,n.dynamicMainBullets+4),s=(e.pagination.bulletSize*r-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,o=t?"right":"left";i.css(e.isHorizontal()?o:"top",s+"px")}}if("fraction"===n.type&&(r.find("."+n.currentClass).text(n.formatFractionCurrent(s+1)),r.find("."+n.totalClass).text(n.formatFractionTotal(o))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const i=(s+1)/o;let a=1,c=1;"horizontal"===t?a=i:c=i,r.find("."+n.progressbarFillClass).transform(`translate3d(0,
10,0) scaleX(${a}) scaleY(${c})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(r.html(n.renderCustom(e,s+1,o)),e.emit("paginationRender",e,r[0])):e.emit("paginationUpdate",e,r[0]),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)},render(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.pagination.$el;let i="";if("bullets"===t.type){const r=e.params.loop?Math.ceil(((e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length)-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;for(let n=0;n<r;n+=1)i+=t.renderBullet?t.renderBullet.call(e,n,t.bulletClass):`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;n.html(i),e.pagination.bullets=n.find("."+t.bulletClass)}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,n.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,n.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])},init(){const e=this,t=e.params.pagination;if(!t.el)return;let n=d(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass,(function(t){t.preventDefault();let n=d(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),f.extend(e.pagination,{$el:n,el:n[0]}))},destroy(){const e=this.params.pagination;if(!e.el||!this.pagination.el||!this.pagination.$el||0===this.pagination.$el.length)return;const t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}},Y={setTranslate(){if(!this.params.scrollbar.el||!this.scrollbar.el)return;const{scrollbar:e,rtlTranslate:t,progress:n}=this,{dragSize:i,trackSize:r,$dragEl:s,$el:o}=e,a=this.params.scrollbar;let c=i,l=(r-i)*n;t?(l=-l,l>0?(c=i-l,l=0):-l+i>r&&(c=r+l)):l<0?(c=i+l,l=0):l+i>r&&(c=r-l),this.isHorizontal()?(s.transform(`translate3d(${l}px, 0, 0)`),s[0].style.width=c+"px"):(s.transform(`translate3d(0px, ${l}px, 0)`),s[0].style.height=c+"px"),a.hide&&(clearTimeout(this.scrollbar.timeout),o[0].style.opacity=1,this.scrollbar.timeout=setTimeout(()=>{o[0].style.opacity=0,o.transition(400)},1e3))},setTransition(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize(){if(!this.params.scrollbar.el||!this.scrollbar.el)return;const{scrollbar:e}=this,{$dragEl:t,$el:n}=e;t[0].style.width="",t[0].style.height="";const i=this.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,r=this.size/this.virtualSize,s=r*(i/this.size);let o;o="auto"===this.params.scrollbar.dragSize?i*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=o+"px":t[0].style.height=o+"px",n[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(n[0].style.opacity=0),f.extend(e,{trackSize:i,divider:r,moveDivider:s,dragSize:o}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)},getPointerPosition(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition(e){const{scrollbar:t,rtlTranslate:n}=this,{$el:i,dragSize:r,trackSize:s,dragStartPos:o}=t;let a;a=(t.getPointerPosition(e)-i.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(s-r),a=Math.max(Math.min(a,1),0),n&&(a=1-a);const c=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*a;this.updateProgress(c),this.setTranslate(c),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart(e){const t=this.params.scrollbar,{scrollbar:n,$wrapperEl:i}=this,{$el:r,$dragEl:s}=n;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===s[0]||e.target===s?n.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),s.transition(100),n.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),r.transition(0),t.hide&&r.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit
1("scrollbarDragStart",e)},onDragMove(e){const{scrollbar:t,$wrapperEl:n}=this,{$el:i,$dragEl:r}=t;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),n.transition(0),i.transition(0),r.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd(e){const t=this.params.scrollbar,{scrollbar:n,$wrapperEl:i}=this,{$el:r}=n;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),i.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=f.nextTick(()=>{r.css("opacity",0),r.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable(){if(!this.params.scrollbar.el)return;const{scrollbar:e,touchEventsTouch:t,touchEventsDesktop:n,params:i}=this,r=e.$el[0],s=!(!g.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};g.touch?(r.addEventListener(t.start,this.scrollbar.onDragStart,s),r.addEventListener(t.move,this.scrollbar.onDragMove,s),r.addEventListener(t.end,this.scrollbar.onDragEnd,o)):(r.addEventListener(n.start,this.scrollbar.onDragStart,s),a.addEventListener(n.move,this.scrollbar.onDragMove,s),a.addEventListener(n.end,this.scrollbar.onDragEnd,o))},disableDraggable(){if(!this.params.scrollbar.el)return;const{scrollbar:e,touchEventsTouch:t,touchEventsDesktop:n,params:i}=this,r=e.$el[0],s=!(!g.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};g.touch?(r.removeEventListener(t.start,this.scrollbar.onDragStart,s),r.removeEventListener(t.move,this.scrollbar.onDragMove,s),r.removeEventListener(t.end,this.scrollbar.onDragEnd,o)):(r.removeEventListener(n.start,this.scrollbar.onDragStart,s),a.removeEventListener(n.move,this.scrollbar.onDragMove,s),a.removeEventListener(n.end,this.scrollbar.onDragEnd,o))},init(){if(!this.params.scrollbar.el)return;const{scrollbar:e,$el:t}=this,n=this.params.scrollbar;let i=d(n.el);this.params.uniqueNavElements&&"string"==typeof n.el&&i.length>1&&1===t.find(n.el).length&&(i=t.find(n.el));let r=i.find("."+this.params.scrollbar.dragClass);0===r.length&&(r=d(`<div class="${this.params.scrollbar.dragClass}"></div>`),i.append(r)),f.extend(e,{$el:i,el:i[0],$dragEl:r,dragEl:r[0]}),n.draggable&&e.enableDraggable()},destroy(){this.scrollbar.disableDraggable()}},Q={setTransform(e,t){const{rtl:n}=this,i=d(e),r=n?-1:1,s=i.attr("data-swiper-parallax")||"0";let o=i.attr("data-swiper-parallax-x"),a=i.attr("data-swiper-parallax-y");const c=i.attr("data-swiper-parallax-scale"),l=i.attr("data-swiper-parallax-opacity");if(o||a?(o=o||"0",a=a||"0"):this.isHorizontal()?(o=s,a="0"):(a=s,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*r+"%":o*t*r+"px",a=a.indexOf("%")>=0?parseInt(a,10)*t+"%":a*t+"px",null!=l){const e=l-(l-1)*(1-Math.abs(t));i[0].style.opacity=e}if(null==c)i.transform(`translate3d(${o}, ${a}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(t));i.transform(`translate3d(${o}, ${a}, 0px) scale(${e})`)}},setTranslate(){const e=this,{$el:t,slides:n,progress:i,snapGrid:r}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,n)=>{e.parallax.setTransform(n,i)}),n.each((t,n)=>{let s=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(s+=Math.ceil(t/2)-i*(r.length-1)),s=Math.min(Math.max(s,-1),1),d(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,n)=>{e.parallax.setTransform(n,s)})})},setTransition(e=this.params.speed){const{$el:t}=this;t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,n)=>{const i=d(n);let r=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),i.transition(r)})}},K={getDistanceBetweenTouches:e=>e.targetTouches.length<2?1:Math.sqrt((e.targetTouches[1].pageX-e.targetTouches[0].pageX)**2+(e.targetTouches[1].pageY-e.targetTouches[0].pageY)**2),onGestureStart(e){const t=this.params.zoom,n=this.zoom,{gesture:i}=n;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!g.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,i.scaleStart=K.getDistanceBetweenTouches(e)}i.$slideEl&&i.$slideEl.length||(i.$slideEl=d(e.target).closest("."+this.params.slideClass),0===i.$slideEl.length&&(i.$slideEl=this.slides.eq(this.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==i.$imageWrapEl.length)?(i.$imageEl&&i.$imageEl.transition(0),this.zoom.isScaling=!0):i.$imageEl=void 0},onGestureChange(e){const t=this.params.zoom,n=this.zoom,{gesture:i}=n;if(!g.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,i.scaleMove=K.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=g.gestures?e.scale*n.currentScale:i.scaleMove/i.scaleStart*n.currentScale,n.scale>i.maxRatio&&(n.scale=i.maxRatio-1+(n.scale-i.maxRatio+1)**.5),n.scale<t.minRatio&&(n.scale=t.minRatio+1-(t.minRatio-n.scale+1)**.5),i.$imageEl.transform(`translate3d(0,
10,0) scale(${n.scale})`))},onGestureEnd(e){const t=this.params.zoom,n=this.zoom,{gesture:i}=n;if(!g.gestures){if(!n.fakeGestureTouched||!n.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!x.android)return;n.fakeGestureTouched=!1,n.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=Math.max(Math.min(n.scale,i.maxRatio),t.minRatio),i.$imageEl.transition(this.params.speed).transform(`translate3d(0,0,0) scale(${n.scale})`),n.currentScale=n.scale,n.isScaling=!1,1===n.scale&&(i.$slideEl=void 0))},onTouchStart(e){const t=this.zoom,{gesture:n,image:i}=t;n.$imageEl&&0!==n.$imageEl.length&&(i.isTouched||(x.android&&e.cancelable&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove(e){const t=this,n=t.zoom,{gesture:i,image:r,velocity:s}=n;if(!i.$imageEl||0===i.$imageEl.length)return;if(t.allowClick=!1,!r.isTouched||!i.$slideEl)return;r.isMoved||(r.width=i.$imageEl[0].offsetWidth,r.height=i.$imageEl[0].offsetHeight,r.startX=f.getTranslate(i.$imageWrapEl[0],"x")||0,r.startY=f.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(r.startX=-r.startX,r.startY=-r.startY));const o=r.width*n.scale,a=r.height*n.scale;if(!(o<i.slideWidth&&a<i.slideHeight)){if(r.minX=Math.min(i.slideWidth/2-o/2,0),r.maxX=-r.minX,r.minY=Math.min(i.slideHeight/2-a/2,0),r.maxY=-r.minY,r.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,r.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!r.isMoved&&!n.isScaling){if(t.isHorizontal()&&(Math.floor(r.minX)===Math.floor(r.startX)&&r.touchesCurrent.x<r.touchesStart.x||Math.floor(r.maxX)===Math.floor(r.startX)&&r.touchesCurrent.x>r.touchesStart.x))return void(r.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(r.minY)===Math.floor(r.startY)&&r.touchesCurrent.y<r.touchesStart.y||Math.floor(r.maxY)===Math.floor(r.startY)&&r.touchesCurrent.y>r.touchesStart.y))return void(r.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),r.isMoved=!0,r.currentX=r.touchesCurrent.x-r.touchesStart.x+r.startX,r.currentY=r.touchesCurrent.y-r.touchesStart.y+r.startY,r.currentX<r.minX&&(r.currentX=r.minX+1-(r.minX-r.currentX+1)**.8),r.currentX>r.maxX&&(r.currentX=r.maxX-1+(r.currentX-r.maxX+1)**.8),r.currentY<r.minY&&(r.currentY=r.minY+1-(r.minY-r.currentY+1)**.8),r.currentY>r.maxY&&(r.currentY=r.maxY-1+(r.currentY-r.maxY+1)**.8),s.prevPositionX||(s.prevPositionX=r.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=r.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(r.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(r.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(r.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(r.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=r.touchesCurrent.x,s.prevPositionY=r.touchesCurrent.y,s.prevTime=Date.now(),i.$imageWrapEl.transform(`translate3d(${r.currentX}px, ${r.currentY}px,0)`)}},onTouchEnd(){const e=this.zoom,{gesture:t,image:n,velocity:i}=e;if(!t.$imageEl||0===t.$imageEl.length)return;if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;let r=300,s=300;const o=n.currentX+i.x*r,a=n.currentY+i.y*s;0!==i.x&&(r=Math.abs((o-n.currentX)/i.x)),0!==i.y&&(s=Math.abs((a-n.currentY)/i.y));const c=Math.max(r,s);n.currentX=o,n.currentY=a;const l=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-n.width*e.scale/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-l/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(c).transform(`translate3d(${n.currentX}px, ${n.currentY}px,0)`)},onTransitionEnd(){const e=this.zoom,{gesture:t}=e;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,
10,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle(e){const t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in(e){const t=this.zoom,n=this.params.zoom,{gesture:i,image:r}=t;if(i.$slideEl||(i.$slideEl=this.params.virtual&&this.params.virtual.enabled&&this.virtual?this.$wrapperEl.children("."+this.params.slideActiveClass):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+n.containerClass)),!i.$imageEl||0===i.$imageEl.length)return;let s,o,a,c,l,u,d,h,p,f,g,m,b,v,w,y,C,_;i.$slideEl.addClass(""+n.zoomedSlideClass),void 0===r.touchesStart.x&&e?(s="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,o="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(s=r.touchesStart.x,o=r.touchesStart.y),t.scale=i.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,t.currentScale=i.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,e?(C=i.$slideEl[0].offsetWidth,_=i.$slideEl[0].offsetHeight,a=i.$slideEl.offset().left,c=i.$slideEl.offset().top,l=a+C/2-s,u=c+_/2-o,p=i.$imageEl[0].offsetWidth,f=i.$imageEl[0].offsetHeight,g=p*t.scale,m=f*t.scale,b=Math.min(C/2-g/2,0),v=Math.min(_/2-m/2,0),w=-b,y=-v,d=l*t.scale,h=u*t.scale,d<b&&(d=b),d>w&&(d=w),h<v&&(h=v),h>y&&(h=y)):(d=0,h=0),i.$imageWrapEl.transition(300).transform(`translate3d(${d}px, ${h}px,0)`),i.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${t.scale})`)},out(){const e=this.zoom,t=this.params.zoom,{gesture:n}=e;n.$slideEl||(n.$slideEl=this.params.virtual&&this.params.virtual.enabled&&this.virtual?this.$wrapperEl.children("."+this.params.slideActiveClass):this.slides.eq(this.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+t.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(e.scale=1,e.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+t.zoomedSlideClass),n.$slideEl=void 0)},enable(){const e=this.zoom;if(e.enabled)return;e.enabled=!0;const t=!("touchstart"!==this.touchEvents.start||!g.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},n=!g.passiveListener||{passive:!1,capture:!0},i="."+this.params.slideClass;g.gestures?(this.$wrapperEl.on("gesturestart",i,e.onGestureStart,t),this.$wrapperEl.on("gesturechange",i,e.onGestureChange,t),this.$wrapperEl.on("gestureend",i,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,i,e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,i,e.onGestureChange,n),this.$wrapperEl.on(this.touchEvents.end,i,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,i,e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,n)},disable(){const e=this.zoom;if(!e.enabled)return;this.zoom.enabled=!1;const t=!("touchstart"!==this.touchEvents.start||!g.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},n=!g.passiveListener||{passive:!1,capture:!0},i="."+this.params.slideClass;g.gestures?(this.$wrapperEl.off("gesturestart",i,e.onGestureStart,t),this.$wrapperEl.off("gesturechange",i,e.onGestureChange,t),this.$wrapperEl.off("gestureend",i,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,i,e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,i,e.onGestureChange,n),this.$wrapperEl.off(this.touchEvents.end,i,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,i,e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,n)}},J={loadInSlide(e,t=!0){const n=this,i=n.params.lazy;if(void 0===e)return;if(0===n.slides.length)return;const r=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children(`.${n.params.slideClass}[data-swiper-slide-index="${e}"]`):n.slides.eq(e);let s=r.find(`.${i.elementClass}:not(.${i.loadedClass}):not(.${i.loadingClass})`);!r.hasClass(i.elementClass)||r.hasClass(i.loadedClass)||r.hasClass(i.loadingClass)||(s=s.add(r[0])),0!==s.length&&s.each((e,s)=>{const o=d(s);o.addClass(i.loadingClass);const a=o.attr("data-background"),c=o.attr("data-src"),l=o.attr("data-srcset"),u=o.attr("data-sizes"),h=o.parent("picture");n.loadImage(o[0],c||a,l,u,!1,()=>
1{if(null!=n&&n&&(!n||n.params)&&!n.destroyed){if(a?(o.css("background-image",`url("${a}")`),o.removeAttr("data-background")):(l&&(o.attr("srcset",l),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),h.length&&h.children("source").each((e,t)=>{const n=d(t);n.attr("data-srcset")&&(n.attr("srcset",n.attr("data-srcset")),n.removeAttr("data-srcset"))}),c&&(o.attr("src",c),o.removeAttr("data-src"))),o.addClass(i.loadedClass).removeClass(i.loadingClass),r.find("."+i.preloaderClass).remove(),n.params.loop&&t){const e=r.attr("data-swiper-slide-index");if(r.hasClass(n.params.slideDuplicateClass)){const t=n.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${n.params.slideDuplicateClass})`);n.lazy.loadInSlide(t.index(),!1)}else{const t=n.$wrapperEl.children(`.${n.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`);n.lazy.loadInSlide(t.index(),!1)}}n.emit("lazyImageReady",r[0],o[0]),n.params.autoHeight&&n.updateAutoHeight()}}),n.emit("lazyImageLoad",r[0],o[0])})},load(){const e=this,{$wrapperEl:t,params:n,slides:i,activeIndex:r}=e,s=e.virtual&&n.virtual.enabled,o=n.lazy;let a=n.slidesPerView;function c(e){if(s){if(t.children(`.${n.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(i[e])return!0;return!1}function l(e){return s?d(e).attr("data-swiper-slide-index"):d(e).index()}if("auto"===a&&(a=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each((t,n)=>{const i=s?d(n).attr("data-swiper-slide-index"):d(n).index();e.lazy.loadInSlide(i)});else if(a>1)for(let u=r;u<r+a;u+=1)c(u)&&e.lazy.loadInSlide(u);else e.lazy.loadInSlide(r);if(o.loadPrevNext)if(a>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){const t=o.loadPrevNextAmount,n=a,s=Math.min(r+n+Math.max(t,n),i.length),l=Math.max(r-Math.max(n,t),0);for(let i=r+a;i<s;i+=1)c(i)&&e.lazy.loadInSlide(i);for(let i=l;i<r;i+=1)c(i)&&e.lazy.loadInSlide(i)}else{const i=t.children("."+n.slideNextClass);i.length>0&&e.lazy.loadInSlide(l(i));const r=t.children("."+n.slidePrevClass);r.length>0&&e.lazy.loadInSlide(l(r))}}},ee={LinearSpline:function(e,t){const n=function(){let e,t,n;return(i,r)=>{for(t=-1,e=i.length;e-t>1;)n=e+t>>1,i[n]<=r?t=n:e=n;return e}}();let i,r;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=n(this.x,e),i=r-1,(e-this.x[i])*(this.y[r]-this.y[i])/(this.x[r]-this.x[i])+this.y[i]):0},this},getInterpolateFunction(e){this.controller.spline||(this.controller.spline=this.params.loop?new ee.LinearSpline(this.slidesGrid,e.slidesGrid):new ee.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate(e,t){const n=this,i=n.controller.control;let r,s;function o(e){const t=n.rtlTranslate?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),s=-n.controller.spline.interpolate(-t)),s&&"container"!==n.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),s=(t-n.minTranslate())*r+e.minTranslate()),n.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,n),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(i))for(let a=0;a<i.length;a+=1)i[a]!==t&&i[a]instanceof z&&o(i[a]);else i instanceof z&&t!==i&&o(i)},setTransition(e,t){const n=this,i=n.controller.control;let r;function s(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&f.nextTick(()=>{t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(()=>{i&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(i))for(r=0;r<i.length;r+=1)i[r]!==t&&i[r]instanceof z&&s(i[r]);else i instanceof z&&t!==i&&s(i)}},te={makeElFocusable:e=>(e.attr("tabIndex","0"),e),makeElNotFocusable:e=>(e.attr("tabIndex","-1"),e),addElRole:(e,t)=>(e.attr("role",t),e),addElLabel:(e,t)=>(e.attr("aria-label",t),e),disableEl:e=>(e.attr("aria-disabled",!0),e),enableEl:e=>(e.attr("aria-disabled",!1),e),onEnterKey(e){const t=this.params.a11y;if(13!==e.keyCode)return;const n=d(e.target);this.navigation&&this.navigation.$nextEl&&n.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.a11y.notify(this.isEnd?t.lastSlideMessage:t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&n.is(this.navigation.$prevEl)&&(this.isBeg
1inning&&!this.params.loop||this.slidePrev(),this.a11y.notify(this.isBeginning?t.firstSlideMessage:t.prevSlideMessage)),this.pagination&&n.is("."+this.params.pagination.bulletClass)&&n[0].click()},notify(e){const t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation(){if(this.params.loop||!this.navigation)return;const{$nextEl:e,$prevEl:t}=this.navigation;t&&t.length>0&&(this.isBeginning?(this.a11y.disableEl(t),this.a11y.makeElNotFocusable(t)):(this.a11y.enableEl(t),this.a11y.makeElFocusable(t))),e&&e.length>0&&(this.isEnd?(this.a11y.disableEl(e),this.a11y.makeElNotFocusable(e)):(this.a11y.enableEl(e),this.a11y.makeElFocusable(e)))},updatePagination(){const e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((n,i)=>{const r=d(i);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/\{\{index\}\}/,r.index()+1))})},init(){this.$el.append(this.a11y.liveRegion);const e=this.params.a11y;let t,n;this.navigation&&this.navigation.$nextEl&&(t=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(n=this.navigation.$prevEl),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,e.nextSlideMessage),t.on("keydown",this.a11y.onEnterKey)),n&&(this.a11y.makeElFocusable(n),this.a11y.addElRole(n,"button"),this.a11y.addElLabel(n,e.prevSlideMessage),n.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy(){let e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},ne={init(){if(!this.params.history)return;if(!l.history||!l.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);const e=this.history;e.initialized=!0,e.paths=ne.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||l.addEventListener("popstate",this.history.setHistoryPopState))},destroy(){this.params.history.replaceState||l.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState(){this.history.paths=ne.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues(){const e=l.location.pathname.slice(1).split("/").filter(e=>""!==e),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory(e,t){if(!this.history.initialized||!this.params.history.enabled)return;const n=this.slides.eq(t);let i=ne.slugify(n.attr("data-history"));l.location.pathname.includes(e)||(i=`${e}/${i}`);const r=l.history.state;r&&r.value===i||(this.params.history.replaceState?l.history.replaceState({value:i},null,i):l.history.pushState({value:i},null,i))},slugify:e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),scrollToSlide(e,t,n){const i=this;if(t)for(let r=0,s=i.slides.length;r<s;r+=1){const s=i.slides.eq(r);if(ne.slugify(s.attr("data-history"))===t&&!s.hasClass(i.params.slideDuplicateClass)){const t=s.index();i.slideTo(t,e,n)}}else i.slideTo(0,e,n)}},ie={onHashCange(){const e=this;e.emit("hashChange");const t=a.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const n=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===n)return;e.slideTo(n)}},setHash(){const e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState)l.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||""),e.emit("hashSet");else{const t=e.slides.eq(e.activeIndex),n=t.attr("data-hash")||t.attr("data-history");a.location.hash=n||"",e.emit("hashSet")}},init(){const e=this;if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;e.hashNavigation.initialized=!0;const t=a.location.hash.replace("#","");if(t){const n=0;for(let i=0,r=e.slides.length;i<r;i+=1){const r=e.slides.eq(i);if((r.attr("data-hash")||r.attr("data-history"))===t&&!r.hasClass(e.params.slideDuplicateClass)){const t=r.index();e.slideTo(t,n,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&d(l).on("hashchange",e.hashNavigation.onHashCange)},destroy(){this.params.hashNavigation.watchState&&d(l).off("hashchange",this.hashNavigation.onHashCange)}},re={run(){const e=this,t=e.slides.eq(e.activeIndex);let n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=f.nextTick(()=>{e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,
1!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},n)},start(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},se={setTranslate(){const e=this,{slides:t}=e;for(let n=0;n<t.length;n+=1){const t=e.slides.eq(n);let i=-t[0].swiperSlideOffset;e.params.virtualTranslate||(i-=e.translate);let r=0;e.isHorizontal()||(r=i,i=0);const s=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:s}).transform(`translate3d(${i}px, ${r}px, 0px)`)}},setTransition(e){const t=this,{slides:n,$wrapperEl:i}=t;if(n.transition(e),t.params.virtualTranslate&&0!==e){let e=!1;n.transitionEnd(()=>{if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let e=0;e<n.length;e+=1)i.trigger(n[e])})}}},oe={setTranslate(){const{$el:e,$wrapperEl:t,slides:n,width:i,height:r,rtlTranslate:s,size:o}=this,a=this.params.cubeEffect,c=this.isHorizontal(),l=this.virtual&&this.params.virtual.enabled;let u,h=0;a.shadow&&(c?(u=t.find(".swiper-cube-shadow"),0===u.length&&(u=d('<div class="swiper-cube-shadow"></div>'),t.append(u)),u.css({height:i+"px"})):(u=e.find(".swiper-cube-shadow"),0===u.length&&(u=d('<div class="swiper-cube-shadow"></div>'),e.append(u))));for(let p=0;p<n.length;p+=1){const e=n.eq(p);let t=p;l&&(t=parseInt(e.attr("data-swiper-slide-index"),10));let i=90*t,r=Math.floor(i/360);s&&(i=-i,r=Math.floor(-i/360));const u=Math.max(Math.min(e[0].progress,1),-1);let f=0,g=0,m=0;t%4==0?(f=4*-r*o,m=0):(t-1)%4==0?(f=0,m=4*-r*o):(t-2)%4==0?(f=o+4*r*o,m=o):(t-3)%4==0&&(f=-o,m=3*o+4*o*r),s&&(f=-f),c||(g=f,f=0);const b=`rotateX(${c?0:-i}deg) rotateY(${c?i:0}deg) translate3d(${f}px, ${g}px, ${m}px)`;if(u<=1&&u>-1&&(h=90*t+90*u,s&&(h=90*-t-90*u)),e.transform(b),a.slideShadows){let t=e.find(c?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),n=e.find(c?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");0===t.length&&(t=d(`<div class="swiper-slide-shadow-${c?"left":"top"}"></div>`),e.append(t)),0===n.length&&(n=d(`<div class="swiper-slide-shadow-${c?"right":"bottom"}"></div>`),e.append(n)),t.length&&(t[0].style.opacity=Math.max(-u,0)),n.length&&(n[0].style.opacity=Math.max(u,0))}}if(t.css({"-webkit-transform-origin":`50% 50% -${o/2}px`,"-moz-transform-origin":`50% 50% -${o/2}px`,"-ms-transform-origin":`50% 50% -${o/2}px`,"transform-origin":`50% 50% -${o/2}px`}),a.shadow)if(c)u.transform(`translate3d(0px, ${i/2+a.shadowOffset}px, ${-i/2}px) rotateX(90deg) rotateZ(0deg) scale(${a.shadowScale})`);else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=a.shadowScale/t;u.transform(`scale3d(${a.shadowScale}, 1, ${n}) translate3d(0px, ${r/2+a.shadowOffset}px, ${-r/2/n}px) rotateX(-90deg)`)}t.transform(`translate3d(0px,0,${R.isSafari||R.isWebView?-o/2:0}px) rotateX(${this.isHorizontal()?0:h}deg) rotateY(${this.isHorizontal()?-h:0}deg)`)},setTransition(e){const{$el:t,slides:n}=this;n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ae={setTranslate(){const e=this,{slides:t,rtlTranslate:n}=e;for(let i=0;i<t.length;i+=1){const r=t.eq(i);let s=r[0].progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(r[0].progress,
11),-1));let o=-180*s,a=0,c=-r[0].swiperSlideOffset,l=0;if(e.isHorizontal()?n&&(o=-o):(l=c,c=0,a=-o,o=0),r[0].style.zIndex=-Math.abs(Math.round(s))+t.length,e.params.flipEffect.slideShadows){let t=e.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),n=e.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===t.length&&(t=d(`<div class="swiper-slide-shadow-${e.isHorizontal()?"left":"top"}"></div>`),r.append(t)),0===n.length&&(n=d(`<div class="swiper-slide-shadow-${e.isHorizontal()?"right":"bottom"}"></div>`),r.append(n)),t.length&&(t[0].style.opacity=Math.max(-s,0)),n.length&&(n[0].style.opacity=Math.max(s,0))}r.transform(`translate3d(${c}px, ${l}px, 0px) rotateX(${a}deg) rotateY(${o}deg)`)}},setTransition(e){const t=this,{slides:n,activeIndex:i,$wrapperEl:r}=t;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){let e=!1;n.eq(i).transitionEnd((function(){if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let e=0;e<n.length;e+=1)r.trigger(n[e])}))}}},ce={setTranslate(){const{width:e,height:t,slides:n,$wrapperEl:i,slidesSizesGrid:r}=this,s=this.params.coverflowEffect,o=this.isHorizontal(),a=this.translate,c=o?e/2-a:t/2-a,l=o?s.rotate:-s.rotate,u=s.depth;for(let h=0,p=n.length;h<p;h+=1){const e=n.eq(h),t=r[h],i=(c-e[0].swiperSlideOffset-t/2)/t*s.modifier;let a=o?l*i:0,p=o?0:l*i,f=-u*Math.abs(i),g=s.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(s.stretch)/100*t);let m=o?0:g*i,b=o?g*i:0,v=1-(1-s.scale)*Math.abs(i);if(Math.abs(b)<.001&&(b=0),Math.abs(m)<.001&&(m=0),Math.abs(f)<.001&&(f=0),Math.abs(a)<.001&&(a=0),Math.abs(p)<.001&&(p=0),Math.abs(v)<.001&&(v=0),e.transform(`translate3d(${b}px,${m}px,${f}px)  rotateX(${p}deg) rotateY(${a}deg) scale(${v})`),e[0].style.zIndex=1-Math.abs(Math.round(i)),s.slideShadows){let t=e.find(o?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),n=e.find(o?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");0===t.length&&(t=d(`<div class="swiper-slide-shadow-${o?"left":"top"}"></div>`),e.append(t)),0===n.length&&(n=d(`<div class="swiper-slide-shadow-${o?"right":"bottom"}"></div>`),e.append(n)),t.length&&(t[0].style.opacity=i>0?i:0),n.length&&(n[0].style.opacity=-i>0?-i:0)}}(g.pointerEvents||g.prefixedPointerEvents)&&(i[0].style.perspectiveOrigin=c+"px 50%")},setTransition(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},le={init(){const{thumbs:e}=this.params,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,f.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),f.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):f.isObject(e.swiper)&&(this.thumbs.swiper=new t(f.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick(){const e=this,t=e.thumbs.swiper;if(!t)return;const n=t.clickedIndex,i=t.clickedSlide;if(i&&d(i).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==n)return;let r;if(r=t.params.loop?parseInt(d(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const n=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),i=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===n?i:void 0===i?n:i-t<t-n?i:n}e.slideTo(r)},update(e){const t=this,n=t.thumbs.swiper;if(!n)return;const i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,r=t.params.thumbs.autoScrollOffset,s=r&&!n.params.loop;if(t.realIndex!==n.realIndex||s){let o,a,c=n.activeIndex;if(n.params.loop){n.slides.eq(c).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,c=n.activeIndex);const e=n.slides.eq(c).prevAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(),i=n.slides.eq(c).nextAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index();o=void 0===e?i:void 0===i?e:i-c==c-e?c:i-c<c-e?i:e,a=t.activeIndex>t.previousIndex?"next":"prev"}else o=t.realIndex,a=o>t.previousIndex?"next":"prev";s&&(o+="next"===a?r:-1*r),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(o)<0&&(n.params.centeredSlides?o=o>c?o-Math.floor(i/2)+1:o+Math.floor(i/2)-1:o>c&&(o=o-i+1),n.slideTo(o,e?0:void 0))}let o=1;const a=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(o=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(o=1),o=Math.floor(o),n.slides.removeClass(a),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let c=0;c<o;c+=1)n.$wrapperEl.children(`[data-swiper-slide-index="${t.realIndex+c}"]`).addClass(a);else for(let c=0;c<o;c+=1)n.slides.eq(t.realIndex+c).addClass(a)}},ue=[L,N,F,V,H,$,W,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create(){f.extend(this,{mousewheel:{enabled:!1,enable:G.enable.bind(this),disable:G.disable.bind(this),handle:G.handle.bind(this),handleMouseEnter:G.handleMouseEnter.bind(this),handleMouseLeave:G.handleMouseLeave.bind(this),animateSlider:G.animateSlider.bind(this),releaseScroll:G.releaseScroll.bind(this),lastScrollTime:f.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init(){!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(),this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy(){this.params.cssMode&&this.mousewheel.enable(),this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create(){f.extend(this,{navigation:{init:X.init.bind(this),update:X.update.bind(this),destroy:X.destroy.bind(this),onNextClick:X.onNextClick.bind(this),onPrevClick:X.onPrevClick.bind(this)}})},on:{init(){this.navigation.init(),this.navigation.update()},toEdge(){this.navigation.update()},fromEdge(){this.navigation.update()},destroy(){this.navigation.destroy()},click(e){const t=this,{$nextEl:n,$prevEl:i}=t.navigation;if(t.params.navigation.hideOnClick&&!d(e.target).is(i)&&!d(e.target).is(n)){let e;n?e=n.hasClass(t.params.navigation.hiddenClass):i&&(e=i.hasClass(t.params.navigation.hiddenClass)),t.emit(!0===e?"navigationShow":"navigationHide",t),n&&n.toggleClass(t.params.navigation.hiddenClass),i&&i.toggleClass(t.params.navigation.hiddenClass)}}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create(){f.extend(this,{pagination:{init:Z.init.bind(this),render:Z.render.bind(this),update:Z.update.bind(this),destroy:Z.destroy.bind(this),dynamicBulletIndex:0}})},on:{init(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange(){this.params.loop||this.pagination.update()},slidesLengthChange(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy(){this.pagination.destroy()},click(e){const t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!d(e.target).hasClass(t.params.pagination.bulletClass)){const e=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);t.emit(!0===e?"paginationShow":"paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create(){f.extend(this,{scrollbar:{init:Y.init.bind(this),destroy:Y.destroy.bind(this),updateSize:Y.updateSize.bind(this),setTranslate:Y.setTranslate.bind(this),setTransition:Y.setTransition.bind(this),enableDraggable:Y.enableDraggable.bind(this),disableDraggable:Y.disableDraggable.bind(this),setDragPosition:Y.setDragPosition.bind(this),getPointerPosition:Y.getPointerPosition.bind(this),onDragStart:Y.onDragStart.bind(this),onDragMove:Y.onDragMove.bind(this),onDragEnd:Y.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update(){this.scrollbar.updateSize()},resize(){this.scrollbar.updateSize()},observerUpdate(){this.scrollbar.updateSize()},setTranslate(){this.scrollbar.setTranslate()},setTransition(e){this.scrollbar.setTransition(e)},destroy(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create(){f.extend(this,{parallax:{setTransform:Q.setTransform.bind(this),setTranslate:Q.setTranslate.bind(this),setTransition:Q.setTransition.bind(this)}})},on:{beforeInit(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create(){const e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(n=>{t[n]=K[n].bind(e)}),f.extend(e,{zoom:t});let n=1;Object.defineProperty(e.zoom,"scale",{get:()=>n,set(t){n!==t&&e.emit("zoomChange",t,e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0),n=t}})},on:{init(){this.params.zoom.enabled&&this.zoom.enable()},destroy(){this.zoom.disable()},touchStart(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create(){f.extend(this,{lazy:{initialImageLoaded:!1,load:J.load.bind(this),loadInSlide:J.loadInSlide.bind(this)}})},on:{beforeInit(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove(){this.params.lazy.enabled&&this.lazy.load()},transitionStart(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create(){f.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:ee.getInterpolateFunction.bind(this),setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})}
1,on:{update(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create(){const e=this;f.extend(e,{a11y:{liveRegion:d(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)}}),Object.keys(te).forEach(t=>{e.a11y[t]=te[t].bind(e)})},on:{init(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create(){f.extend(this,{history:{init:ne.init.bind(this),setHistory:ne.setHistory.bind(this),setHistoryPopState:ne.setHistoryPopState.bind(this),scrollToSlide:ne.scrollToSlide.bind(this),destroy:ne.destroy.bind(this)}})},on:{init(){this.params.history.enabled&&this.history.init()},destroy(){this.params.history.enabled&&this.history.destroy()},transitionEnd(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create(){f.extend(this,{hashNavigation:{initialized:!1,init:ie.init.bind(this),destroy:ie.destroy.bind(this),setHash:ie.setHash.bind(this),onHashCange:ie.onHashCange.bind(this)}})},on:{init(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create(){const e=this;f.extend(e,{autoplay:{running:!1,paused:!1,run:re.run.bind(e),start:re.start.bind(e),stop:re.stop.bind(e),pause:re.pause.bind(e),onVisibilityChange(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create(){f.extend(this,{fadeEffect:{setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{beforeInit(){if("fade"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"fade");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};f.extend(this.params,e),f.extend(this.originalParams,e)},setTranslate(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create(){f.extend(this,{cubeEffect:{setTranslate:oe.setTranslate.bind(this),setTransition:oe.setTransition.bind(this)}})},on:{beforeInit(){if("cube"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};f.extend(this.params,e),f.extend(this.originalParams,e)},setTranslate(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create(){f.extend(this,{flipEffect:{setTranslate:ae.setTranslate.bind(this),setTransition:ae.setTransition.bind(this)}})},on:{beforeInit(){if("flip"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};f.extend(this.params,e),f.extend(this.originalParams,e)},setTranslate(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create(){f.extend(this,{coverflowEffect:{setTranslate:ce.setTranslate.bind(this),setTransition:ce.setTransition.bind(this)}})},on:{beforeInit(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create(){f.extend(this,{thumbs:{swiper:null,init:le.init.bind(this),update:le.update.bind(this),onThumbClick:le.onThumbClick.bind(this)}})},on:{beforeInit(){const{thumbs:e}=this.params;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange(){this.thumbs.swiper&&this.thumbs.update()},update(){this.thumbs.swiper&&this.thumbs.update()},resize(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate(){this.thumbs.swiper&&this.thumbs.update()},setTransition(e){const t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy(){const e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===z.use&&(z.use=z.Class.use,z.installModule=z.Class.installModule),z.use(ue);var de=z;const he=["swiperSlides"],pe=["*"],fe=new i.v("SWIPER_CONFIG"),ge=["init","beforeDestroy","scroll","progress","keyPress","resize","loopFix","breakpoint","zoomChange","beforeResize","beforeLoopFix","sliderMove","slideChange","setTranslate","setTransition","fromEdge","reachEnd","reachBeginning","autoplay","autoplayStop","auto
1playStart","imagesReady","lazyImageLoad","lazyImageReady","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","navigationHide","navigationShow","paginationRender","paginationUpdate","paginationHide","paginationShow","swiperTap","swiperClick","swiperDoubleTap","swiperTouchEnd","swiperTouchMove","swiperTouchStart","swiperTouchMoveOpposite","swiperTransitionEnd","swiperTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideChangeTransitionEnd","slideChangeTransitionStart"];class me{constructor(e={}){this.assign(e)}assign(e={},t){t=t||this;for(const n in e)null==e[n]||Array.isArray(e[n])||"object"!=typeof e[n]||"undefined"!=typeof HTMLElement&&e[n]instanceof HTMLElement?t[n]=e[n]:(t[n]={},this.assign(e[n],t[n]))}}let be=(()=>{let e=class{constructor(e,t,n,r,s){this.platformId=e,this.zone=t,this.elementRef=n,this.differs=r,this.defaults=s,this.initialIndex=null,this.configDiff=null,this.disabled=!1,this.performance=!1,this.indexChange=new i.s,this.S_INIT=new i.s,this.S_BEFOREDESTROY=new i.s,this.S_SCROLL=new i.s,this.S_PROGRESS=new i.s,this.S_KEYPRESS=new i.s,this.S_RESIZE=new i.s,this.S_BREAKPOINT=new i.s,this.S_ZOOMCHANGE=new i.s,this.S_AFTERRESIZE=new i.s,this.S_BEFORERESIZE=new i.s,this.S_LOOPFIX=new i.s,this.S_BEFORELOOPFIX=new i.s,this.S_SLIDERMOVE=new i.s,this.S_SLIDECHANGE=new i.s,this.S_SETTRANSLATE=new i.s,this.S_SETTRANSITION=new i.s,this.S_FROMEDGE=new i.s,this.S_REACHEND=new i.s,this.S_REACHBEGINNING=new i.s,this.S_AUTOPLAY=new i.s,this.S_AUTOPLAYSTART=new i.s,this.S_AUTOPLAYSTOP=new i.s,this.S_IMAGESREADY=new i.s,this.S_LAZYIMAGELOAD=new i.s,this.S_LAZYIMAGEREADY=new i.s,this.S_SCROLLDRAGEND=new i.s,this.S_SCROLLDRAGMOVE=new i.s,this.S_SCROLLDRAGSTART=new i.s,this.S_NAVIGATIONHIDE=new i.s,this.S_NAVIGATIONSHOW=new i.s,this.S_PAGINATIONRENDER=new i.s,this.S_PAGINATIONUPDATE=new i.s,this.S_PAGINATIONHIDE=new i.s,this.S_PAGINATIONSHOW=new i.s,this.S_TAP=new i.s,this.S_CLICK=new i.s,this.S_DOUBLETAP=new i.s,this.S_TOUCHEND=new i.s,this.S_TOUCHMOVE=new i.s,this.S_TOUCHSTART=new i.s,this.S_TOUCHMOVEOPPOSITE=new i.s,this.S_TRANSITIONEND=new i.s,this.S_TRANSITIONSTART=new i.s,this.S_SLIDEPREVTRANSITIONEND=new i.s,this.S_SLIDEPREVTRANSITIONSTART=new i.s,this.S_SLIDENEXTTRANSITIONEND=new i.s,this.S_SLIDENEXTTRANSITIONSTART=new i.s,this.S_SLIDECHANGETRANSITIONEND=new i.s,this.S_SLIDECHANGETRANSITIONSTART=new i.s}set index(e){null!=e&&this.setIndex(e)}ngAfterViewInit(){if(!Object(r.O)(this.platformId))return;const e=new me(this.defaults);e.assign(this.config),!0===e.scrollbar&&(e.scrollbar={el:".swiper-scrollbar"}),!0===e.pagination&&(e.pagination={el:".swiper-pagination"}),!0===e.navigation&&(e.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}),this.disabled&&(e.allowSlidePrev=!1,e.allowSlideNext=!1),null!=this.initialIndex&&(e.initialSlide=this.initialIndex,this.initialIndex=null),e.on={slideChange:()=>{this.instance&&this.indexChange.observers.length&&this.emit(this.indexChange,this.instance.realIndex)}},this.zone.runOutsideAngular(()=>{this.instance=new de(this.elementRef.nativeElement,e)}),!1!==e.init&&this.S_INIT.observers.length&&this.emit(this.S_INIT,this.instance),ge.forEach(e=>{let t=e.replace("swiper","");t=t.charAt(0).toLowerCase()+t.slice(1),this.instance.on(t,(...e)=>{1===e.length&&(e=e[0]);const n=this["S_"+t.toUpperCase()];n.observers.length&&this.emit(n,e)})}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{}))}ngOnDestroy(){this.instance&&(this.zone.runOutsideAngular(()=>{this.instance.destroy(!0,this.instance.initialized||!1)}),this.instance=null)}ngDoCheck(){this.configDiff&&this.configDiff.diff(this.config||{})&&(this.initialIndex=this.getIndex(!0),this.ngOnDestroy(),this.ngAfterViewInit(),this.update())}ngOnChanges(e){this.instance&&e.disabled&&e.disabled.currentValue!==e.disabled.previousValue&&(!0===e.disabled.currentValue||!1===e.disabled.currentValue)&&this.zone.runOutsideAngular(()=>{this.ngOnDestroy(),this.ngAfterViewInit()})}emit(e,t){this.performance?e.emit(t):this.zone.run(()=>e.emit(t))}swiper(){return this.instance}init(){this.instance&&this.zone.runOutsideAngular(()=>{this.instance.init()})}update(){setTimeout(()=>{this.instance&&this.zone.runOutsideAngular(()=>
1{this.instance.update()})},0)}getIndex(e){return this.instance?e?this.instance.realIndex:this.instance.activeIndex:this.initialIndex||0}setIndex(e,t,n){if(this.instance){let i=e*this.instance.params.slidesPerGroup;this.instance.params.loop&&(i+=this.instance.loopedSlides),this.zone.runOutsideAngular(()=>{this.instance.slideTo(i,t,!n)})}else this.initialIndex=e}prevSlide(e,t){this.instance&&this.zone.runOutsideAngular(()=>{this.instance.slidePrev(e,!t)})}nextSlide(e,t){this.instance&&this.zone.runOutsideAngular(()=>{this.instance.slideNext(e,!t)})}stopAutoplay(e){e&&this.setIndex(0),this.instance&&this.instance.autoplay&&this.zone.runOutsideAngular(()=>{this.instance.autoplay.stop()})}startAutoplay(e){e&&this.setIndex(0),this.instance&&this.instance.autoplay&&this.zone.runOutsideAngular(()=>{this.instance.autoplay.start()})}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.I),i.yc(i.F),i.yc(i.q),i.yc(i.y),i.yc(fe,8))},e.\u0275dir=i.tc({type:e,selectors:[["","swiper",""]],inputs:{disabled:"disabled",performance:"performance",index:"index",config:["swiper","config"]},outputs:{indexChange:"indexChange",S_INIT:"init",S_BEFOREDESTROY:"beforeDestroy",S_SCROLL:"scroll",S_PROGRESS:"progress",S_KEYPRESS:"keyPress",S_RESIZE:"resize",S_BREAKPOINT:"breakpoint",S_ZOOMCHANGE:"zoomChange",S_AFTERRESIZE:"afterResize",S_BEFORERESIZE:"beforeResize",S_LOOPFIX:"loopFix",S_BEFORELOOPFIX:"beforeLoopFix",S_SLIDERMOVE:"sliderMove",S_SLIDECHANGE:"slideChange",S_SETTRANSLATE:"setTranslate",S_SETTRANSITION:"setTransition",S_FROMEDGE:"fromEdge",S_REACHEND:"reachEnd",S_REACHBEGINNING:"reachBeginning",S_AUTOPLAY:"autoplay",S_AUTOPLAYSTART:"autoplayStart",S_AUTOPLAYSTOP:"autoplayStop",S_IMAGESREADY:"imagesReady",S_LAZYIMAGELOAD:"lazyImageLoad",S_LAZYIMAGEREADY:"lazyImageReady",S_SCROLLDRAGEND:"scrollDragEnd",S_SCROLLDRAGMOVE:"scrollDragMove",S_SCROLLDRAGSTART:"scrollDragStart",S_NAVIGATIONHIDE:"navigationHide",S_NAVIGATIONSHOW:"navigationShow",S_PAGINATIONRENDER:"paginationRender",S_PAGINATIONUPDATE:"paginationUpdate",S_PAGINATIONHIDE:"paginationHide",S_PAGINATIONSHOW:"paginationShow",S_TAP:"swiperTap",S_CLICK:"swiperClick",S_DOUBLETAP:"swiperDoubleTap",S_TOUCHEND:"swiperTouchEnd",S_TOUCHMOVE:"swiperTouchMove",S_TOUCHSTART:"swiperTouchStart",S_TOUCHMOVEOPPOSITE:"swiperTouchMoveOpposite",S_TRANSITIONEND:"swiperTransitionEnd",S_TRANSITIONSTART:"swiperTransitionStart",S_SLIDEPREVTRANSITIONEND:"slidePrevTransitionEnd",S_SLIDEPREVTRANSITIONSTART:"slidePrevTransitionStart",S_SLIDENEXTTRANSITIONEND:"slideNextTransitionEnd",S_SLIDENEXTTRANSITIONSTART:"slideNextTransitionStart",S_SLIDECHANGETRANSITIONEND:"slideChangeTransitionEnd",S_SLIDECHANGETRANSITIONSTART:"slideChangeTransitionStart"},exportAs:["ngxSwiper"],features:[i.hc]}),e})(),ve=(()=>{let e=class{constructor(e,t,n,r){this.zone=e,this.cdRef=t,this.platformId=n,this.defaults=r,this.mo=null,this.swiperConfig=null,this.paginationBackup=null,this.paginationConfig=null,this.index=null,this.disabled=!1,this.performance=!1,this.useSwiperClass=!0,this.indexChange=new i.s,this.S_INIT=new i.s,this.S_BEFOREDESTROY=new i.s,this.S_SCROLL=new i.s,this.S_PROGRESS=new i.s,this.S_KEYPRESS=new i.s,this.S_RESIZE=new i.s,this.S_BREAKPOINT=new i.s,this.S_ZOOMCHANGE=new i.s,this.S_AFTERRESIZE=new i.s,this.S_BEFORERESIZE=new i.s,this.S_BEFORELOOPFIX=new i.s,this.S_LOOPFIX=new i.s,this.S_SLIDERMOVE=new i.s,this.S_SLIDECHANGE=new i.s,this.S_SETTRANSLATE=new i.s,this.S_SETTRANSITION=new i.s,this.S_FROMEDGE=new i.s,this.S_REACHEND=new i.s,this.S_REACHBEGINNING=new i.s,this.S_AUTOPLAY=new i.s,this.S_AUTOPLAYSTART=new i.s,this.S_AUTOPLAYSTOP=new i.s,this.S_IMAGESREADY=new i.s,this.S_LAZYIMAGELOAD=new i.s,this.S_LAZYIMAGEREADY=new i.s,this.S_SCROLLDRAGEND=new i.s,this.S_SCROLLDRAGMOVE=new i.s,this.S_SCROLLDRAGSTART=new i.s,this.S_NAVIGATIONHIDE=new i.s,this.S_NAVIGATIONSHOW=new i.s,this.S_PAGINATIONRENDER=new i.s,this.S_PAGINATIONUPDATE=new i.s,this.S_PAGINATIONHIDE=new i.s,this.S_PAGINATIONSHOW=new i.s,this.S_TAP=new i.s,this.S_CLICK=new i.s,this.S_DOUBLETAP=new i.s,this.S_TOUCHEND=new i.s,this.S_TOUCHMOVE=new i.s,this.S_TOUC
1HSTART=new i.s,this.S_TOUCHMOVEOPPOSITE=new i.s,this.S_TRANSITIONEND=new i.s,this.S_TRANSITIONSTART=new i.s,this.S_SLIDEPREVTRANSITIONEND=new i.s,this.S_SLIDEPREVTRANSITIONSTART=new i.s,this.S_SLIDENEXTTRANSITIONEND=new i.s,this.S_SLIDENEXTTRANSITIONSTART=new i.s,this.S_SLIDECHANGETRANSITIONEND=new i.s,this.S_SLIDECHANGETRANSITIONSTART=new i.s}get isAtLast(){return!(!this.directiveRef||!this.directiveRef.swiper())&&this.directiveRef.swiper().isEnd}get isAtFirst(){return!(!this.directiveRef||!this.directiveRef.swiper())&&this.directiveRef.swiper().isBeginning}ngAfterViewInit(){Object(r.O)(this.platformId)&&(this.zone.runOutsideAngular(()=>{this.updateClasses(),this.swiperSlides&&"undefined"!=typeof MutationObserver&&(this.mo=new MutationObserver(()=>{this.updateClasses()}),this.mo.observe(this.swiperSlides.nativeElement,{childList:!0}))}),window.setTimeout(()=>{this.directiveRef&&(this.S_INIT.emit(),this.directiveRef.indexChange=this.indexChange,ge.forEach(e=>{if(this.directiveRef){const t="S_"+e.replace("swiper","").toUpperCase();this.directiveRef[t]=this[t]}}))},0))}ngOnDestroy(){this.mo&&this.mo.disconnect(),this.config&&this.paginationBackup&&(this.config.pagination=this.paginationBackup)}getConfig(){return this.swiperConfig=new me(this.defaults),this.swiperConfig.assign(this.config),!this.swiperSlides||!0!==this.swiperConfig.pagination&&(!this.swiperConfig.pagination||"object"!=typeof this.swiperConfig.pagination||this.swiperConfig.pagination.type&&"bullets"!==this.swiperConfig.pagination.type||this.swiperConfig.pagination.renderBullet||".swiper-pagination"!==this.swiperConfig.pagination.el)||(this.config=this.config||{},this.paginationConfig||(this.paginationBackup=this.config.pagination,this.paginationConfig={el:".swiper-pagination",renderBullet:(e,t)=>{let n=this.swiperSlides?Array.from(this.swiperSlides.nativeElement.children):[];n=n.filter(e=>e.classList.contains("swiper-slide"));let i=`<span class="${t} ${t}-middle" index="${e}"></span>`;return 0===e?i=`<span class="${t} ${t}-first" index="${e}"></span>`:e===n.length-1&&(i=`<span class="${t} ${t}-last" index="${e}"></span>`),`<span class="swiper-pagination-handle" index="${e}">${i}</span>`}}),this.config.pagination=!0===this.swiperConfig.pagination?this.paginationConfig:Object.assign({},this.config.pagination,this.paginationConfig)),this.config}
1updateClasses(){if(this.swiperSlides){let e=!1;const t=this.swiperSlides.nativeElement.children;for(let n=0;n<t.length;n++)!1===/swiper-.*/.test(t[n].className)&&(e=!0,t[n].classList.add("swiper-slide"));e&&this.directiveRef&&this.directiveRef.update()}this.cdRef.detectChanges()}onPaginationClick(e){this.config&&this.directiveRef&&(!0===this.config.pagination||this.config.pagination&&"object"==typeof this.config.pagination&&(!this.config.pagination.type||"bullets"===this.config.pagination.type)&&this.config.pagination.clickable&&".swiper-pagination"===this.config.pagination.el)&&this.directiveRef.setIndex(e)}};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.F),i.yc(i.j),i.yc(i.I),i.yc(fe,8))},e.\u0275cmp=i.sc({type:e,selectors:[["swiper"]],viewQuery:function(e,t){var n;1&e&&(i.Dd(he,!0),i.Dd(be,!0)),2&e&&(i.jd(n=i.Rc())&&(t.swiperSlides=n.first),i.jd(n=i.Rc())&&(t.directiveRef=n.first))},inputs:{index:"index",disabled:"disabled",performance:"performance",useSwiperClass:"useSwiperClass",config:"config"},outputs:{indexChange:"indexChange",S_INIT:"init",S_BEFOREDESTROY:"beforeDestroy",S_SCROLL:"scroll",S_PROGRESS:"progress",S_KEYPRESS:"keyPress",S_RESIZE:"resize",S_BREAKPOINT:"breakpoint",S_ZOOMCHANGE:"zoomChange",S_AFTERRESIZE:"afterResize",S_BEFORERESIZE:"beforeResize",S_BEFORELOOPFIX:"beforeLoopFix",S_LOOPFIX:"loopFix",S_SLIDERMOVE:"sliderMove",S_SLIDECHANGE:"slideChange",S_SETTRANSLATE:"setTranslate",S_SETTRANSITION:"setTransition",S_FROMEDGE:"fromEdge",S_REACHEND:"reachEnd",S_REACHBEGINNING:"reachBeginning",S_AUTOPLAY:"autoplay",S_AUTOPLAYSTART:"autoplayStart",S_AUTOPLAYSTOP:"autoplayStop",S_IMAGESREADY:"imagesReady",S_LAZYIMAGELOAD:"lazyImageLoad",S_LAZYIMAGEREADY:"lazyImageReady",S_SCROLLDRAGEND:"scrollDragEnd",S_SCROLLDRAGMOVE:"scrollDragMove",S_SCROLLDRAGSTART:"scrollDragStart",S_NAVIGATIONHIDE:"navigationHide",S_NAVIGATIONSHOW:"navigationShow",S_PAGINATIONRENDER:"paginationRender",S_PAGINATIONUPDATE:"paginationUpdate",S_PAGINATIONHIDE:"paginationHide",S_PAGINATIONSHOW:"paginationShow",S_TAP:"swiperTap",S_CLICK:"swiperClick",S_DOUBLETAP:"swiperDoubleTap",S_TOUCHEND:"swiperTouchEnd",S_TOUCHMOVE:"swiperTouchMove",S_TOUCHSTART:"swiperTouchStart",S_TOUCHMOVEOPPOSITE:"swiperTouchMoveOpposite",S_TRANSITIONEND:"swiperTransitionEnd",S_TRANSITIONSTART:"swiperTransitionStart",S_SLIDEPREVTRANSITIONEND:"slidePrevTransitionEnd",S_SLIDEPREVTRANSITIONSTART:"slidePrevTransitionStart",S_SLIDENEXTTRANSITIONEND:"slideNextTransitionEnd",S_SLIDENEXTTRANSITIONSTART:"slideNextTransitionStart",S_SLIDECHANGETRANSITIONEND:"slideChangeTransitionEnd",S_SLIDECHANGETRANSITIONSTART:"slideChangeTransitionStart"},exportAs:["ngxSwiper"],ngContentSelectors:pe,decls:9,vars:14,consts:[[1,"s-wrapper",3,"swiper","index","disabled","performance"],["swiper",""],[1,"swiper-wrapper"],["swiperSlides",""],[1,"swiper-scrollbar",3,"hidden"],[1,"swiper-button-prev",3,"hidden"],[1,"swiper-button-next",3,"hidden"],[1,"swiper-pagination",3,"hidden","click","keyup.enter"]],template:function(e,t){1&e&&(i.ad(),i.Ec(0,"div",0,1),i.Ec(2,"div",2,3),i.Zc(4),i.Dc(),i.zc(5,"div",4),i.zc(6,"div",5),i.zc(7,"div",6),i.Ec(8,"div",7),i.Qc("click",(function(e){return t.onPaginationClick(e.target.getAttribute("index"))}))("keyup.enter",(function(e){return t.onPaginationClick(e.target.getAttribute("index"))})),i.Dc(),i.Dc()),2&e&&(i.pc("swiper",t.useSwiperClass)("swiper-container",t.useSwiperClass),i.bd("swiper",t.getConfig())("index",t.index)("disabled",t.disabled)("performance",t.performance),i.jc(5),i.bd("hidden",!(null!=t.swiperConfig&&t.swiperConfig.scrollbar)||!0!==(null==t.swiperConfig?null:t.swiperConfig.scrollbar)&&!(null==t.swiperConfig||null==t.swiperConfig.scrollbar||!t.swiperConfig.scrollbar.el)&&".swiper-scrollbar"!==(null==t.swiperConfig||null==t.swiperConfig.scrollbar?null:t.swiperConfig.scrollbar.el)),i.jc(1),i.bd("hidden",!(null!=t.swiperConfig&&t.swiperConfig.navigation)||!0!==(null==t.swiperConfig?null:t.swiperConfig.navigation)&&!(null==t.swiperConfig||null==t.swiperConfig.navigation||!t.swiperConfig.navigation.prevEl)&&".swiper-button-prev"!==(null==t.swiperConfig||null==t.swiperConfig.navigation?null:t.swiperConfig.navigation.prevEl)),i.kc("disabled",t.isAtFirst||null),i.jc(1),i.bd("hidden",!(null!=t.swiperConfig&&t.swiperConfig.navigation)||!0!==(null==t.swiperConfig?null:t.swiperConfig.navigation)&&!(null==t.swiperConfig||null==t.swiperConfig.navigation||!t.swiperConfig.navigation.nextEl)&&".swiper-button-next"!==(null==t.swiperConfig||null==t.swiperConfig.navigation?null:t.swiperConfig.navigation.nextEl)),i.kc("disabled",t.isAtLast||null),i.jc(1),i.bd("hidden",!(null!=t.swiperConfig&&t.swiperConfig.pagination)||!0!==(null==t.swiperConfig?null:t.swiperConfig.pagination)&&!(null==t.swiperConfig||null==t.swiperConfig.pagination||!t.swiperConfig.pagination.el)&&".swiper-pagination"!==(null==t.swiperConfig||null==t.swiperConfig.pagination?null:t.swiperConfig.pagination.el)))},directives:[be],styles:["swiper[fxflex]{display:-webkit-box;display:flex;flex-direction:inherit;min-width:0;min-height:0;-webkit-box-direction:inherit;-webkit-box-orient:inherit}swiper[fxflex]>.swiper.s-wrapper{flex:1 1 auto;min-width:0;min-height:0;-webkit-box-flex:1}swiper>.swiper.s-wrapper{width:100%;height:100%}
1swiper>.swiper.s-wrapper .swiper-wrapper .swiper-slide{will-change:transform;overflow:auto;width:100%;height:100%;max-width:100%;max-height:100%}swiper>.swiper.s-wrapper .swiper-pagination{pointer-events:none}swiper>.swiper.s-wrapper .swiper-pagination .swiper-pagination-handle{position:relative;display:inline-block;padding:4px;margin:2px;cursor:pointer;pointer-events:all}swiper>.swiper.s-wrapper .swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet{display:inline-block;margin:0;pointer-events:none}swiper>.swiper.s-wrapper .swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-first,swiper>.swiper.s-wrapper .swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-last{border:1px solid rgba(0,0,0,.5)}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-button-prev{top:10px;left:50%;margin-top:0;margin-left:-13px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-button-next{top:auto;bottom:10px;left:50%;margin-top:0;margin-left:-13px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-scrollbar{width:8px;-webkit-transition:width 250ms ease-in-out;transition:width 250ms ease-in-out}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-scrollbar:hover{width:16px}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-pagination .swiper-pagination-handle{display:block}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet{display:inline-block}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-first,swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-last{margin:0 -1px}swiper>.swiper.s-wrapper.swiper-container-horizontal>.swiper-scrollbar{height:8px;-webkit-transition:height 250ms ease-in-out;transition:height 250ms ease-in-out}swiper>.swiper.s-wrapper.swiper-container-horizontal>.swiper-scrollbar:hover{height:16px}swiper>.swiper.s-wrapper.swiper-container-horizontal>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-first,swiper>.swiper.s-wrapper.swiper-container-horizontal>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-last{margin:-1px 0}","@font-face{font-family:swiper-icons;src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMk
1pFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;--swiper-navigation-size:44px}.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:flex;-webkit-transition-property:-webkit-transform;transition-property:transform,-webkit-transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);
1height:var(--swiper-navigation-size);margin-top:calc(-1 * var(--swiper-navigation-size)/ 2);z-index:10;cursor:pointer;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:'next'}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:opacity .3s;transition:opacity .3s;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
1.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:transform .2s,top .2s;transition:transform .2s,top .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:transform .2s,left .2s;transition:transform .2s,left .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:transform .2s,right .2s;transition:transform .2s,right .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#ffffff}.swiper-pagination-black{--swiper-pagination-color:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;
1left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:1s linear infinite swiper-preloader-spin;animation:1s linear infinite swiper-preloader-spin;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}"],encapsulation:2}),e})(),we=(()=>{let e=class{};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[r.c],r.c]}),e})()},oSzE:function(e,t,n){"use strict";var i=n("nLtN"),r=n("3cmB"),s=n("DlmY");function o(e){var t=this.__data__=new i.a(e);this.size=t.size}o.prototype.clear=function(){this.__data__=new i.a,this.size=0},o.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},o.prototype.get=function(e){return this.__data__.get(e)},o.prototype.has=function(e){return this.__data__.has(e)},o.prototype.set=function(e,t){var n=this.__data__;if(n instanceof i.a){var o=n.__data__;if(!r.a||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new s.a(o)}return n.set(e,t),this.size=n.size,this},t.a=o},oYcn:function(e,t,n){"use strict";var i=n("8M4i"),r=n("Js68"),s=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 a=n("ovuK"),c=n("xutz"),l=c.a&&c.a.isTypedArray,u=l?Object(a.a)(l):function(e){return Object(s.a)(e)&&Object(r.a)(e.length)&&!!o[Object(i.a)(e)]};t.a=u},ofXK:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}
1)),n.d(t,"b",(function(){return Ne})),n.d(t,"c",(function(){return tt})),n.d(t,"d",(function(){return Qe})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return He})),n.d(t,"g",(function(){return Ze})),n.d(t,"h",(function(){return M})),n.d(t,"i",(function(){return _})),n.d(t,"j",(function(){return $e})),n.d(t,"k",(function(){return qe})),n.d(t,"l",(function(){return We})),n.d(t,"m",(function(){return Ge})),n.d(t,"n",(function(){return d})),n.d(t,"o",(function(){return x})),n.d(t,"p",(function(){return v})),n.d(t,"q",(function(){return Re})),n.d(t,"r",(function(){return me})),n.d(t,"s",(function(){return be})),n.d(t,"t",(function(){return we})),n.d(t,"u",(function(){return Ce})),n.d(t,"v",(function(){return ke})),n.d(t,"w",(function(){return Me})),n.d(t,"x",(function(){return Ie})),n.d(t,"y",(function(){return Se})),n.d(t,"z",(function(){return Ee})),n.d(t,"A",(function(){return Pe})),n.d(t,"B",(function(){return De})),n.d(t,"C",(function(){return C})),n.d(t,"D",(function(){return Ye})),n.d(t,"E",(function(){return l})),n.d(t,"F",(function(){return et})),n.d(t,"G",(function(){return Ve})),n.d(t,"H",(function(){return I})),n.d(t,"I",(function(){return Ue})),n.d(t,"J",(function(){return st})),n.d(t,"K",(function(){return Q})),n.d(t,"L",(function(){return T})),n.d(t,"M",(function(){return A})),n.d(t,"N",(function(){return z})),n.d(t,"O",(function(){return it})),n.d(t,"P",(function(){return rt})),n.d(t,"Q",(function(){return fe})),n.d(t,"R",(function(){return a})),n.d(t,"S",(function(){return nt})),n.d(t,"T",(function(){return s})),n.d(t,"U",(function(){return ge})),n.d(t,"V",(function(){return o}));var i=n("fXoL");let r=null;function s(){return r}function o(e){r||(r=e)}class a{}const c=new i.v("DocumentToken");let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:u,token:e,providedIn:"platform"}),e})();function u(){return Object(i.Mc)(h)}const d=new i.v("Location Initialized");let h=(()=>{class e extends l{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!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(e){this.location.pathname=e}pushState(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(c))},e.\u0275prov=Object(i.uc)({factory:f,token:e,providedIn:"platform"}),e})();function p(){return!!window.history.pushState}function f(){return new h(Object(i.Mc)(c))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function m(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function b(e){return e&&"?"!==e[0]?"?"+e:e}let v=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:w,token:e,providedIn:"root"}),e})();function w(e){const t=Object(i.Mc)(c).location;return new C(Object(i.Mc)(l),t&&t.origin||"")}const y=new i.v("appBaseHref");let C=(()=>{class e extends v{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.on
1HashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return g(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(l),i.Mc(y,8))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),_=(()=>{class e extends v{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=g(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(l),i.Mc(y,8))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),x=(()=>{class e{constructor(e,t){this._subject=new i.s,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=m(S(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+b(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,S(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(v),i.Mc(l))},e.normalizeQueryParams=b,e.joinWithSlash=g,e.stripTrailingSlash=m,e.\u0275prov=Object(i.uc)({factory:O,token:e,providedIn:"root"}),e})();function O(){return new x(Object(i.Mc)(v),Object(i.Mc)(l))}function S(e){return e.replace(/\/index.html$/,"")}const E={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},P=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),k=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),M=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),I=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),D=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),j=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();
1function A(e,t,n){const r=Object(i.Cb)(e),s=B([r[i.lb.DayPeriodsFormat],r[i.lb.DayPeriodsStandalone]],t);return B(s,n)}function T(e,t,n){const r=Object(i.Cb)(e),s=B([r[i.lb.DaysFormat],r[i.lb.DaysStandalone]],t);return B(s,n)}function z(e,t,n){const r=Object(i.Cb)(e),s=B([r[i.lb.MonthsFormat],r[i.lb.MonthsStandalone]],t);return B(s,n)}function L(e,t){return B(Object(i.Cb)(e)[i.lb.DateFormat],t)}function N(e,t){return B(Object(i.Cb)(e)[i.lb.TimeFormat],t)}function R(e,t){return B(Object(i.Cb)(e)[i.lb.DateTimeFormat],t)}function F(e,t){const n=Object(i.Cb)(e),r=n[i.lb.NumberSymbols][t];if(void 0===r){if(t===j.CurrencyDecimal)return n[i.lb.NumberSymbols][j.Decimal];if(t===j.CurrencyGroup)return n[i.lb.NumberSymbols][j.Group]}return r}function V(e,t){return Object(i.Cb)(e)[i.lb.NumberFormats][t]}const U=i.Fb;function H(e){if(!e[i.lb.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[i.lb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function B(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function $(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const q=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,W={},G=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|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]*)/,X=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),Z=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),Y=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function Q(e,t,n,r){let s=function(e){if(oe(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,n,i]=e.split("-").map(e=>+e);return new Date(t,n-1,i)}let n;if(n=e.match(q))return function(e){const t=new Date(0);let n=0,i=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-i,c=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,o,a,c,l),t}(n)}const t=new Date(e);if(!oe(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,n){const r=function(e){return Object(i.Cb)(e)[i.lb.LocaleId]}(t);if(W[r]=W[r]||{},W[r][n])return W[r][n];let s="";switch(n){case"shortDate":s=L(t,D.Short);break;case"mediumDate":s=L(t,D.Medium);break;case"longDate":s=L(t,D.Long);break;case"fullDate":s=L(t,D.Full);break;case"shortTime":s=N(t,D.Short);break;case"mediumTime":s=N(t,D.Medium);break;case"longTime":s=N(t,D.Long);break;case"fullTime":s=N(t,D.Full);break;case"short":const n=e(t,"shortTime"),i=e(t,"shortDate");s=K(R(t,D.Short),[n,i]);break;case"medium":const r=e(t,"mediumTime"),o=e(t,"mediumDate");s=K(R(t,D.Medium),[r,o]);break;case"long":const a=e(t,"longTime"),c=e(t,"longDate");s=K(R(t,D.Long),[a,c]);break;case"full":const l=e(t,"fullTime"),u=e(t,"fullDate");s=K(R(t,D.Full),[l,u])}return s&&(W[r][n]=s),s}(n,t)||t;let o,a=[];for(;t;){if(o=G.exec(t),!o){a.push(t);break}{a=a.concat(o.slice(1));const e=a.pop();if(!e)break;t=e}}let c=s.getTimezoneOffset();r&&(c=se(r,c),s=function(e,t,n){const i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(se(t,i)-i))}(s,r));let l="";return a.forEach(e=>{const t=function(e){if(re[e])return re[e];let t;switch(e){case"G":case"GG":case"GGG":t=te(Y.Eras,I.Abbreviated);break;case"GGGG":t=te(Y.Eras,I.Wide);break;case"GGGGG":t=te(Y.Eras,I.Narrow);break;case"y":t=ee(Z.FullYear,1,0,!1,!0);break;case"yy":t=ee(Z.FullYear,2,0,!0,!0);break;case"yyy":t=ee(Z.FullYear,3,0,!1,!0);break;case"yyyy":t=ee(Z.FullYear,4,0,!1,!0);break;case"M":case"L":t=ee(Z.Month,1,1);break;case"MM":case"LL":t=ee(Z.Month,2,1);break;case"MMM":t=te(Y.Months,I.Abbreviated);break;case"MMMM":t=te(Y.Months,I.Wide);break;case"MMMMM":t=te(Y.Months,I.Narrow);break;case"LLL":t=te(Y.Months,I.Abbreviated,M.Standalone);break;case"LLLL":t=te(Y.Months,I.Wide,M.Standalone);break;case"LLLLL":t=te(Y.Months,I.Narrow,M.Standalone);break;case"w":t=ie(1);break;case"ww":t=ie(2);break;case"W":t=ie(1,!0);break;case"d":t=ee(Z.Date,1);break;case"dd":t=ee(Z.Date,2);break;case"E":case"EE":case"EEE":t=te(Y.Days,I.Abbreviated);break;case"EEEE":t=te(Y.Days,I.Wide);break;case"EEEEE":t=te(Y.Days,I.Narrow);break;case"EEEEEE":t=te(Y.Days,I.Short);break;case"a":case"aa":case"aaa":t=te(Y.DayPeriods,I.Abbreviated);break;case"aaaa":t=te(Y.DayPeriods,I.Wide);break;case"aaaaa":t=te(Y.DayPeriods,I.Narrow);break;
1case"b":case"bb":case"bbb":t=te(Y.DayPeriods,I.Abbreviated,M.Standalone,!0);break;case"bbbb":t=te(Y.DayPeriods,I.Wide,M.Standalone,!0);break;case"bbbbb":t=te(Y.DayPeriods,I.Narrow,M.Standalone,!0);break;case"B":case"BB":case"BBB":t=te(Y.DayPeriods,I.Abbreviated,M.Format,!0);break;case"BBBB":t=te(Y.DayPeriods,I.Wide,M.Format,!0);break;case"BBBBB":t=te(Y.DayPeriods,I.Narrow,M.Format,!0);break;case"h":t=ee(Z.Hours,1,-12);break;case"hh":t=ee(Z.Hours,2,-12);break;case"H":t=ee(Z.Hours,1);break;case"HH":t=ee(Z.Hours,2);break;case"m":t=ee(Z.Minutes,1);break;case"mm":t=ee(Z.Minutes,2);break;case"s":t=ee(Z.Seconds,1);break;case"ss":t=ee(Z.Seconds,2);break;case"S":t=ee(Z.FractionalSeconds,1);break;case"SS":t=ee(Z.FractionalSeconds,2);break;case"SSS":t=ee(Z.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ne(X.Short);break;case"ZZZZZ":t=ne(X.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ne(X.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ne(X.Long);break;default:return null}return re[e]=t,t}(e);l+=t?t(s,n,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function K(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function J(e,t,n="-",i,r){let s="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,s=n));let o=String(e);for(;o.length<t;)o="0"+o;return i&&(o=o.substr(o.length-t)),s+o}function ee(e,t,n=0,i=!1,r=!1){return function(s,o){let a=function(e,t){switch(e){case Z.FullYear:return t.getFullYear();case Z.Month:return t.getMonth();case Z.Date:return t.getDate();case Z.Hours:return t.getHours();case Z.Minutes:return t.getMinutes();case Z.Seconds:return t.getSeconds();case Z.FractionalSeconds:return t.getMilliseconds();case Z.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,s);if((n>0||a>-n)&&(a+=n),e===Z.Hours)0===a&&-12===n&&(a=12);else if(e===Z.FractionalSeconds)return c=t,J(a,3).substr(0,c);var c;const l=F(o,j.MinusSign);return J(a,t,l,i,r)}}function te(e,t,n=M.Format,r=!1){return function(s,o){return function(e,t,n,r,s,o){switch(n){case Y.Months:return z(t,s,r)[e.getMonth()];case Y.Days:return T(t,s,r)[e.getDay()];case Y.DayPeriods:const a=e.getHours(),c=e.getMinutes();if(o){const e=function(e){const t=Object(i.Cb)(e);return H(t),(t[i.lb.ExtraData][2]||[]).map(e=>"string"==typeof e?$(e):[$(e[0]),$(e[1])])}(t),n=function(e,t,n){const r=Object(i.Cb)(e);H(r);const s=B([r[i.lb.ExtraData][0],r[i.lb.ExtraData][1]],t)||[];return B(s,n)||[]}(t,s,r);let o;if(e.forEach((e,t)=>{if(Array.isArray(e)){const{hours:i,minutes:r}=e[0],{hours:s,minutes:l}=e[1];a>=i&&c>=r&&(a<s||a===s&&c<l)&&(o=n[t])}else{const{hours:i,minutes:r}=e;i===a&&r===c&&(o=n[t])}}),o)return o}return A(t,s,r)[a<12?0:1];case Y.Eras:return function(e,t){return B(Object(i.Cb)(e)[i.lb.Eras],t)}(t,r)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(s,o,e,t,n,r)}}function ne(e){return function(t,n,i){const r=-1*i,s=F(n,j.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case X.Short:return(r>=0?"+":"")+J(o,2,s)+J(Math.abs(r%60),2,s);case X.ShortGMT:return"GMT"+(r>=0?"+":"")+J(o,1,s);case X.Long:return"GMT"+(r>=0?"+":"")+J(o,2,s)+":"+J(Math.abs(r%60),2,s);case X.Extended:return 0===i?"Z":(r>=0?"+":"")+J(o,2,s)+":"+J(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}function ie(e,t=!1){return function(n,i){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(n.getFullYear()),t=(s=n,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))).getTime()-e.getTime();r=1+Math.round(t/6048e5)}var s;return J(r,e,F(i,j.MinusSign))}}const re={};function se(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function oe(e){return e instanceof Date&&!isNaN(e.valueOf())}const ae=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ce(e,t,n,i,r,s,o=!1){let a="",c=!1;if(isFinite(e)){let l=function(e){let t,n,i,r,s,o=Math.abs(e)+"",a=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;"0"===o.charAt(i);i++);if(i===(s=o.length))t=[0],n=1;else{for(s--;"0"===o.charAt(s);)s--;for(n-=i,t=[],r=0;i<=s;i++,r++)t[r]=Number(o.charAt(i))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);o&&(l=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(s){const e=s.match(ae);if(null===e)throw new Error(s+" is not a valid digit info");const t=e[1],n=e[3],i=e[5];null!=t&&(u=ue(t)),null!=n&&(d=ue(n)),null!=i?h=ue(i):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let i=e.digits,r=i.length-e.integerLen;const s=Math.min(Math.max(t,r),n);let o=s+e.integerLen,a=i[o];if(o>0){i.splice(Math.max(e.integerLen,o));for(let e=o;e<i.length;e++)i[e]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,o=s+1),i[0]=0;for(let e=1;e<o;e++)i[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[o-1]++;for(;r<Math.max(0,s);r++)i.push(0);let c=0!==s;const l=t+e.integerLen,u=i.reduceRight((function(e,t,n,i){return i[n]=(t+=e)<10?t:t-10,c&&(0===i[n]&&n>=l?i.pop():c=!1),t>=10?1:0}),0);u&&(i.unshift(u),e.integerLen++)}(l,d,h);let p=l.digits,f=l.integerLen;const g=l.exponent;let m=[];for(c=p.every(e=>!e);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?m=p.splice(f,p.length):(m=p,p=[0]);const b=[];for(p.length>=t.lgSize&&b.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)b.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&b.unshift(p.join("")),a=b.join(F(n,i)),m.length&&(a+=F(n,r)+m.join("")),g&&(a+=F(n,j.Exponential)+"+"+g)}else a=F(n,j.Infinity);return a=e<0&&!c?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function le(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],s=i[1],o=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],a=o[0],c=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<c.length;u++){const e=c.charAt(u);"0"===e?n.minFrac=n.maxFrac=u+1:"#"===e?n.maxFrac=u+1:n.posSuf+=e}const l=a.split(",");if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,s){const e=r.length-n.posPre.length-n.posSuf.length,t=s.indexOf("#");n.negPre=s.substr(0,t).replace(/'/g,""),n.negSuf=s.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function ue(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class de{}function he(e,t,n,i){let r="="+e;if(t.indexOf(r)>-1)return r;if(r=n.getPluralCategory(e,i),t.indexOf(r)>-1)return r;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}let pe=(()=>{class e extends de{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(U(t||this.locale)(e)){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 e.\u0275fac=function(t){return new(t||e)(i.Mc(i.z))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();function fe(e,t,n){return Object(i.Yb)(e,t,n)}function ge(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}let me=(()=>{class e{constructor(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i.Kb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i.bc)(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e
1=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.x),i.yc(i.y),i.yc(i.q),i.yc(i.L))},e.\u0275dir=i.tc({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})(),be=(()=>{class e{constructor(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}ngOnChanges(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const e=t.get(i.D);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(e.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(i.n)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X))},e.\u0275dir=i.tc({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[i.hc]}),e})();class ve{constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,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 we=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(i.db)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}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(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,i)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new ve(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new ye(e,n);t.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 s=new ye(e,r);t.push(s)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=i,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(i.x))},e.\u0275dir=i.tc({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class ye{constructor(e,t){this.record=e,this.view=t}}let Ce=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new _e,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){xe("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){xe("ngIfElse",e),this._elseTemplateRef=e,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(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class _e{constructor(){this.$implicit=null,this.ngIf=null}}function xe(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(i.bc)(t)}'.`)}class Oe{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let Se=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),Ee=(()=>{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new Oe(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(Se,1))},e.\u0275dir=i.tc({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Pe=(()=>{class e{constructor(e,t,n){n._addDefault(new Oe(e,t))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(Se,1))},e.\u0275dir=i.tc({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),ke=(()=>{class e{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._switchValue=e,this._updateView()}addCase(e,t){this._caseViews[e]=t}_updateView(){this._clearViews();const e=Object.keys(this._caseViews),t=he(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}return e.\u0275fac=function(t){return new(t||e)(i.yc(de))},e.\u0275dir=i.tc({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),e})(),Me=(()=>{class e{constructor(e,t,n,i){this.value=e;const r=!isNaN(Number(e));i.addCase(r?"="+e:e,new Oe(n,t))}}return e.\u0275fac=function(t){return new(t||e)(i.Nc("ngPluralCase"),i.yc(i.U),i.yc(i.X),i.yc(ke,1))},e.\u0275dir=i.tc({type:e,selectors:[["","ngPluralCase",""]]}),e})(),Ie=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split(".");null!=(t=null!=t&&i?`${t}${i}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(i.y),i.yc(i.L))},e.\u0275dir=i.tc({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}
1),e})(),De=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X))},e.\u0275dir=i.tc({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.hc]}),e})();function je(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(i.bc)(e)}'`)}class Ae{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Te{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const ze=new Te,Le=new Ae;let Ne=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Object(i.Nb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,i.Z.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Object(i.Mb)(t))return ze;if(Object(i.Lb)(t))return Le;throw je(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(i.Oc())},e.\u0275pipe=i.xc({name:"async",type:e,pure:!1}),e})(),Re=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw je(e,t);return t.toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"lowercase",type:e,pure:!0}),e})();const Fe
vendor: 7,066 bytes, line 1
1=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g
1;let Ve=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw je(e,t);return t.replace(Fe,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"titlecase",type:e,pure:!0}),e})(),Ue=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw je(e,t);return t.toUpperCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"uppercase",type:e,pure:!0}),e})(),He=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",i,r){if(null==t||""===t||t!=t)return null;try{return Q(t,n,r||this.locale,i)}catch(s){throw je(e,s.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.z))},e.\u0275pipe=i.xc({name:"date",type:e,pure:!0}),e})();const Be=/#/g;let $e=(()=>{class e{constructor(e){this._localization=e}transform(t,n,i){if(null==t)return"";if("object"!=typeof n||null===n)throw je(e,n);return n[he(t,Object.keys(n),this._localization,i)].replace(Be,t.toString())}}return e.\u0275fac=function(t){return new(t||e)(i.yc(de))},e.\u0275pipe=i.xc({name:"i18nPlural",type:e,pure:!0}),e})(),qe=(()=>{class e{transform(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw je(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"i18nSelect",type:e,pure:!0}),e})(),We=(()=>{class e{transform(e){return JSON.stringify(e,null,2)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"json",type:e,pure:!1}),e})(),Ge=(()=>{class e{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=Xe){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e);return n&&(this.keyValues=[],n.forEachItem(e=>{this.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(t)),this.keyValues}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.y))},e.\u0275pipe=i.xc({name:"keyvalue",type:e,pure:!1}),e})();function Xe(e,t){const n=e.key,i=t.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<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const r=String(n),s=String(i);return r==s?0:r<s?-1:1}let Ze=(()=>{class e{constructor(e){this._locale=e}transform(t,n,i){if(Ke(t))return null;i=i||this._locale;try{return function(e,t,n){return ce(e,le(V(t,P.Decimal),F(t,j.MinusSign)),t,j.Group,j.Decimal,n)}(Je(t),i,n)}catch(r){throw je(e,r.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.z))},e.\u0275pipe=i.xc({name:"number",type:e,pure:!0}),e})(),Ye=(()=>{class e{constructor(e){this._locale=e}transform(t,n,i){if(Ke(t))return null;i=i||this._locale;try{return function(e,t,n){return ce(e,le(V(t,P.Percent),F(t,j.MinusSign)),t,j.Group,j.Decimal,n,!0).replace(new RegExp("%","g"),F(t,j.PercentSign))}(Je(t),i,n)}catch(r){throw je(e,r.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.z))},e.\u0275pipe=i.xc({name:"percent",type:e,pure:!0}),e})(),Qe=(()=>{class e{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(t,n,r="symbol",s,o){if(Ke(t))return null;o=o||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");let a=n||this._defaultCurrencyCode;"code"!==r&&(a="symbol"===r||"symbol-narrow"===r?function(e,t,n="en"){const r=function(e){return Object(i.Cb)(e)[i.lb.Currencies]}(n)[e]||E[e]||[],s=r[1];return"narrow"===t&&"string"==typeof s?s:r[0]||e}(a,"symbol"===r?"wide":"narrow",o):r);try{return function(e,t,n,i,r){const s=le(V(t,P.Currency),F(t,j.MinusSign));return s.minFrac=function(e){let t;const n=E[e];return n&&(t=n[2]),"number"==typeof t?t:2}(i),s.maxFrac=s.minFrac,ce(e,s,t,j.CurrencyGroup,j.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}(Je(t),o,a,n,s)}catch(c){throw je(e,c.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.z),i.yc(i.p))},e.\u0275pipe=i.xc({name:"currency",type:e,pure:!0}),e})();function Ke(e){return null==e||""===e||e!=e}function Je(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}let et=(()=>{class e{transform(t,n,i){if(null==t)return t;if(!this.supports(t))throw je(e,t);return t.slice(n,i)}supports(e){return"string"==typeof e||Array.isArray(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"slice",type:e,pure:!1}),e})(),tt=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}
1,providers:[{provide:de,useClass:pe}]}),e})();const nt="browser";function it(e){return e===nt}function rt(e){return"server"===e}let st=(()=>{class e{}return e.\u0275prov=Object(i.uc)({token:e,providedIn:"root",factory:()=>new ot(Object(i.Mc)(c),window,Object(i.Mc)(i.r))}),e})();class ot{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);const n=this.document.querySelector(`[name='${e}']`);if(n)return void this.scrollToElement(n)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}},otbX:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("fXoL"),r=n("ofXK"),s=n("wf0l");function o(e,t){if(1&e&&i.zc(0,"source",4),2&e){const e=t.$implicit,n=i.Uc(2);i.bd("type",e.type)("srcset",n.placeholderUrl,i.qd),i.kc("lazyLoad",e.sourceUrl)}}function a(e,t){if(1&e&&(i.Ec(0,"picture"),i.xd(1,o,1,3,"source",2),i.zc(2,"img",3),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngForOf",e.model.sources),i.jc(1),i.bd("src",e.placeholderUrl,i.qd)("alt",e.model.alt||"")("lazyLoad",e.model.fallbackUrl)}}function c(e,t){if(1&e&&i.zc(0,"img",3),2&e){const e=i.Uc();i.bd("src",e.placeholderUrl,i.qd)("alt",e.model.alt||"")("lazyLoad",e.model.fallbackUrl)}}let l=(()=>{class e{constructor(){this.placeholderUrl="/dist-assets/images/cap.jpg"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-picture"]],inputs:{model:"model",placeholderUrl:"placeholderUrl"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["image",""],[3,"type","srcset",4,"ngFor","ngForOf"],[3,"src","alt","lazyLoad"],[3,"type","srcset"]],template:function(e,t){if(1&e&&(i.xd(0,a,3,4,"picture",0),i.xd(1,c,1,3,"ng-template",null,1,i.yd)),2&e){const e=i.kd(2);i.bd("ngIf",t.model.sources.length>0)("ngIfElse",e)}},directives:[r.u,r.t,s.a],encapsulation:2}),e})()},ovuK:function(e,t,n){"use strict";t.a=function(e){return function(t){return e(t)}}},p3ot:function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return c}));var i=n("fXoL"),r=n("GJzE");let s=(()=>{class e{constructor(e,t,n){this.viewContainer=e,this.templateRef=t,this.routesService=n,this.pItems=[]}set items(e){this.pItems=e.map(e=>e.isSimpleItem?{isSimpleItem:!0,label:e.label}:{isSimpleItem:!1,label:e.label,url:this.buildRouterLink(e.page)}),this.viewContainer.clear(),this.pItems.length>0&&!this.pItems[0].isSimpleItem&&this.viewContainer.createEmbeddedView(this.templateRef)}set insertContainer(e){this.pInsertContainer=e}set simpleItemTemplate(e){this.pSimpleItemTemplate=e}set routerItemTemplate(e){this.pRouterItemTemplate=e}ngOnChanges(e){void 0!==this.pInsertContainer&&void 0!==this.pSimpleItemTemplate&&void 0!==this.pRouterItemTemplate&&(this.pInsertContainer.clear(),this.pItems.forEach(e=>{this.pInsertContainer.createEmbeddedView(e.isSimpleItem?this.pSimpleItemTemplate:this.pRouterItemTemplate,{item:e,$implicit:e})}))}buildRouterLink(e){switch(e){case"homePage":return this.routesService.buildHomePageRoute();case"catalogIndexPage":return this.routesService.buildCatalogIndexPageRoute();default:throw new Error("Unknown page: "+e)}}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(r.fb))},e.\u0275dir=i.tc({type:e,selectors:[["","appBreadcrumbs",""]],inputs:{items:["appBreadcrumbs","items"]},features:[i.hc]}),e})(),o=(()=>{class e{constructor(e,t){this.host=e,this.host.insertContainer=t}ngOnDestroy(){this.host.insertContainer=void 0}}return e.\u0275fac=function(t){return new(t||e)(i.yc(s,1),i.yc(i.X))},e.\u0275dir=i.tc({type:e,selectors:[["","appBreadcrumbsContainer",""]]}),e})(),a=(()=>{class e{constructor(e,t){this.host=e,this.host.simpleItemTemplate=t}static ngTemplateContextGuard(e,t){return!0}ngOnDestroy(){this.host.simpleItemTemplate=void 0}}return e.\u0275fac=function(t){return new(t||e)(i.yc(s,1),i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["","appBreadcrumbSimpleTemplate",""]]}),e})(),c=(()=>{class e{constructor(e,t){this.host=e,this.host.routerItemTemplate=t}static ngTemplateContextGuard(e,t){return!0}ngOnDestroy(){this.host.routerItemTemplate=void 0}}return e.\u0275fac=function(t){return new(t||e)(i.yc(s,1),i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["","appBreadcrumbRouteTemplate",""]]}),e})()},p9Pj:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("ofXK"),r=n("fXoL"),s=n("kBKH"),o=n("lPHt"),a=n("OevD");let c=(()=>{class e{constructor(e,t,n){this.siteConfigService=e,this.pageMetaService=t,this.document=n}ngOnChanges(e){e.newsModel&&(this.script=this.createScript())}createScript(){return`<script type="application/ld+json">${JSON.stringify(this.getSchema())}<\/script>`}getSchema(){const e={"@context":"https://schema.org","@type":"NewsArticle",headline:this.newsModel.title,datePublished:this.newsModel.publishDate,publisher:{name:this.pageMetaService.openGraphTags.siteName,url:this.document.location.origin}};return null!==this.newsModel.internalPoster&&(e.image=[this.pageMetaService.openGraphTags.imageUrl]),e.author=null!==this.newsModel.author&&this.newsModel.author.publicName.length>0?[{"@type":"Person",name:this.newsModel.author.publicName,url:this.newsModel.author.authorUrl||""}]:[{"@type":"Organization",name:this.pageMetaService.openGraphTags.siteName,url:this.document.location.origin}],e}}return e.\u0275fac=function(t){return new(t||e)(r.yc(s.c),r.yc(o.a),r.yc(i.e))},e.\u0275cmp=r.sc({type:e,selectors:[["app-json-ld"]],inputs:{newsModel:"newsModel"},features:[r.hc],decls:2,vars:3,consts:[[3,"innerHTML"]],template:function(e,t){1&e&&(r.zc(0,"div",0),r.Vc(1,"safeHtml")),2&e&&r.bd("innerHTML",r.Wc(1,1,t.script),r.od)},pipes:[a.a],encapsulation:2}),e})()},pI7v:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");let r=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-placeholder"]],inputs:{width:"width",height:"height"},decls:4,vars:0,consts:[[1,"card-placeholder"],[1,"card-placeholder__image","card-placeholder__item"],[1,"card-placeholder__title","card-placeholder__item"],[1,"card-placeholder__subtitle","card-placeholder__item"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.zc(1,"div",1),i.zc(2,"div",2),i.zc(3,"div",3),i.Dc())},styles:[".card-placeholder[_ngcontent-%COMP%]{position:relative;max-width:100%;margin-bottom:16px}@-webkit-keyframes shine-lines{0%{background-position:-100px}40%,to{background-position:300px}}@keyframes shine-lines{0%{background-position:-100px}40%,to{background-position:300px}}.card-placeholder__item[_ngcontent-%COMP%]{background-color:#ccc;
1background-image:linear-gradient(90deg,#f0f0f0,#f4f4f4 40px,#f0f0f0 80px);background-size:400px;border-radius:8px;-webkit-animation:shine-lines 1.5s linear infinite;animation:shine-lines 1.5s linear infinite}.card-placeholder__image[_ngcontent-%COMP%]{height:160px}.card-placeholder__title[_ngcontent-%COMP%]{max-width:80%;margin-top:8px;height:32px}.card-placeholder__subtitle[_ngcontent-%COMP%]{max-width:40%;margin-top:8px;height:24px}"]}),e})()},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){return n.lift(new s(e,t))}}class s{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))}}class o extends i.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},"pj/B":function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return m}));var i=n("fXoL"),r=n("ofXK"),s=n("iQdX"),o=n("0st4"),a=n("2Vo4"),c=n("quSY"),l=n("lJxs"),u=n("6NWb");function d(e,t){if(1&e){const e=i.Fc();i.Ec(0,"share-button",3),i.Qc("opened",(function(t){return i.nd(e),i.Uc(2).opened.emit(t)}))("closed",(function(t){return i.nd(e),i.Uc(2).closed.emit(t)})),i.Dc()}if(2&e){const e=t.$implicit,n=i.Uc(2);i.bd("button",e)("theme",n.theme)("url",n.url)("title",n.title)("description",n.description)("image",n.image)("tags",n.tags)("autoSetMeta",n.autoSetMeta)("showIcon",n.showIcon)("showText",n.showText)("size",n.size)("disabled",n.disabled)}}function h(e,t){if(1&e){const e=i.Fc();i.Ec(0,"expand-button",4),i.Qc("toggle",(function(t){return i.nd(e),i.Uc(2).updateState({expanded:t})})),i.Dc()}if(2&e){const e=i.Uc().$implicit,t=i.Uc();i.mc("sb-button sb-",t.theme,""),i.bd("expanded",e.expanded)("moreIcon",e.moreIcon)("lessIcon",e.lessIcon)("size",14*(1+t.size/20))}}function p(e,t){if(1&e&&(i.Ec(0,"div"),i.xd(1,d,1,12,"share-button",1),i.xd(2,h,1,7,"expand-button",2),i.Dc()),2&e){const e=t.$implicit,n=i.Uc();i.mc("sb-group sb-",n.theme,""),i.jc(1),i.bd("ngForOf",e.selectedButtons),i.jc(1),i.bd("ngIf",e.shownCount<e.userButtons.length)}}let f=(()=>{class e{constructor(e){this._share=e,this._state$=new a.a({includedButtons:[],excludedButtons:[],userButtons:[],selectedButtons:[],expanded:!0,shownCount:Object.keys(s.a).length}),this._configSub$=c.a.EMPTY,this.theme=this._share.config.theme,this.showIcon=!0,this.showText=!1,this.size=0,this.opened=new i.s,this.closed=new i.s}ngOnInit(){this.state$=this._state$.pipe(Object(l.a)(e=>{const t=e.includedButtons&&e.includedButtons.length?e.includedButtons:e.userButtons,n=e.excludedButtons?t.filter(t=>e.excludedButtons.indexOf(t)<0):t,i=n.slice(0,e.expanded?n.length:e.shownCount);return{userButtons:n,selectedButtons:i,expanded:e.expanded,shownCount:e.shownCount,moreIcon:e.moreIcon,lessIcon:e.lessIcon}})),this._configSub$=this._share.config$.subscribe(e=>{const t=(e.include.length?e.include:Object.keys(s.a)).filter(t=>e.exclude.indexOf(t)<0);this.updateState({userButtons:t,expanded:!1,moreIcon:e.moreButtonIcon,lessIcon:e.lessButtonIcon})})}ngOnChanges(e){(e.include&&e.include.currentValue!==e.include.previousValue||e.exclude&&e.exclude.currentValue!==e.exclude.previousValue||e.show&&e.show.currentValue!==e.show.previousValue)&&this.updateState({includedButtons:this.include,excludedButtons:this.exclude,shownCount:this.show})}ngOnDestroy(){this._configSub$.unsubscribe(),this._state$.complete()}updateState(e){this._state$.next(Object.assign(Object.assign({},this._state$.value),e))}}return e.\u0275fac=function(t){return new(t||e)(i.yc(s.e))},e.\u0275cmp=i.sc({type:e,selectors:[["share-buttons"]],inputs:{theme:"theme",showIcon:"showIcon",showText:"showText",size:"size",include:"include",exclude:"exclude",show:"show",url:"url",title:"title",description:"description",image:"image",tags:"tags",autoSetMeta:"autoSetMeta",disabled:"disabled"},outputs:{opened:"opened",closed:"closed"},features:[i.hc],decls:2,vars:3,consts:[[3,"class",4,"ngIf"],[3,"button","theme","url","title","description","image","tags","autoSetMeta","showIcon","showText","size","disabled","opened","closed",4,"ngFor","ngForOf"],[3,"class","expanded","moreIcon","lessIcon","size","toggle",4,"ngIf"],[3,"button","theme","url","title","description","image","tags","autoSetMeta","showIcon","showText","size","disabled","opened","closed"],[3,"expanded","moreIcon","lessIcon","size","toggle"]],template:function(e,t){1&e&&(i.xd(0,p,3,5,"div",0),i.Vc(1,"async")),2&e&&i.bd("ngIf",i.Wc(1,1,t.state$))},directives:function(){return[r.u,r.t,o.a,g]},pipes:function(){return[r.b]},styles:["[_nghost-%COMP%]{--sb-margin:0.3125em;display:inherit}"],changeDetection:0}),e})(),g=(()=>{class e{constructor(e){this.toggle=new i.s,e.nativeElement.style.setProperty("--button-color","#FF6651")}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q))},e.\u0275cmp=i.sc({type:e,selectors:[["expand-button"]],inputs:{moreIcon:"moreIcon",lessIcon:"lessIcon",expanded:"expanded",size:"size"},outputs:{toggle:"toggle"},decls:4,vars:3,consts:[[1,"sb-wrapper","sb-expand","sb-show-icon",3,"click"],[1,"sb-content"],[1,"sb-icon"],[3,"icon"]],template:function(e,t){1&e&&(i.Ec(0,"button",0),i.Qc("click",(function(){return t.toggle.emit(!t.expanded)})),i.Ec(1,"div",1),i.Ec(2,"div",2),i.zc(3,"fa-icon",3),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.wd("font-size",t.size,"px"),i.jc(3),i.bd("icon",t.expanded?t.lessIcon:t.moreIcon))},directives:[u.b],encapsulation:2,changeDetection:0}),e})(),m=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:s.b,useValue:t}]}}}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[o.b,r.c],o.b]}),e})()},pyRK:function(e,t,n){"use strict";var i=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||i)}},q2jt:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("XNiG"),r=n("itXk"),s=n("1G5W"),o=n("vkgz"),a=n("fXoL"),c=n("GJzE");function l(e,t){if(1&e){const e=a.Fc();a.Ec(0,"div",1),a.zc(1,"div",2),a.Ec(2,"div",3),a.Ec(3,"button",4),a.Qc("click",(function(){return a.nd(e),a.Uc().close()})),a.zd(4,"\xd7"),a.Dc(),a.Ec(5,"app-standalone-banners-place",5),a.Qc("placeLoaded",(function(t){return a.nd(e),a.Uc().onPlaceLoaded(t)})),a.Dc(),a.Dc(),a.Dc()}if(2&e){const e=a.Uc();a.pc("is-visible",e.isShown),a.jc(5),a.bd("aspectRatio",e.aspectRatio)("loadingMode",null)("pageName",e.pageName)("placeName",e.placeName)}
1}let u=(()=>{class e{constructor(e,t){this.routesService=e,this.userSessionService=t,this.pageName=null,this.pAspectRatio=null,this.onDestroy$=new i.a,this.pCanBeShown=!1,this.pIsShown=!1,this.pIsCodePlace=!1}set aspectRatio(e){this.pAspectRatio=e}get aspectRatio(){return this.pIsCodePlace?null:this.pAspectRatio}get canBeShown(){return this.pCanBeShown}get isShown(){return this.pIsShown}ngOnInit(){Object(r.a)([this.routesService.onRoutesChanged,this.userSessionService.isExpired]).pipe(Object(s.a)(this.onDestroy$),Object(o.a)(([e,t])=>{this.pCanBeShown=this.isNeedToShow(null===e.previous,t)})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}show(){this.pIsShown=!0}hide(){this.pIsShown=!1}open(){this.pCanBeShown=!0}close(){this.hide(),this.pCanBeShown=!1}onPlaceLoaded(e){this.pIsCodePlace=e.isCodePlace,e.hasModel?this.show():this.close()}isNeedToShow(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(a.yc(c.fb),a.yc(c.Bb))},e.\u0275cmp=a.sc({type:e,selectors:[["app-popup-banners-place"]],inputs:{pageName:"pageName",placeName:"placeName",aspectRatio:"aspectRatio"},decls:1,vars:1,consts:[["class","popup-banner",3,"is-visible",4,"ngIf"],[1,"popup-banner"],[1,"popup-banner__overlay"],[1,"popup-banner__content"],["type","button",1,"popup-banner__close",3,"click"],[3,"aspectRatio","loadingMode","pageName","placeName","placeLoaded"]],template:function(e,t){1&e&&a.xd(0,l,6,6,"div",0),2&e&&a.bd("ngIf",t.canBeShown)},styles:[".popup-banner[_ngcontent-%COMP%]{display:none;position:fixed;z-index:70;top:0;left:0;width:100%;height:100%}.popup-banner.is-visible[_ngcontent-%COMP%]{display:block}.popup-banner__overlay[_ngcontent-%COMP%]{width:100%;height:100%;background-color:rgba(50,50,50,.35)}.popup-banner__content[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;padding:16px 0;text-align:center}.popup-banner__content[_ngcontent-%COMP%]   .popup-banner__close[_ngcontent-%COMP%]{padding:0;position:absolute;z-index:10;top:5px;right:5px;width:48px;height:48px;text-align:center;border:0;border-radius:50%;background-color:hsla(0,0%,100%,.95);color:rgba(50,50,50,.35);font-size:36px}"]}),e})()},qDyL:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("fXoL"),r=n("kBKH"),s=n("iQdX"),o=n("ofXK"),a=n("pj/B");function c(e,t){if(1&e&&(i.Ec(0,"div",1),i.zc(1,"share-buttons",2),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("include",e.allowedShares)("url",e.shareUrl)("title",e.shareTitle)("showText",!1)}}let l=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.shareService=t,this.pSharesConfig=new Map}set sharesConfig(e){this.pSharesConfig.clear();for(const t in this.shareService.prop)e.has(t)&&this.pSharesConfig.set(t,e.get(t))}get sharesConfig(){return this.pSharesConfig}get allowedShares(){return[...this.sharesConfig.keys()]}ngOnInit(){0===this.sharesConfig.size&&(this.sharesConfig=this.siteConfigService.instantSocialSharesConfig)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(s.e))},e.\u0275cmp=i.sc({type:e,selectors:[["app-share-content-widget"]],inputs:{shareUrl:"shareUrl",shareTitle:"shareTitle",sharesConfig:"sharesConfig"},decls:1,vars:1,consts:[["class","share-buttons",4,"ngIf"],[1,"share-buttons"],[3,"include","url","title","showText"]],template:function(e,t){1&e&&i.xd(0,c,2,4,"div",0),2&e&&i.bd("ngIf",t.allowedShares.length>0)},directives:[o.u,a.a],encapsulation:2}),e})()},qHzz:function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"w",(function(){return a})),n.d(t,"i",(function(){return O})),n.d(t,"j",(function(){return E})),n.d(t,"k",(function(){return Q})),n.d(t,"b",(function(){return re})),n.d(t,"m",(function(){return Ze})),n.d(t,"r",(function(){return Ke})),n.d(t,"u",(function(){return ot})),n.d(t,"t",(function(){return ht})),n.d(t,"a",(function(){return bt})),n.d(t,"d",(function(){return vt})),n.d(t,"e",(function(){return wt})),n.d(t,"f",(function(){return yt})),n.d(t,"g",(function(){return Ct})),n.d(t,"h",(function(){return _t})),n.d(t,"n",(function(){return Et})),n.d(t,"o",(function(){return Pt.a})),n.d(t,"p",(function(){return Tt})),n.d(t,"s",(function(){return zt})),n.d(t,"q",(function(){return Lt})),n.d(t,"c",(function(){return Nt})),n.d(t,"v",(function(){return Ft}));var i=n("ehPC");class r extends i.i{constructor(e,t,n,r,s=!1,o,a){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.sourceReliabilityLabels=r,this.useScrollSpy=s,this.placementOfStretchingInNewsText=o,this.readInLabels=a,this.pType=i.R.NewsDetailVie
1w}getComponent(){return Ze}}class s{constructor(e,t,n,i,r){this.subscribePrompt=e,this.googleNews=t,this.telegram=n,this.yandexNews=i,this.yandexZen=r,this.pHasSubscribePrompt=null!==e,this.pHasGoogleNews=null!==t,this.pHasTelegram=null!==n,this.pHasYandexNews=null!==i,this.pHasYandexZen=null!==r,this.pHasNewsChannels=this.pHasGoogleNews||this.pHasTelegram||this.pHasYandexNews||this.pHasYandexZen}get hasSubscribePrompt(){return this.pHasSubscribePrompt}get hasGoogleNews(){return this.pHasGoogleNews}get hasTelegram(){return this.pHasTelegram}get hasYandexNews(){return this.pHasYandexNews}get hasYandexZen(){return this.pHasYandexZen}get hasNewsChannels(){return this.pHasNewsChannels}}class o{constructor(e,t,n,i,r){this.allowAnonymousComment=e,this.allowVotes=t,this.showTextInCommentForm=n,this.textInCommentForm=i,this.newsChannels=r}}function a(e){return new o(e.allowAnonymousComment,e.allowVotes,e.showTextInCommentForm,e.textInCommentForm,function(e){return new s(e.subscribePrompt,e.googleNews,e.telegram,e.yandexNews,e.yandexZen)}(e.newsChannels))}var c=n("fXoL"),l=n("XNiG");const u=["insertPoint"],d=["commonBlock"],h=["quoteBlock"],p=["videoBlock"],f=["imageBlock"],g=["galleryBlock"];function m(e,t){1&e&&(c.zc(0,"p",6),c.Vc(1,"safeHtml")),2&e&&c.bd("outerHTML",c.Wc(1,1,t.block.content),c.od)}function b(e,t){if(1&e&&(c.Ec(0,"blockquote"),c.zc(1,"div",6),c.Vc(2,"safeHtml"),c.Dc()),2&e){const e=t.block;c.jc(1),c.bd("outerHTML",c.Wc(2,1,e.content),c.od)}}function v(e,t){if(1&e&&(c.Ec(0,"div",7),c.zc(1,"p",6),c.Vc(2,"safeHtml"),c.Dc()),2&e){const e=t.block;c.jc(1),c.bd("outerHTML",c.Wc(2,1,e.content),c.od)}}function w(e,t){if(1&e&&c.zc(0,"img",12,13),2&e){const e=c.kd(1),t=c.Uc(),n=t.block,i=t.imageIndex,r=c.Uc();c.cd("defaultName",r.defaultName),c.cd("description",n.description),c.cd("author",n.author),c.bd("lazyLoad",n.sourceUrl)("imageIndex",i)("alt",e.alt)("title",e.title)}}function y(e,t){if(1&e&&(c.Ec(0,"a",14),c.zc(1,"img",12,13),c.Dc()),2&e){const e=c.kd(2),t=c.Uc(),n=t.block.linkParams,i=t.block,r=t.imageIndex,s=c.Uc();c.cd("href",n.href,c.qd),c.kc("rel",n.rel)("target",n.target)("title",n.title),c.jc(1),c.cd("defaultName",s.defaultName),c.cd("description",i.description),c.cd("author",i.author),c.bd("lazyLoad",i.sourceUrl)("imageIndex",r)("alt",e.alt)("title",e.title)}}function C(e,t){if(1&e&&(c.Ec(0,"p",15),c.zd(1),c.Dc()),2&e){const e=c.Uc().imageDescription;c.jc(1),c.Ad(e.join(", "))}}function _(e,t){if(1&e&&(c.Ec(0,"div",8),c.xd(1,w,2,7,"img",9),c.xd(2,y,3,11,"ng-template",null,10,c.yd),c.xd(4,C,2,1,"p",11),c.Dc()),2&e){const e=t.block.linkParams,n=t.imageDescription,i=c.kd(3);c.jc(1),c.bd("ngIf",!e.href)("ngIfElse",i),c.jc(3),c.bd("ngIf",n.length>0)}}function x(e,t){1&e&&c.zc(0,"app-model-content-gallery",16),2&e&&c.bd("galleryBlock",t.block)}let O=(()=>{class e{constructor(){this.onDestroy$=new l.a}ngOnChanges(e){if(e.content){this.insertPoint.clear();const e={commonBlock:0,galleryBlock:0,imageBlock:0,quoteBlock:0,videoBlock:0},t={commonBlock:0,galleryBlock:0,imageBlock:0,quoteBlock:0,videoBlock:0};let n=1;this.content.forEach(t=>{++e[t.type]}),this.canShowInTextBanner&&this.bannersInContentService.contentBegin(this.insertPoint,e.commonBlock),this.content.forEach(e=>{var i,r;switch(e.type){case"commonBlock":this.insertPoint.createEmbeddedView(this.commonBlockTemplate,{block:{content:e.content}}),this.canShowInTextBanner&&this.bannersInContentService.processContentParagraph();break;case"galleryBlock":this.insertPoint.createEmbeddedView(this.galleryBlockTemplate,{block:e,startImageIndex:n}),n+=e.images.length;break;case"imageBlock":const t=[];(null===(i=e.description)||void 0===i?void 0:i.length)>0&&t.push(e.description),(null===(r=e.author)||void 0===r?void 0:r.length)>0&&t.push(e.author),this.insertPoint.createEmbeddedView(this.imageBlockTemplate,{block:e,imageIndex:n,imageDescription:t}),n++;break;case"quoteBlock":this.insertPoint.createEmbeddedView(this.quoteBlockTemplate,{block:{content:e.content}});break;case"videoBlock":this.insertPoint.createEmbeddedView(this.videoBlockTemplate,{block:{content:e.content}})}++t[e.type]}),this.canShowInTextBanner&&this.bannersInContentService.contentEnd()}}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.sc({type:e,selectors:[["app-model-content"]],viewQuery:function(e,t){var n;1&e&&(c.ud(u,!0,c.X),c.ud(d,!0),c.ud(h,!0),c.ud(p,!0),c.ud(f,!0),c.ud(g,!0)),2&e&&(c.jd(n=c.Rc())&&(t.insertPoint=n.first),c.jd(n=c.Rc())&&(t.commonBlockTemplate=n.first),c.jd(n=c.Rc())&&(t.quoteBlockTemplate=n.first),c.jd(n=c.Rc())&&(t.videoBlockTemplate=n.first),c.jd(n=c.Rc())&&(t.imageBlockTemplate=n.first),c.jd(n=c.Rc())&&(t.galleryBlockTemplate=n.first))},inputs:{content:"content",canShowInTextBanner:"canShowInTextBanner",defaultName:"defaultName",bannersInContentService:"bannersInContentService"},features:[c.hc],decls:12,vars:0,consts:[["insertPoint",""],["commonBlock",""],["quoteBlock",""],["videoBlock",""],["imageBlock",""],["galleryBlock",""],[3,"outerHTML"],["appFitToContainer","",1,"text-center","article-video"],[1,"text-center"],["src","/dist-assets/images/cap.jpg","appImageAltAndTitle","",3,"lazyLoad","defaultName","description","author","imageIndex","alt","title",4,"ngIf","ngIfElse"],["hrefImage",""],["class","image-description",4,"ngIf"],["src","/dist-assets/images/cap.jpg","appImageAltAndTitle","",3,"lazyLoad","defaultName","description","author","imageIndex","alt","title"],["generator","imageAltAndTitle"],[3,"href"],[1,"image-description"],[3,"galleryBlock"]],template:function(e,t){1&e&&(c.Ac(0,null,0),c.xd(2,m,2,3,"ng-template",null,1,c.yd),c.xd(4,b,3,3,"ng-template",null,2,c.yd),c.xd(6,v,3,3,"ng-template",null,3,c.yd),c.xd(8,_,5,3,"ng-template",null,4,c.yd),c.xd(10,x,1,1,"ng-template",null,5,c.yd
1))},styles:[".article-video[_ngcontent-%COMP%]{position:relative;height:auto;margin-bottom:.9em}.article-video[_ngcontent-%COMP%]     embed, .article-video[_ngcontent-%COMP%]     iframe, .article-video[_ngcontent-%COMP%]     object, .article-video[_ngcontent-%COMP%]     video{max-width:100%;max-height:100%}.image-description[_ngcontent-%COMP%]{font-size:14px;color:#000}[_nghost-%COMP%]     p{margin-bottom:.9em}[_nghost-%COMP%]     h2{font-size:1.25em}[_nghost-%COMP%]     h3{font-size:1.17em}[_nghost-%COMP%]     h4{font-size:1em}[_nghost-%COMP%]     .article-table-wrapper{width:100%;overflow:auto;margin-bottom:.9em}[_nghost-%COMP%]     blockquote{padding-left:16px;border-left:2px solid var(--green-primary);font-weight:300;font-style:italic}[_nghost-%COMP%]     img{max-width:100%;height:auto;margin-bottom:.9em}[_nghost-%COMP%]     a{color:var(--green-primary);box-shadow:inset 0 -1px var(--green-primary)}"]}),e})();var S=n("XGsO");let E=(()=>{class e{constructor(){this.galleryImages=[]}ngOnInit(){this.galleryOptions=[{width:"100%",height:"660px",thumbnailsArrows:!1,thumbnailsColumns:6,thumbnailsPercent:16.6667,imageArrowsAutoHide:!0,arrowPrevIcon:"gallery-action gallery-action--prev",arrowNextIcon:"gallery-action gallery-action--next",closeIcon:"gallery-action gallery-action--close",imageSize:S.c.Contain,imageSwipe:!0,previewSwipe:!0,imageDescription:!0,imageAnimation:S.a.Slide},{breakpoint:991,width:"100%",height:"400px",imagePercent:80,thumbnailsColumns:5,thumbnailsPercent:20},{breakpoint:400,preview:!1}],this.galleryBlock.images.forEach(e=>{var t,n;const i=[];(null===(t=e.description)||void 0===t?void 0:t.length)>0&&i.push(e.description),(null===(n=e.author)||void 0===n?void 0:n.length)>0&&i.push(e.author),this.galleryImages.push({small:e.sourceUrl,medium:e.sourceUrl,big:e.sourceUrl,description:i.length>0?i.join("<br>"):""})})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.sc({type:e,selectors:[["app-model-content-gallery"]],inputs:{galleryBlock:"galleryBlock"},decls:2,vars:2,consts:[[1,"ngx-gallery",3,"options","images"]],template:function(e,t){1&e&&(c.Ec(0,"div"),c.zc(1,"ngx-gallery",0),c.Dc()),2&e&&(c.jc(1),c.bd("options",t.galleryOptions)("images",t.galleryImages))},directives:[S.b],styles:["[_nghost-%COMP%]     ngx-gallery .ngx-gallery-image-text{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:left}"]}),e})();var P=n("tyNb"),k=n("1G5W"),M=n("pLZG"),I=n("vkgz"),D=n("VMQv"),j=n("GQzd"),A=n("s1DB"),T=n("WI3F"),z=n("nFFm"),L=n("bHHr"),N=n("y96F"),R=n("PLBQ"),F=n("GJzE");function V(e,t){1&e&&c.zc(0,"app-news-page-popup-banners-place")}function U(e,t){1&e&&(c.Cc(0),c.xd(1,V,1,0,"app-news-page-popup-banners-place",4),c.Bc())}function H(e,t){1&e&&c.zc(0,"app-section",9),2&e&&c.bd("sectionModel",t.$implicit)}function B(e,t){if(1&e&&(c.Ec(0,"div",5),c.Ec(1,"div",6),c.Ec(2,"div",7),c.xd(3,H,1,1,"app-section",8),c.Dc(),c.Dc(),c.Dc()),2&e){const e=c.Uc();c.jc(3),c.bd("ngForOf",e.layoutModel.sections)}}function $(e,t){1&e&&c.zc(0,"app-page-loader")}const q=Object(c.cb)(()=>bt),W=Object(c.cb)(()=>Et),G=Object(c.cb)(()=>wt),X=Object(c.cb)(()=>zt),Z=Object(c.cb)(()=>Lt),Y=Object(c.cb)(()=>yt);let Q=(()=>{class e extends i.g{constructor(e,t,n,i,r,s,o,a,c){super(e,t),this.layoutsManager=e,this.googleTagManagerService=t,this.router=n,this.newsService=i,this.adsService=r,this.companiesService=s,this.specialThemesService=o,this.bannersInContentService=a,this.currencyInformersService=c,this.widgetContainer=null,this.newsDetailView=null}ngOnInit(){super.ngOnInit(),this.bannersInContentService.reset(),this.router.events.pipe(Object(k.a)(this.onDestroy$),Object(M.a)(e=>e instanceof P.b),Object(I.a)(()=>{this.newsService.resetDetailView(),this.bannersInContentService.reset(),null!==this.findNewsDetailView()&&this.newsDetailView.reset(),null!==this.findWidgetContainer()&&(this.widgetContainer.reset(),this.widgetContainer.doReplay())})).subscribe()}ngAfterViewInit(){super.ngAfterViewInit()}ngOnDestroy(){super.ngOnDestroy()}resetServices(){this.widgetContainer=null,this.newsService.reset(),this.adsService.reset(),this.companiesService.reset(),this.specialThemesService.reset(),this.currencyInformersService.reset()}findWidgetContainer(){if(null===this.widgetContainer)for(const e of this.sectionComponents){for(const t of e.blockComponents){for(const e of t.widgetComponents)if(e instanceof i.Q){this.widgetContainer=e;break}if(null!==this.widgetContainer)break}if(null!==this.widgetContainer)break}return this.widgetContainer}
1findNewsDetailView(){if(null===this.newsDetailView)for(const e of this.sectionComponents){for(const t of e.blockComponents){for(const e of t.widgetComponents)if(e instanceof Ze){this.newsDetailView=e;break}if(null!==this.newsDetailView)break}if(null!==this.newsDetailView)break}return this.newsDetailView}registerDefaultOnLoadHandler(){}}return e.\u0275fac=function(t){return new(t||e)(c.yc(i.G),c.yc(F.w),c.yc(P.d),c.yc(Et),c.yc(bt),c.yc(wt),c.yc(zt),c.yc(F.i),c.yc(yt))},e.\u0275cmp=c.sc({type:e,selectors:[["app-news-detail-layout"]],features:[c.ic([{provide:i.p,useExisting:Object(c.cb)(()=>Nt)},{provide:i.O,useExisting:Object(c.cb)(()=>Ft)},{provide:N.f,useExisting:Object(c.cb)(()=>vt)},{provide:D.d,useExisting:q},{provide:j.v,useExisting:W},{provide:j.B,useExisting:W},{provide:j.n,useExisting:W},{provide:j.m,useExisting:W},{provide:L.b,useExisting:W},{provide:L.g,useExisting:W},{provide:N.g,useExisting:W},{provide:N.j,useExisting:W},{provide:N.h,useExisting:W},{provide:N.i,useExisting:W},{provide:N.k,useExisting:W},{provide:N.l,useExisting:W},{provide:N.m,useExisting:W},{provide:A.w,useExisting:G},{provide:T.c,useExisting:X},{provide:T.b,useExisting:X},{provide:Object(c.cb)(()=>R.d),useExisting:Y},{provide:Object(c.cb)(()=>R.g),useExisting:Y},{provide:z.a,useExisting:Z}]),c.gc],decls:5,vars:2,consts:[[4,"appOnlyInBrowser"],[1,"main"],["class","container-fluid",4,"ngIf"],[4,"ngIf"],[4,"appOnlyOnMobile"],[1,"container-fluid"],[1,"row","position-relative"],[1,"col"],["class","row article-details",3,"sectionModel",4,"ngFor","ngForOf"],[1,"row","article-details",3,"sectionModel"]],template:function(e,t){1&e&&(c.zc(0,"app-breadcrumbs"),c.xd(1,U,2,0,"ng-container",0),c.Ec(2,"main",1),c.xd(3,B,4,1,"div",2),c.xd(4,$,1,0,"app-page-loader",3),c.Dc()),2&e&&(c.jc(3),c.bd("ngIf",t.layoutModel),c.jc(1),c.bd("ngIf",!t.layoutModel))},styles:[""]}),e})();function K(e,t){if(1&e&&c.zc(0,"app-card-label",4),2&e){const e=c.Uc(3);c.bd("title",e.widget.label)}}function J(e,t){if(1&e&&c.zc(0,"a",14),2&e){const e=c.Uc().$implicit;c.cd("href",e.url,c.qd),c.bd("lazyLoad",e.posterUrl)}}function ee(e,t){if(1&e&&(c.Ec(0,"div",15),c.Tc(),c.Ec(1,"svg",16),c.zc(2,"use",17),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Vc(5,"number"),c.Dc(),c.Dc()),2&e){const e=c.Uc().$implicit;c.jc(4),c.Ad(c.Wc(5,1,e.viewsCount))}}function te(e,t){if(1&e&&(c.Ec(0,"article",5),c.xd(1,J,1,2,"a",6),c.Ec(2,"div",7),c.Ec(3,"div",8),c.Ec(4,"a",9),c.zd(5),c.Dc(),c.Dc(),c.Ec(6,"div",10),c.Ec(7,"div",11),c.zd(8),c.Dc(),c.Ec(9,"div",12),c.xd(10,ee,6,3,"div",13),c.Dc(),c.Dc(),c.Dc(),c.Dc()),2&e){const e=t.$implicit;c.bd("ngClass",e.posterUrl?"article-card--half":"article-card--simple"),c.jc(1),c.bd("ngIf",e.posterUrl),c.jc(3),c.cd("href",e.url,c.qd),c.cd("title",e.title),c.jc(1),c.Ad(e.title),c.jc(3),c.Ad(e.friendlyFromDate.join(", ")),c.jc(2),c.bd("ngIf",e.viewsCount>0)}}function ne(e,t){if(1&e&&(c.Cc(0),c.xd(1,K,1,1,"app-card-label",2),c.xd(2,te,11,7,"article",3),c.Bc()),2&e){const e=c.Uc(2);c.jc(1),c.bd("ngIf",e.widget.label),c.jc(1),c.bd("ngForOf",e.models)}}function ie(e,t){if(1&e&&(c.Cc(0),c.xd(1,ne,3,2,"ng-container",1),c.Bc()),2&e){const e=c.Uc();c.jc(1),c.bd("ngIf",null==e.models?null:e.models.length)}}let re=(()=>{class e extends D.b{}return e.\u0275fac=function(t){return se(t||e)},e.\u0275cmp=c.sc({type:e,selectors:[["app-ads-teaser"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[4,"ngIf"],["className","card-label d-inline-block mb-4",3,"title",4,"ngIf"],["class","article-card",3,"ngClass",4,"ngFor","ngForOf"],["className","card-label d-inline-block mb-4",3,"title"],[1,"article-card",3,"ngClass"],["class","article-card__poster",3,"href","lazyLoad",4,"ngIf"],[1,"article-card__content"],[1,"article-card__title"],[3,"href","title"],[1,"article-card__info"],[1,"article-card__date"],[1,"card-actions"],["class","card-actions__item",4,"ngIf"],[1,"article-card__poster",3,"href","lazyLoad"],[1,"card-actions__item"],["width","20","height","20"],[0,"xlink","href","#icon-eye"]],template:function(e,t){1&e&&(c.xd(0,ie,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".article-card[_ngcontent-%COMP%]{position:relative;margin:0 0 24px;border-bottom:0;overflow:hidden}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:14px;color:rgba(50,50,50,.35)}.article-card__content[_ngcontent-%COMP%]{padding:16px 24px}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{padding-bottom:47.6%}.card-actions[_ngcontent-%COMP%]{display:inline-flex;margin-left:8px}.card-actions[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:4px;fill:rgba(50,50,50,.35)}"]}),e})();const se=c.Gc(re);var oe=n("ofXK"),ae=n("PqYM"),ce=n("IzEk"),le=n("eIep"),ue=n("H0t/"),de=n("jhN1"),he=n("sYmb");const pe=["scrollSpyTitle"],fe=["dateText"];function ge(e,t){if(1&e&&c.zc(0,"app-card-label",45),2&e){const e=c.Uc(3);c.bd("title",e.model.label)}}function me(e,t){if(1&e&&c.zc(0,"app-article-author",46),2&e){const e=c.Uc(3);c.bd("model",e.model.author)}}function be(e,t){if(1&e&&(c.Tc(),c.Ec(0,"tspan"),c.zd(1),c.Dc()),2&e){const e=t.$implicit;c.jc(1),c.Ad(e)}}function ve(e,t){if(1&e&&(c.Tc(),c.Ec(0,"svg",47),c.Ec(1,"text",48,49),c.xd(3,be,2,1,"tspan",50),c.Dc(),c.Dc()),2&e){const e=c.Uc(3);c.jc(3),c.bd("ngForOf",e.fakePublishDateItems)}}function we(e,t){if(1&e&&c.zd(0),2&e){const e=c.Uc(3);c.Ad(e.model.friendlyPublishDate.join(", "))}}function ye(e,t){if(1&e&&(c.Tc(),c.Sc(),c.Ec(0,"span"),c.zd(1),c.Vc(2,"number"),c.Dc()),2&e){const e=c.Uc(4);c.jc(1),c.Ad(c.Wc(2,1,e.model.commentsCount))}}function Ce(e,t){if(1&e&&(c.Ec(0,"a",51),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",53),c.Dc(),c.xd(3,ye,3,3,"span",54),c.Dc()),2&e){const e=c.Uc(3);c.dd("href","#comments-",e.model.id,"",c.qd),c.jc(3),c.bd("ngIf",e.model.commentsCount>0)}}function _e(e,t){if(1&e&&(c.Ec(0,"div",55),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",56),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Dc(),c.Dc()),2&e){const e=c.Uc(3);c.jc(4),c.Ad(e.widget.sourceReliabilityLabels.get("reliable"))}}function xe(e,t){if(1&e&&(c.Ec(0,"div",57),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",58),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Dc(),c.Dc()),2&e){const e=c.Uc(3);c.jc(4),c.Ad(e.widget.sourceReliabilityLabels.get("needCheck"))}}function Oe(e,t){if(1&e&&(c.Ec(0,"div",59),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",60),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Dc(),c.Dc()),2&e){const e=c.Uc(3);c.jc(4),c.Ad(e.widget.sourceReliabilityLabels.get("cantCheck"))}}function Se(e,t){if(1&e&&(c.Ec(0,"div",61),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",62),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Dc(),c.Dc()),2&e){const e=c.Uc(3);c.jc(4),c.Ad(e.widget.sourceReliabilityLabels.get("lie"))}}function Ee(e,t){1&e&&(c.Ec(0,"div",63),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",64),c.Dc(),c.Dc())}function Pe(e,t){if(1&e&&c.zc(0,"app-card-label",65),2&e){const e=c.Uc(3);c.bd("title",e.model.label)}}function ke(e,t){if(1&e&&(c.Ec(0,"p",70),c.zd(1),c.Dc()),2&e){const e=c.Uc(4);c.jc(1),c.Bd(" ",e.model.internalPoster.description," ")}}function Me(e,t){if(1&e&&(c.Ec(0,"div",66),c.zc(1,"img",67,68),c.xd(3,ke,2,1,"p",69),c.Dc()),2&e){const e=c.kd(2),t=c.Uc(3);c.jc(1),c.cd("defaultName",t.model.title),c.cd("description",t.model.internalPoster.description),c.bd("lazyLoad",t.model.internalPoster.url)("useImageIndex",!1)("alt",e.alt)("title",e.title),c.jc(2),c.bd("ngIf",(null==t.model.internalPoster.description?null:t.model.internalPoster.description.length)>0)}}function Ie(e,t){if(1&e&&(c.Ec(0,"div",71),c.zc(1,"app-shared-poll",72),c.Dc()),2&e){const e=c.Uc(3);c.jc(1),c.bd("model",e.model.poll)("widget",e.pollWidget)}}function De(e,t){if(1&e&&(c.Ec(0,"a",79),c.zd(1),c.Dc()),2&e){const e=c.Uc(5);c.cd("href",e.model.source.url,c.qd),c.jc(1),c.Ad(e.model.source.title)}}function je(e,t){if(1&e&&(c.Ec(0,"span"),c.zd(1),c.Dc()),2&e){const e=c.Uc(5);c.jc(1),c.Ad(e.model.source.title)}}function Ae(e,t){if(1&e&&(c.Ec(0,"div",76),c.xd(1,De,2,2,"a",77),c.xd(2,je,2,1,"ng-template",null,78,c.yd),c.Dc()),2&e){const e=c.kd(3),t=c.Uc(4);c.jc(1),c.bd("ngIf",null!==t.model.source.url)("ngIfElse",e)}}function Te(e,t){if(1&e&&(c.Ec(0,"a",82),c.zd(1),c.Dc()),2&e){const e=t.$implicit;c.cd("href",e.searchLink,c.qd),c.jc(1),c.Bd(" #",e.keyword," ")}}function ze(e,t){if(1&e&&(c.Ec(0,"div",80),c.xd(1,Te,2,2,"a",81),c.Dc()),2&e){const e=c.Uc(4);c.jc(1),c.bd("ngForOf",e.model.keywordsWithLinks)}}function Le(e,t){if(1&e&&(c.Ec(0,"div",73),c.xd(1,Ae,4,2,"div",74),c.xd(2,ze,2,1,"div",75),c.Dc()),2&e){const e=c.Uc(3);c.jc(1),c.bd("ngIf",null!==e.model.source.title),c.jc(1),c.bd("ngIf",e.model.keywordsWithLinks.length>0)}}function Ne(e,t){if(1&e&&c.zc(0,"app-article-author",83),2&e){const e=c.Uc(3);c.bd("model",e.model.author)}}function Re(e,t){if(1&e&&(c.Ec(0,"div",84),c.zd(1),c.Dc()),2&e){const e=c.Uc(3);c.jc(1),c.Bd(" ",e.newsChannels.subscribePrompt," ")}}function Fe(e,t){if(1&e&&(c.Ec(0,"div",85),c.zd(1),c.Dc()),2&e){const e=c.Uc(3);c.jc(1),c.Bd(" ",e.newsChannels.subscribePrompt," ")}}function Ve(e,t){if(1&e&&(c.Ec(0,"a",91),c.zc(1,"img",92),c.Dc()),2&e){const e=c.Uc(4);c.bd("href",e.newsChannels.telegram,c.qd),c.jc(1),c.bd("lazyLoad","/dist-assets/images/news/telegram.svg")}}function Ue(e,t){if(1&e&&(c.Ec(0,"a",93),c.zc(1,"img",94),c.Dc()),2&e){const e=c.Uc(4);c.bd("href",e.newsChannels.googleNews,c.qd),c.jc(1),c.bd("lazyLoad","/dist-assets/images/news/google_news.svg")}}function He(e,t){if(1&e&&(c.Ec(0,"a",95),c.zc(1,"img",96),c.Dc()),2&e){const e=c.Uc(4);c.bd("href",e.newsChannels.yandexNews,c.qd),c.jc(1),c.bd("lazyLoad","/dist-assets/images/news/yandex_news.svg")}}function Be(e,t){if(1&e&&(c.Ec(0,"a",97),c.zc(1,"img",98),c.Dc()),2&e){const e=c.Uc(4);c.bd("href",e.newsChannels.yandexZen,c.qd),c.jc(1),c.bd("lazyLoad","/dist-assets/images/news/yandex_zen.svg")}}function $e(e,t){if(1&e&&(c.Ec(0,"div",86),c.xd(1,Ve,2,2,"a",87),c.xd(2,Ue,2,2,"a",88),c.xd(3,He,2,2,"a",89),c.xd(4,Be,2,2,"a",90),c.Dc()),2&e){const e=c.Uc(3);c.jc(1),c.bd("ngIf",e.newsChannels.hasTelegram),c.jc(1),c.bd("ngIf",e.newsChannels.googleNews),c.jc(1),c.bd("ngIf",e.newsChannels.yandexNews),c.jc(1),c.bd("ngIf",e.newsChannels.yandexZen)}}function qe(e,t){if(1&e&&c.zc(0,"app-shared-single-special-theme",99),2&e){const e=c.Uc(3);c.bd("widget",e.inTextSpecialThemeWidget)}}function We(e,t){if(1&e&&(c.Ec(0,"div",100),c.zc(1,"app-comments",101),c.Dc()),2&e){const e=c.Uc(3);c.dd("id","comments-",e.model.id,""),c.jc(1),c.bd("models",e.model.commentsPreview)("pageId",e.model.id)("commentsCount",e.model.commentsCount)("isAllowComment",e.model.allowComment)("isAllowShowCommentsList",e.model.allowShowCommentsList)}}function Ge(e,t){if(1&e){const e=c.Fc();c.Ec(0,"div",2),c.Ec(1,"div",3),c.xd(2,ge,1,1,"app-card-label",4),c.xd(3,me,1,1,"app-article-author",5),c.Dc(),c.Ec(4,"div",6),c.Ec(5,"div",7),c.Ec(6,"div",8),c.xd(7,ve,4,1,"svg",9),c.xd(8,we,1,1,"ng-template",null,10,c.yd),c.Dc(),c.xd(10,Ce,4,2,"a",11),c.Cc(11,12),c.xd(12,_e,5,
11,"div",13),c.xd(13,xe,5,1,"div",14),c.xd(14,Oe,5,1,"div",15),c.xd(15,Se,5,1,"div",16),c.Bc(),c.xd(16,Ee,3,0,"div",17),c.Dc(),c.Ec(17,"div",18),c.Qc("errorSelected",(function(t){return c.nd(e),c.Uc(2).doReportContentError(t)})),c.Ec(18,"h1",null,19),c.zd(20),c.Dc(),c.xd(21,Pe,1,1,"app-card-label",20),c.Dc(),c.zc(22,"app-switch-news-language",21),c.Ec(23,"div",22),c.xd(24,Me,4,7,"div",23),c.Ec(25,"app-model-content",24),c.Qc("errorSelected",(function(t){return c.nd(e),c.Uc(2).doReportContentError(t)})),c.Dc(),c.zc(26,"app-json-ld",25),c.Dc(),c.Ec(27,"div",26),c.zd(28,"report-content-error-prompt"),c.Dc(),c.xd(29,Ie,2,2,"div",27),c.xd(30,Le,3,2,"div",28),c.xd(31,Ne,1,1,"app-article-author",29),c.Ec(32,"app-model-ratings",30),c.Ec(33,"span",31),c.zd(34,"model-ratings-rate-news-prompt"),c.Dc(),c.Dc(),c.Ec(35,"div",32),c.xd(36,Re,2,1,"div",33),c.Ec(37,"div",34),c.xd(38,Fe,2,1,"div",35),c.Ec(39,"div",36),c.Ec(40,"div",37),c.Tc(),c.Ec(41,"svg",38),c.zc(42,"use",39),c.Dc(),c.Dc(),c.Sc(),c.Ec(43,"div",40),c.zc(44,"app-share-content-widget",41),c.Dc(),c.Dc(),c.xd(45,$e,5,4,"div",42),c.Dc(),c.Dc(),c.xd(46,qe,1,1,"app-shared-single-special-theme",43),c.xd(47,We,2,6,"div",44),c.Dc(),c.Dc()}if(2&e){const e=c.kd(9),t=c.Uc(2);c.jc(2),c.bd("ngIf",t.model.label),c.jc(1),c.bd("ngIf",null!==t.model.author),c.jc(4),c.bd("ngIf",t.model.useSvg)("ngIfElse",e),c.jc(3),c.bd("ngIf",t.model.allowComment&&t.model.commentsCount>0),c.jc(1),c.bd("ngSwitch",t.model.source.reliability),c.jc(1),c.bd("ngSwitchCase","reliable"),c.jc(1),c.bd("ngSwitchCase","needCheck"),c.jc(1),c.bd("ngSwitchCase","cantCheck"),c.jc(1),c.bd("ngSwitchCase","lie"),c.jc(1),c.bd("ngIf",t.model.isAgeLimited),c.jc(4),c.Ad(t.model.title),c.jc(1),c.bd("ngIf",t.model.label),c.jc(1),c.bd("model",t.model)("readInLabels",t.widget.readInLabels),c.jc(2),c.bd("ngIf",null==t.model.internalPoster?null:t.model.internalPoster.url),c.jc(1),c.cd("defaultName",t.model.title),c.bd("content",t.model.parsedContent)("canShowInTextBanner",t.canShowInTextBanner)("bannersInContentService",t.bannersInContentService),c.jc(1),c.bd("newsModel",t.model),c.jc(3),c.bd("ngIf",t.model.poll),c.jc(1),c.bd("ngIf",null!==t.model.source.title||t.model.keywordsWithLinks.length>0),c.jc(1),c.bd("ngIf",t.model.author),c.jc(1),c.bd("model",t.model.ratingsInfo)("modelId",t.model.id),c.jc(4),c.bd("ngIf",t.newsChannels.hasSubscribePrompt),c.jc(2),c.bd("ngIf",t.newsChannels.hasSubscribePrompt),c.jc(6),c.bd("shareUrl",t.model.url)("shareTitle",t.model.title),c.jc(1),c.bd("ngIf",t.newsChannels.hasNewsChannels),c.jc(1),c.bd("ngIf",t.model.actualSpecialThemes.length>0),c.jc(1),c.bd("ngIf",t.model.allowShowCommentsList)}}function Xe(e,t){if(1&e&&(c.Cc(0),c.xd(1,Ge,48,33,"div",1),c.Bc()),2&e){const e=c.Uc();c.jc(1),c.bd("ngIf",e.model)}}let Ze=(()=>{class e extends i.j{constructor(e,t,n,i,r,s,o,a,c,u,d,h,p,f){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.routesService=n,this.newsService=i,this.googleTagManagerService=r,this.scrollSpy=s,this.locationService=o,this.titleService=a,this.routerService=c,this.element=u,this.translateService=d,this.demoLinkService=h,this.metaService=p,this.widgetFactory=f,this.isGooglePageViewSent=!1,this.getModel$=new l.a,this.onDestroy$=new l.a,this.pFakePublishDateItems=[],this.decrementUniqueKey=()=>{},this.pBannersInContentService=t.get(F.i)}get pollWidget(){return void 0===this.pPollWidget&&(this.pPollWidget=this.widgetFactory.buildPoll(1,2,"doNothing",void 0,this.translateService.instant("poll-widget-label"),this.translateService.instant("poll-widget-results-label"),this.translateService.instant("poll-widget-vote-label"),void 0)),this.pPollWidget}get inTextSpecialThemeWidget(){return void 0===this.pInTextSpecialThemeWidget&&(this.pInTextSpecialThemeWidget=new T.d(this.widget.width,2,"doNothing",this.model.actualSpecialThemes[0].id,this.translateService.instant("special-theme-widget-label"),this.translateService.instant("special-theme-widget-show-more-label"),!0,3)),this.pInTextSpecialThemeWidget}get canShowInTextBanner(){var e;return!1===this.isDemo&&!1===(null===(e=this.model)||void 0===e?void 0:e.isCommercial)}get bannersInContentService(){return this.pBannersInContentService}get newsChannels(){return this.pNewsChannels}get fakePublishDateItems(){return this.pFakePublishDateItems}set dateTextElement(e){void 0!==e&&(e.nativeElement.ownerSVGElement.style.width=e.nativeElement.getBoundingClientRect().width+"px")}ngOnInit(){this.pNewsChannels=this.injector.get(Pt.a).pageMiscData.newsChannels,this.setUpBanners(),this.registerGetModelHandler(),this.reset()}ngOnDestroy(){this.decrementUniqueKey(),this.onDestroy$.next(),this.unsubscribeScrollSpy(),this.metaService.removeTag("name='robots'"),this.metaService.removeTag("name='googlebot'")}reset(){this.isLoaded$.next(!1),this.getModel$.next()}doReportContentError(e){const t=this.routerService.serializeUrl(this.routerService.createUrlTree(this.routesService.buildNewsDetailPageRoute(this.model)));this.injector.get(F.bb).reportContentError(Object.assign(Object.assign({},e),{pageType:"news",userAgent:navigator.userAgent,pageUrl:`${this.injector.get(oe.e).location.origin}${t}`})).pipe(Object(ce.a)(1)).subscribe()}registerGetModelHandler(){this.getModel$.asObservable().pipe(Object(k.a)(this.onDestroy$),Object(le.a)(()=>this.demoLinkService.isDemoLink$.pipe(Object(ce.a)(1))),Object(I.a)(e=>{this.isDemo=e}),Object(le.a)(()=>this.newsService.getNextNews(1,!0).pipe(Object(ce.a)(1)))).subscribe(e=>{this.isGooglePageViewSent=!1,this.model=void 0,this.pFakePublishDateItems=[],e.length>
10?(this.model=e[0],this.model.useSvg&&(this.pFakePublishDateItems=this.model.friendlyPublishDate.join(", ").split("")),(this.model.isIndexingForbidden||this.isDemo)&&this.metaService.addTag({name:"robots",content:"noindex"}),this.isDemo&&this.metaService.addTag({name:"googlebot",content:"noindex"}),this.unsubscribeScrollSpy(),Object(ae.a)(1).subscribe(()=>{this.widget.useScrollSpy?this.subscription=this.scrollSpy.registerScrollSpy({element:this.scrollSpyAnchor.nativeElement,threshold:1}).pipe(Object(M.a)(e=>e)).subscribe(()=>{this.updatePageUrlAndTitle(this.model)}):this.sendPageView(),1===this.incrementUniqueKey()&&this.element.nativeElement.dispatchEvent(Object(F.Db)())}),this.emitHasData()):this.emitEmptyData(),this.emitComponentLoaded()})}unsubscribeScrollSpy(){void 0!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}updatePageUrlAndTitle(e){const t=this.routerService.parseUrl(this.locationService.path()),n=this.routerService.createUrlTree(this.routesService.buildNewsDetailPageRoute(e));t.root=new P.j(n.root.segments,n.root.children),this.locationService.isCurrentPathEqualTo(this.routerService.serializeUrl(t))||(this.titleService.setTitle(e.title),this.locationService.go(this.routerService.serializeUrl(n))),this.sendPageView()}sendGoogleTagEvent(e){var t;(null===(t=e.author)||void 0===t?void 0:t.publicName.length)>0&&this.googleTagManagerService.pushDataLayer({Author:e.author.publicName})}incrementUniqueKey(){const e=Object(F.Lb)("newsDetailLoaded");return this.decrementUniqueKey=()=>{Object(F.Ib)("newsDetailLoaded")},e}setUpBanners(){const t=this.injector.get(F.t).isMobile,n=t?"forMobile":"forDesktop";if(n!==e.isBannersInContentConfigured){const i="after"===this.widget.placementOfStretchingInNewsText;this.pBannersInContentService.setUp([new F.h("news",t?"banner-place-in-text-mobile":"banner-place-in-text",i?5:4,i?0:1,0,i),new F.h("news",t?"Web mobile 5":"Stretching 5",i?5:4,i?0:1,2,i)]),e.isBannersInContentConfigured=n}}sendPageView(){this.isGooglePageViewSent||(this.googleTagManagerService.sendPageView(),this.isGooglePageViewSent=!0)}}return e.isBannersInContentConfigured=void 0,e.\u0275fac=function(t){return new(t||e)(c.yc(i.A,8),c.yc(c.w),c.yc(F.fb),c.yc(j.m),c.yc(F.w),c.yc(ue.d),c.yc(oe.o),c.yc(de.h),c.yc(P.d),c.yc(c.q),c.yc(he.e),c.yc(F.s),c.yc(de.g),c.yc(i.O))},e.\u0275cmp=c.sc({type:e,selectors:[["app-news-detail-view"]],viewQuery:function(e,t){var n;1&e&&(c.Dd(pe,!0,c.q),c.Dd(fe,!0,c.q)),2&e&&(c.jd(n=c.Rc())&&(t.scrollSpyAnchor=n.first),c.jd(n=c.Rc())&&(t.dateTextElement=n.first))},features:[c.ic([{provide:T.b,useExisting:Object(c.cb)(()=>Ct)}]),c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","row mb-4",4,"ngIf"],[1,"row","mb-4"],[1,"col-12","col-lg-3"],["className","card-label mb-4 d-none d-lg-inline-block",3,"title",4,"ngIf"],["class","d-none d-lg-block",3,"model",4,"ngIf"],[1,"col-12","col-lg-9"],[1,"article-details__head-info"],[1,"article-details__date"],["xmlns","http://www.w3.org/2000/svg",4,"ngIf","ngIfElse"],["realPublishDate",""],["class","article-details__comments","appScrollToAnchors","",3,"href",4,"ngIf"],[3,"ngSwitch"],["class","article-details__status article-details__status--reliable",4,"ngSwitchCase"],["class","article-details__status article-details__status--need-check",4,"ngSwitchCase"],["class","article-details__status article-details__status--cant-check",4,"ngSwitchCase"],["class","article-details__status article-details__status--lie",4,"ngSwitchCase"],["class","article-details__status article-details__status--adult",4,"ngIf"],["appReportContentError","",1,"article-details__title-container",3,"errorSelected"],["scrollSpyTitle",""],["className","card-label d-inline-block d-lg-none",3,"title",4,"ngIf"],[3,"model","readInLabels"],[1,"article-details__text"],["class","article-details__poster-container",4,"ngIf"],["appReportContentError","","appRunScripts","","appScrollToAnchors","",3,"content","canShowInTextBanner","bannersInContentService","defaultName","errorSelected"],[3,"newsModel"],["translate","",1,"article-details__report_error"],["class","article-details__voting",4,"ngIf"],["class","article-details-info",4,"ngIf"],["class","d-lg-none",3,"model",4,"ngIf"],[3,"model","modelId"],["data-rate-model-prompt","","translate",""],[1,"social-media-block"],["class","social-media-block__title d-none d-lg-flex",4,"ngIf"],[1,"social-media-block__share"],["class","social-media-block__share--title d-lg-none d-flex",4,"ngIf"],[1,"social-media-block__share--share-buttons"],[1,"icon"],["width","30","height","30"],[0,"xlink","href","#icon-share"],[1,"buttons"],[3,"shareUrl","shareTitle"],["class","social-media-block__share--subscribe-buttons",4,"ngIf"],["class","height-auto",3,"widget",4,"ngIf"],["class","col-12 mt-5",3,"id",4,"ngIf"],["className","card-label mb-4 d-none d-lg-inline-block",3,"title"],[1,"d-none","d-lg-block",3,"model"],["xmlns","http://www.w3.org/2000/svg"],["y","1em"],["dateText",""],[4,"ngFor","ngForOf"],["appScrollToAnchors","",1,"article-details__comments",3,"href"],["width","20","height","20"],[0,"xlink","href","#icon-comment"],[4,"ngIf"],[1,"article-details__status","article-details__status--reliable"],[0,"xlink","href","#icon-check-mark"],[1,"article-details__status","article-details__status--need-check"],[0,"xlink","href","#icon-error-triangle"],[1,"article-details__status","article-details__status--cant-check"],[0,"xlink","href","#icon-lock"],[1,"article-details__status","article-details__status--lie"],[0,"xlink","href","#icon-hat"],[1,"article-details__status","article-details__status--adult"],[0,"xlink","href","#icon-adult"],["className","card-label d-inline-block d-lg-none",3,"title"],[1,"article-details__poster-container"],["src","/dist-assets/images/cap.jpg","appImageAltAndTitle","",3,"lazyLoad","defaultName","description","useImageIndex","alt","title"],["generator","imageAltAndTitle"],["class","article-details__poster-description",4,"ngIf"],[1,"article-details__poster-description"],[1,"article-details__voting"],[3,"model","widget"],[1,"article-details-info"],["class","article-details-info__source",4,"ngIf"],["class","article-details-info__tags",4,"ngIf"],[1,"article-details-info__source"],["target","_blank","rel","nofollow noreferrer noopener",3,"href",4,"ngIf","ngIfElse"],["onlySourceTitle",""],["target","_blank","rel","nofollow noreferrer noopener",3,"href"],[1,"article-details-info__tags"],[3,"href",4,"ngFor","ngForOf"],[3,"href"],[1,"d-lg-none",3,"model"],[1,"social-media-block__title","d-none","d-lg-flex"],[1,"social-media-block__share--title","d-lg-none","d-flex"],[1,"social-media-block__share--subscribe-buttons"],["target","_blank","rel","nofollow","class","telegram",3,"href",4,"ngIf"],["target","_blank","rel","nofollow","class","google-news",3,"href",4,"ngIf"],["target","_blank","rel","nofollow","class","yandex-news",3,"href",4,"ngIf"],["target","_blank","rel","nofollow","class","yandex-zen",3,"href",4,"ngIf"],["target","_blank","rel","nofollow",1,"telegram",3,"href"],["src","/dist-assets/images/cap.jpg","alt","Telegram",3,"lazyLoad"],["target","_blank","rel","nofollow",1,"google-news",3,"href"],["src","/dist-assets/images/cap.jpg","alt","Google News",3,"lazyLoad"],["target","_blank","rel","nofollow",1,"yandex-news",3,"href"],["src","/dist-assets/images/cap.jpg","alt","Yandex News",3,"lazyLoad"],["target","_blank","rel","nofollow",1,"yandex-zen",3,"href"],["src","/dist-assets/images/cap.jpg","alt","Yandex Zen",3,"lazyLoad"],[1,"height-auto",3,"widget"],[1,"col-12","mt-5",3,"id"],[3,"models","pageId","commentsCount","
1isAllowComment","isAllowShowCommentsList"]],template:function(e,t){1&e&&(c.xd(0,Xe,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".text-dotted[_ngcontent-%COMP%]{text-decoration:none;border-bottom:1px dotted}.text-dotted.active[_ngcontent-%COMP%], .text-dotted[_ngcontent-%COMP%]:hover{border-color:transparent}.article-details[_ngcontent-%COMP%]{margin-top:40px}.article-details__head-info[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:16px;font-size:15px}.article-details__date[_ngcontent-%COMP%]{color:#323232}.article-details__date[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:1lh}.article-details__date[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   text[_ngcontent-%COMP%]{display:inline-block;fill:#323232}.article-details__comments[_ngcontent-%COMP%]{margin-left:6px}.article-details__comments[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:4px;fill:var(--green-primary)}.article-details__comments[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.article-details__status[_ngcontent-%COMP%]{margin-left:6px}.article-details__status[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px}.article-details__status[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:6px;vertical-align:middle}.article-details__status--reliable[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.article-details__status--need-check[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#00afe1}.article-details__status--adult[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .article-details__status--cant-check[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#e74c3c}.article-details__status--lie[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fb661c}.article-details__restriction[_ngcontent-%COMP%]{display:block;width:21px;height:21px;line-height:21px;text-align:center;border-radius:50%;background-color:#e74c3c;font-size:12px;font-weight:700;color:#fff}.article-details__title-container[_ngcontent-%COMP%]{margin-bottom:32px}.article-details__title-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle;margin-left:6px}.article-details__title-container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{display:inline;font-size:32px}@media (min-width:1024px){.article-details__title-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-left:0}}.article-details__text[_ngcontent-%COMP%]{font-size:24px;line-height:1.35;word-break:break-word}.article-details-info[_ngcontent-%COMP%]{margin-top:32px;font-size:16px}.article-details-info__source[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .article-details-info__source[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;line-height:1.4;margin-bottom:10px;word-break:break-word}.article-details-info__source[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-transform:uppercase;text-decoration:underline}.article-details-info__source[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.article-details-info__tags[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;color:#5680a6}.article-details-info__tags[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:last-of-type){margin-right:12px}.article-details__voting[_ngcontent-%COMP%]{max-width:100%;padding:0 10px}.article-details__poster-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.article-details__poster-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block}.article-details__poster-description[_ngcontent-%COMP%]{font-size:14px;text-align:center}.article-details__report_error[_ngcontent-%COMP%]{padding-top:10px;font-size:11px;color:rgba(50,50,50,.35)}@media (min-width:1024px){.article-details__title-container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:48px}.article-details__text[_ngcontent-%COMP%]{font-size:18px}.article-details__voting[_ngcontent-%COMP%]{margin:0 auto;max-width:520px}}.social-media-block[_ngcontent-%COMP%]{margin-top:20px}.social-media-block__title[_ngcontent-%COMP%]{padding:0 0 10px 5px}.social-media-block__share[_ngcontent-%COMP%]{width:100%;padding:20px 30px;border:1px solid rgba(50,50,50,.15);border-radius:10px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.social-media-block__share--title[_ngcontent-%COMP%]{width:100%;padding-bottom:10px}.social-media-block__share--share-buttons[_ngcontent-%COMP%]{display:flex;margin-right:auto;align-items:center}.social-media-block__share--share-buttons[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{padding-right:20px}.social-media-block__share--share-buttons[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var
1(--green-primary)}.social-media-block__share--share-buttons[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{border-left:1px solid rgba(50,50,50,.15)}.social-media-block__share--subscribe-buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-left:auto}.social-media-block__share--subscribe-buttons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin:5px auto;padding:0!important}.social-media-block__share--subscribe-buttons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:not(.telegram > img)[_ngcontent-%COMP%]{width:144px;height:40px}.social-media-block__share--subscribe-buttons[_ngcontent-%COMP%]   .telegram[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:134px}"]}),e})();function Ye(e,t){if(1&e&&(c.Ec(0,"div",2),c.zc(1,"div",3),c.Ec(2,"div",4),c.zc(3,"app-card-label",5),c.Dc(),c.Ec(4,"div",6),c.Ec(5,"div",7),c.Ec(6,"a",8),c.zd(7),c.Dc(),c.Dc(),c.Ec(8,"div",9),c.Ec(9,"a",10),c.zd(10),c.Dc(),c.Dc(),c.Dc(),c.Dc()),2&e){const e=c.Uc(2);c.jc(1),c.bd("lazyLoad",e.model.posterUrl?e.model.posterUrl:null),c.jc(2),c.cd("title",e.widget.label),c.jc(3),c.cd("href",e.model.url,c.qd),c.jc(1),c.Ad(e.model.title),c.jc(2),c.cd("href",e.model.url,c.qd),c.jc(1),c.Ad(e.widget.showMoreLabel)}}function Qe(e,t){if(1&e&&(c.Cc(0),c.xd(1,Ye,11,6,"div",1),c.Bc()),2&e){const e=c.Uc();c.jc(1),c.bd("ngIf",e.model)}}let Ke=(()=>{class e extends T.e{}return e.\u0275fac=function(t){return Je(t||e)},e.\u0275cmp=c.sc({type:e,selectors:[["app-single-special-theme"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","mini-special-theme",4,"ngIf"],[1,"mini-special-theme"],[1,"mini-special-theme__poster",3,"lazyLoad"],[1,"mini-special-theme__subinfo"],["className","card-label d-inline-block",3,"title"],[1,"mini-special-theme__content"],[1,"mini-special-theme__title"],[3,"href"],[1,"mini-special-theme__btn-wrapper"],[1,"btn","btn--primary","btn--block",3,"href"]],template:function(e,t){1&e&&(c.xd(0,Qe,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:['.mini-special-theme[_ngcontent-%COMP%]{position:relative;padding-bottom:93%;margin-bottom:32px;overflow:hidden}.mini-special-theme__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-position:50%;background-size:cover}.mini-special-theme__poster[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:rgba(0,0,0,.15)}.mini-special-theme__subinfo[_ngcontent-%COMP%]{position:absolute;top:12px;left:0}.mini-special-theme__content[_ngcontent-%COMP%]{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;padding:40px 16px 24px}.mini-special-theme__title[_ngcontent-%COMP%]{margin:auto 0;font-size:40px;font-weight:700;color:#fff}.mini-special-theme__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}']}),e})();const Je=c.Gc(Ke);function et(e,t){if(1&e&&(c.Ec(0,"div",8),c.zd(1),c.Dc()),2&e){const e=c.Uc().$implicit;c.jc(1),c.Ad(e.label)}}function tt(e,t){if(1&e&&(c.Tc(),c.Sc(),c.Ec(0,"span"),c.zd(1),c.Vc(2,"number"),c.Dc()),2&e){const e=c.Uc(2).$implicit;c.jc(1),c.Ad(c.Wc(2,1,e.commentsCount))}}function nt(e,t){if(1&e&&(c.Ec(0,"div",9),c.Ec(1,"a",10),c.Tc(),c.Ec(2,"svg",11),c.zc(3,"use",12),c.Dc(),c.xd(4,tt,3,3,"span",1),c.Dc(),c.Dc()),2&e){const e=c.Uc().$implicit;c.jc(1),c.dd("fragment","comments-",e.id,""),c.bd("appNewsUrl",e),c.jc(3),c.bd("ngIf",e.commentsCount>0)}}function it(e,t){if(1&e&&(c.Ec(0,"div",4),c.Ec(1,"a",5),c.zd(2),c.Dc(),c.xd(3,et,2,1,"div",6),c.xd(4,nt,5,3,"div",7),c.Dc()),2&e){const e=t.$implicit;c.jc(1),c.cd("title",e.title),c.bd("appNewsUrl",e),c.jc(1),c.Ad(e.title),c.jc(1),c.bd("ngIf",e.label.length>0),c.jc(1),c.bd("ngIf",e.allowComment&&e.commentsCount>0)}}function rt(e,t){if(1&e&&(c.Ec(0,"div"),c.zc(1,"app-card-label",2),c.xd(2,it,5,5,"div",3),c.Dc()),2&e){const e=c.Uc(2);c.jc(1),c.cd("title",e.widget.label),c.jc(1),c.bd("ngForOf",e.models)}}function st(e,t){if(1&e&&(c.Cc(0),c.xd(1,rt,3,2,"div",1),c.Bc()),2&e){const e=c.Uc();c.jc(1),c.bd("ngIf",null==e.models?null:e.models.length)}}let ot=(()=>{class e extends j.A{}return e.\u0275fac=function(t){return at(t||e)},e.\u0275cmp=c.sc({type:e,selectors:[["app-week-top-news"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","a
1ppLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[4,"ngIf"],["className","card-label d-inline-block mb-4",3,"title"],["class","side-top-article",4,"ngFor","ngForOf"],[1,"side-top-article"],[1,"side-top-article__title",3,"appNewsUrl","title"],["class","side-top-article--toaster",4,"ngIf"],["class","card-actions",4,"ngIf"],[1,"side-top-article--toaster"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],["width","20","height","20"],[0,"xlink","href","#icon-comment"]],template:function(e,t){1&e&&(c.xd(0,st,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".card-actions[_ngcontent-%COMP%]{display:flex;margin-left:20px}.card-actions__item[_ngcontent-%COMP%]{color:inherit}.card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;fill:var(--green-primary)}.card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;color:inherit}.side-top-article[_ngcontent-%COMP%]{margin-bottom:32px;padding:0 16px}.side-top-article--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px 1px;margin-right:4px;margin-top:6px;color:var(--green-primary);font-size:14px;position:relative;top:-2px;line-height:14px;text-transform:uppercase}.side-top-article__title[_ngcontent-%COMP%]{vertical-align:sub;font-size:28px}.side-top-article__title[_ngcontent-%COMP%]:hover{text-decoration:underline}.side-top-article[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:inline-flex;margin-left:0}.side-top-article[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.side-top-article[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}"]}),e})();const at=c.Gc(ot);var ct=n("jtHE"),lt=n("itXk");function ut(e,t){if(1&e&&(c.Ec(0,"a",3),c.zd(1),c.Dc()),2&e){const e=t.$implicit;c.bd("href",e.url,c.qd),c.jc(1),c.Bd(" ",e.label," ")}}function dt(e,t){if(1&e&&(c.Ec(0,"div",1),c.xd(1,ut,2,2,"a",2),c.Dc()),2&e){const e=c.Uc();c.jc(1),c.bd("ngForOf",e.languageItems)}}let ht=(()=>{class e{constructor(e,t,n){this.router=e,this.routesService=t,this.languagesManagerService=n,this.readInLabels=new Map,this.languageItems=[],this.availableReadInData$=new ct.a(1),this.onDestroy$=new l.a}ngOnInit(){Object(lt.a)([this.languagesManagerService.appLanguage$,this.availableReadInData$.asObservable()]).pipe(Object(k.a)(this.onDestroy$),Object(I.a)(([e,t])=>{this.languageItems=[...t.keys()].filter(t=>t!==e).map(e=>{const n=this.routesService.buildNewsDetailPageRoute({id:this.model.id,slug:t.get(e)},e);return{label:this.readInLabels.get(e),url:this.router.serializeUrl(this.router.createUrlTree(n))}})})).subscribe()}ngOnChanges(e){if(void 0!==e.model||void 0!==e.readInLabels){const e=new Map;this.model.publishedI18nData.forEach((t,n)=>{this.readInLabels.has(n)&&e.set(n,t.slug)}),this.availableReadInData$.next(e)}}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(c.yc(P.d),c.yc(F.fb),c.yc(F.C))},e.\u0275cmp=c.sc({type:e,selectors:[["app-switch-news-language"]],inputs:{model:"model",readInLabels:"readInLabels"},features:[c.hc],decls:1,vars:1,consts:[["class","switch-news-language",4,"ngIf"],[1,"switch-news-language"],["class","switch-news-language--btn btn btn--outline-black btn--sm",3,"href",4,"ngFor","ngForOf"],[1,"switch-news-language--btn","btn","btn--outline-black","btn--sm",3,"href"]],template:function(e,t){1&e&&c.xd(0,dt,2,1,"div",0),2&e&&c.bd("ngIf",t.languageItems.length>0)},directives:[oe.u,oe.t],styles:[".switch-news-language[_ngcontent-%COMP%]{margin-bottom:15px}.switch-news-language--btn[_ngcontent-%COMP%]{margin-right:10px}"]}),e})();var pt=n("lJxs"),ft=n("CqXF"),gt=n("UXun"),mt=n("Muja");let bt=(()=>{class e{constructor(e,t){this.layoutService=e,this.apiAds=t,this.teaserAds=[],this.actualTeaserAdsIndex=-1,this.isPrepareInProgress=!1,this.oldLayoutData=null}reset(){this.layoutService.parseAdsLayout().pipe(Object(ce.a)(1)).subscribe(e=>{void 0!==this.prepareObservable&&Object(mt.a)(this.oldLayoutData,e)||(this.prepareObservable=void 0,this.oldLayoutData=e),this.actualTeaserAdsIndex=0})}getNextTeaserAds(e){return this.prepare().pipe(Object(pt.a)(()=>this.internalGetNextTeaserAds(e)))}internalGetNextTeaserAds(e){if(this.actualTeaserAdsIndex>=this.teaserAds.length)return null;const t=this.teaserAds.slice(this.actualTeaserAdsIndex,this.actualTeaserAdsIndex+e);return this.actualTeaserAdsIndex+=t.length,t}prepare(){return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseAdsLayout().pipe(Object(ce.a)(1),Object(le.a)(e=>this.apiAds.requestAds(e).pipe(Object(I.a)(e=>{e.teaserAds&&(this.teaserAds=e.teaserAds,this.actualTeaserAdsIndex=0)}))),Object(I.a)(()=>{this.isPrepareInProgress=!1}),Object(ft.a)(!0),Object(gt.a)(1),Object(ce.a)(1))),this.prepareObservable}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(_t),c.Mc(D.c))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),vt=(()=>{class e{constructor(e){this.pageMetaService=e}getSettings(){return this.pageMetaService.pageMiscData}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(Pt.a))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),wt=(()=>{class e{constructor(e,t){this.layoutService=e,this.apiCompanies=t,this.topCompanies=[],this.actualTopCompaniesIndex=-1,this.isPrepareInProgress=!1,this.oldLayoutData=null}reset(){this.layoutService.parseCompaniesLayout().pipe(Object(ce.a)(1)).subscribe(e=>{void 0!==this.prepareObservable&&Object(mt.a)(this.oldLayoutData,e)||(this.prepareObservable=void 0,this.oldLayoutData=e),this.actualTopCompaniesIndex=0})}getNextTopCompanies(e){return this.prepare().pipe(Object(pt.a)(()=>this.internalGetNextTopCompanies(e)))}internalGetNextTopCompanies(e){if(this.actualTopCompaniesIndex>
1=this.topCompanies.length)return null;const t=this.topCompanies.slice(this.actualTopCompaniesIndex,this.actualTopCompaniesIndex+e);return this.actualTopCompaniesIndex+=t.length,t}prepare(){return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseCompaniesLayout().pipe(Object(ce.a)(1),Object(le.a)(e=>this.apiCompanies.doCompoundRequest(e).pipe(Object(I.a)(e=>{e.topCompanies&&(this.topCompanies=e.topCompanies,this.actualTopCompaniesIndex=0)}))),Object(I.a)(()=>{this.isPrepareInProgress=!1}),Object(ft.a)(!0),Object(gt.a)(1),Object(ce.a)(1))),this.prepareObservable}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(_t),c.Mc(A.a))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yt=(()=>{class e{constructor(e,t){this.layoutService=e,this.apiService=t,this.simpleItems=[],this.actualSimpleItemsIndex=-1,this.selectedItems=new Map,this.isPrepareInProgress=!1,this.oldLayoutData=null}reset(){this.layoutService.parseCurrencyInformersLayout().pipe(Object(ce.a)(1)).subscribe(e=>{void 0!==this.prepareObservable&&Object(mt.a)(this.oldLayoutData,e)||(this.prepareObservable=void 0,this.oldLayoutData=e),this.actualSimpleItemsIndex=0})}getNextCurrencyInformers(e){return this.prepare().pipe(Object(pt.a)(()=>{if(this.actualSimpleItemsIndex>=this.simpleItems.length)return null;const t=this.simpleItems.slice(this.actualSimpleItemsIndex,this.actualSimpleItemsIndex+e);return this.actualSimpleItemsIndex+=t.length,t}))}getSelectedCurrencyInformer(e){return this.prepare().pipe(Object(pt.a)(()=>this.selectedItems.has(e)?this.selectedItems.get(e):null))}prepare(){return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseCurrencyInformersLayout().pipe(Object(ce.a)(1),Object(le.a)(e=>this.apiService.doCompoundRequest(e).pipe(Object(I.a)(e=>{e.items&&(this.simpleItems=Object(F.Ob)(e.items)?e.items.models:e.items,this.actualSimpleItemsIndex=0),e.selectedItems&&(this.selectedItems.clear(),Object.keys(e.selectedItems).forEach(t=>{this.selectedItems.set(Number(t),e.selectedItems[t])}))}))),Object(I.a)(()=>{this.isPrepareInProgress=!1}),Object(ft.a)(!0),Object(gt.a)(1),Object(ce.a)(1))),this.prepareObservable}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(_t),c.Mc(R.a))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ct=(()=>{class e{constructor(e){this.apiService=e}getSelectedSpecialTheme(e){const t={[F.r]:["title","description","url","posterUrl","hasMoreNews"],news:["title","rectanglePosterUrl"]},n={template:"selectedSpecialThemes",filter:{selectedIds:[e],newsLimit:3},fields:Object(F.Fb)(t).join()};return this.apiService.doSimpleRequest(n).pipe(Object(pt.a)(t=>{if(Array.isArray(t)&&0===t.length&&(t={}),Object(F.Ob)(t)||Array.isArray(t))throw new Error("Wrong result type for request");return t.hasOwnProperty(e)?t[e]:null}))}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(T.a))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),_t=(()=>{class e extends i.h{constructor(e,t,n,i){super(e,t,n,i),this.deviceState=e,this.apiLayoutService=t,this.cardsFactory=n,this.widgetsFactory=i}parseNewsLayout(){return this.getActualLayout().pipe(Object(pt.a)(e=>{const t={simpleNews:{count:0,nonCommercialCount:0,fields:["title","friendlyPublishDate","commentsUrl","commentsCount","cardPosterUrl","rectanglePosterUrl","hasPictures","hasVideo","allowComment"]},weekTopNews:{count:0,fields:["title","commentsUrl","allowComment","commentsCount"]}};return e.sections.forEach(e=>{e.blocks.forEach(e=>{e.widgets.forEach(e=>{switch(e.type){case i.R.LastNewsFeed:t.simpleNews.count+=e.newsCount;break;case i.R.WeekTopNews:t.weekTopNews.count+=e.itemsCount}})})}),t}))}parseSpecialThemesLayout(){return this.getActualLayout().pipe(Object(pt.a)(e=>{const t=["title","url","posterUrl"],n={simpleSpecialThemes:{count:0,newsLimit:0,fields:t},selectedSpecialThemes:{selectedIds:[],newsLimit:0,fields:t}};return e.sections.forEach(e=>{e.blocks.forEach(e=>{e.widgets.forEach(e=>{switch(e.type){case i.R.SingleSpecialTheme:const t=e;null!==t.id?(n.selectedSpecialThemes.selectedIds.push(t.id),t.showNewsPreview&&(n.selectedSpecialThemes.newsLimit=Math.max(n.selectedSpecialThemes.newsLimit,t.newsPreviewCount))):(++n.simpleSpecialThemes.count,t.showNewsPreview&&(n.simpleSpecialThemes.newsLimit=Math.max(n.simpleSpecialThemes.newsLimit,t.newsPreviewCount)))}})})}),n}))}parseAdsLayout(){return this.getActualLayout().pipe(Object(pt.a)(e=>{const t={teaserAds:{count:0}};
1return e.sections.forEach(e=>{e.blocks.forEach(e=>{e.widgets.forEach(e=>{switch(e.type){case i.R.AdsTeaser:t.teaserAds.count+=e.itemsCount}})})}),t}))}parseCompaniesLayout(){return this.getActualLayout().pipe(Object(pt.a)(e=>{const t={topCompanies:{count:0}};return e.sections.forEach(e=>{e.blocks.forEach(e=>{e.widgets.forEach(e=>{switch(e.type){case i.R.TopCompanies:t.topCompanies.count+=e.itemsCount,t.topCompanies.fields=["title","iconsSet","mainUrl","firstAddress.phones","previousViewsCount"]}})})}),t}))}parseCurrencyInformersLayout(){return this.getActualLayout().pipe(Object(pt.a)(e=>{const t={currencyInformers:{count:0,exceptForHomePage:!0,fields:["widget"]},selectedCurrencyInformers:{selectedIds:[],fields:["widget"]}},n=e=>{switch(e.type){case i.R.WidgetContainer:e.widgets.forEach(n);break;case i.R.CurrencyInformer:const r=e;null!==r.id?t.selectedCurrencyInformers.selectedIds.push(r.id):t.currencyInformers.count+=r.width*r.height}};return e.sections.forEach(e=>{e.blocks.forEach(e=>{e.widgets.forEach(e=>{n(e)})})}),t}))}getPageId(){return"newsDetailPage"}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(F.t),c.Mc(i.a),c.Mc(Nt),c.Mc(Ft))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var xt=n("2Vo4"),Ot=n("bOdf"),St=n("dhcM");let Et=(()=>{class e{constructor(e,t,n){this.layoutService=e,this.apiNews=t,this.activatedRoute=n,this.simpleNews=[],this.actualSimpleNewsIndex=-1,this.pHasMoreNews=new xt.a(null),this.weekTopNews=[],this.actualWeekTopNewsIndex=-1,this.isPrepareInProgress=!1,this.oldLayoutData=null,this.rootNewsId=null,this.rootNewsPublishDate=null,this.queue=[],this.contentNewsFields={[F.r]:["title","friendlyPublishDate","source","isAgeLimited","isIndexingForbidden","commentsCount","keywordsWithLinks","internalPoster","parsedContent","ratingsInfo","allowShowCommentsList","allowComment","actualSpecialThemes","useSvg"],author:["publicName","publicPost","authorUrl","avatarUrl"],poll:{[F.r]:["question","url","votesCount","userVote","canUserVote","isActive"],answers:["answer","votesCount"]},commentsPreview:["userName","isAnonymous","isModerated","likesCount","dislikesCount","content","friendlyPublishDate","avatarUrl","isUserLiked","isUserDisliked"],publishedI18nData:["slug"]},this.simpleNewsFields={[F.r]:["title","friendlyPublishDate","source","isAgeLimited","commentsCount","keywordsWithLinks"],author:["publicName","publicPost","authorUrl","avatarUrl"]}}reset(){this.layoutService.parseNewsLayout().pipe(Object(ce.a)(1)).subscribe(e=>{void 0!==this.prepareObservable&&Object(mt.a)(this.oldLayoutData,e)||(this.prepareObservable=void 0,this.oldLayoutData=e),this.actualSimpleNewsIndex=0,this.actualWeekTopNewsIndex=0,this.resetDetailView()})}resetDetailView(){this.rootNewsId=null,this.rootNewsPublishDate=null,this.queue=[],this.actualPage=1}getNextSimpleNews(e,t){return this.prepare().pipe(Object(pt.a)(()=>this.internalGetNextSimpleNews(e)))}getNextWeekTopNews(e){return this.prepare().pipe(Object(pt.a)(()=>this.internalGetNextWeekTopNews(e)))}get hasMoreNews(){return this.pHasMoreNews}getPage(e,t){const n=()=>{const n={template:"default",filter:{tillTime:this.rootNewsPublishDate,excludedIds:[this.rootNewsId],offset:Math.max(this.actualPage-1,0),count:e*t*2},expand:Object(F.Fb)(["title","friendlyPublishDate","commentsCount","hasPictures","hasVideo","rectanglePosterUrl"]).join()};return this.apiNews.doSimpleRequest(n)},i=(e,t)=>{if(t>=e.length)return null;const n=[e[t++]];if(!n[0].hasPoster&&t<e.length){const i=e[t];i.hasPoster||n.push(i)}return n},r=(0!==this.queue.length?this.queue[this.queue.length-1].pipe(Object(ce.a)(1),Object(Ot.a)(n)):n()).pipe(Object(pt.a)(n=>{const r=[];let s=0;for(let o=0,a=e*t;o<a;++o){const e=i(n,s);null!==e&&(r.push(e),s+=e.length)}return this.actualPage+=s,r.length>0?r:null}),Object(gt.a)(1));return this.queue.push(r),r}getNextNews(e=1,t=!0){if(null===this.rootNewsId){if(e>1)throw new Error("You need request single news first");this.rootNewsId=this.getRootNewsId();const t=this.extractDemoLink(),n=t?{demoLink:t}:null;return this.queue=[this.apiNews.requestSingleNews(this.rootNewsId,Object(F.Fb)(this.contentNewsFields),n).pipe(Object(pt.a)(e=>null===e?[]:(this.rootNewsPublishDate=e.publishDate,[e])),Object(gt.a)(1))],this.queue[0]}const n=this.queue[this.queue.length-1].pipe(Object(ce.a)(1),Object(Ot.a)(()=>{const e={template:"default",filter:{tillTime:this.rootNewsPublishDate,excludedIds:[this.rootNewsId]},expand:Object(F.Fb)(t?this.contentNewsFields:this.simpleNewsFields).join(),"per-page":1,page:this.actualPage};return this.apiNews.doSimpleRequest(e)}),Object(I.a)(e=>{this.actualPage+=e.length}),Object(gt.a)(1));return this.queue.push(n),n}getRatingsInfo(e,t){return this.apiNews.getRatingsInfo(e).pipe(Object(I.a)(e=>{Object(St.a)(t,e,Object(F.J)())}))}
1updateRatings(e,t,n){return this.apiNews.updateRatings(e,t,n).pipe(Object(I.a)(e=>{Object(St.a)(t,e,Object(F.J)())}))}createComment(e,t,n){return this.apiNews.createComment(e,t,n)}listComments(e,t){return this.apiNews.listComments(e,t)}createDislike(e,t,n){return this.apiNews.createDislike(e,t,n)}createLike(e,t,n){return this.apiNews.createLike(e,t,n)}deleteComment(e,t){return this.apiNews.deleteComment(e,t)}deleteDislike(e,t){return this.apiNews.deleteDislike(e,t)}deleteLike(e,t){return this.apiNews.deleteLike(e,t)}internalGetNextSimpleNews(e){if(this.actualSimpleNewsIndex>=this.simpleNews.length)return null;const t=this.simpleNews.slice(this.actualSimpleNewsIndex,this.actualSimpleNewsIndex+e);return this.actualSimpleNewsIndex+=t.length,t}internalGetNextWeekTopNews(e){if(this.actualWeekTopNewsIndex>=this.weekTopNews.length)return null;const t=this.weekTopNews.slice(this.actualWeekTopNewsIndex,this.actualWeekTopNewsIndex+e);return this.actualWeekTopNewsIndex+=t.length,t}getRootNewsId(){let e=this.activatedRoute;for(;null!==e.firstChild;)e=e.firstChild;return Number(e.snapshot.paramMap.get("id"))}extractDemoLink(){let e=this.activatedRoute;for(;null!==e.firstChild;)e=e.firstChild;return e.snapshot.queryParamMap.get("demo")}prepare(){return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseNewsLayout().pipe(Object(ce.a)(1),Object(I.a)(e=>{var t;(null===(t=e.simpleNews)||void 0===t?void 0:t.count)>0&&this.pHasMoreNews.next(null)}),Object(le.a)(e=>this.apiNews.doCompoundRequest(e).pipe(Object(I.a)(t=>{t.simpleNews&&(this.simpleNews=t.simpleNews,this.actualSimpleNewsIndex=0,this.pHasMoreNews.next(this.simpleNews.length>e.simpleNews.count)),t.weekTopNews&&(this.weekTopNews=t.weekTopNews,this.actualWeekTopNewsIndex=0)}))),Object(I.a)(()=>{this.isPrepareInProgress=!1}),Object(ft.a)(!0),Object(gt.a)(1),Object(ce.a)(1))),this.prepareObservable}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(_t),c.Mc(j.a),c.Mc(P.a))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Pt=n("lPHt"),kt=n("a4Kx"),Mt=n("GyhO"),It=n("EY2u"),Dt=n("LRne"),jt=n("JIr8"),At=n("kBKH");let Tt=(()=>{class e{constructor(e,t,n,i,r,s,o,a,c){this.router=e,this.siteConfigService=t,this.pageMetaService=n,this.newsApiService=i,this.demoLinkService=r,this.routesService=s,this.languagesManagerService=o,this.document=a,this.response=c}resolve(e,t){console.log("Resolving news page");const n=Number(e.paramMap.get("id")),i=e.queryParamMap.get("demo");return Object(Mt.a)(this.siteConfigService.prepare().pipe(Object(ce.a)(1)),this.pageMetaService.prepare(n,i).pipe(Object(ce.a)(1))).pipe(Object(ft.a)(!0),Object(jt.a)(e=>(console.log(e),this.router.navigate(this.routesService.buildNotFoundRoute()),It.a)))}canActivate(e,t){const n=Number(e.paramMap.get("id")),i=e.paramMap.get("slug"),r=e.queryParamMap.get("demo"),s=r?{demoLink:r}:null;return this.languagesManagerService.appLocale$.pipe(Object(le.a)(t=>this.newsApiService.requestSingleNews(n,[],s,t).pipe(Object(ce.a)(1),Object(le.a)(s=>{var o,a;const[c]=t.split("-",2);if(null===s)return null!==this.response?this.newsApiService.checkRedirect(n).pipe(Object(le.a)(e=>{const t=null!==e.redirectUrl;return t&&this.response.redirect(e.redirectUrl,e.httpCode),Object(Dt.a)(!t&&this.router.createUrlTree(this.routesService.buildNotFoundRoute(c)))})):Object(Dt.a)(this.router.createUrlTree(this.routesService.buildNotFoundRoute(c)));if(this.demoLinkService.setIsDemoLink(Boolean(r)),s.isExclusive){let t=s.url;const n=Object.keys(null!==(o=e.queryParams)&&void 0!==o?o:{}).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e.queryParams[t])}`).join("&");return n.length>0&&(t+="?"+n),(null===(a=e.fragment)||void 0===a?void 0:a.length)>0&&(t+="#"+e.fragment),null!==this.response?this.response.redirect(301,t):this.document.location.href=t,Object(Dt.a)(!1)}return i!==s.slug?Object(Dt.a)(this.router.createUrlTree(this.routesService.buildNewsDetailPageRoute(s,c))):Object(Dt.a)(!0)}))))}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(P.d),c.Mc(At.c),c.Mc(Pt.a),c.Mc(j.a),c.Mc(F.s),c.Mc(F.fb),c.Mc(F.C),c.Mc(oe.e),c.Mc(kt.a,8))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),zt=(()=>{class e{constructor(e,t){this.layoutService=e,this.apiService=t,this.simpleSpecialThemes=[],this.actualSimpleSpecialThemeIndex=-1,this.selectedSpecialThemes=new Map,this.isPrepareInProgress=!1,this.oldLayoutData=null}reset(){this.layoutService.parseSpecialThemesLayout().pipe(Object(ce.a)(1)).subscribe(e=>{void 0!==this.prepareObservable&&Object(mt.a)(this.oldLayoutData,e)||(this.prepareObservable=void 0,this.oldLayoutData=e),this.actualSimpleSpecialThemeIndex=0})}getNextSimpleSpecialTheme(e){return this.prepare().pipe(Object(pt.a)(()=>this.internalGetNextSimpleSpecialThemes(e)))}getSelectedSpecialTheme(e){return this.prepare().pipe(Object(pt.a)(()=>this.internalGetSelectedSpecialTheme(e)))}internalGetNextSimpleSpecialThemes(e){if(this.actualSimpleSpecialThemeIndex>=this.simpleSpecialThemes.length)return null;const t=this.simpleSpecialThemes.slice(this.actualSimpleSpecialThemeIndex,this.actualSimpleSpecialThemeIndex+e);return this.actualSimpleSpecialThemeIndex+=t.length,t}internalGetSelectedSpecialTheme(e){return this.selectedSpecialThemes.has(e)?this.selectedSpecialThemes.get(e):null}prepare(){return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseSpecialThemesLayout().pipe(Object(ce.a)(1),Object(le.a)(e=>this.apiService.doCompoundRequest(e).pipe(Object(I.a)(e=>{if(e.simpleSpecialThemes&&(this.simpleSpecialThemes=e.simpleSpecialThemes,this.actualSimpleSpecialThemeIndex=0),e.selectedSpecialThemes){this.selectedSpecialThemes.clear();for(const t in e.selectedSpecialThemes)e.selectedSpecialThemes.hasOwnProperty(t)&&this.selectedSpecialThemes.set(Number.parseInt(t,10),e.selectedSpecialThemes[t])}}))),Object(I.a)(()=>{this.isPrepareInProgress=!1}),Object(ft.a)(!0),Object(gt.a)(1),Object(ce.a)(1))),this.prepareObservable}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(_t),c.Mc(T.a))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Lt=(()=>{class e{constructor(e){this.apiService=e}addVote(e,t,n){return this.apiService.addVote(e,t,n).pipe(Object(I.a)(t=>{e.isActive=t.isActive,e.userVote=t.userVote,e.canUserVote=t.canUserVote,e.votesCount=t.votesCount,e.votesCountLabel=t.votesCountLabel,e.answers.forEac
1h(e=>{const n=t.answers.find(t=>t.id===e.id);void 0!==n&&(e.votesCount=n.votesCount)})}))}}return e.\u0275fac=function(t){return new(t||e)(c.Mc(z.b))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Nt=(()=>{class e extends i.e{buildSimpleNews(e,t,n){return new j.t(e,t,n)}}return e.\u0275fac=function(t){return Rt(t||e)},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Rt=c.Gc(Nt);let Ft=(()=>{class e extends i.k{buildAdsTeaser(e,t,n,i,r,s,o,a,c){return new D.a(e,t,n,i,r,s,o,a,c)}buildLastNewsFeed(e,t,n,i,r,s){return new j.h(e,t,n,i,r,s)}buildSingleSpecialTheme(e,t,n,i,r,s,o,a){return new T.d(e,t,n,i,r,s,o,a)}buildTopCompanies(e,t,n,i,r,s,o){return new A.u(e,t,n,i,r,s,o)}buildWeekTopNews(e,t,n,i,r){return new j.z(e,t,n,i,r)}buildNewsCardsBlock(e,t,n,i){return new j.k(e,t,n,i)}buildNewsDetailView(e,t,n,i,s,o,a){return new r(e,t,n,i,s,o,a)}buildPoll(e,t,n,i,r,s,o,a){return new z.c(e,t,n,i,r,s,o,a)}buildCurrencyInformer(e,t,n,i){return new R.e(e,t,n,i)}}return e.\u0275fac=function(t){return Vt(t||e)},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Vt=c.Gc(Ft)},qJSi:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("fXoL"),r=n("PqYM"),s=n("IzEk"),o=n("GQzd"),a=n("AytR"),c=n("ehPC"),l=n("GJzE");const u=["newsFeed"];function d(e,t){if(1&e&&i.zc(0,"app-card-label",7),2&e){const e=i.Uc(3);i.bd("title",e.widget.label)}}function h(e,t){if(1&e&&(i.Ec(0,"div",18),i.zd(1),i.Dc()),2&e){const e=i.Uc().$implicit;i.jc(1),i.Ad(e.label)}}function p(e,t){if(1&e&&(i.Ec(0,"div",19),i.Ec(1,"a",20),i.Tc(),i.Ec(2,"svg",21),i.zc(3,"use",22),i.Dc(),i.Sc(),i.Ec(4,"span"),i.zd(5),i.Vc(6,"number"),i.Dc(),i.Dc(),i.Dc()),2&e){const e=i.Uc().$implicit;i.jc(1),i.dd("fragment","comments-",e.id,""),i.bd("appNewsUrl",e),i.jc(4),i.Ad(i.Wc(6,3,e.commentsCount))}}function f(e,t){if(1&e&&(i.Ec(0,"div"),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.Bd(" ",e," ")}}function g(e,t){if(1&e&&(i.Ec(0,"article",8),i.Ec(1,"div",9),i.Ec(2,"div",10),i.Ec(3,"a",11),i.zd(4),i.Dc(),i.Ec(5,"div",12),i.xd(6,h,2,1,"div",13),i.xd(7,p,7,5,"div",14),i.Dc(),i.Dc(),i.Ec(8,"div",15),i.Ec(9,"div",16),i.xd(10,f,2,1,"div",17),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e){const e=t.$implicit,n=i.Uc(3);i.jc(3),i.cd("title",e.title),i.bd("appNewsUrl",e),i.jc(1),i.Ad(e.title),i.jc(2),i.bd("ngIf",e.label.length>0),i.jc(1),i.bd("ngIf",e.allowComment&&e.commentsCount>0),i.jc(2),i.bd("ngClass",n.getModelPublishDateClass(e)),i.jc(1),i.bd("ngForOf",n.getModelPublishDate(e))}}function m(e,t){if(1&e&&(i.Cc(0),i.xd(1,d,1,1,"app-card-label",5),i.xd(2,g,11,7,"article",6),i.Bc()),2&e){const e=i.Uc(2);i.jc(1),i.bd("ngIf",e.widget.label),i.jc(1),i.bd("ngForOf",e.news)}}function b(e,t){1&e&&(i.Ec(0,"div",23),i.zc(1,"app-circle-loader"),i.Dc())}function v(e,t){if(1&e&&(i.Ec(0,"div",1,2),i.xd(2,m,3,2,"ng-container",3),i.xd(3,b,2,0,"div",4),i.Dc()),2&e){const e=i.Uc();i.pc("showAfter",e.isTall),i.jc(2),i.bd("ngIf",null!==e.news),i.jc(1),i.bd("ngIf",null===e.news)}}let w=(()=>{class e extends c.j{constructor(e,t,n,i){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.routesService=n,this.newsService=i,this.news=null,this.pIsTall=!1,this.pIsTallShadow=!1}get isTall(){return this.pIsTall}ngOnInit(){this.newsService.getNextSimpleNews(this.widget.newsCount,this.widget.fillerItemsCount).pipe(Object(s.a)(1)).subscribe(e=>{this.news=e,null!==this.news?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};a.a.useLoadingDelay?Object(r.a)(1500).subscribe(t):t()})}ngAfterViewChecked(){this.pIsTallShadow=void 0!==this.newsFeedElement&&this.newsFeedElement.nativeElement.clientHeight>=1100}ngDoCheck(){this.pIsTallShadow!==this.pIsTall&&(this.pIsTall=this.pIsTallShadow)}getModelPublishDate(e){return e.isPublishedToday?[e.friendlyPublishDate[0]]:e.friendlyPublishDate}getModelPublishDateClass(e){return e.isPublishedToday?null:"article-card__date--past"}}return e.\u0275fac=function(t){return new(t||e)(i.yc(c.A,8),i.yc(i.w),i.yc(l.fb),i.yc(o.v))}
1,e.\u0275cmp=i.sc({type:e,selectors:[["app-shared-last-news-feed"]],viewQuery:function(e,t){var n;1&e&&i.Dd(u,!0,i.q),2&e&&i.jd(n=i.Rc())&&(t.newsFeedElement=n.first)},features:[i.gc],decls:2,vars:5,consts:[["class","news-feed",3,"showAfter",4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[1,"news-feed"],["newsFeed",""],[4,"ngIf"],["class","text-center",4,"ngIf"],["className","card-label card-label--in-feed mb-4",3,"title",4,"ngIf"],["class","article-card article-card--in-feed",4,"ngFor","ngForOf"],["className","card-label card-label--in-feed mb-4",3,"title"],[1,"article-card","article-card--in-feed"],[1,"article-card__content"],[1,"article-card__title"],[3,"title","appNewsUrl"],[1,"article-card__title--info"],["class","article-card__title--toaster",4,"ngIf"],["class","card-actions",4,"ngIf"],[1,"article-card__info"],[1,"article-card__date",3,"ngClass"],[4,"ngFor","ngForOf"],[1,"article-card__title--toaster"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],["width","20","height","20"],[0,"xlink","href","#icon-comment"],[1,"text-center"]],template:function(e,t){1&e&&(i.xd(0,v,4,4,"div",0),i.Vc(1,"async")),2&e&&i.bd("appLoadingPlaceholder",i.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:['.news-feed[_ngcontent-%COMP%]{overflow:hidden}@media (min-width:1024px){.news-feed[_ngcontent-%COMP%]{margin:0 0 24px;position:relative}}@media (min-width:1024px){.news-feed[_ngcontent-%COMP%]:after{position:absolute;bottom:0;left:0;width:100%;height:60px;background-color:hsla(0,0%,100%,.5);background-image:linear-gradient(0deg,#fff,hsla(0,0%,100%,.75),hsla(0,0%,100%,.5),hsla(0,0%,100%,0));content:"";pointer-events:none}}@media (min-width:1024px) and (max-width:1199px){.news-feed[_ngcontent-%COMP%]{max-height:800px}}@media (min-width:1200px) and (max-width:1500px){.news-feed[_ngcontent-%COMP%]{max-height:1000px}}@media (min-width:1500px){.news-feed[_ngcontent-%COMP%]{max-height:1100px}.news-feed[_ngcontent-%COMP%]:after{display:none}}.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__title--info[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:6px}.article-card__title--info[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:not(:first-child){margin-left:10px}.article-card__title--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px;color:var(--green-primary);font-size:14px;line-height:14px;text-transform:uppercase}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card__date[_ngcontent-%COMP%]{display:flex;max-width:100%;color:var(--green-primary)}.article-card__date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.article-card__date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{content:",";display:inline}.article-card__date--past[_ngcontent-%COMP%]{color:rgba(50,50,50,.35)}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:flex}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]{line-height:0}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;
1fill:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;font-size:14px;line-height:29px;color:var(--green-primary)}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__date[_ngcontent-%COMP%]{flex-direction:column}.article-card__date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{content:"";display:none}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;top:16px;left:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{flex-grow:1}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;flex-shrink:0;width:56px;margin-top:4px;margin-right:10px}}@media (min-width:1500px){.showAfter[_ngcontent-%COMP%]:after{display:initial!important}}']}),e})()},qkWt:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,(function(t){return e[t]}).bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){var i,r;void 0===(r="function"==typeof(i={af:function(e,t){return t?"other":1==e?"one":"other"},ak:function(e,t){return t?"other":0==e||1==e?"one":"other"},am:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ar:function(e,t){var n=String(e).split("."),i=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},ars:function(e,t){var n=String(e).split("."),i=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},as:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},asa:function(e,t){return t?"other":1==e?"one":"other"},ast:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},az:function(e,t){var n=String(e).split(".")[0],i=n.slice(-1),r=n.slice(-2),s=n.slice(-3);return t?1==i||2==i||5==i||7==i||8==i||20==r||50==r||70==r||80==r?"one":3==i||4==i||100==s||200==s||300==s||400==s||500==s||600==s||700==s||800==s||900==s?"few":0==n||6==i||40==r||60==r||90==r?"many":"other":1==e?"one":"other"},be:function(e,t){var n=String(e).split("."),i=Number(n[0])==e,r=i&&n[0].slice(-1),s=i&&n[0].slice(-2);return t?2!=r&&3!=r||12==s||13==s?"other":"few":1==r&&11!=s?"one":r>=2&&r<=4&&(s<12||s>14)?"few":i&&0==r||r>=5&&r<=9||s>=11&&s<=14?"many":"other"},bem:function(e,t){return t?"other":1==e?"one":"other"},bez:function(e,t){return t?"other":1==e?"one":"other"},bg:function(e,t){return t?"other":1==e?"one":"other"},bh:function(e,t){return t?"other":0==e||1==e?"one":"other"},bm:function(e,t){return"other"},bn:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},bo:function(e,t){return"other"},br:function(e,t){var n=String(e).split("."),i=Number(n[0])==e,r=i&&n[0].slice(-1),s=i&&n[0].slice(-2),o=i&&n[0].slice(-6);return t?"other":1==r&&11!=s&&71!=s&&91!=s?"one":2==r&&12!=s&&72!=s&&92!=s?"two":(3==r||4==r||9==r)&&(s<10||s>19)&&(s<70||s>79)&&(s<90||s>99)?"few":0!=e&&i&&0==o?"many":"other"},brx:function(e,t){return t?"other":1==e?"one":"other"},bs:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",s=!n[1],o=i.slice(-1),a=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?"other":s&&1==o&&11!=a||1==c&&11!=l?"one":s&&o>=2&&o<=4&&(a<12||a>14)||c>=2&&c<=4&&(l<12||l>14)?"few":"other"},ca:function(e,t){var n=String(e).split(".");return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1!=e||n[1]?"other":"one"},ce:function(e,t){return t?"other":1==e?"one":"other"},cgg:function(e,t){return t?"other":1==e?"one":"other"},chr:function(e,t){return t?"other":1==e?"one":"other"},ckb:function(e,t){return t?"other":1==e?"one":"other"},cs:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1];return t?"other":1==e&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},cy:function(e,t){return t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e,t){var n=String(e).split("."),i=n[0],r=Number(n[0])==e;return t||1!=e&&(r||0!=i&&1!=i)?"other":"one"},de:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},dsb:function(e,t){var n=String(e).split("."),i=n[1]||"",r=!n[1],s=n[0].slice(-2),o=i.slice(-2);return t?"other":r&&1==s||1==o?"one":r&&2==s||2==o?"two":r&&(3==s||4==s)||3==o||4==o?"few":"other"},dv:function(e,t){return t?"other":1==e?"one":"other"},dz:function(e,t){return"other"},ee:function(e,t){return t?"other":1==e?"one":"other"},el:function(e,t){return t?"other":1==e?"one":"other"},en:function(e,t){var n=String(e).split("."),i=!n[1],r=Number(n[0])==e,s=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return t?1==s&&11!=o?"one":2==s&&12!=o?"two":3==s&&13!=o?"few":"other":1==e&&i?"one":"other"},eo:function(e,t){return t?"other":1==e?"one":"other"},es:function(e,t){return t?"other":1==e?"one":"other"},et:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},eu:function(e,t){return t?"other":1==e?"one":"other"},fa:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ff:function(e,t){return t?"other":e>
1=0&&e<2?"one":"other"},fi:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},fil:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",s=!n[1],o=i.slice(-1),a=r.slice(-1);return t?1==e?"one":"other":s&&(1==i||2==i||3==i)||s&&4!=o&&6!=o&&9!=o||!s&&4!=a&&6!=a&&9!=a?"one":"other"},fo:function(e,t){return t?"other":1==e?"one":"other"},fr:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},fur:function(e,t){return t?"other":1==e?"one":"other"},fy:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},ga:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":i&&e>=3&&e<=6?"few":i&&e>=7&&e<=10?"many":"other"},gd:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":i&&e>=3&&e<=10||i&&e>=13&&e<=19?"few":"other"},gl:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},gsw:function(e,t){return t?"other":1==e?"one":"other"},gu:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},guw:function(e,t){return t?"other":0==e||1==e?"one":"other"},gv:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],s=i.slice(-1),o=i.slice(-2);return t?"other":r&&1==s?"one":r&&2==s?"two":!r||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?r?"other":"many":"few"},ha:function(e,t){return t?"other":1==e?"one":"other"},haw:function(e,t){return t?"other":1==e?"one":"other"},he:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],s=Number(n[0])==e,o=s&&n[0].slice(-1);return t?"other":1==e&&r?"one":2==i&&r?"two":r&&(e<0||e>10)&&s&&0==o?"many":"other"},hi:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},hr:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",s=!n[1],o=i.slice(-1),a=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?"other":s&&1==o&&11!=a||1==c&&11!=l?"one":s&&o>=2&&o<=4&&(a<12||a>14)||c>=2&&c<=4&&(l<12||l>14)?"few":"other"},hsb:function(e,t){var n=String(e).split("."),i=n[1]||"",r=!n[1],s=n[0].slice(-2),o=i.slice(-2);return t?"other":r&&1==s||1==o?"one":r&&2==s||2==o?"two":r&&(3==s||4==s)||3==o||4==o?"few":"other"},hu:function(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"},hy:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},ia:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},id:function(e,t){return"other"},ig:function(e,t){return"other"},ii:function(e,t){return"other"},in:function(e,t){return"other"},io:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},is:function(e,t){var n=String(e).split("."),i=n[0],r=Number(n[0])==e,s=i.slice(-1),o=i.slice(-2);return t?"other":r&&1==s&&11!=o||!r?"one":"other"},it:function(e,t){var n=String(e).split(".");return t?11==e||8==e||80==e||800==e?"many":"other":1!=e||n[1]?"other":"one"},iu:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},iw:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],s=Number(n[0])==e,o=s&&n[0].slice(-1);return t?"other":1==e&&r?"one":2==i&&r?"two":r&&(e<0||e>10)&&s&&0==o?"many":"other"},ja:function(e,t){return"other"},jbo:function(e,t){return"other"},jgo:function(e,t){return t?"other":1==e?"one":"other"},ji:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},jmc:function(e,t){return t?"other":1==e?"one":"other"},jv:function(e,t){return"other"},jw:function(e,t){return"other"},ka:function(e,t){var n=String(e).split(".")[0],i=n.slice(-2);return t?1==n?"one":0==n||i>=2&&i<=20||40==i||60==i||80==i?"many":"other":1==e?"one":"other"},kab:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},kaj:function(e,t){return t?"other":1==e?"one":"other"},kcg:function(e,t){return t?"other":1==e?"one":"other"},kde:function(e,t){return"other"},kea:function(e,t){return"other"},kk:function(e,t){var n=String(e).split("."),i=Number(n[0])==e,r=i&&n[0].slice(-1);return t?6==r||9==r||i&&0==r&&0!=e?"many":"other":1==e?"one":"other"},kkj:function(e,t){return t?"other":1==e?"one":"other"},kl:function(e,t){return t?"other":1==e?"one":"other"},km:function(e,t){return"other"},kn:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ko:function(e,t){return"other"},ks:function(e,t){return t?"other":1==e?"one":"other"},ksb:function(e,t){return t?"other":1==e?"one":"other"},ksh:function(e,t){return t?"other":0==e?"zero":1==e?"one":"other"},ku:function(e,t){return t?"other":1==e?"one":"other"},kw:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},ky:function(e,t){return t?"other":1==e?"one":"other"},lag:function(e,t){var n=String(e).split(".")[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},lb:function(e,t){return t?"other":1==e?"one":"other"},lg:function(e,t){return t?"other":1==e?"one":"other"},lkt:function(e,t){return"other"},ln:function(e,t){return t?"other":0==e||1==e?"one":"other"},lo:function(e,t){return t&&1==e?"one":"other"},lt:function(e,t){var n=String(e).split("."),i=n[1]||"",r=Number(n[0])==e,s=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return t?"other":1==s&&(o<11||o>19)?"one":s>=2&&s<=9&&(o<11||o>19)?"few":0!=i?"many":"other"},lv:function(e,t){var n=String(e).split("."),i=n[1]||"",r=i.length,s=Number(n[0])==e,o=s&&n[0].slice(-1),a=s&&n[0].slice(-2),c=i.slice(-2),l=i.slice(-1);return t?"other":s&&0==o||a>=11&&a<=19||2==r&&c>=11&&c<=19?"zero":1==o&&11!=a||2==r&&1==l&&11!=c||2!=r&&1==l?"one":"other"},mas:function(e,t){return t?"other":1==e?"one":"other"},mg:function(e,t){return t?"other":0==e||1==e?"one":"other"},mgo:function(e,t){return t?"other":1==e?"one":"other"},mk:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",s=!n[1],o=i.slice(-1),a=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":7!=o&&8!=o||17==a||18==a?"other":"many":s&&1==o&&11!=a||1==c&&11!=l?"one":"other"},ml:function(e,t){return t?"other":1==e?"one":"other"},mn:function(e,t){return t?"other":1==e?"one":"other"},mo:function(e,t){var n=String(e).split("."),i=!n[1],r=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&i?"one":!i||0==e||1!=e&&r>=1&&r<=19?"few":"other"},mr:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":e>=0&&e<=1?"one":"other"},ms:function(e,t){return t&&1==e?"one":"other"},mt:function(e,t){var n=String(e).split("."),i=Number(n[0])==e&&n[0].slice(-2);return t?"other":1==e?"one":0==e||i>=2&&i<=10?"few":i>=11&&i<=19?"many":"other"},my:function(e,t){return"other"},nah:function(e,t){return t?"other":1==e?"one":"other"},naq:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},nb:function(e,t){return t?"other":1==e?"one":"other"},nd:function(e,t){return t?"other":1==e?"one":"other"},ne:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?i&&e>
1=1&&e<=4?"one":"other":1==e?"one":"other"},nl:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},nn:function(e,t){return t?"other":1==e?"one":"other"},nnh:function(e,t){return t?"other":1==e?"one":"other"},no:function(e,t){return t?"other":1==e?"one":"other"},nqo:function(e,t){return"other"},nr:function(e,t){return t?"other":1==e?"one":"other"},nso:function(e,t){return t?"other":0==e||1==e?"one":"other"},ny:function(e,t){return t?"other":1==e?"one":"other"},nyn:function(e,t){return t?"other":1==e?"one":"other"},om:function(e,t){return t?"other":1==e?"one":"other"},or:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?1==e||5==e||i&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},os:function(e,t){return t?"other":1==e?"one":"other"},pa:function(e,t){return t?"other":0==e||1==e?"one":"other"},pap:function(e,t){return t?"other":1==e?"one":"other"},pl:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],s=i.slice(-1),o=i.slice(-2);return t?"other":1==e&&r?"one":r&&s>=2&&s<=4&&(o<12||o>14)?"few":r&&1!=i&&(0==s||1==s)||r&&s>=5&&s<=9||r&&o>=12&&o<=14?"many":"other"},prg:function(e,t){var n=String(e).split("."),i=n[1]||"",r=i.length,s=Number(n[0])==e,o=s&&n[0].slice(-1),a=s&&n[0].slice(-2),c=i.slice(-2),l=i.slice(-1);return t?"other":s&&0==o||a>=11&&a<=19||2==r&&c>=11&&c<=19?"zero":1==o&&11!=a||2==r&&1==l&&11!=c||2!=r&&1==l?"one":"other"},ps:function(e,t){return t?"other":1==e?"one":"other"},pt:function(e,t){var n=String(e).split(".")[0];return t?"other":0==n||1==n?"one":"other"},"pt-PT":function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},rm:function(e,t){return t?"other":1==e?"one":"other"},ro:function(e,t){var n=String(e).split("."),i=!n[1],r=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&i?"one":!i||0==e||1!=e&&r>=1&&r<=19?"few":"other"},rof:function(e,t){return t?"other":1==e?"one":"other"},root:function(e,t){return"other"},ru:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],s=i.slice(-1),o=i.slice(-2);return t?"other":r&&1==s&&11!=o?"one":r&&s>=2&&s<=4&&(o<12||o>14)?"few":r&&0==s||r&&s>=5&&s<=9||r&&o>=11&&o<=14?"many":"other"},rwk:function(e,t){return t?"other":1==e?"one":"other"},sah:function(e,t){return"other"},saq:function(e,t){return t?"other":1==e?"one":"other"},sc:function(e,t){var n=String(e).split(".");return t?11==e||8==e||80==e||800==e?"many":"other":1!=e||n[1]?"other":"one"},scn:function(e,t){var n=String(e).split(".");return t?11==e||8==e||80==e||800==e?"many":"other":1!=e||n[1]?"other":"one"},sd:function(e,t){return t?"other":1==e?"one":"other"},sdh:function(e,t){return t?"other":1==e?"one":"other"},se:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},seh:function(e,t){return t?"other":1==e?"one":"other"},ses:function(e,t){return"other"},sg:function(e,t){return"other"},sh:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",s=!n[1],o=i.slice(-1),a=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?"other":s&&1==o&&11!=a||1==c&&11!=l?"one":s&&o>=2&&o<=4&&(a<12||a>14)||c>=2&&c<=4&&(l<12||l>14)?"few":"other"},shi:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?"other":e>=0&&e<=1?"one":i&&e>=2&&e<=10?"few":"other"},si:function(e,t){var n=String(e).split(".");return t?"other":0==e||1==e||0==n[0]&&1==(n[1]||"")?"one":"other"},sk:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1];return t?"other":1==e&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},sl:function(e,t){var n=String(e).split("."),i=!n[1],r=n[0].slice(-2);return t?"other":i&&1==r?"one":i&&2==r?"two":i&&(3==r||4==r)||!i?"few":"other"},sma:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smi:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smj:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smn:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sms:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sn:function(e,t){return t?"other":1==e?"one":"other"},so:function(e,t){return t?"other":1==e?"one":"other"},sq:function(e,t){var n=String(e).split("."),i=Number(n[0])==e,r=i&&n[0].slice(-1),s=i&&n[0].slice(-2);return t?1==e?"one":4==r&&14!=s?"many":"other":1==e?"one":"other"},sr:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",s=!n[1],o=i.slice(-1),a=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?"other":s&&1==o&&11!=a||1==c&&11!=l?"one":s&&o>=2&&o<=4&&(a<12||a>14)||c>=2&&c<=4&&(l<12||l>14)?"few":"other"},ss:function(e,t){return t?"other":1==e?"one":"other"},ssy:function(e,t){return t?"other":1==e?"one":"other"},st:function(e,t){return t?"other":1==e?"one":"other"},sv:function(e,t){var n=String(e).split("."),i=!n[1],r=Number(n[0])==e,s=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return t?1!=s&&2!=s||11==o||12==o?"other":"one":1==e&&i?"one":"other"},sw:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},syr:function(e,t){return t?"other":1==e?"one":"other"},ta:function(e,t){return t?"other":1==e?"one":"other"},te:function(e,t){return t?"other":1==e?"one":"other"},teo:function(e,t){return t?"other":1==e?"one":"other"},th:function(e,t){return"other"},ti:function(e,t){return t?"other":0==e||1==e?"one":"other"},tig:function(e,t){return t?"other":1==e?"one":"other"},tk:function(e,t){var n=String(e).split("."),i=Number(n[0])==e&&n[0].slice(-1);return t?6==i||9==i||10==e?"few":"other":1==e?"one":"other"},tl:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",s=!n[1],o=i.slice(-1),a=r.slice(-1);return t?1==e?"one":"other":s&&(1==i||2==i||3==i)||s&&4!=o&&6!=o&&9!=o||!s&&4!=a&&6!=a&&9!=a?"one":"other"},tn:function(e,t){return t?"other":1==e?"one":"other"},to:function(e,t){return"other"},tr:function(e,t){return t?"other":1==e?"one":"other"},ts:function(e,t){return t?"other":1==e?"one":"other"},tzm:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?"other":0==e||1==e||i&&e>=11&&e<=99?"one":"other"},ug:function(e,t){return t?"other":1==e?"one":"other"},uk:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],s=Number(n[0])==e,o=s&&n[0].slice(-1),a=s&&n[0].slice(-2),c=i.slice(-1),l=i.slice(-2);return t?3==o&&13!=a?"few":"other":r&&1==c&&11!=l?"one":r&&c>=2&&c<=4&&(l<12||l>14)?"few":r&&0==c||r&&c>=5&&c<=9||r&&l>=11&&l<=14?"many":"other"},ur:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},uz:function(e,t){return t?"other":1==e?"one":"other"},ve:function(e,t){return t?"other":1==e?"one":"other"},vi:function(e,t){return t&&1==e?"one":"other"},vo:function(e,t){return t?"other":1==e?"one":"other"},vun:function(e,t){return t?"other":1==e?"one":"other"},wa:function(e,t){return t?"other":0==e||1==e?"one":"other"},wae:function(e,t){return t?"other":1==e?"one":"other"},wo:function(e,t){return"other"},xh:function(e,t){return t?"other":1==e?"one":"other"},xog:function(e,t){return t?"other":1==e?"one":"other"},yi:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},yo:function(e,t){return"other"},yue:function(e,t){return"other"},zh:function(e,t){return"other"},zu:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"}})?i.call(t,n,t,e):i)||(e.exports=r)},function(e,t,n){e.exports={date:n(4),duration:n(5),number:n(6),time:n(7)}},function(e,t,n){"use strict";function i(e,t,n,r){this.message=e,this.expected=t,this.found=n,this.location=r,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,i)}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(i,Error),i.buildMessage=function(e,t){var n={literal:function(e){return'"'+r(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?s(e.parts[t][0])+"-"+s(e.parts[t][1]):s(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function i(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+i(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+i(e)}))}function s(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+i(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+i(e)}))}return"Expected "+function(e){var t,i,r,s=new Array(e.length);for(t=0;t<e.length;t++)s[t]=n[(r=e[t]).type](r);if(s.sort(),s.length>0){for(t=1,i=1;t<s.length;t++)s[t-1]!==s[t]&&(s[i]=s[t],i++);s.length=i}switch(s.length){case 1:return s[0];case 2:return s[0]+" or "+s[1];default:return s.slice(0,-1).join(", ")+", or "+s[s.length-1]}}(e)+" but "+function(e){return e?'"'+r(e)+'"':"end of input"}(t)+" found."},e.exports={SyntaxError:i,parse:function(e,t){t=void 0!==t?t:{};var n,r={},s={start:Se},o=Se,a=ye("#",!1),c=function(){return Ne[0]},l=function(e){return e.join("")},u="{",d=ye("{",!1),h="}",p=ye("}",!1),f=",",g=ye(",",!1),m="select",b=ye("select",!1),v=function(e,n){return t.strict&&Ne.unshift(!1),n},w=function(e,n){return t.strict&&Ne.shift(),{type:"select",arg:e,cases:n}},y="plural",C=ye("plural",!1),_="selectordinal",x=ye("selectordinal",!1),O=function(e,n,i,r){var s=("selectordinal"===n?t.ordinal:t.cardinal)||["zero","one","two","few","many","other"];return s&&s.length&&r.forEach((function(t){if(isNaN(t.key)&&s.indexOf(t.key)<0)throw new Error("Invalid key `"+t.key+"` for argument `"+e+"`. Valid "+n+" keys for this locale are `"+s.join("`, `")+"`, and explicit keys like `=0`.")})),Ne.shift(),{type:n,arg:e,offset:i||0,cases:r}},S=_e("identifier"),E=/^[^\t-\r \x85\u200E\u200F\u2028\u2029!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,P=Ce([["\t","\r"]," ","\x85","\u200e","\u200f","\u2028","\u2029",["!","/"],[":","@"],["[","^"],"`",["{","~"],["\xa1","\xa7"],"\xa9","\xab","\xac","\xae","\xb0","\xb1","\xb6","\xbb","\xbf","\xd7","\xf7",["\u2010","\u2027"],["\u2030","\u203e"],["\u2041","\u2053"],["\u2055","\u205e"],["\u2190","\u245f"],["\u2500","\u2775"],["\u2794","\u2bff"],["\u2e00","\u2e7f"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\ufd3e","\ufd3f","\ufe45","\ufe46"],!0,!1),k=function(e,t){return{key:e,tokens:t}},M=_e("plural offset"),I="offset",D=ye("offset",!1),j=ye(":",!1),A=ye("=",!1),T="number",z=ye("number",!1),L="date",N=ye("date",!1),R="time",F=ye("time",!1),V="spellout",U=ye("spellout",!1),H="ordinal",B=ye("ordinal",!1),$="duration",q=ye("duration",!1),W=function(e){if(t.strict||/^\d/.test(e))return!1;
1switch(e.toLowerCase()){case"select":case"plural":case"selectordinal":return!1;default:return!0}},G=function(e){return!t.strict},X=_e("a valid (strict) function parameter"),Z=/^[^'{}]/,Y=Ce(["'","{","}"],!0,!1),Q=ye("'",!1),K=_e("doubled apostrophe"),J=ye("''",!1),ee=/^[^']/,te=Ce(["'"],!0,!1),ne=ye("'{",!1),ie=ye("'}",!1),re=_e("escaped string"),se=ye("'#",!1),oe=_e("plain char"),ae=/^[^{}#\0-\x08\x0E-\x1F\x7F]/,ce=Ce(["{","}","#",["\0","\b"],["\x0e","\x1f"],"\x7f"],!0,!1),le=_e("integer"),ue=/^[0-9]/,de=Ce([["0","9"]],!1,!1),he=_e("white space"),pe=/^[\t-\r \x85\u200E\u200F\u2028\u2029]/,fe=Ce([["\t","\r"]," ","\x85","\u200e","\u200f","\u2028","\u2029"],!1,!1),ge=0,me=[{line:1,column:1}],be=0,ve=[],we=0;if("startRule"in t){if(!(t.startRule in s))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=s[t.startRule]}function ye(e,t){return{type:"literal",text:e,ignoreCase:t}}function Ce(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function _e(e){return{type:"other",description:e}}function xe(t){var n,i=me[t];if(i)return i;for(n=t-1;!me[n];)n--;for(i={line:(i=me[n]).line,column:i.column};n<t;)10===e.charCodeAt(n)?(i.line++,i.column=1):i.column++,n++;return me[t]=i,i}function Oe(e){ge<be||(ge>be&&(be=ge,ve=[]),ve.push(e))}function Se(){var e,t;for(e=[],t=Ee();t!==r;)e.push(t),t=Ee();return e}function Ee(){var t,n,i;if((t=function(){var t,n,i,s;return t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===we&&Oe(d)),n!==r&&Le()!==r&&(i=Pe())!==r&&Le()!==r?(125===e.charCodeAt(ge)?(s=h,ge++):(s=r,0===we&&Oe(p)),s!==r?t=n=function(e){return{type:"argument",arg:e}}(i):(ge=t,t=r)):(ge=t,t=r),t}())===r&&(t=function(){var t,n,i,s,o,a,c,l,y;if(t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===we&&Oe(d)),n!==r)if(Le()!==r)if((i=Pe())!==r)if(Le()!==r)if(44===e.charCodeAt(ge)?(s=f,ge++):(s=r,0===we&&Oe(g)),s!==r)if(Le()!==r)if(e.substr(ge,6)===m?(o=m,ge+=6):(o=r,0===we&&Oe(b)),o!==r&&(o=v(0,o)),o!==r)if((o=Le())!==r)if(44===e.charCodeAt(ge)?(a=f,ge++):(a=r,0===we&&Oe(g)),a!==r)if(Le()!==r){if(c=[],(l=ke())!==r)for(;l!==r;)c.push(l),l=ke();else c=r;c!==r&&(l=Le())!==r?(125===e.charCodeAt(ge)?(y=h,ge++):(y=r,0===we&&Oe(p)),y!==r?t=n=w(i,c):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;return t}())===r&&(t=function(){var t,n,i,s,o,a,c,l,m,b,v;if(t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===we&&Oe(d)),n!==r)if(Le()!==r)if((i=Pe())!==r)if(Le()!==r)if(44===e.charCodeAt(ge)?(s=f,ge++):(s=r,0===we&&Oe(g)),s!==r)if(Le()!==r)if(e.substr(ge,6)===y?(a=y,ge+=6):(a=r,0===we&&Oe(C)),a===r&&(e.substr(ge,13)===_?(a=_,ge+=13):(a=r,0===we&&Oe(x))),a!==r&&(a=function(e,t){return Ne.unshift(!0),t}(0,a)),(o=a)!==r)if((a=Le())!==r)if(44===e.charCodeAt(ge)?(c=f,ge++):(c=r,0===we&&Oe(g)),c!==r)if(Le()!==r)if((l=function(){var t,n,i,s;return we++,t=ge,Le()!==r?(e.substr(ge,6)===I?(n=I,ge+=6):(n=r,0===we&&Oe(D)),n!==r&&Le()!==r?(58===e.charCodeAt(ge)?(i=":",ge++):(i=r,0===we&&Oe(j)),i!==r&&Le()!==r&&(s=ze())!==r&&Le()!==r?t=s:(ge=t,t=r)):(ge=t,t=r)):(ge=t,t=r),we--,t===r&&0===we&&Oe(M),t}())===r&&(l=null),l!==r){if(m=[],(b=Me())!==r)for(;b!==r;)m.push(b),b=Me();else m=r;m!==r&&(b=Le())!==r?(125===e.charCodeAt(ge)?(v=h,ge++):(v=r,0===we&&Oe(p)),v!==r?t=n=O(i,o,l,m):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;return t}())===r&&(t=function(){var t,n,i,s,o,a,c;return t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===we&&Oe(d)),n!==r&&Le()!==r&&(i=Pe())!==r&&Le()!==r?(44===e.charCodeAt(ge)?(s=f,ge++):(s=r,0===we&&Oe(g)),s!==r&&Le()!==r&&(o=function(){var t,n,i,s,o;return e.substr(ge,6)===T?(t=T,ge+=6):(t=r,0===we&&Oe(z)),t===r&&(e.substr(ge,4)===L?(t=L,ge+=4):(t=r,0===we&&Oe(N)),t===r&&(e.substr(ge,4)===R?(t=R,ge+=4):(t=r,0===we&&Oe(F)),t===r&&(e.substr(ge,8)===V?(t=V,ge+=8):(t=r,0===we&&Oe(U)),t===r&&(e.substr(ge,7)===H?(t=H,ge+=7):(t=r,0===we&&Oe(B)),t===r&&(e.substr(ge,8)===$?(t=$,ge+=8):(t=r,0===we&&Oe(q)),t===r&&(t=ge,n=ge,we++,e.substr(ge,6)===m?(i=m,ge+=6):(i=r,0===we&&Oe(b)),we--,i===r?n=void 0:(ge=n,n=r),n!==r?(i=ge,we++,e.substr(ge,6)===y?(s=y,ge+=6):(s=r,0===we&&Oe(C)),we--,s===r?i=void 0:(ge=i,i=r),i!==r?(s=ge,we++,e.substr(ge,13)===_?(o=_,ge+=13):(o=r,0===we&&Oe(x)),we--,o===r?s=void 0:(ge=s,s=r),s!==r&&(o=Pe())!==r&&(W(o)?void 0:r)!==r?t=n=o:(ge=t,t=r)):(ge=t,t=r)):(ge=t,t=r))))))),t}())!==r&&Le()!==r?((a=function(){var t,n,i,s;if(t=ge,Le()!==r)if(44===e.charCodeAt(ge)?(n=f,ge++):(n=r,0===we&&Oe(g)),n!==r){for(i=[],s=Ee();s!==r;)i.push(s),s=Ee();i!==r&&(s=(s=G())?void 0:r)!==r?t=function(e){return{tokens:e}}(i):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;if(t===r)if(t=ge,Le()!==r)if(44===e.charCodeAt(ge)?(n=f,ge++):(n=r,0===we&&Oe(g)),n!==r){for(i=[],s=De();s!==r;)i.push(s),s=De();i!==r?t=function(e){return{tokens:[e.join("")]}}(i):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;return t}())===r&&(a=null),a!==r?(125===e.charCodeAt(ge)?(c=h,ge++):(c=r,0===we&&Oe(p)),c!==r?t=n=function(e,t,n){return{type:"function",arg:e,ke
1y:t,param:n}}(i,o,a):(ge=t,t=r)):(ge=t,t=r)):(ge=t,t=r)):(ge=t,t=r),t}())===r&&(t=ge,35===e.charCodeAt(ge)?(n="#",ge++):(n=r,0===we&&Oe(a)),n!==r&&(i=(i=c())?void 0:r)!==r?t=n={type:"octothorpe"}:(ge=t,t=r),t===r)){if(t=ge,n=[],(i=Te())!==r)for(;i!==r;)n.push(i),i=Te();else n=r;n!==r&&(n=l(n)),t=n}return t}function Pe(){var t,n,i;if(we++,t=ge,n=[],E.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(P)),i!==r)for(;i!==r;)n.push(i),E.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(P));else n=r;return t=n!==r?e.substring(t,ge):n,we--,t===r&&(n=r,0===we&&Oe(S)),t}function ke(){var e,t,n;return e=ge,Le()!==r&&(t=Pe())!==r&&Le()!==r&&(n=Ie())!==r?e=k(t,n):(ge=e,e=r),e}function Me(){var t,n,i;return t=ge,Le()!==r&&(n=function(){var t,n,i;return(t=Pe())===r&&(t=ge,61===e.charCodeAt(ge)?(n="=",ge++):(n=r,0===we&&Oe(A)),n!==r&&(i=ze())!==r?t=n=i:(ge=t,t=r)),t}())!==r&&Le()!==r&&(i=Ie())!==r?t=k(n,i):(ge=t,t=r),t}function Ie(){var t,n,i,s,o,a;if(t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===we&&Oe(d)),n!==r)if(i=ge,(s=Le())!==r?(o=ge,we++,123===e.charCodeAt(ge)?(a=u,ge++):(a=r,0===we&&Oe(d)),we--,a!==r?(ge=o,o=void 0):o=r,o!==r?i=s=[s,o]:(ge=i,i=r)):(ge=i,i=r),i===r&&(i=null),i!==r){for(s=[],o=Ee();o!==r;)s.push(o),o=Ee();s!==r&&(o=Le())!==r?(125===e.charCodeAt(ge)?(a=h,ge++):(a=r,0===we&&Oe(p)),a!==r?t=n=s:(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;return t}function De(){var t,n,i,s;if(we++,t=ge,n=[],Z.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(Y)),i!==r)for(;i!==r;)n.push(i),Z.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(Y));else n=r;if(n!==r&&(n=function(e){return e.join("")}(n)),(t=n)===r&&(t=je())===r&&(t=ge,39===e.charCodeAt(ge)?(n="'",ge++):(n=r,0===we&&Oe(Q)),n!==r&&(i=Ae())!==r?(39===e.charCodeAt(ge)?(s="'",ge++):(s=r,0===we&&Oe(Q)),s!==r?t=n=i:(ge=t,t=r)):(ge=t,t=r),t===r))if(t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===we&&Oe(d)),n!==r){for(i=[],s=De();s!==r;)i.push(s),s=De();i!==r?(125===e.charCodeAt(ge)?(s=h,ge++):(s=r,0===we&&Oe(p)),s!==r?t=n=function(e){return"{"+e.join("")+"}"}(i):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;return we--,t===r&&(n=r,0===we&&Oe(X)),t}function je(){var t,n;return we++,"''"===e.substr(ge,2)?(n="''",ge+=2):(n=r,0===we&&Oe(J)),n!==r&&(n="'"),we--,(t=n)===r&&(n=r,0===we&&Oe(K)),t}function Ae(){var t,n,i;if((t=je())===r){if(t=ge,n=[],ee.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(te)),i!==r)for(;i!==r;)n.push(i),ee.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(te));else n=r;n!==r&&(n=l(n)),t=n}return t}function Te(){var t,n;return(t=je())===r&&(t=function(){var t,n,i,s,o,a;if(we++,(t=function(){var t,n,i,s;if(t=ge,"'{"===e.substr(ge,2)?(n="'{",ge+=2):(n=r,0===we&&Oe(ne)),n!==r){for(i=[],s=Ae();s!==r;)i.push(s),s=Ae();i!==r?(39===e.charCodeAt(ge)?(s="'",ge++):(s=r,0===we&&Oe(Q)),s!==r?t=n=function(e){return"{"+e.join("")}(i):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;if(t===r)if(t=ge,"'}"===e.substr(ge,2)?(n="'}",ge+=2):(n=r,0===we&&Oe(ie)),n!==r){for(i=[],s=Ae();s!==r;)i.push(s),s=Ae();i!==r?(39===e.charCodeAt(ge)?(s="'",ge++):(s=r,0===we&&Oe(Q)),s!==r?t=n=function(e){return"}"+e.join("")}(i):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;return t}())===r){if(t=ge,n=ge,i=ge,"'#"===e.substr(ge,2)?(s="'#",ge+=2):(s=r,0===we&&Oe(se)),s!==r){for(o=[],a=Ae();a!==r;)o.push(a),a=Ae();o!==r?(39===e.charCodeAt(ge)?(a="'",ge++):(a=r,0===we&&Oe(Q)),a!==r?i=s=function(e){return"#"+e.join("")}(o):(ge=i,i=r)):(ge=i,i=r)}else ge=i,i=r;i!==r&&(s=(s=c())?void 0:r)!==r?n=i=[i,s]:(ge=n,n=r),n!==r&&(n=function(e){return e[0]}(n)),(t=n)===r&&(39===e.charCodeAt(ge)?(t="'",ge++):(t=r,0===we&&Oe(Q)))}return we--,t===r&&(n=r,0===we&&Oe(re)),t}())===r&&(t=ge,35===e.charCodeAt(ge)?(n="#",ge++):(n=r,0===we&&Oe(a)),n!==r&&(Ne[0]?r:void 0)!==r?t=n=n:(ge=t,t=r),t===r&&(t=function(){var t;return we++,ae.test(e.charAt(ge))?(t=e.charAt(ge),ge++):(t=r,0===we&&Oe(ce)),we--,t===r&&0===we&&Oe(oe),t}())),t}function ze(){var t,n,i;if(we++,t=ge,n=[],ue.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(de)),i!==r)for(;i!==r;)n.push(i),ue.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(de));else n=r;return t=n!==r?e.substring(t,ge):n,we--,t===r&&(n=r,0===we&&Oe(le)),t}function Le(){var t,n,i;for(we++,t=ge,n=[],pe.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(fe));i!==r;)n.push(i),pe.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===we&&Oe(fe));return t=n!==r?e.substring(t,ge):n,we--,t===r&&(n=r,0===we&&Oe(he)),t}var Ne=[!1];if((n=o())!==r&&ge===e.length)return n;throw n!==r&&ge<e.length&&Oe({type:"end"}),function(e,t,n){return new i(i.buildMessage(e,t),e,t,n)}(ve,be<e.length?e.charAt(be):null,function(e,t){var n=xe(e),i=xe(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:i.line,column:i.column}}}(be,be<e.length?be+1:be))}}},function(e,t,n){var i,r,s=[{cardinal:["other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["one","other"]},{cardinal:["one","two","other"],ordinal:["other"]}];void 0===(r="function"==typeof(i={af:s[1],ak:s[1],am:s[1],ar:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},ars:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},as:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},asa:s[1],ast:s[1],az:{cardinal:["one","other"],ordinal:["one","few","many","other"]},be:{cardinal:["one","few","many","other"],ordinal:["few","other"]},bem:s[1],bez:s[1],bg:s[1],bh:s[1],bm:s[0],bn:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},bo:s[0],br:{cardinal:["one","two","few","many","other"],ordinal:["other"]},brx:s[1],bs:{cardinal:["one","few","other"],ordinal:["other"]},ca:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ce:s[1],cgg:s[1],chr:s[1],ckb:s[1],cs:{cardinal:["one","few","many","other"],ordinal:["other"]},cy:{cardinal:["zero","one","two","few","many","other"],ordinal:["zero","one","two","few","many","other"]},da:s[1],de:s[1],dsb:{cardinal:["one","two","few","other"],ordinal:["other"]},dv:s[1],dz:s[0],ee:s[1],el:s[1],en:{cardinal:["one","other"],ordinal:["one","two","few","other"]},eo:s[1],es:s[1],et:s[1],eu:s[1],fa:s[1],ff:s[1],fi:s[1],fil:s[2],fo:s[1],fr:s[2],fur:s[1],fy:s[1],ga:{cardinal:["one","two","few","many","other"],ordinal:["one","other"]},gd:{cardinal:["one","two","few","other"],ordinal:["one","two","few","other"]},gl:s[1],gsw:s[1],gu:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},guw:s[1],gv:{cardinal:["one","two","few","many","other"],ordinal:["other"]},ha:s[1],haw:s[1],he:{cardinal:["one","two","many","other"],ordinal:["other"]},hi:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},hr:{cardinal:["one","few","other"],ordinal:["other"]},hsb:{cardinal:["one","two","few","other"],ordinal:["other"]},hu:s[2],hy:s[2],ia:s[1],id:s[0],ig:s[0],ii:s[0],in:s[0],io:s[1],is:s[1],it:{cardinal:["one","other"],ordinal:["many","other"]},iu:s[3],iw:{cardinal:["one","two","many","other"],ordinal:["other"]},ja:s[0],jbo:s[0],jgo:s[1],ji:s[1],jmc:s[1],jv:s[0],jw:s[0],ka:{cardinal:["one","other"],ordinal:["one","many","other"]},kab:s[1],kaj:s[1],kcg:s[1],kde:s[0],kea:s[0],kk:{cardinal:["one","other"],ordinal:["many","other"]},kkj:s[1],kl:s[1],km:s[0],kn:s[1],ko:s[0],ks:s[1],ksb:s[1],ksh:{cardinal:["zero","one","other"],ordinal:["other"]},ku:s[1],kw:s[3],ky:s[1],lag:{cardinal:["zero","one","other"],ordinal:["other"]},lb:s[1],lg:s[1],lkt:s[0],ln:s[1],lo:{cardinal:["other"],ordinal:["one","other"]},lt:{cardinal:["one","few","many","other"],ordinal:["other"]},lv:{cardinal:["zero","one","other"],ordinal:["other"]},mas:s[1],mg:s[1],mgo:s[1],mk:{cardinal:["one","other"],ordinal:["one","two","many","other"]},ml:s[1],mn:s[1],mo:{cardinal:["one","few","other"],ordinal:["one","other"]},mr:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ms:{cardinal:["other"],ordinal:["one","other"]},mt:{cardinal:["one","few","many","other"],ordinal:["other"]},my:s[0],nah:s[1],naq:s[3],nb:s[1],nd:s[1],ne:s[2],nl:s[1],nn:s[1],nnh:s[1],no:s[1],nqo:s[0],nr:s[1],nso:s[1],ny:s[1],nyn:s[1],om:s[1],or:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},os:s[1],pa:s[1],pap:s[1],pl:{cardinal:["one","few","many","other"],ordinal:["other"]},prg:{cardinal:["zero","one","other"],ordinal:["other"]},ps:s[1],pt:s[1],"pt-PT":s[1],rm:s[1],ro:{cardinal:["one","few","other"],ordinal:["one","other"]},rof:s[1],root:s[0],ru:{cardinal:["one","few","many","other"],ordinal:["other"]},rwk:s[1],sah:s[0],saq:s[1],sc:{cardinal:["one","other"],ordinal:["many","other"]},scn:{cardinal:["one","other"],ordinal:["many","other"]},sd:s[1],sdh:s[1],se:s[3],seh:s[1],ses:s[0],sg:s[0],sh:{cardinal:["one","few","other"],ordinal:["other"]},shi:{cardinal:["one","few","other"],ordinal:["other"]},si:s[1],sk:{cardinal:["one","few","many","other"],ordinal:["other"]},sl:{cardinal:["one","two","few","other"],ordinal:["other"]},sma:s[3],smi:s[3],smj:s[3],smn:s[3],sms:s[3],sn:s[1],so:s[1],sq:{cardinal:["one","other"],ordinal:["one","many","other"]},sr:{cardinal:["one","few","other"],ordinal:["other"]},ss:s[1],ssy:s[1],st:s[1],sv:s[2],sw:s[1],syr:s[1],ta:s[1],te:s[1],teo:s[1],th:s[0],ti:s[1],tig:s[1],tk:{cardinal:["one","other"],ordinal:["few","other"]},tl:s[2],tn:s[1],to:s[0],tr:s[1],ts:s[1],tzm:s[1],ug:s[1],uk:{cardinal:["one","few","many","other"],ordinal:["few","other"]},ur:s[1],uz:s[1],ve:s[1],vi:{cardinal:["other"],ordinal:["one","other"]},vo:s[1],vun:s[1],wa:s[1],wae:s[1],wo:s[0],xh:s[1],xog:s[1],yi:s[1],yo:s[0],yue:s[0],zh:s[0],zu:s[1]})?i.call(t,n,t,e):i)||(e.exports=r)},function(e,t){function n(e,t,n){var i={day:"numeric",month:"short",year:"numeric"};switch(n){case"full":i.weekday="long";case"long":i.month="long";break;case"short":i.month="numeric"}return new Date(e).toLocaleDateString(t,i)}
1e.exports=function(){return n}},function(e,t){function n(e){if(!isFinite(e))return String(e);var t="";e<0?(t="-",e=Math.abs(e)):e=Number(e);var n=e%60,i=[Math.round(n)===n?n:n.toFixed(3)];return e<60?i.unshift(0):(e=Math.round((e-i[0])/60),i.unshift(e%60),e>=60&&(e=Math.round((e-i[0])/60),i.unshift(e))),t+i.shift()+":"+i.map((function(e){return e<10?"0"+String(e):String(e)})).join(":")}e.exports=function(){return n}},function(e,t){e.exports=function(e){var t=(function(e,t,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(t,r[i[0]]||{}).format(e)}).toString().replace("CURRENCY",JSON.stringify(e.currency||"USD")).match(/\(([^)]*)\)[^{]*{([\s\S]*)}/);return new Function(t[1],t[2])}},function(e,t){function n(e,t,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(e).toLocaleTimeString(t,i)}e.exports=function(){return n}},function(e,t,n){"use strict";n.r(t);var i=n(1),r=n.n(i),s=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},a={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 c(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e)&&!o[e])return t?"".concat(t,".").concat(e):e;var n=JSON.stringify(e);return t?t+"[".concat(n,"]"):n}function l(e){var t=e.trim().replace(/\W+/g,"_");return o[t]||a[t]||/^\d/.test(t)?"_"+t:t}var u=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mf=t,this.lc=null,this.locales={},this.runtime={},this.formatters={}}var t;return(t=[{key:"compile",value:function(e,t,n){var i=this;if("object"!=d(e)){this.lc=t;var r=n[t]||{cardinal:[],ordinal:[]};r.strict=!!this.mf.options.strictNumberSign;var o=Object(s.parse)(e,r).map((function(e){return i.token(e)}));return"function(d) { return ".concat(o.join(" + ")||'""',"; }")}var a={};for(var c in e){var l=n.hasOwnProperty(c)?c:t;a[c]=this.compile(e[c],l,n)}return a}},{key:"cases",value:function(e,t){var n=this,i="select"===e.type||!this.mf.hasCustomPluralFuncs,r=e.cases.map((function(e){var r=e.key;"other"===r&&(i=!1);var s=e.tokens.map((function(e){return n.token(e,t)}));return c(r)+": "+(s.join(" + ")||'""')}));if(i)throw new Error("No 'other' form found in "+JSON.stringify(e));return"{ ".concat(r.join(", ")," }")}},{key:"token",value:function(e,t){var n,i=this;if("string"==typeof e)return JSON.stringify(e);var r,s,o,a=[c(e.arg,"d")];switch(e.type){case"argument":return this.mf.options.biDiSupport?(r=a[0],s=u.test(this.lc),o=JSON.stringify(s?"\u200f":"\u200e"),"".concat(o," + ").concat(r," + ").concat(o)):a[0];case"select":n="select",t&&this.mf.options.strictNumberSign&&(t=null),a.push(this.cases(e,t)),this.runtime.select=!0;break;case"selectordinal":n="plural",a.push(0,l(this.lc),this.cases(e,e),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":n="plural",a.push(e.offset||0,l(this.lc),this.cases(e,e)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(!(e.key in this.mf.fmt)&&e.key in this.mf.constructor.formatters&&(this.mf.fmt[e.key]=(0,this.mf.constructor.formatters[e.key])(this.mf)),!this.mf.fmt[e.key])throw new Error("Formatting function ".concat(JSON.stringify(e.key)," not found!"));if(a.push(JSON.stringify(this.lc)),e.param){t&&this.mf.options.strictNumberSign&&(t=null);var d=e.param.tokens.map((function(e){return i.token(e,t)}));a.push("("+(d.join(" + ")||'""')+").trim()")}n=c(e.key,"fmt"),this.formatters[e.key]=!0;break;case"octothorpe":if(!t)return'"#"';n="number",a=[c(t.arg,"d"),JSON.stringify(t.arg)],t.offset&&a.push(t.offset),this.runtime.number=!0}if(!n)throw new Error("Parser error for token "+JSON.stringify(e));return"".concat(n,"(").concat(a.join(", "),")")}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}(),p=n(3),f=n.n(p),g=n(0),m=n.n(g);function b(e,t,n){var i=function(){return t.apply(this,arguments)};if(i.toString=function(){return t.toString()},n){var r=f.a[e]||{};i.cardinal=r.cardinal,i.ordinal=r.ordinal}else i.cardinal=[],i.ordinal=[];return i}function v(e,t){for(var n=t.pluralKeyChecks,i=String(e);i;i=i.replace(/[-_]?[^-_]*$/,"")){var r=m.a[i];if(r)return b(i,r,n)}throw new Error("Localisation function not found for locale "+JSON.stringify(e))}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.plural=function(e,t,n,i,r){if({}.hasOwnProperty.call(i,e))return i[e];t&&(e-=t);var s=n(e,r);return s in i?i[s]:i.other},this.select=function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other},this.mf=t,this.setStrictNumber(t.options.strictNumberSign)}var t;return(t=[{key:"setStrictNumber",value:function(t){this.number=t?e.strictNumber:e.defaultNumber}},{key:"toString",value:function(e,t){for(var n={},i=Object.keys(t.locales),r=0;r<i.length;++r){var s=i[r];n[l(s)]=e[s]}for(var o=Object.keys(t.runtime),a=0;a<o.length;++a){var u=o[a];n[u]=this[u]}var d=Object.keys(t.formatters);if(d.length>0){n.fmt={};for(var h=0;h<d.length;++h){var p=d[h];n.fmt[p]=this.mf.fmt[p]}}return function e(t,n){if("object"!=w(t)){var i=t.toString().replace(/^(function )\w*/,"$1"),r=/([ \t]*)\S.*$/.exec(i);return r?i.replace(new RegExp("^"+r[1],"mg"),""):i}var s=[];for(var o in t){var a=e(t[o],n+1);s.push(0===n?"var ".concat(o," = ").concat(a,";\n"):"".concat(c(o),": ").concat(a))}if(0===n)return s.join("");if(0===s.length)return"{}";for(var l="  ";--n;)l+="  ";var u=s.join(",\n").replace(/^/gm,l);return"{\n".concat(u,"\n}")}(n,0)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function x(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),e}y.defaultNumber=function(e,t,n){if(!n)return e;if(isNaN(e))throw new Error("Can't apply offset:"+n+" to argument `"+t+"` with non-numerical value "+JSON.stringify(e)+".");return e-n},y.strictNumber=function(e,t,n){if(isNaN(e))throw new Error("Argument `"+t+"` has non-numerical value "+JSON.stringify(e)+".");return e-(n||0)},n.d(t,"default",(function(){return O}));var O=function(){function e(t,n){var i=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=Object.assign({biDiSupport:!1,customFormatters:null,pluralKeyChecks:!0,strictNumberSign:!1},n),this.pluralFuncs={},"string"==typeof t)this.pluralFuncs[t]=v(t,this.options),this.defaultLocale=t;else if(Array.isArray(t))t.forEach((function(e){i.pluralFuncs[e]=v(e,i.options)})),this.defaultLocale=t[0];else{if(t)for(var r=Object.keys(t),s=0;s<r.length;++s){var o=r[s];if("function"!=typeof t[o]){var a="Expected function value for locale "+String(o);throw new Error(a)}
1this.pluralFuncs[o]=t[o],this.defaultLocale||(this.defaultLocale=o)}this.defaultLocale?this.hasCustomPluralFuncs=!0:(this.defaultLocale=e.defaultLocale,this.hasCustomPluralFuncs=!1)}this.fmt=Object.assign({},this.options.customFormatters),this.runtime=new y(this)}return x(e,null,[{key:"escape",value:function(e,t){var n=t?/[#{}]/g:/[{}]/g;return String(e).replace(n,"'$&'")}}]),x(e,[{key:"addFormatters",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;++n){var i=t[n];this.fmt[i]=e[i]}return this}},{key:"disablePluralKeyChecks",value:function(){for(var e in this.options.pluralKeyChecks=!1,this.pluralFuncs){var t=this.pluralFuncs[e];t&&(t.cardinal=[],t.ordinal=[])}return this}},{key:"setBiDiSupport",value:function(e){return this.options.biDiSupport=!!e||void 0===e,this}},{key:"setStrictNumberSign",value:function(e){return this.options.strictNumberSign=!!e||void 0===e,this.runtime.setStrictNumber(this.options.strictNumberSign),this}},{key:"compile",value:function(e,t){var n={};if(0===Object.keys(this.pluralFuncs).length)if(t){var i=v(t,this.options);if(!i){var r=JSON.stringify(t);throw new Error("Locale ".concat(r," not found!"))}n[t]=i}else t=this.defaultLocale,n=function(e){for(var t=e.pluralKeyChecks,n={},i=Object.keys(m.a),r=0;r<i.length;++r){var s=i[r];n[s]=b(s,m.a[s],t)}return n}(this.options);else if(t){var s=this.pluralFuncs[t];if(!s){var o=JSON.stringify(t),a=JSON.stringify(this.pluralFuncs);throw new Error("Locale ".concat(o," not found in ").concat(a,"!"))}n[t]=s}else t=this.defaultLocale,n=this.pluralFuncs;var u=new h(this),d=u.compile(e,t,n);if("object"!=C(e)){var p=new Function("number, plural, select, fmt",l(t),"return "+d),f=this.runtime;return p(f.number,f.plural,f.select,this.fmt,n[t])}var g=this.runtime.toString(n,u)+"\n",w=function e(t,n){if(n||(n=0),"object"!=C(t))return t;for(var i="",r=0;r<n;++r)i+="  ";var s=[];for(var o in t){var a=e(t[o],n+1);s.push("\n".concat(i,"  ").concat(c(o),": ").concat(a))}return"{".concat(s.join(","),"\n").concat(i,"}")}(d),y=new Function(g+"return "+w)();if(y.hasOwnProperty("toString"))throw new Error("The top-level message key `toString` is reserved");return y.toString=function(e){return e&&"export default"!==e?e.indexOf(".")>-1?g+e+" = "+w:g+["(function (root, G) {",'  if (typeof define === "function" && define.amd) { define(G); }','  else if (typeof exports === "object") { module.exports = G; }',"  else { "+c(e,"root")+" = G; }","})(this, "+w+");"].join("\n"):g+"export default "+w},y}}]),e}();O.defaultLocale="en",O.formatters=r.a}]).default},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("DH7j"),r=n("XoHu"),s=n("n6bG");const o=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:a,_subscriptions:l}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(Object(s.a)(a))try{a.call(this)}catch(u){t=u instanceof o?c(u.errors):[u]}if(Object(i.a)(l)){let e=-1,n=l.length;for(;++e<n;){const n=l[e];if(Object(r.a)(n))try{n.unsubscribe()}catch(u){t=t||[],u instanceof o?t=t.concat(c(u.errors)):t.push(u)}}}if(t)throw new o(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var t;return e.EMPTY=((t=new e).closed=!0,t),e})();function c(e){return e.reduce((e,t)=>
1e.concat(t instanceof o?t.errors:t),[])}},qy30:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var i=n("3Pt+"),r=n("IzEk"),s=n("GJzE"),o=n("fXoL"),a=n("1kSV"),c=n("sYmb"),l=n("kBKH"),u=n("ofXK"),d=n("jCJ1");function h(e,t){if(1&e&&(o.Ec(0,"div",10),o.zd(1),o.Dc()),2&e){const e=o.Uc();o.jc(1),o.Bd(" ",e.renderSuccessMessage()," ")}}function p(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-email","required")," ")}}function f(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-email","email")," ")}}function g(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-email","maxlength",e.modalForm.controls.userEmail.errors.maxlength)," ")}}function m(e,t){if(1&e&&(o.Ec(0,"div",24),o.xd(1,p,2,1,"div",6),o.xd(2,f,2,1,"div",6),o.xd(3,g,2,1,"div",6),o.Dc()),2&e){const e=o.Uc(2);o.jc(1),o.bd("ngIf",e.modalForm.controls.userEmail.errors.required),o.jc(1),o.bd("ngIf",e.modalForm.controls.userEmail.errors.email),o.jc(1),o.bd("ngIf",e.modalForm.controls.userEmail.errors.maxlength)}}function b(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-login","required")," ")}}function v(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-login","maxlength",e.modalForm.controls.userLogin.errors.maxlength)," ")}}function w(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-login","minlength",e.modalForm.controls.userLogin.errors.minlength)," ")}}function y(e,t){if(1&e&&(o.Ec(0,"div",24),o.xd(1,b,2,1,"div",6),o.xd(2,v,2,1,"div",6),o.xd(3,w,2,1,"div",6),o.Dc()),2&e){const e=o.Uc(2);o.jc(1),o.bd("ngIf",e.modalForm.controls.userLogin.errors.required),o.jc(1),o.bd("ngIf",e.modalForm.controls.userLogin.errors.maxlength),o.jc(1),o.bd("ngIf",e.modalForm.controls.userLogin.errors.minlength)}}function C(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-password","required")," ")}}function _(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){const e=o.Uc(3);o.jc(1),o.Bd(" ",e.renderAttributeError("form-attribute-password","minlength",e.modalForm.controls.userPassword.errors.minlength)," ")}}function x(e,t){if(1&e&&(o.Ec(0,"div",24),o.xd(1,C,2,1,"div",6),o.xd(2,_,2,1,"div",6),o.Dc()),2&e){const e=o.Uc(2);o.jc(1),o.bd("ngIf",e.modalForm.controls.userPassword.errors.required),o.jc(1),o.bd("ngIf",e.modalForm.controls.userPassword.errors.minlength)}}function O(e,t){if(1&e&&(o.Ec(0,"div",25),o.zd(1),o.Dc()),2&e){const e=o.Uc(2);o.jc(1),o.Bd(" ",e.formErrorMessage," ")}}function S(e,t){1&e&&o.zc(0,"span",26)}function E(e,t){1&e&&(o.Ec(0,"span",8),o.zd(1,"modal-sign-up-submit-label"),o.Dc())}function P(e,t){if(1&e){const e=o.Fc();o.Cc(0),o.Ec(1,"div",11),o.zd(2,"sign-up-message"),o.Dc(),o.Ec(3,"form",12),o.Qc("ngSubmit",(function(){return o.nd(e),o.Uc().onFormSubmit()})),o.Ec(4,"div",13),o.zc(5,"input",14),o.Vc(6,"translate"),o.xd(7,m,4,3,"div",15),o.Dc(),o.Ec(8,"div",13),o.zc(9,"input",16),o.Vc(10,"translate"),o.xd(11,y,4,3,"div",15),o.Dc(),o.Ec(12,"div",13),o.zc(13,"input",17),o.Vc(14,"translate"),o.xd(15,x,3,2,"div",15),o.Dc(),o.xd(16,O,2,1,"div",18),o.Ec(17,"div",19),o.zc(18,"re-captcha",20),o.Dc(),o.Ec(19,"button",21),o.xd(20,S,1,0,"span",22),o.xd(21,E,2,0,"span",23),o.Dc(),o.Dc(),o.Bc()}if(2&e){const e=o.Uc();o.jc(3),o.bd("formGroup",e.modalForm),o.jc(2),o.cd("placeholder",o.Wc(6,11,"form-attribute-email-prompt")),o.jc(2),o.bd("ngIf",e.isFormControlHasErrors("userEmail")),o.jc(2),o.cd("placeholder",o.Wc(10,13,"form-attribute-login")),o.jc(2),o.bd("ngIf",e.isFormControlHasErrors("userLogin")),o.jc(2),o.cd("placeholder",o.Wc(14,15,"form-attribute-password")),o.jc(2),o.bd("ngIf",e.isFormControlHasErrors("userPassword")),o.jc(1),o.bd("ngIf",e.formErrorMessage),o.jc(3),o.bd("disabled",!e.modalForm.valid),o.jc(1),o.bd("ngIf",e.isFormLoading),o.jc(1),o.bd("ngIf",!e.isFormLoading)}}let k=(()=>{class e extends s.m{constructor(e,t,n,i,r,s){super(e,t,n,i,r),this.modal=e,this.authModalsService=t,this.translateService=n,this.formBuilder=i,this.authService=r,this.siteConfigService=s,this.isFormLoading=!1,this.formErrorMessage="",this.isSignUpSuccessful=!1}
1onFormSubmit(){if(this.modalForm.invalid)return;this.formErrorMessage="",this.isFormLoading=!0,this.isSignUpSuccessful=!1;const{userLogin:e,userPassword:t,userEmail:n,reCaptcha:i}=this.modalForm.value;this.authService.signUp(e,t,n,i).pipe(Object(r.a)(1)).subscribe({next:()=>{this.isSignUpSuccessful=!0,this.isFormLoading=!1},error:e=>{this.formErrorMessage=e.join(", "),this.isFormLoading=!1}})}ngOnInit(){super.ngOnInit()}renderSuccessMessage(){return this.translateService.instant("sign-up-success-message",{username:this.modalForm.get("userLogin").value,site:this.siteConfigService.instantMainConfig.siteUrl})}buildModalForm(){return this.formBuilder.group({userEmail:["",[i.D.required,i.D.email,i.D.maxLength(255)]],userLogin:["",[i.D.required,i.D.minLength(2),i.D.maxLength(255)]],userPassword:["",[i.D.required,i.D.minLength(6)]],reCaptcha:[null,[i.D.required]]})}}return e.\u0275fac=function(t){return new(t||e)(o.yc(a.b),o.yc(s.e),o.yc(c.e),o.yc(i.f),o.yc(s.f),o.yc(l.c))},e.\u0275cmp=o.sc({type:e,selectors:[["app-sign-up-modal"]],features:[o.gc],decls:16,vars:2,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],["class","text-green h3",4,"ngIf"],[4,"ngIf"],[1,"text-center"],["translate",""],["type","button","translate","",1,"btn","btn--sm","btn--link",3,"click"],[1,"text-green","h3"],["translate","",1,"text-center","mb-3"],[3,"formGroup","ngSubmit"],[1,"form-group"],["type","text","formControlName","userEmail",1,"form-control",3,"placeholder"],["class","error-hint",4,"ngIf"],["type","text","formControlName","userLogin",1,"form-control",3,"placeholder"],["type","password","formControlName","userPassword",1,"form-control",3,"placeholder"],["class","error-hint text-center mb-3",4,"ngIf"],[2,"transform","scale(0.8)","transform-origin","0"],["formControlName","reCaptcha"],["type","submit",1,"btn","btn--primary","btn--block",3,"disabled"],["class","btn__loader",4,"ngIf"],["translate","",4,"ngIf"],[1,"error-hint"],[1,"error-hint","text-center","mb-3"],[1,"btn__loader"]],template:function(e,t){1&e&&(o.Ec(0,"div",0),o.Ec(1,"h4",1),o.zd(2,"sign-up-label"),o.Dc(),o.Ec(3,"button",2),o.Qc("click",(function(){return t.modal.dismiss("Cross click")})),o.Ec(4,"span",3),o.zd(5,"\xd7"),o.Dc(),o.Dc(),o.Dc(),o.Ec(6,"div",4),o.xd(7,h,2,1,"div",5),o.xd(8,P,22,17,"ng-container",6),o.zc(9,"hr"),o.Ec(10,"div",7),o.Ec(11,"span",8),o.zd(12,"modal-sign-in-prompt"),o.Dc(),o.zd(13,"\xa0 "),o.Ec(14,"button",9),o.Qc("click",(function(){return t.authModalsService.openSignInModal()})),o.zd(15," form-attribute-login "),o.Dc(),o.Dc(),o.Dc()),2&e&&(o.jc(7),o.bd("ngIf",t.isSignUpSuccessful),o.jc(1),o.bd("ngIf",!t.isSignUpSuccessful))},directives:[c.b,u.u,i.F,i.q,i.i,i.c,i.p,i.h,d.c,d.g],pipes:[c.d],styles:[".modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px}.form-group[_ngcontent-%COMP%]{position:relative;margin-bottom:16px}.form-control[_ngcontent-%COMP%]{width:100%;height:40px;line-height:40px;padding:0 10px;border:1px solid rgba(50,50,50,.15);border-radius:3px;font-size:16px;transition:all .3s ease-out}.form-control[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]::placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.form-control.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74c3c}.error-hint[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;color:#e74c3c}.auth-block[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-around}.auth-block[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 1 135px}"]}),e})()},"r//d":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("fXoL"),r=n("GJzE");const s=["data-main-title",""];let o=(()=>{class e{constructor(e,t,n){this.titleDataService=e,this.hostRef=t,this.renderer=n,this.isHidden=!1}ngOnInit(){const e=this.hostRef.nativeElement,t=this.renderer.parentNode(e),n=null!==e.nextElementSibling,i=n?e.nextElementSibling:e.previousElementSibling;this.titleSubscription=this.titleDataService.titleLabel.subscribe(r=>{this.title=r,0===this.title.length?(this.renderer.removeChild(t,e),this.isHidden=!0):this.isHidden&&(n?this.renderer.insertBefore(t,e,i):this.renderer.appendChild(t,e),this.isHidden=!1)})}ngOnDestroy(){this.titleSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(r.xb),i.yc(i.q),i.yc(i.L))},e.\u0275cmp=i.sc({type:e,selectors:[["h1","data-main-title",""]],attrs:s,decls:1,vars:1,template:function(e,t){1&e&&i.zd(0),2&e&&i.Ad(t.title)},encapsulation:2}),e})()},s1DB:function(e,t,n){"use strict";n.d(t,"m",(function(){return i})),n.d(t,"x",(function(){return a})),n.d(t,"u",(function(){return l})),n.d(t,"v",(function(){return u.a})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return m})),n.d(t,"r",(function(){return b})),n.d(t,"l",(function(){return v.a})),n.d(t,"s",(function(){return v.b})),n.d(t,"p",(function(){return w})),n.d(t,"q",(function(){return y.a})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return _.a})),n.d(t,"f",(function(){return x.a})),n.d(t,"e",(function(){return S})),n.d(t,"n",(function(){return E})),n.d(t,"w",(function(){return P})),n.d(t,"k",(function(){return k})),n.d(t,"t",(function(){return M})),n.d(t,"h",(function(){return I})),n.d(t,"g",(function(){return D})),n.d(t,"o",(function(){return j})),n.d(t,"a",(function(){return R})),n.d(t,"b",(function(){return F.a}));var i=function(e){return e[e.Standard=0]="Standard",e[e.Lux=1]="Lux",e[e.Premium=2]="Premium",e[e.Platinum=3]="Platinum",e}({});
1class r{constructor(e,t){this.address=e,this.phones=t}}class s{constructor(e){this.phones=e}}class o{constructor(e,t,n,i,r,s,o,a,c,l,u,d,h,p,f,g,m){this.id=e,this.title=t,this.iconsSet=n,this.mainUrl=i,this.logoUrl=r,this.firstAddress=s,this.actualAddresses=o,this.firstPhotoAlbum=a,this.averageRating=c,this.actualViewsCount=l,this.previousViewsCount=u,this.mainRubric=d,this.actualRubrics=h,this.commentsCount=p,this.lastFeedback=f,this.allFeedbacks=g,this.actualProductRubrics=m}}function a(e){const t=new o(e.id);if(e.iconsSet)switch(e.iconsSet){case"lux":e.iconsSet=i.Lux;break;case"premium":e.iconsSet=i.Premium;break;case"platinum":e.iconsSet=i.Platinum;break;case"standard":default:e.iconsSet=i.Standard}return e.firstAddress&&(e.firstAddress=function(e){const t=new s;return Object.assign(t,e),t}(e.firstAddress)),void 0!==e.actualAddresses&&e.actualAddresses.length>0&&(t.actualAddresses=[],e.actualAddresses.forEach((n,i)=>{t.actualAddresses.push(function(e){return new r(e.address,e.phones)}(e.actualAddresses[i]))})),Object.assign(t,e),t}var c=n("ehPC");class l extends c.i{constructor(e,t,n,i,r,s,o){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.label=i,this.itemsCount=r,this.addCompanyLabel=s,this.addCompanyLink=o,this.pType=c.R.TopCompanies}getComponent(){return u.a}}var u=n("YLoO");class d extends c.i{constructor(e,t,n,i){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.itemsCount=i,this.pType=c.R.CompanyLogos}getComponent(){return m}}var h=n("PqYM"),p=n("IzEk"),f=n("AytR"),g=n("fXoL");let m=(()=>{class e extends c.j{constructor(e,t,n){super(e,t),this.emptyWidgetProcessorsFactory=e,this.injector=t,this.companiesLogosService=n}ngOnInit(){this.companiesLogosService.getNextCompanyLogos(this.widget.itemsCount).pipe(Object(p.a)(1)).subscribe(e=>{this.models=e,null!==e?this.emitHasData():this.emitEmptyData();const t=()=>{this.emitComponentLoaded()};f.a.useLoadingDelay?Object(h.a)(1500).subscribe(t):t()})}}return e.\u0275fac=function(t){return new(t||e)(g.yc(c.A,8),g.yc(g.w),g.yc(k))},e.\u0275cmp=g.sc({type:e,selectors:[["app-shared-company-logos"]],features:[g.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();class b extends c.i{constructor(e,t,n,i,r,s){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.label=i,this.onlyForRubrics=r,this.cards=s,this.pType=c.R.PopularPlaces}getComponent(){return v.b}}var v=n("2KnI");class w extends c.c{constructor(e){super(e),this.width=e,this.pType=c.q.PopularCompany}getComponent(){return y.a}}var y=n("sZf8");class C extends c.i{constructor(e,t,n,i,r,s,o){super(e,t,n),this.width=e,this.height=t,this.pEmptyAction=n,this.useScrollSpy=i,this.itemsCount=r,this.pageSize=s,this.cards=o,this.pType=c.R.CompaniesList}getComponent(){return _.a}}var _=n("EYhJ"),x=n("srhf"),O=n("DG55");class S extends O.a{constructor(e){super(e),this.width=e,this.pType=O.b.CompanyCard}getComponent(){return x.a}}class E extends c.c{constructor(e,t){super(e),this.width=e,this.id=t,this.pType=c.q.PayedCompany}getComponent(){return y.a}}const P=new g.v("Companies service with TOP companies"),k=new g.v("Companies service with companies LOGOS"),M=new g.v("Companies service with popular places"),I=new g.v("Companies service with company cards"),D=new g.v("Paged cards for company cards widget"),j=new g.v("Service for payed companies");var A=n("LRne"),T=n("lJxs"),z=n("fujP"),L=n("GJzE"),N=n("tk/3");let R=(()=>{class e{constructor(e,t,n){this.http=e,this.transferStateService=t,this.siteApiHostInfo=n}doCompoundRequest(e){var t,n,i,r,s;const o={request:{}};if((null===(t=e.topCompanies)||void 0===t?void 0:t.count)>0){const t={count:e.topCompanies.count};void 0!==e.topCompanies.forCurrentMonth&&(t.forCurrentMonth=e.topCompanies.forCurrentMonth),e.topCompanies.catalogRubricType&&(t.catalogRubricType=e.topCompanies.catalogRubricType),o.request.topCompanies={filter:t,fields:e.topCompanies.fields.join()}}if((null===(n=e.logoCompanies)||void 0===n?void 0:n.count)>0&&(o.request.logoCompanies={filter:{count:e.logoCompanies.count},fields:e.logoCompanies.fields.join()}),(null===(i=e.popularCompanies)||void 0===i?void 0:i.count)>0){const t={count:e.popularCompanies.count};null!==e.popularCompanies.onlyForRubrics&&(t.onlyRubricIds=e.popularCompanies.onlyForRubrics),e.popularCompanies.onlyPayed&&(t.onlyPayed=!0),o.request.popularCompanies={filter:t,extraParams:{sort:"-byAverageRating"},fields:e.popularCompanies.fields.join()}}if((null===(r=e.companies)||void 0===r?void 0:r.count)>0){const t={count:e.companies.count};e.companies.onlyPayed&&(t.onlyPayed=!0),o.request.companies={filter:t,extraParams:{sort:"-byActualViews,-byAverageRating"},fields:e.companies.fields.join()}}(null===(s=e.payedCompanies)||void 0===s?void 0:s.payedCardsIds.length)>0&&(o.request.payedCompanies={filter:{siteLayoutId:4,payedCardIds:e.payedCompanies.payedCardsIds},fields:e.payedCompanies.fields.join()});const a=Object(L.Hb)(o),c=this.transferStateService.makeStateKey("companies-models-"+a);return this.transferStateService.hasKey(c)?Object(A.a)(this.buildCompoundCompanies(this.transferStateService.restoreData(c,null))):(Object.keys(o.request).length>0?this.http.get(this.siteApiHostInfo+"api3/companies/compound",{params:a}):Object(A.a)({})).pipe(Object(L.Tb)(this.transferStateService,c),Object(T.a)(this.buildCompoundCompanies))}doSimpleCardsCompanyRequest(e,t){let n={template:"default",expand:t.join()};Object(z.a)(e)||(n=Object.assign(Object.assign({},n),e));const i=Object(L.Hb)(n),r=this.transferStateService.makeStateKey("companies-models-"+i);return this.http.get(this.siteApiHostInfo+"api3/companies",{params:i}).pipe(Object(L.Tb)(this.transferStateService,r),Object(T.a)(e=>{const t=e.companies.map(a);return new L.ob(t,e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount)}))}buildCompoundCompanies(e){const t=(e,t)=>new L.ob(e.companies.map(t),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount);if(e.topCompanies&&(e.topCompanies=e.topCompanies.map(a)),e.logoCompanies&&(e.logoCompanies=e.logoCompanies.map(a)),e.payedCompanies){const t=new Map;for(const[n,i]of Object.entries(e.payedCompanies))t.set(Number(n),i?a(i):null);e.payedCompanies=t}return e.popularCompanies&&(e.popularCompanies=Array.isArray(e.popularCompanies)?e.popularCompanies.map(a):t(e.popularCompanies,a)),e.companies&&(e.companies=Array.isArray(e.companies)?e.companies.map(a):t(e.companies,a)),e}}return e.\u0275fac=function(t){return new(t||e)(g.Mc(N.b),g.Mc(L.yb),g.Mc(L.hb))},e.\u0275prov=g.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var F=n("sbEe")},"s8G/":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var i=n("sYmb"),r=n("fXoL"),s=(n("mrSG"),n("qkWt"));const o=new r.v("MESSAGE_FORMAT_CONFIG"),a={biDiSupport:!1,formatters:void 0,locales:void 0,strictNumberSign:!1,disablePluralKeyChecks:!1}
1,c={compiler:{provide:i.a,useClass:(()=>{let e=class extends i.a{constructor(e){super();const{locales:t,formatters:n,biDiSupport:i,strictNumberSign:r,disablePluralKeyChecks:o}=Object.assign(Object.assign({},a),e);this.messageFormat=new s(t),n&&this.messageFormat.addFormatters(n),i&&this.messageFormat.setBiDiSupport(i),r&&this.messageFormat.setStrictNumberSign(r),o&&this.messageFormat.disablePluralKeyChecks()}compile(e,t){return this.messageFormat.compile(e,t)}compileTranslations(e,t){return this.messageFormat.compile(e,t)}};return e.\u0275fac=function(t){return new(t||e)(r.Mc(o,8))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})()}};let l=(()=>{class e{}return e.\u0275mod=r.wc({type:e}),e.\u0275inj=r.vc({factory:function(t){return new(t||e)},imports:[[i.c.forChild(Object.assign(Object.assign({},c),{isolate:!1}))],i.c]}),e})()},sVev:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})()},sYmb:function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return z})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return L})),n.d(t,"e",(function(){return T}));var i=n("fXoL"),r=n("LRne"),s=n("HDdC");function o(e){return!!e&&(e instanceof s.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var a=n("cp0P"),c=n("GyhO"),l=n("NXyV"),u=n("IzEk"),d=n("UXun"),h=n("lJxs"),p=n("bOdf"),f=n("eIep");class g{}let m=(()=>{class e extends g{getTranslation(e){return Object(r.a)({})}}return e.\u0275fac=function(t){return b(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();const b=i.Gc(m);class v{}let w=(()=>{class e{handle(e){return e.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();function y(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,i,r,s=typeof e;if(s==typeof t&&"object"==s){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in r=Object.create(null),e){if(!y(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!y(e[i],t[i]))return!1;return!0}}return!1}function C(e){return null!=e}function _(e){return e&&"object"==typeof e&&!Array.isArray(e)}class x{}let O=(()=>{class e extends x{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!C(e)||!C(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let i=this.getValue(t,n);return C(i)?i:e}):e}}return e.\u0275fac=function(t){return S(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();const S=i.Gc(O);class E{}let P=(()=>{class e extends E{compile(e,t){return e}compileTranslations(e,t){return e}}return e.\u0275fac=function(t){return k(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();const k=i.Gc(P);class M{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.s,this.onLangChange=new i.s,this.onDefaultLangChange=new i.s}}const I=new i.v("USE_STORE"),D=new i.v("USE_DEFAULT_LANG"),j=new i.v("DEFAULT_LANGUAGE"),A=new i.v("USE_EXTEND");let T=(()=>{class e{constructor(e,t,n,r,s,o=!0,a=!1,c=!1,l){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=o,this.isolate=a,this.extend=c,this.pending=!1,this._onTranslationChange=new i.s,this._onLangChange=new i.s,this._onDefaultLangChange=new i.s,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}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(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe(Object(u.a)(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Object(r.a)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe(Object(u.a)(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),Object(r.a)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(Object(d.a)(1),Object(u.a)(1));return this.loadingTranslations=t.pipe(Object(h.a)(t=>this.compiler.compileTranslations(t,e)),Object(d.a)(1),Object(u.a)(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},t),this.translations[e]):t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?function e(t,n){let i=Object.assign({},t);
1return _(t)&&_(n)&&Object.keys(n).forEach(r=>{_(n[r])?r in t?i[r]=e(t[r],n[r]):Object.assign(i,{[r]:n[r]}):Object.assign(i,{[r]:n[r]})}),i}(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let i;if(t instanceof Array){let i={},s=!1;for(let r of t)i[r]=this.getParsedResult(e,r,n),o(i[r])&&(s=!0);if(s){const e=t.map(e=>o(i[e])?i[e]:Object(r.a)(i[e]));return Object(a.a)(e).pipe(Object(h.a)(e=>{let n={};return e.forEach((e,i)=>{n[t[i]]=e}),n}))}return i}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),i=this.missingTranslationHandler.handle(e)}return void 0!==i?i:t}get(e,t){if(!C(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(p.a)(n=>o(n=this.getParsedResult(n,e,t))?n:Object(r.a)(n)));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return o(n)?n:Object(r.a)(n)}}getStreamOnTranslationChange(e,t){if(!C(e)||!e.length)throw new Error('Parameter "key" required');return Object(c.a)(Object(l.a)(()=>this.get(e,t)),this.onTranslationChange.pipe(Object(f.a)(n=>{const i=this.getParsedResult(n.translations,e,t);return"function"==typeof i.subscribe?i:Object(r.a)(i)})))}stream(e,t){if(!C(e)||!e.length)throw new Error('Parameter "key" required');return Object(c.a)(Object(l.a)(()=>this.get(e,t)),this.onLangChange.pipe(Object(f.a)(n=>{const i=this.getParsedResult(n.translations,e,t);return o(i)?i:Object(r.a)(i)})))}instant(e,t){if(!C(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if(o(n)){if(e instanceof Array){let t={};return e.forEach((n,i)=>{t[e[i]]=e[i]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(M),i.Mc(g),i.Mc(E),i.Mc(x),i.Mc(v),i.Mc(D),i.Mc(I),i.Mc(A),i.Mc(j))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),z=(()=>{class e{constructor(e,t,n){this.translateService=e,this.element=t,this._ref=n,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(e=>{e.lang===this.translateService.currentLang&&this.checkNodes(!0,e.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(e=>{this.checkNodes(!0,e.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(e=>{this.checkNodes(!0)}))}set translate(e){e&&(this.key=e,this.checkNodes())}
1set translateParams(e){y(this.currentParams,e)||(this.currentParams=e,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(e=!1,t){let n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(let i=0;i<n.length;++i){let r=n[i];if(3===r.nodeType){let n;if(e&&(r.lastKey=null),C(r.lookupKey))n=r.lookupKey;else if(this.key)n=this.key;else{let e=this.getContent(r),t=e.trim();t.length&&(r.lookupKey=t,e!==r.currentValue?(n=t,r.originalContent=e||r.originalContent):r.originalContent?n=r.originalContent.trim():e!==r.currentValue&&(n=t,r.originalContent=e||r.originalContent))}this.updateValue(n,r,t)}}}updateValue(e,t,n){if(e){if(t.lastKey===e&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let i=n=>{n!==e&&(t.lastKey=e),t.originalContent||(t.originalContent=this.getContent(t)),t.currentValue=C(n)?n:t.originalContent||e,this.setContent(t,this.key?t.currentValue:t.originalContent.replace(e,t.currentValue)),this._ref.markForCheck()};if(C(n)){let t=this.translateService.getParsedResult(n,e,this.currentParams);o(t)?t.subscribe(i):i(t)}else this.translateService.get(e,this.currentParams).subscribe(i)}}getContent(e){return C(e.textContent)?e.textContent:e.data}setContent(e,t){C(e.textContent)?e.textContent=t:e.data=t}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(T),i.yc(i.q),i.yc(i.j))},e.\u0275dir=i.tc({type:e,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),e})(),L=(()=>{class e{constructor(e,t){this.translate=e,this._ref=t,this.value=""}updateValue(e,t,n){let i=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let r=this.translate.getParsedResult(n,e,t);o(r.subscribe)?r.subscribe(i):i(r)}this.translate.get(e,t).subscribe(i)}transform(e,...t){if(!e||!e.length)return e;if(y(e,this.lastKey)&&y(t,this.lastParams))return this.value;let n;if(C(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(i){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+t[0])}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,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 e.\u0275fac=function(t){return new(t||e)(i.yc(T),i.Oc())},e.\u0275pipe=i.xc({name:"translate",type:e,pure:!1}),e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),N=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:g,useClass:m},t.compiler||{provide:E,useClass:P},t.parser||{provide:x,useClass:O},t.missingTranslationHandler||{provide:v,useClass:w},M,{provide:I,useValue:t.isolate},{provide:D,useValue:t.useDefaultLang},{provide:A,useValue:t.extend},{provide:j,useValue:t.defaultLanguage},T]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:g,useClass:m},t.compiler||{provide:E,useClass:P},t.parser||{provide:x,useClass:O},t.missingTranslationHandler||{provide:v,useClass:w},{provide:I,useValue:t.isolate},{provide:D,useValue:t.useDefaultLang},{provide:A,useValue:t.extend},{provide:j,useValue:t.defaultLanguage},T]}}}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e})()},sZf8:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var i=n("fXoL"),r=n("PqYM"),s=n("lJxs"),o=n("LrWZ"),a=n("s1DB"),c=n("ehPC"),l=n("AytR"),u=n("ofXK"),d=n("pI7v"),h=n("wf0l"),p=n("OevD");const f=["insertPoint"],g=["fullCard"],m=["halfCard"];function b(e,t){if(1&e&&i.zc(0,"app-placeholder",4),2&e){const e=i.Uc();i.bd("width",e.card.width)("height",1)}}function v(e,t){if(1&e&&i.zc(0,"div",16),2&e){const e=i.Uc().popularPlace,t=i.Uc();i.bd("lazyLoad",t.getCardPosterUrl(e))}}function w(e,t){1&e&&i.zc(0,"div",17)}function y(e,t){if(1&e&&(i.Tc(),i.Sc(),i.zc(0,"div",18),i.Vc(1,"safeHtml")),2&e){const e=i.Uc().popularPlace;i.bd("innerHTML",i.Wc(1,1,e.mainRubric.svgIcon),i.od)}}function C(e,t){if(1&e&&(i.Ec(0,"div",5),i.xd(1,v,1,1,"div",6),i.xd(2,w,1,0,"ng-template",null,7,i.yd),i.Ec(4,"div",8),i.Ec(5,"div",9),i.Ec(6,"a",10),i.zd(7),i.Dc(),i.Dc(),i.Ec(8,"div",11),i.Ec(9,"div",12),i.Tc(),i.Ec(10,"svg",13),i.zc(11,"use"),i.Dc(),i.zd(12),i.Dc(),i.xd(13,y,2,3,"div",14),i.Dc(),i.Sc(),i.Ec(14,"div",15),i.Ec(15,"a",10),i.zd(16),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e){const e=t.popularPlace,n=i.kd(3),r=i.Uc();i.jc(1),i.bd("ngIf",null!==r.getCardPosterUrl(e))("ngIfElse",n),i.jc(5),i.bd("href",e.mainUrl,i.qd),i.jc(1),i.Ad(e.title),i.jc(4),i.kc("href","#icon-like",null,"xlink"),i.jc(1),i.Bd(" ",e.averageRating," "),i.jc(1),i.bd("ngIf",void 0!==e.mainRubric&&null!==e.mainRubric.svgIcon),i.jc(2),i.bd("href",e.mainUrl,i.qd),i.jc(1),i.Ad(e.title)}}function _(e,t){if(1&e&&i.zc(0,"div",16),2&e){const e=i.Uc().popularPlace,t=i.Uc();i.bd("lazyLoad",t.getCardPosterUrl(e))}}function x(e,t){1&e&&i.zc(0,"div",17)}function O(e,t){if(1&e&&(i.Tc(),i.Sc(),i.zc(0,"div",18),i.Vc(1,"safeHtml")),2&e){const e=i.Uc().popularPlace;i.bd("innerHTML",i.Wc(1,1,e.mainRubric.svgIcon),i.od)}}function S(e,t){if(1&e&&(i.Ec(0,"div",19),i.xd(1,_,1,1,"div",6),i.xd(2,x,1,0,"ng-template",null,7,i.yd),i.Ec(4,"div",8),i.Ec(5,"div",9),i.Ec(6,"a",10),i.zd(7),i.Dc(),i.Dc(),i.Ec(8,"div",11),i.Ec(9,"div",12),i.Tc(),i.Ec(10,"svg",13),i.zc(11,"use"),i.Dc(),i.zd(12),i.Dc(),i.xd(13,O,2,3,"div",14),i.Dc(),i.Sc(),i.Ec(14,"div",15),i.Ec(15,"a",10),i.zd(16),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e){const e=t.popularPlace,n=i.kd(3),r=i.Uc();i.jc(1),i.bd("ngIf",null!==r.getCardPosterUrl(e))("ngIfElse",n),i.jc(5),i.bd("href",e.mainUrl,i.qd),i.jc(1),i.Ad(e.title),i.jc(4),i.kc("href","#icon-like",null,"xlink"),i.jc(1),i.Bd(" ",e.averageRating," "),i.jc(1),i.bd("ngIf",void 0!==e.mainRubric&&null!==e.mainRubric.svgIcon),i.jc(2),i.bd("href",e.mainUrl,i.qd),i.jc(1),i.Ad(e.title)}}let E=(()=>{class e extends c.d{constructor(e,t){super(),this.popularPlacesService=e,this.payedCompanyService=t}ngOnInit(){super.ngOnInit()}getCardPosterUrl(e){var t;const n=e.firstPhotoAlbum;return Object(o.a)(n)?null:void 0!==n.firstPhotoUrl?n.firstPhotoUrl:(null===(t=n.allPhotoUrls)||void 0===t?void 0:t.length)>0?n.allPhotoUrls[0]:null}getModels(){if(null===this.popularPlacesService)throw new Error("Popular places services must be injected");
1return this.card instanceof a.n?this.payedCompanyService.getNextPayedCompany(this.card.id):this.popularPlacesService.getNextPopularPlace(1).pipe(Object(s.a)(e=>null!==e?e[0]:null))}renderCard(e){this.models=e;const t=()=>{this.emitComponentLoaded(),this.insertPoint.clear(),this.insertPoint.createEmbeddedView(1===this.card.width?this.halfCard:this.fullCard,{popularPlace:this.models})};l.a.useLoadingDelay?Object(r.a)(1500).subscribe(t):t()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(a.t),i.yc(a.o))},e.\u0275cmp=i.sc({type:e,selectors:[["app-popular-places"]],viewQuery:function(e,t){var n;1&e&&(i.ud(f,!0,i.X),i.ud(g,!0),i.ud(m,!0)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.fullCard=n.first),i.jd(n=i.Rc())&&(t.halfCard=n.first))},features:[i.gc],decls:8,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["halfCard",""],["fullCard",""],[3,"width","height"],[1,"top-firm-card"],["class","top-firm-card__poster",3,"lazyLoad",4,"ngIf","ngIfElse"],["noImage",""],[1,"top-firm-card__content"],[1,"top-firm-card__title","d-lg-none"],[3,"href"],[1,"top-firm-card__subinfo"],[1,"round-like"],["width","12","height","15"],["class","top-firm-card__rubric-icon",3,"innerHTML",4,"ngIf"],[1,"top-firm-card__title","d-none","d-lg-flex"],[1,"top-firm-card__poster",3,"lazyLoad"],[1,"top-firm-card__poster"],[1,"top-firm-card__rubric-icon",3,"innerHTML"],[1,"top-firm-card","top-firm-card--double"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,b,1,2,"app-placeholder",1),i.Vc(3,"async"),i.xd(4,C,17,9,"ng-template",null,2,i.yd),i.xd(6,S,17,9,"ng-template",null,3,i.yd)),2&e&&(i.jc(2),i.bd("ngIf",!i.Wc(3,1,t.isComponentLoaded$)))},directives:[u.u,d.a,h.a],pipes:[u.b,p.a],styles:['.top-firm-card-wrapper[_ngcontent-%COMP%]{margin:48px 0}.top-firm-card-wrapper[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%]:nth-child(2), .top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{order:1}.top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:7px auto 13px;background-color:unset;border-radius:5px;border:1px solid #000;padding:12px 34px}@media (min-width:1024px){.top-firm-card-wrapper[_ngcontent-%COMP%]{margin-top:74px}.top-firm-card-wrapper[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%]:nth-child(2), .top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{order:unset}.top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}}.top-firm-card[_ngcontent-%COMP%]{position:relative;margin-bottom:25px;padding-bottom:93.75%;overflow:hidden}.top-firm-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:50%}.top-firm-card__poster[_ngcontent-%COMP%]:before{content:"";display:block;width:100%;height:100%;z-index:-1;top:0;bottom:0;left:0;right:0;background:linear-gradient(1turn,#323232 6.38%,rgba(50,50,50,.302083) 29.5%,rgba(50,50,50,0) 50.11%)}.top-firm-card__content[_ngcontent-%COMP%]{position:absolute;z-index:1;display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%;padding:16px}@media (max-width:1024px){.top-firm-card__content[_ngcontent-%COMP%]{justify-content:flex-end}}.top-firm-card__subinfo[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.top-firm-card__subinfo[_ngcontent-%COMP%]   .round-like[_ngcontent-%COMP%]{margin-right:20px;display:flex;flex-shrink:0;flex-direction:column;align-items:center;color:#fff;font-weight:700;border-radius:50%;width:48px;height:48px;background-color:var(--green-primary)}.top-firm-card__subinfo[_ngcontent-%COMP%]   .round-like[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-top:7px;fill:#fff}[_nghost-%COMP%]     .top-firm-card__rubric-icon svg{width:48px;height:48px;fill:#fff}.top-firm-card__label[_ngcontent-%COMP%]{margin-left:auto;padding:4px 6px;border:1px solid #fff;text-transform:uppercase;font-weight:700;font-size:14px;color:#fff}.top-firm-card__title[_ngcontent-%COMP%]{font-size:36px;font-weight:700;color:#fff;line-height:1}.top-firm-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}@media (max-width:1024px){.top-firm-card__title[_ngcontent-%COMP%]{margin-bottom:40px}}@media (min-width:1024px){.top-firm-card[_ngcontent-%COMP%]{margin-bottom:16px}.top-firm-card--double[_ngcontent-%COMP%]{padding-bottom:calc(46.875% - 8px)}}.c-card-label[_ngcontent-%COMP%]{display:inline-block;max-width:230px;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}.c-card-label--ad[_ngcontent-%COMP%], .c-card-label--regular[_ng
1content-%COMP%]{padding:2px 8px;border:1px solid #fff;border-radius:3px;text-shadow:1px 1px 1px rgba(0,0,0,.4)}.c-card-label--in-news[_ngcontent-%COMP%]{margin-left:10px;color:rgba(50,50,50,.35);border:1px solid rgba(50,50,50,.35);border-radius:3px}.c-card-label--main[_ngcontent-%COMP%]{position:absolute;z-index:11;top:10px;left:10px}.c-card-label--main[_ngcontent-%COMP%] + .card-wrapper[_ngcontent-%COMP%]   .c-card__subinfo[_ngcontent-%COMP%]{top:40px}.c-card-label--accent[_ngcontent-%COMP%]{padding:5px 10px;background-color:hsla(var(--green-primary-h),var(--green-primary-s),var(--green-primary-l),.75);text-transform:uppercase}.c-card-label--as-section-title[_ngcontent-%COMP%]{max-width:100%;padding:4px 8px;font-size:14px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary)}.c-card-label--special[_ngcontent-%COMP%]{background-color:#fb661c}.c-card-label--blue[_ngcontent-%COMP%]{background-color:#00afe1}.c-card-label--on-slider[_ngcontent-%COMP%]{position:absolute;z-index:10;left:25px;top:20px}@media (min-width:1024px){.c-card-label--in-news[_ngcontent-%COMP%]{margin-left:20px}}']}),e})()},sbEe:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("XGsO"),r=n("fXoL");let s=(()=>{class e{constructor(){}ngOnInit(){this.galleryOptions=[{height:"100px",width:"256px",thumbnailsColumns:3,thumbnailsRows:2,imageArrowsAutoHide:!0,arrowPrevIcon:"gallery-action gallery-action--prev",arrowNextIcon:"gallery-action gallery-action--next",closeIcon:"gallery-action gallery-action--close",imageSize:i.c.Contain,imageSwipe:!0,previewSwipe:!0,imageDescription:!0,imageAnimation:i.a.Slide,image:!1},{breakpoint:1024,height:"80px",width:"98vw",thumbnailsColumns:6,thumbnailsRows:1}],this.galleryImages=this.companyImages.allPhotoUrls.map((e,t)=>{var n;return{small:(null===(n=this.companyImages.allPhotoPreviewUrls)||void 0===n?void 0:n.length)>t?this.companyImages.allPhotoPreviewUrls[t]:e,medium:e,big:e}})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.sc({type:e,selectors:[["app-companies-content-gallery"]],inputs:{companyImages:"companyImages"},decls:1,vars:2,consts:[[1,"ngx-gallery",3,"options","images"]],template:function(e,t){1&e&&r.zc(0,"ngx-gallery",0),2&e&&r.bd("options",t.galleryOptions)("images",t.galleryImages)},directives:[i.b],styles:[""]}),e})()},srhf:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var i=n("fXoL"),r=n("lJxs"),s=n("ehPC"),o=n("s1DB"),a=n("sYmb");const c=["insertPoint"],l=["fullCard"];function u(e,t){if(1&e&&i.zc(0,"app-placeholder",3),2&e){const e=i.Uc();i.bd("width",e.card.width)("height",1)}}function d(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",31),i.Tc(),i.Ec(1,"svg",32),i.zc(2,"use"),i.Dc(),i.zd(3),i.Dc()),2&e){const e=i.Uc().companyCard;i.jc(2),i.kc("href","#icon-like",null,"xlink"),i.jc(1),i.Bd(" ",e.averageRating,"")}}function h(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",33),i.Tc(),i.Ec(1,"svg",34),i.zc(2,"use"),i.Dc(),i.zd(3),i.Vc(4,"date"),i.Vc(5,"date"),i.Dc()),2&e){const e=i.Uc().companyCard;i.jc(2),i.kc("href","#icon-new-clock",null,"xlink"),i.jc(1),i.Cd(" ",i.Xc(4,3,e.firstAddress.todaySchedule.timeFrom,"HH:mm")," - ",i.Xc(5,6,e.firstAddress.todaySchedule.timeTo,"HH:mm"),"")}}function p(e,t){1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",35),i.zd(1,"address-schedule-is-opened-label"),i.Dc())}function f(e,t){1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",36),i.zd(1,"address-schedule-is-closed-label"),i.Dc())}function g(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",37),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.Ad(e.title)}}function m(e,t){if(1&e){const e=i.Fc();i.Tc(),i.Sc(),i.Ec(0,"button",38),i.Qc("click",(function(){i.nd(e);const t=i.Uc().companyCard;return i.Uc().actualRubricLength=t.actualRubrics.length})),i.zd(1),i.Dc()}if(2&e){const e=i.Uc().companyCard,t=i.Uc();i.jc(1),i.Bd(" ",t.moreItemsCountLabel(e.actualRubrics.length-1)," ")}}function b(e,t){if(1&e){const e=i.Fc();i.Tc(),i.Sc(),i.Ec(0,"button",39),i.Qc("click",(function(){return i.nd(e),i.Uc(2).actualRubricLength=1})),i.zd(1," hide-button-label "),i.Dc()}}function v(e,t){if(1&e&&(i.Ec(0,"p"),i.Tc(),i.Ec(1,"svg",42),i.zc(2,"use"),i.Dc(),i.zd(3),i.Dc()),2&e){const e=i.Uc().$implicit;i.jc(2),i.kc("href","#icon-new-location",null,"xlink"),i.jc(1),i.Bd(" ",e.address," ")}}function w(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"a",45),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.dd("href","tel: ",e,"",i.qd),i.jc(1),i.Ad(e)}}function y(e,t){if(1&e&&(i.Ec(0,"p",43),i.Tc(),i.Ec(1,"svg",42),i.zc(2,"use"),i.Dc(),i.xd(3,w,2,2,"a",44),i.Dc()),2&e){const e=i.Uc().$implicit;i.jc(2),i.kc("href","#icon-new-phone",null,"xlink"),i.jc(1),i.bd("ngForOf",e.phones)}}function C(e,t){if(1&e&&(i.Ec(0,"div"),i.xd(1,v,4,2,"p",40),i.xd(2,y,4,2,"p",41),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.bd("ngIf",null!==e.address),i.jc(1),i.bd("ngIf",e.phones.length>0)}}function _(e,t){if(1&e&&(i.Ec(0,"p"),i.Tc(),i.Ec(1,"svg",42),i.zc(2,"use"),i.Dc(),i.zd(3),i.Dc()),2&e){const e=i.Uc().$implicit;i.jc(2),i.kc("href","#icon-new-location",null,"xlink"),i.jc(1),i.Bd(" ",e.address," ")}}function x(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"a",45),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.dd("href","tel:",e,"",i.qd),i.jc(1),i.Ad(e)}}function O(e,t){if(1&e&&(i.Ec(0,"p",43),i.Tc(),i.Ec(1,"svg",42),i.zc(2,"use"),i.Dc(),i.xd(3,x,2,2,"a",44),i.Dc()),2&e){const e=i.Uc().$implicit;i.jc(2),i.kc("href","#icon-new-phone",null,"xlink"),i.jc(1),i.bd("ngForOf",e.phones)}}function S(e,t){if(1&e&&(i.Ec(0,"div",53),i.xd(1,_,4,2,"p",40),i.xd(2,O,4,2,"p",41),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.bd("ngIf",e.address),i.jc(1),i.bd("ngIf",e.phones.length>0)}}function E(e,t){if(1&e&&(i.Ec(0,"details",46),i.Ec(1,"summary"),i.Ec(2,"span",47),i.zd(3),i.Dc(),i.zc(4,"i",48),i.Dc(),i.Ec(5,"div",49),i.Ec(6,"i",50),i.zd(7,"\xd7"),i.Dc(),i.Ec(8,"h4"),i.zd(9,"\u0412\u0441\u0435 \u0430\u0434\u0440\u0435\u0441\u0430"),i.Dc(),i.Ec(10,"div",51),i.xd(11,S,3,2,"div",52),i.Vc(12,"slice"),i.Dc(),i.Dc(),i.Dc()),2&e){const e=i.Uc().companyCard,t=i.Uc();i.jc(3),i.Bd(" ",t.moreItemsCountLabel(e.actualAddresses.length-1)," "),i.jc(8),i.bd("ngForOf",i.Yc(12,2,e.actualAddresses,1,e.actualAddresses.length))}}function P(e,t){if(1&e&&(i.Ec(0,"span"),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.Ad(e.title+" ")}}function k(e,t){if(1&e&&(i.Ec(0,"div",54),i.xd(1,P,2,1,"span",22),i.Dc()),2&e){const e=i.Uc().companyCard;i.jc(1),i.bd("ngForOf",e.actualProductRubrics)}}function M(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"div",55),i.zc(1,"app-companies-content-gallery",56),i.Dc()),2&e){const e=i.Uc().companyCard;i.jc(1),i.bd("companyImages",e.firstPhotoAlbum)}}function I(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"p"),i.zd(1),i.Ec(2,"span"),i.Tc(),i.Ec(3,"svg",61),i.zc(4,"use"),i.Dc(),i.zd(5),i.Dc(),i.Dc()),2&e){const e=i.Uc(2).companyCard;i.jc(1),i.Bd(" ",e.lastFeedback.content," "),i.jc(3),i.kc("href","#icon-comment",null,"xlink"),i.jc(1),i.Bd(" ",e.commentsCount," ")}}function D(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"div",57),i.Ec(1,"div",58),i.Tc(),i.Ec(2,"svg",59),i.zc(3,"use"),i.Dc(),i.xd(4,I,6,3,"p",40),i.Sc(),i.Ec(5,"div",60),i.Tc(),i.Ec(6,"svg",32),i.zc(7,"use"),i.Dc(),i.zd(8),i.Dc(),i.Dc(),i.Dc()),2&e){const e=i.Uc().companyCard;i.jc(3),i.kc("href","#icon-comments",null,"xlink"),i.jc(1),i.bd("ngIf",e.lastFeedback.content),i.jc(3),i.kc("href","#icon-like",null,"xlink"),i.jc(1),i.Bd(" ",e.averageRating," ")}}function j(e,t){if(1&e&&(i.Ec(0,"span",62),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.Bd("",e.title," ")}}function A(e,t){if(1&e&&(i.Ec(0,"div",4),i.Ec(1,"div",5),i.Ec(2,"div",6),i.zc(3,"a",7),i.Dc(),i.Ec(4,"div",8),i.Ec(5,"div",9),i.Tc(),i.Ec(6,"svg",10),i.zc(7,"use"),i.Dc(),i.xd(8,d,4,2,"span",11),i.xd(9,h,6,9,"span",12),i.xd(10,p,2,0,"span",13),i.xd(11,f,2,0,"span",14),i.xd(12,g,2,1,"span",15),i.Vc(13,"slice"),i.xd(14,m,2,1,"button",16),i.xd(15,b,2,0,"button",17),i.Sc(),i.Ec(16,"span",18),i.Tc(),i.Ec(17,"svg",19),i.zc(18,"use"),i.Dc(),i.zd(19),i.Dc(),i.Dc(),i.Sc(),i.Ec(20,"a",20),i.zd(21),i.Dc(),i.Ec(22,"div",21),i.xd(23,C,3,2,"div",22),i.Vc(24,"slice"),i.xd(25,E,13,6,"details",23),i.Dc(),i.xd(26,k,2,1,"div",24),i.Dc(),i.Ec(27,"div",25),i.Ec(28,"span",26),i.Tc(),i.Ec(29,"svg",19),i.zc(30,"use"),i.Dc(),i.zd(31),i.Dc(),i.xd(32,M,2,1,"div",27),i.Dc(),i.Dc(),i.xd(33,D,9,4,"div",28),i.Sc(),i.Ec(34,"div",29),i.xd(35,j,2,1,"span",30),i.Dc(),i.Dc()),2&e){const e=t.companyCard,n=i.Uc();i.jc(3),i.cd("href",e.mainUrl,i.qd),i.bd("lazyLoad",e.logoUrl),i.jc(2),i.bd("ngClass",n.getListItemClass(e)),i.jc(2),i.kc("href",n.getListItemIcon(e),null,"xlink"),i.jc(1),i.bd("ngIf",e.averageRating>0),i.jc(1),i.bd("ngIf",null!==e.firstAddress&&null!==e.firstAddress.todaySchedule&&null!==e.firstAddress.todaySchedule.timeFrom&&null!==e.firstAddress.todaySchedule.timeTo),i.jc(1),i.bd("ngIf",null!==e.firstAddress&&e.firstAddress.isOpen),i.jc(1),i.bd("ngIf",null!==e.firstAddress&&!1===e.firstAddress.isOpen),i.jc(1),i.bd("ngForOf",i.Yc(13,23,e.actualRubrics,0,n.actualRubricLength)),i.jc(2),i.bd("ngIf",e.actualRubrics.length>1&&1===n.actualRubricLength),i.jc(1),i.bd("ngIf",n.actualRubricLength>1),i.jc(3),i.kc("href","#icon-new-eye",null,"xlink"),i.jc(1),i.Bd(" ",e.actualViewsCount,""),i.jc(1),i.cd("href",e.mainUrl,i.qd),i.jc(1),i.Ad(e.title),i.jc(2),i.bd("ngForOf",i.Yc(24,27,e.actualAddresses,0,1)),i.jc(2),i.bd("ngIf",e.actualAddresses.length>1),i.jc(1),i.bd("ngIf",(null==e.actualProductRubrics?null:e.actualProductRubrics.length)>0),i.jc(4),i.kc("href","#icon-new-eye",null,"xlink"),i.jc(1),i.Bd(" ",e.actualViewsCount," "),i.jc(1),i.bd("ngIf",null!==e.firstPhotoAlbum),i.jc(1),i.bd("ngIf",e.lastFeedback),i.jc(2),i.bd("ngForOf",e.actualRubrics)}}let T=(()=>{class e extends s.d{constructor(e,t,n,i){super(),this.injector=e,this.translateService=t,this.companyCardsService=n,this.payedCompanyService=i,this.actualRubricLength=1}ngOnInit(){super.ngOnInit()}getModels(){if(null===this.companyCardsService)throw new Error("Popular places services must be injected");
1return this.card instanceof o.n?this.payedCompanyService.getNextPayedCompany(this.card.id):this.companyCardsService.getNextCompanyCard(1).pipe(Object(r.a)(e=>null!==e?e[0]:null))}renderCard(e){this.models=e,this.insertPoint.clear(),this.insertPoint.createEmbeddedView(this.fullCard,{companyCard:this.models})}getListItemIcon(e){switch(e.iconsSet){case o.m.Lux:return"#icon-queen";case o.m.Premium:return"#icon-crown";case o.m.Platinum:return"#icon-diamond";case o.m.Standard:return"#icon-standard";default:return""}}getListItemClass(e){switch(e.iconsSet){case o.m.Lux:return"teaser-block__item--lux";case o.m.Premium:return"teaser-block__item--premium";case o.m.Platinum:return"teaser-block__item--platinum";case o.m.Standard:return"teaser-block__item--standard";default:return""}}moreItemsCountLabel(e){return this.translateService.instant("x-more-items-label",{count:e})}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.w),i.yc(a.e),i.yc(o.h),i.yc(o.o))},e.\u0275cmp=i.sc({type:e,selectors:[["app-company-card"]],viewQuery:function(e,t){var n;1&e&&(i.ud(c,!0,i.X),i.ud(l,!0)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.fullCard=n.first))},features:[i.gc],decls:6,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["fullCard",""],[3,"width","height"],[1,"carding"],[1,"carding__container"],[1,"carding__logo"],[1,"carding__logo-wrap",3,"href","lazyLoad"],[1,"carding__middle","teaser-block"],[1,"carding__middle-header","teaser-block__item",3,"ngClass"],["width","24","height","25",1,"teaser-block__icon"],["class","carding__mobile-like d-flex d-lg-none",4,"ngIf"],["class","carding__clock",4,"ngIf"],["class","carding__middle-open d-lg-inline d-none","translate","",4,"ngIf"],["class","carding__middle-close d-lg-inline d-none","translate","",4,"ngIf"],["class","category-button d-none d-lg-inline",4,"ngFor","ngForOf"],["class","button moreButton d-lg-inline d-none",3,"click",4,"ngIf"],["class","button text-black-35 moreButton d-lg-inline d-none","translate","",3,"click",4,"ngIf"],[1,"carding__view","d-flex","d-lg-none"],["width","20","height","20"],[1,"carding__link",3,"href"],[1,"carding__contacts"],[4,"ngFor","ngForOf"],["class","carding__contacts-modal--container",4,"ngIf"],["class","carding__category",4,"ngIf"],[1,"carding__right"],[1,"carding__view","d-lg-flex","d-none"],["class","carding__gallery",4,"ngIf"],["class","carding__comments-container",4,"ngIf"],[1,"carding__mobile-category"],["class","category-button d-lg-none",4,"ngFor","ngForOf"],[1,"carding__mobile-like","d-flex","d-lg-none"],["width","12","height","15"],[1,"carding__clock"],["width","15","height","15"],["translate","",1,"carding__middle-open","d-lg-inline","d-none"],["translate","",1,"carding__middle-close","d-lg-inline","d-none"],[1,"category-button","d-none","d-lg-inline"],[1,"button","moreButton","d-lg-inline","d-none",3,"click"],["translate","",1,"button","text-black-35","moreButton","d-lg-inline","d-none",3,"click"],[4,"ngIf"],["class","carding__contacts--inline",4,"ngIf"],["width","12","height","16"],[1,"carding__contacts--inline"],[3,"href",4,"ngFor","ngForOf"],[3,"href"],[1,"carding__contacts-modal--container"],[1,"button","moreButton"],[1,"details-modal-overlay"],[1,"carding__contacts-modal--body"],[1,"details-modal-close"],[1,"carding__contacts-modal--cards"],["class","carding__contacts-modal--address",4,"ngFor","ngForOf"],[1,"carding__contacts-modal--address"],[1,"carding__category"],[1,"carding__gallery"],[3,"companyImages"],[1,"carding__comments-container"],[1,"carding__comments"],["width","37","height","37",1,"carding__comments-icon"],[1,"round-like","d-lg-flex","d-none"],["width","21","height","18"],[1,"category-button","d-lg-none"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,u,1,2,"app-placeholder",1),i.Vc(3,"async"),i.xd(4,A,36,31,"ng-template",null,2,i.yd)),2&e&&(i.jc(2),i.bd("ngIf",!i.Wc(3,1,t.isComponentLoaded$)))},styles:['@charset "UTF-8";.carding[_ngcontent-%COMP%]{padding:24px 0;border-bottom:1px solid #dcdcdc}.carding__container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.carding__comments-container[_ngcontent-%COMP%]{margin-bottom:15px}.carding__logo[_ngcontent-%COMP%]{width:100%;position:relative}.carding__logo[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:absolute;text-transform:uppercase;font-weight:700;padding:3px 5px;top:0;left:-10px;color:#fff;background-color:var(--green-primary)}.carding__logo-wrap[_ngcontent-%COMP%]{display:block;
1border:1px solid #f0f0f0;height:150px;width:150px;background-size:contain;background-position:50%;background-repeat:no-repeat;margin:24px auto}.carding__middle-header[_ngcontent-%COMP%]{display:flex;font-size:14px;margin-bottom:8px;flex-wrap:wrap;row-gap:5px}.carding__middle-header[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{flex-shrink:0;margin-right:10px}.carding__middle-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:flex;flex-shrink:0;align-items:center}.carding__middle-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}.carding__middle-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:8px}.carding__middle-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:none;background-color:unset;text-decoration:underline;color:var(--green-primary)}.carding__middle-header[_ngcontent-%COMP%]   .text-black-35[_ngcontent-%COMP%]{color:rgba(50,50,50,.35)}.carding__middle-open[_ngcontent-%COMP%]{color:var(--green-primary)}.carding__middle-close[_ngcontent-%COMP%], .carding__middle-open[_ngcontent-%COMP%]{border-left:1px solid #dcdcdc;border-right:1px solid #dcdcdc;padding:0 8px;margin:0 8px}.carding__middle-close[_ngcontent-%COMP%]{color:#e74c3c}.carding__middle-category[_ngcontent-%COMP%]{border-radius:16px;border:1px solid var(--green-primary);padding:3px 10px;color:var(--green-primary)}.carding__middle[_ngcontent-%COMP%]{flex-grow:1}.carding__middle[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}.carding__middle[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{position:relative;top:-1px;margin-right:10px}.carding__link[_ngcontent-%COMP%]{display:inline-block;font-size:21px;font-weight:700}.carding__contacts[_ngcontent-%COMP%], .carding__link[_ngcontent-%COMP%]{margin-bottom:24px}.carding__contacts[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:last-child):after{display:inline;content:","}.carding__contacts[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .carding__contacts[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:4px}.carding__contacts[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:last-child), .carding__contacts[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:not(:last-child){margin-right:6px}.carding__contacts[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:block;background-color:transparent;border:1px solid #323232;border-radius:5px;margin:28px auto 0;padding:11px 43px}.carding__mobile-like[_ngcontent-%COMP%]{display:flex;padding:2px 13px;font-weight:700;border-radius:16px;background-color:var(--green-primary);color:#fff}.carding__mobile-like[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fff;margin-right:10px}.carding__category[_ngcontent-%COMP%]{padding:0;margin-bottom:24px;display:flex;flex-wrap:wrap}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:18px;display:block}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:before{content:"\u2022";margin:.5rem;color:var(--green-primary)}.carding__comments[_ngcontent-%COMP%]{display:flex;margin-top:24px;padding-top:16px;border-top:1px solid #dcdcdc}.carding__comments[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary);margin-left:10px}.carding__comments[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:4px;fill:var(--green-primary)}.carding__comments-icon[_ngcontent-%COMP%]{flex-shrink:0;margin-right:14px}.carding__view[_ngcontent-%COMP%]{margin-top:-2px;align-items:center;color:rgba(50,50,50,.35)}.carding__gallery[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;width:270px;height:86px;gap:6px}.carding__gallery[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:flex;flex:0 0 86px;width:86px;height:86px;justify-content:center;align-items:center;position:relative;background-size:100% auto}.carding__gallery[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:rgba(0,0,0,.2)}.carding__right[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end}.carding__right[_ngcontent-%COMP%]   .round-like[_ngcontent-%COMP%]{margin-top:auto}.carding__right[_ngcontent-%COMP%]   .carding__view[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:18px}.carding__right[_ngcontent-%COMP%]   .carding__view[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:10px}.carding__mobile-category[_ngcontent-%COMP%]{display:flex;white-space:nowrap;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none}.carding__mobile-category[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.carding__mobile-category[_ngcontent-%COMP%]   .mobile-category-name[_ng
1content-%COMP%]{margin-right:7px}.carding__contacts-modal--body[_ngcontent-%COMP%]{top:-60px;left:0}.carding__contacts-modal--body[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .carding__contacts-modal--body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#232323}.carding__contacts-modal--address[_ngcontent-%COMP%]{width:100%;pointer-events:all;padding:15px 0}.carding__contacts-modal--container[_ngcontent-%COMP%]{position:relative}.carding__contacts-modal--body[_ngcontent-%COMP%]{position:absolute;background-color:#fff;pointer-events:none;padding:16px;z-index:2;box-shadow:0 0 10px rgba(0,0,0,.25)}.carding__contacts-modal--body[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:18px;font-weight:700;pointer-events:all;width:calc(100% - 20px)}.carding__contacts-modal--body[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{opacity:.35;pointer-events:none;position:absolute;top:5px;right:12px;font-size:32px;font-style:normal}.carding__contacts-modal--cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;max-height:220px;overflow-y:auto;max-width:500px;pointer-events:all}.carding__contacts-modal--cards[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{white-space:nowrap;pointer-events:all;margin-bottom:10px}@media (min-width:375px){.carding__gallery[_ngcontent-%COMP%]{width:98vw;gap:3px}}@media (min-width:1024px){.carding__container[_ngcontent-%COMP%]{flex-wrap:nowrap}.carding__logo[_ngcontent-%COMP%]{width:auto}.carding__logo-wrap[_ngcontent-%COMP%]{position:relative;margin:0;width:100px;height:100px}.carding__middle-header[_ngcontent-%COMP%]{align-items:center}.carding__contacts--inline[_ngcontent-%COMP%]{display:flex}.carding__contacts[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:inline;padding:0;text-decoration:underline;border:none;margin:0 0 0 20px;color:#dcdcdc}.carding__middle[_ngcontent-%COMP%]{padding:0 10px}.carding__category[_ngcontent-%COMP%]{margin-bottom:0}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(:last-child):after{content:"\u2022";margin:0 8px;color:var(--green-primary)}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:before{content:none}.carding__gallery[_ngcontent-%COMP%]{width:175px;height:175px}.carding__comments[_ngcontent-%COMP%]{padding-top:24px}.carding__comments-container[_ngcontent-%COMP%]{padding-left:110px;padding-right:185px;position:relative;margin-bottom:0}.carding__comments-container[_ngcontent-%COMP%]   .round-like[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0}}@media (min-width:1220px){.carding__container[_ngcontent-%COMP%]{padding-top:50px}.carding__logo-wrap[_ngcontent-%COMP%]{width:140px;height:140px}.carding__middle[_ngcontent-%COMP%]{padding:0 26px}.carding__gallery[_ngcontent-%COMP%]{width:265px}.carding__comments[_ngcontent-%COMP%]{margin-top:0}.carding__comments-container[_ngcontent-%COMP%]{padding-left:166px;padding-right:291px;margin-bottom:0}}.carding__modal-container[_ngcontent-%COMP%]{display:flex;align-items:center}.category-button[_ngcontent-%COMP%]{flex-shrink:0;border-radius:16px;border:1px solid var(--green-primary);padding:3px 10px;color:var(--green-primary);margin-right:5px}.hidden[_ngcontent-%COMP%]{display:none!important}.round-like[_ngcontent-%COMP%]{display:flex;flex-shrink:0;flex-direction:column;align-items:center;color:#fff;font-weight:700;border-radius:50%;width:48px;height:48px;background-color:var(--green-primary)}.round-like[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-top:7px;fill:#fff}.teaser-block__item--premium[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#c0f}.teaser-block__item--platinum[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#00afe1}.teaser-block__item--lux[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#fb661c}.teaser-block__item--standard[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:var(--green-primary)}.details-modal-overlay[_ngcontent-%COMP%]{transition:opacity .2s ease-out;pointer-events:none;background:transparent;position:fixed;opacity:0;bottom:0;right:0;left:0;top:0;z-index:1}details[open][_ngcontent-%COMP%]   .details-modal-overlay[_ngcontent-%COMP%]{pointer-events:all;opacity:.5}details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]{list-style:none;display:flex;pointer-events:none}details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]   .moreButton[_ngcontent-%COMP%]{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:10px 40px;margin:10px auto;border:1px solid #323232;border-radius:5px;pointer-events:all}
1details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]:focus{outline:none}details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]::-webkit-details-marker{display:none}@media (min-width:1024px){details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]   .moreButton[_ngcontent-%COMP%]{color:var(--green-primary);text-decoration:underline;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:unset;margin:6px 0 0;border:unset;border-radius:unset}}']}),e})()},tPH9:function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},"tk/3":function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return U})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return g}));var i=n("fXoL"),r=n("LRne"),s=n("HDdC"),o=n("bOdf"),a=n("pLZG"),c=n("lJxs"),l=n("ofXK");class u{}class d{}class h{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=n.toLowerCase(),r=e.slice(t+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(e).forEach(t=>{let n=e[t];const i=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new h;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function f(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class g{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const i=e.indexOf("="),[r,s]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,o)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}
vendor: 7,539 bytes, line 1
1keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new g({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function m(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function b(e){return"undefined"!=typeof Blob&&e instanceof Blob}function v(e){return"undefined"!=typeof FormData&&e instanceof FormData}class w{constructor(e,t,n,i){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==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 h),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new g,this.urlWithParams=t}serializeBody(){return null===this.body?null:m(this.body)||b(this.body)||v(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||v(this.body)?null:b(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,r=void 0!==e.body?e.body:this.body,s=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,o=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,c=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),c)),new w(t,n,r,{params:c,headers:a,reportProgress:o,responseType:i,withCredentials:s})}}const y=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}();class C{constructor(e,t=200,n="OK"){this.headers=e.headers||new h,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class _ extends C{constructor(e={}){super(e),this.type=y.ResponseHeader}clone(e={}){return new _({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class x extends C{constructor(e={}){super(e),this.type=y.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new x({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class O extends C{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function S(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let E=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof w)i=e;else{let r=void 0;r=n.headers instanceof h?n.headers:new h(n.headers);let s=void 0;n.params&&(s=n.params instanceof g?n.params:new g({fromObject:n.params})),i=new w(e,t,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Object(r.a)(i).pipe(Object(o.a)(e=>this.handler.handle(e)));if(e instanceof w||"events"===n.observe)return s;const l=s.pipe(Object(a.a)(e=>e instanceof x));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return l.pipe(Object(c.a)(e=>e.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,S(n,t))}post(e,t,n={}){return this.request("POST",e,S(n,t))}put(e,t,n={}){return this.request("PUT",e,S(n,t))}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(u))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();class P{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const k=new i.v("HTTP_INTERCEPTORS");let M=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();const I=/^\)\]\}',?\n/;class D{}let j=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),A=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new s.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEac
1h((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const t=1223===n.status?204:n.status,i=n.statusText||"OK",s=new h(n.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return r=new _({headers:s,status:t,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:a}=s(),c=null;204!==r&&(c=void 0===n.response?n.responseText:n.response),0===r&&(r=c?200:0);let l=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(I,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=e,l&&(l=!1,c={error:u,text:c})}}l?(t.next(new x({body:c,headers:i,status:r,statusText:o,url:a||void 0})),t.complete()):t.error(new O({error:c,headers:i,status:r,statusText:o,url:a||void 0}))},a=e=>{const{url:i}=s(),r=new O({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});t.error(r)};let c=!1;const l=i=>{c||(t.next(s()),c=!0);let r={type:y.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),t.next(r)},u=e=>{let n={type:y.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),e.reportProgress&&(n.addEventListener("progress",l),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),t.next({type:y.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),e.reportProgress&&(n.removeEventListener("progress",l),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(D))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();const T=new i.v("XSRF_COOKIE_NAME"),z=new i.v("XSRF_HEADER_NAME");class L{}let N=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.U)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(l.e),i.Mc(i.I),i.Mc(T))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),R=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(L),i.Mc(z))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),F=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(k,[]);this.chain=e.reduceRight((e,t)=>new P(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(d),i.Mc(i.w))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),V=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:R,useClass:M}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:T,useValue:t.cookieName}:[],t.headerName?{provide:z,useValue:t.headerName}:[]]}}}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[R,{provide:k,useExisting:R,multi:!0},{provide:L,useClass:N},{provide:T,useValue:"XSRF-TOKEN"},{provide:z,useValue:"X-XSRF-TOKEN"}]}),e})(),U=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[E,{provide:u,useClass:F},A,{provide:d,useExisting:A},j,{provide:D,useExisting:j}],imports:[[V.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},tyNb:function(e,t,n){"use strict";n.d(t,"a",(function(){return Ye})),n.d(t,"b",(function(){return q})),n.d(t,"c",(function(){return Kt})),n.d(t,"d",(function(){return sn})),n.d(t,"e",(function(){return on})),n.d(t,"f",(function(){return ln})),n.d(t,"g",(function(){return an})),n.d(t,"h",(function(){return _n})),n.d(t,"i",(function(){return hn})),n.d(t,"j",(function(){return Oe})),n.d(t,"k",(function(){return oe}));var i=n("ofXK"),r=n("fXoL"),s=n("LRne"),o=n("Cfvw"),a=n("2Vo4"),c=n("HDdC"),l=n("sVev"),u=n("itXk"),d=n("NXyV"),h=n("XNiG"),p=n("EY2u"),f=n("lJxs"),g=n("0EUg"),m=n("pLZG"),b=n("7o/Q"),v=n("4I5i");function w(e){return function(t){return 0===e?Object(p.b)():t.lift(new y(e))}}class y{constructor(e){if(this.total=e,this.total<0)throw new v.a}call(e,t){return t.subscribe(new C(e,this.total))}}class C extends b.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r<n;r++){const r=t++%n;e.next(i[r])}}e.complete()}}var _=n("XDbj"),x=n("xbPD"),O=n("SpAZ");function S(e,t){const n=arguments.length>=2;return i=>i.pipe(e?Object(m.a)((t,n)=>e(t,n,i)):O.a,w(1),n?Object(x.a)(t):Object(_.a)(()=>new l.a))}var E=n("JIr8"),P=n("SxV6"),k=n("5+tZ"),M=n("Gi4w"),I=n("eIep"),D=n("IzEk"),j=n("JX91");function A(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new T(e,t,n))}}class T{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new z(e,this.accumulator,this.seed,this.hasSeed))}}class z extends b.a{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var L=n("bOdf"),N=n("mCNh"),R=n("vkgz"),F=n("quSY");class V{constructor(e){this.callback=e}call(e,t){return t.subscribe(new U(e,this.callback))}}class U extends b.a{constructor(e,t){super(e),this.add(new F.a(t))}}var H=n("bHdf");class B{constructor(e,t){this.id=e,this.url=t}}class $ extends B{constructor(e,t,n="imperative",i=null){super(e,t),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class q extends B{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class W extends B{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class G extends B{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class X extends B{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z extends B{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y extends B{constructor(e,t,n,i,r){super(e,t),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 Q extends B{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K extends B{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ee{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class te{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ne{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ie{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class se{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let oe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.sc({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&r.zc(0,"router-outlet")},directives:function(){return[hn]},encapsulation:2}),e})();class ae{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ce(e){return new ae(e)}function le(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ue(e,t,n){const i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;const r={};for(let s=0;s<i.length;s++){const t=i[s],n=e[s];if(t.startsWith(":"))r[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}class de{constructor(e,t){this.routes=e,this.module=t}}function he(e,t=""){for(let n=0;n<e.length;n++){const i=e[n];pe(i,fe(t,i))}}function pe(e,t){if(!e)throw new Error(`\n      Invalid configuration of route '${t}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&he(e.children,t)}function fe(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function ge(e){const t=e.children&&e.children.map(ge),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=oe),n}function me(e,t){const n=Object.keys(e),i=Object.keys(t);if(!n||!i||n.length!=i.length)return!1;let r;for(let s=0;s<n.length;s++)if(r=n[s],!be(e[r],t[r]))return!1;return!0}function be(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every(e=>t.indexOf(e)>-1):e===t}function ve(e){return Array.prototype.concat.apply([],e)}function we(e){return e.length>0?e[e.length-1]:null}function ye(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ce(e){return Object(r.Lb)(e)?e:Object(r.Mb)(e)?Object(o.a)(Prom
1ise.resolve(e)):Object(s.a)(e)}function _e(e,t,n){return n?function(e,t){return me(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Ee(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>be(e[n],t[n]))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,i,r){if(n.segments.length>r.length)return!!Ee(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Ee(n.segments,r))return!1;for(const t in i.children){if(!n.children[t])return!1;if(!e(n.children[t],i.children[t]))return!1}return!0}{const e=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!Ee(n.segments,e)&&!!n.children.primary&&t(n.children.primary,i,s)}}(t,n,n.segments)}(e.root,t.root)}class xe{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ce(this.queryParams)),this._queryParamMap}toString(){return Ie.serialize(this)}}class Oe{constructor(e,t){this.segments=e,this.children=t,this.parent=null,ye(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return De(this)}}class Se{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ce(this.parameters)),this._parameterMap}toString(){return Ne(this)}}function Ee(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function Pe(e,t){let n=[];return ye(e.children,(e,i)=>{"primary"===i&&(n=n.concat(t(e,i)))}),ye(e.children,(e,i)=>{"primary"!==i&&(n=n.concat(t(e,i)))}),n}class ke{}class Me{parse(e){const t=new He(e);return new xe(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+function e(t,n){if(!t.hasChildren())return De(t);if(n){const n=t.children.primary?e(t.children.primary,!1):"",i=[];return ye(t.children,(t,n)=>{"primary"!==n&&i.push(`${n}:${e(t,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}{const n=Pe(t,(n,i)=>"primary"===i?[e(t.children.primary,!1)]:[`${i}:${e(n,!1)}`]);return`${De(t)}/(${n.join("//")})`}}(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Ae(t)}=${Ae(e)}`).join("&"):`${Ae(t)}=${Ae(n)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+encodeURI(e.fragment):""}`}}const Ie=new Me;function De(e){return e.segments.map(e=>Ne(e)).join("/")}function je(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ae(e){return je(e).replace(/%3B/gi,";")}function Te(e){return je(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ze(e){return decodeURIComponent(e)}function Le(e){return ze(e.replace(/\+/g,"%20"))}function Ne(e){return`${Te(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Te(e)}=${Te(t[e])}`).join("")}`;var t}const Re=/^[^\/()?;=#]+/;function Fe(e){const t=e.match(Re);return t?t[0]:""}const Ve=/^[^=?&#]+/,Ue=/^[^?&#]+/;class He{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Oe([],{}):new Oe([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Oe(e,t)),n}parseSegment(){const e=Fe(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Se(ze(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Fe(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Fe(this.remaining);e&&(n=e,this.capture(n))}e[ze(t)]=ze(n)}parseQueryParam(e){const t=function(e){const t=e.match(Ve);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Ue);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=Le(t),r=Le(n);if(e.hasOwnProperty(i)){let t=e[i];Array.isArray(t)||(t=[t],e[i]=t),t.push(r)}else e[i]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Fe(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(":")):e&&(r="primary");const s=this.parseChildren();t[r]=1===Object.keys(s).length?s.primary:new Oe([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Be{constructor(e){this._root=e}get root(){return this._root.value}
vendor: 9,437 bytes, line 1
1parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=$e(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=$e(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=qe(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return qe(e,this._root).map(e=>e.value)}}function $e(e,t){if(e===t.value)return t;for(const n of t.children){const t=$e(e,n);if(t)return t}return null}function qe(e,t){if(e===t.value)return[t];for(const n of t.children){const i=qe(e,n);if(i.length)return i.unshift(t),i}return[]}class We{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Ge(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Xe extends Be{constructor(e,t){super(e),this.snapshot=t,et(this,e)}toString(){return this.snapshot.toString()}}function Ze(e,t){const n=function(e,t){const n=new Ke([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Je("",new We(n,[]))}(e,t),i=new a.a([new Se("",{})]),r=new a.a({}),s=new a.a({}),o=new a.a({}),c=new a.a(""),l=new Ye(i,r,o,c,s,"primary",t,n.root);return l.snapshot=n.root,new Xe(new We(l,[]),n)}class Ye{constructor(e,t,n,i,r,s,o,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this._futureSnapshot=a}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)(e=>ce(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(e=>ce(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Qe(e,t="emptyOnly"){const n=e.pathFromRoot;let i=0;if("always"!==t)for(i=n.length-1;i>=1;){const e=n[i],t=n[i-1];if(e.routeConfig&&""===e.routeConfig.path)i--;else{if(t.component)break;i--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Ke{constructor(e,t,n,i,r,s,o,a,c,l,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,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=ce(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ce(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Je extends Be{constructor(e,t){super(t),this.url=e,et(this,t)}toString(){return tt(this._root)}}function et(e,t){t.value._routerState=e,t.children.forEach(t=>et(e,t))}function tt(e){const t=e.children.length>0?` { ${e.children.map(tt).join(", ")} } `:"";return`${e.value}${t}`}function nt(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,me(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),me(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!me(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),me(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function it(e,t){var n,i;return me(e.params,t.params)&&Ee(n=e.url,i=t.url)&&n.every((e,t)=>me(e.parameters,i[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||it(e.parent,t.parent))}function rt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function st(e,t,n,i,r){let s={};return i&&ye(i,(e,t)=>{s[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new xe(n.root===e?t:function e(t,n,i){const r={};return ye(t.children,(t,s)=>{r[s]=t===n?i:e(t,n,i)}),new Oe(t.segments,r)}(n.root,e,t),s,r)}class ot{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&rt(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(i&&i!==we(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class at{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function ct(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function lt(e,t,n){if(e||(e=new Oe([],{})),0===e.segments.length&&e.hasChildren())return ut(e,t,n);const i=function(e,t,n){let i=0,r=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=n.length)return s;const t=e.segments[r],o=ct(n[i]),a=i<n.length-1?n[i+1]:null;if(r>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!ft(o,a,t))return s;i+=2}else{if(!ft(o,{},t))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const t=new Oe(e.segments.slice(0,i.pathIndex),{});return t.children.primary=new Oe(e.segments.slice(i.pathIndex),e.children),ut(t,0,r)}return i.match&&0===r.length?new Oe(e.segments,{}):i.match&&!e.hasChildren()?dt(e,t,n):i.match?ut(e,0,r):dt(e,t,n)}function ut(e,t,n){if(0===n.length)return new Oe(e.segments,{});{const i=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),r={};return ye(i,(n,i)=>{null!==n&&(r[i]=lt(e.children[i],t,n))}),ye(e.children,(e,t)=>{void 0===i[t]&&(r[t]=e)}),new Oe(e.segments,r)}}function dt(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r<n.length;){if("object"==typeof n[r]&&void 0!==n[r].outlets){const e=ht(n[r].outlets);return new Oe(i,e)}if(0===r&&rt(n[0])){i.push(new Se(e.segments[t].path,n[0])),r++;continue}const s=ct(n[r]),o=r<n.length-1?n[r+1]:null;s&&o&&rt(o)?(i.push(new Se(s,pt(o))),r+=2):(i.push(new Se(s,{})),r++)}return new Oe(i,{})}function ht(e){const t={};return ye(e,(e,n)=>{null!==e&&(t[n]=dt(new Oe([],{}),0,e))}),t}function pt(e){const t={};return ye(e,(e,n)=>t[n]=""+e),t}function ft(e,t,n){return e==n.path&&me(t,n.parameters)}class gt{constructor(e,t,n,i){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),nt(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const i=Ge(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),ye(i,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:i})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const i=Ge(e),r=e.value.component?n.children:t;ye(i,(e,t)=>this.deactivateRouteAndItsChildren(e,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const i=Ge(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new re(e.value.snapshot))}),e.children.length&&this.forwardEvent(new ne(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(nt(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(i.component){const t=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const e=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),mt(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=i,t.resolver=r,t.outlet&&t.outlet.activateWith(i,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}
1function mt(e){nt(e.value),e.children.forEach(mt)}function bt(e){return"function"==typeof e}function vt(e){return e instanceof xe}class wt{constructor(e){this.segmentGroup=e||null}}class yt{constructor(e){this.urlTree=e}}function Ct(e){return new c.a(t=>t.error(new wt(e)))}function _t(e){return new c.a(t=>t.error(new yt(e)))}function xt(e){return new c.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Ot{constructor(e,t,n,i,s){this.configLoader=t,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(r.D)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(f.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(E.a)(e=>{if(e instanceof yt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof wt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(f.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Object(E.a)(e=>{if(e instanceof wt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const i=e.segments.length>0?new Oe([],{primary:e}):e;return new xe(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(f.a)(e=>new Oe([],e))):this.expandSegment(e,n,t,n.segments,i,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return Object(s.a)({});const n=[],i=[],r={};return ye(e,(e,s)=>{const o=t(s,e).pipe(Object(f.a)(e=>r[s]=e));"primary"===s?n.push(o):i.push(o)}),s.a.apply(null,n.concat(i)).pipe(Object(g.a)(),S(),Object(f.a)(()=>r))}(n.children,(n,i)=>this.expandSegmentGroup(e,t,i,n))}expandSegment(e,t,n,i,r,o){return Object(s.a)(...n).pipe(Object(f.a)(a=>this.expandSegmentAgainstRoute(e,t,n,a,i,r,o).pipe(Object(E.a)(e=>{if(e instanceof wt)return Object(s.a)(null);throw e}))),Object(g.a)(),Object(P.a)(e=>!!e),Object(E.a)((e,n)=>{if(e instanceof l.a||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,i,r))return Object(s.a)(new Oe([],{}));throw new wt(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,i,r,s,o){return kt(i)!==s?Ct(t):void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s):Ct(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?_t(r):this.lineralizeSegments(n,r).pipe(Object(k.a)(n=>{const r=new Oe(n,{});return this.expandSegment(e,r,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:l}=St(t,i,r);if(!o)return Ct(t);const u=this.applyRedirectCommands(a,i.redirectTo,l);return i.redirectTo.startsWith("/")?_t(u):this.lineralizeSegments(i,u).pipe(Object(k.a)(i=>this.expandSegment(e,t,n,i.concat(r.slice(c)),s,!1)))}matchSegmentAgainstRoute(e,t,n,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(f.a)(e=>(n._loadedConfig=e,new Oe(i,{})))):Object(s.a)(new Oe(i,{}));const{matched:r,consumedSegments:o,lastChild:a}=St(t,n,i);if(!r)return Ct(t);const c=i.slice(a);return this.getChildConfig(e,n,i).pipe(Object(k.a)(e=>{const n=e.module,i=e.routes,{segmentGroup:r,slicedSegments:a}=function(e,t,n,i){return n.length>0&&function(e,t,n){return n.some(n=>Pt(e,t,n)&&"primary"!==kt(n))}(e,n,i)?{segmentGroup:Et(new Oe(t,function(e,t){const n={};n.primary=t;for(const i of e)""===i.path&&"primary"!==kt(i)&&(n[kt(i)]=new Oe([],{}));return n}(i,new Oe(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>Pt(e,t,n))}(e,n,i)?{segmentGroup:Et(new Oe(e.segments,function(e,t,n,i){const r={};for(const s of n)Pt(e,t,s)&&!i[kt(s)]&&(r[kt(s)]=new Oe([],{}));return Object.assign(Object.assign({},i),r)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,o,c,i);return 0===a.length&&r.hasChildren()?this.expandChildren(n,i,r).pipe(Object(f.a)(e=>new Oe(o,e))):0===i.length&&0===a.length?Object(s.a)(new Oe(o,{})):this.expandSegment(n,r,i,a,"primary",!0).pipe(Object(f.a)(e=>new Oe(o.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(s.a)(new de(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(s.a)(t._loadedConfig):function(e,t,n){const i=t.canLoad;return i&&0!==i.length?Object(o.a)(i).pipe(Object(f.a)(i=>{const r=e.get(i);let s;if(function(e){return e&&bt(e.canLoad)}(r))s=r.canLoad(t,n);else{if(!bt(r))throw new Error("Invalid CanLoad guard");s=r(t,n)}return Ce(s)})).pipe(Object(g.a)(),Object(M.a)(e=>!0===e)):Object(s.a)(!0)}(e.injector,t,n).pipe(Object(k.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(f.a)(e=>(t._loadedConfig=e,e))):function(e){return new c.a(t=>t.error(le(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(s.a)(new de([],e))}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(s.a)(n);if(i.numberOfChildren>1||!i.children.primary)return xt(e.redirectTo);i=i.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,i){const r=this.createSegmentGroup(e,t.root,n,i);return new xe(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return ye(e,(e,i)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}createSegmentGroup(e,t,n,i){const r=this.createSegments(e,t.segments,n,i);let s={};return ye(t.children,(t,r)=>{s[r]=this.createSegmentGroup(e,t,n,i)}),new Oe(r,s)}createSegments(e,t,n,i){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,i):this.findOrReturn(t,n))}findPosParam(e,t,n){const i=n[t.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return i}findOrReturn(e,t){let n=0;for(const i of t){if(i.path===e.path)return t.splice(n),i;n++}return e}}function St(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const i=(t.matcher||ue)(n,e,t);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Et(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new Oe(e.segments.concat(t.segments),t.children)}return e}function Pt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function kt(e){return e.outlet||"primary"}class Mt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class It{constructor(e,t){this.component=e,this.route=t}}function Dt(e,t,n){const i=e._root;return function e(t,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=Ge(n);
1return t.children.forEach(t=>{!function(t,n,i,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=n?n.value:null,c=i?i.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ee(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ee(e.url,t.url)||!me(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!it(e,t)||!me(e.queryParams,t.queryParams);case"paramsChange":default:return!it(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Mt(r)):(o.data=a.data,o._resolvedData=a._resolvedData),e(t,n,o.component?c?c.children:null:i,r,s),l&&s.canDeactivateChecks.push(new It(c&&c.outlet&&c.outlet.component||null,a))}else a&&At(n,c,s),s.canActivateChecks.push(new Mt(r)),e(t,null,o.component?c?c.children:null:i,r,s)}(t,o[t.value.outlet],i,r.concat([t.value]),s),delete o[t.value.outlet]}),ye(o,(e,t)=>At(e,i.getContext(t),s)),s}(i,t?t._root:null,n,[i.value])}function jt(e,t,n){const i=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function At(e,t,n){const i=Ge(e),r=e.value;ye(i,(e,i)=>{At(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new It(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}const Tt=Symbol("INITIAL_VALUE");function zt(){return Object(I.a)(e=>Object(u.a)(...e.map(e=>e.pipe(Object(D.a)(1),Object(j.a)(Tt)))).pipe(A((e,t)=>{let n=!1;return t.reduce((e,i,r)=>{if(e!==Tt)return e;if(i===Tt&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||vt(i))return i}return e},e)},Tt),Object(m.a)(e=>e!==Tt),Object(f.a)(e=>vt(e)?e:!0===e),Object(D.a)(1)))}function Lt(e,t){return null!==e&&t&&t(new ie(e)),Object(s.a)(!0)}function Nt(e,t){return null!==e&&t&&t(new te(e)),Object(s.a)(!0)}function Rt(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>Object(d.a)(()=>{const r=jt(i,t,n);let s;if(function(e){return e&&bt(e.canActivate)}(r))s=Ce(r.canActivate(t,e));else{if(!bt(r))throw new Error("Invalid CanActivate guard");s=Ce(r(t,e))}return s.pipe(Object(P.a)())}));return Object(s.a)(r).pipe(zt())}function Ft(e,t,n){const i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Object(d.a)(()=>{const r=t.guards.map(r=>{const s=jt(r,t.node,n);let o;if(function(e){return e&&bt(e.canActivateChild)}(s))o=Ce(s.canActivateChild(i,e));else{if(!bt(s))throw new Error("Invalid CanActivateChild guard");o=Ce(s(i,e))}return o.pipe(Object(P.a)())});return Object(s.a)(r).pipe(zt())}));return Object(s.a)(r).pipe(zt())}class Vt{}class Ut{constructor(e,t,n,i,r,s){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const e=$t(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new Ke([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new We(n,t),r=new Je(this.url,i);return this.inheritParamsAndData(r._root),Object(s.a)(r)}catch(e){return new c.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=Qe(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=Pe(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),i=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${i}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>
1"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,i){for(const s of e)try{return this.processSegmentAgainstRoute(s,t,n,i)}catch(r){if(!(r instanceof Vt))throw r}if(this.noLeftoversInUrl(t,n,i))return[];throw new Vt}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo)throw new Vt;if((e.outlet||"primary")!==i)throw new Vt;let r,s=[],o=[];if("**"===e.path){const s=n.length>0?we(n).parameters:{};r=new Ke(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gt(e),i,e.component,e,Ht(t),Bt(t)+n.length,Xt(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Vt;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(t.matcher||ue)(n,e,t);if(!i)throw new Vt;const r={};ye(i.posParams,(e,t)=>{r[t]=e.path});const s=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:s}}(t,e,n);s=a.consumedSegments,o=n.slice(a.lastChild),r=new Ke(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gt(e),i,e.component,e,Ht(t),Bt(t)+s.length,Xt(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:c,slicedSegments:l}=$t(t,s,o,a,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const e=this.processChildren(a,c);return[new We(r,e)]}if(0===a.length&&0===l.length)return[new We(r,[])];const u=this.processSegment(a,c,l,"primary");return[new We(r,u)]}}function Ht(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Bt(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function $t(e,t,n,i,r){if(n.length>0&&function(e,t,n){return n.some(n=>qt(e,t,n)&&"primary"!==Wt(n))}(e,n,i)){const r=new Oe(t,function(e,t,n,i){const r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;for(const s of n)if(""===s.path&&"primary"!==Wt(s)){const n=new Oe([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[Wt(s)]=n}return r}(e,t,i,new Oe(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>qt(e,t,n))}(e,n,i)){const s=new Oe(e.segments,function(e,t,n,i,r,s){const o={};for(const a of i)if(qt(e,n,a)&&!r[Wt(a)]){const n=new Oe([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===s?e.segments.length:t.length,o[Wt(a)]=n}return Object.assign(Object.assign({},r),o)}(e,t,n,i,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const s=new Oe(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function qt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Wt(e){return e.outlet||"primary"}function Gt(e){return e.data||{}}function Xt(e){return e.resolve||{}}function Zt(e,t,n,i){const r=jt(e,t,i);return Ce(r.resolve?r.resolve(t,n):r(t,n))}function Yt(e){return function(t){return t.pipe(Object(I.a)(t=>{const n=e(t);return n?Object(o.a)(n).pipe(Object(f.a)(()=>t)):Object(o.a)([t])}))}}class Qt{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}
1const Kt=new r.v("ROUTES");class Jt{constructor(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const i=n.create(e);return new de(ve(i.injector.get(Kt)).map(ge),i)}))}loadModuleFactory(e){return"string"==typeof e?Object(o.a)(this.loader.load(e)):Ce(e()).pipe(Object(k.a)(e=>e instanceof r.B?Object(s.a)(e):Object(o.a)(this.compiler.compileModuleAsync(e))))}}class en{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function tn(e){throw e}function nn(e,t,n){return t.parse("/")}function rn(e,t){return Object(s.a)(null)}let sn=(()=>{class e{constructor(e,t,n,i,s,o,c,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new h.a,this.errorHandler=tn,this.malformedUriErrorHandler=nn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:rn,afterPreactivation:rn},this.urlHandlingStrategy=new en,this.routeReuseStrategy=new Qt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(r.D),this.console=s.get(r.hb);const u=s.get(r.F);this.isNgZoneEnabled=u instanceof r.F,this.resetConfig(l),this.currentUrlTree=new xe(new Oe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Jt(o,c,e=>this.triggerEvent(new J(e)),e=>this.triggerEvent(new ee(e))),this.routerState=Ze(this.currentUrlTree,this.rootComponentType),this.transitions=new a.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(e){const t=this.events;return e.pipe(Object(m.a)(e=>0!==e.id),Object(f.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(I.a)(e=>{let n=!1,i=!1;return Object(s.a)(e).pipe(Object(R.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(I.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(s.a)(e).pipe(Object(I.a)(e=>{const n=this.transitions.getValue();return t.next(new $(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?p.a:[e]}),Object(I.a)(e=>Promise.resolve(e)),(i=this.ngModule.injector,r=this.configLoader,o=this.urlSerializer,a=this.config,function(e){return e.pipe(Object(I.a)(e=>function(e,t,n,i,r){return new Ot(e,t,n,i,r).apply()}(i,r,o,e.extractedUrl,a).pipe(Object(f.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),Object(R.a)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,r){return function(s){return s.pipe(Object(k.a)(s=>function(e,t,n,i,r="emptyOnly",s="legacy"){return new Ut(e,t,n,i,r,s).recognize()}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(Object(f.a)(e=>Object.assign(Object.assign({},s),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(R.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Object(R.a)(e=>{const n=new X(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,r,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:o,extras:a}=e,c=new $(n,this.serializeUrl(i),r,o);t.next(c);const l=Ze(i,this.rootComponentType).snapshot;return Object(s.a)(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),p.a}),Yt(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(R.a)(e=>{const t=new Z(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(f.a)(e=>Object.assign(Object.assign({},e),{guards:Dt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(k.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:c}}=n;return 0===c.length&&0===a.length?Object(s.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return Object(o.a)(e).pipe(Object(k.a)(e=>function(e,t,n,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(s.a)(!0);const a=o.map(s=>{const o=jt(s,t,r);let a;if(function(e){return e&&bt(e.canDeactivate)}(o))a=Ce(o.canDeactivate(e,t,n,i));else{if(!bt(o))throw new Error("Invalid CanDeactivate guard");a=Ce(o(e,t,n,i))}return a.pipe(Object(P.a)())});return Object(s.a)(a).pipe(zt())}(e.component,e.route,n,t,i)),Object(P.a)(e=>!0!==e,!0))}(c,i,r,e).pipe(Object(k.a)(n=>n&&"boolean"==typeof n?function(e,t,n,i){return Object(o.a)(t).pipe(Object(L.a)(t=>Object(o.a)([Nt(t.route.parent,i),Lt(t.route,i),Ft(e,t.path,n),Rt(e,t.route,n)]).pipe(Object(g.a)(),Object(P.a)(e=>!0!==e,!0))),Object(P.a)(e=>!0!==e,!0))}(i,a,e,t):Object(s.a)(n)),Object(f.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),Object(R.a)(e=>{if(vt(e.guardsResult)){const t=le(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),Object(R.a)(e=>{const t=new Y(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(m.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new W(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Yt(e=>{if(e.guards.canActivateChecks.length)return Object(s.a)(e).pipe(Object(R.a)(e=>{const t=new Q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(t=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(e){return e.pipe(Object(k.a)(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;return r.length?Object(o.a)(r).pipe(Object(L.a)(e=>function(e,t,n,i){return function(e,t,n,i){const r=Object.keys(e);if(0===r.length)return Object(s.a)({});if(1===r.length){const s=r[0];return Zt(e[s],t,n,i).pipe(Object(f.a)(e=>({[s]:e})))}const a={};return Object(o.a)(r).pipe(Object(k.a)(r=>Zt(e[r],t,n,i).pipe(Object(f.a)(e=>(a[r]=e,e))))).pipe(S(),Object(f.a)(()=>a))}(e._resolve,e,t,i).pipe(Object(f.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Qe(e,n).resolve),null)))}(e.route,i,t,n)),function(e,t){return arguments.length>=2?function(n){return Object(N.a)(A(e,t),w(1),Object(x.a)(t))(n)}:function(t){return Object(N.a)(A((t,n,i)=>e(t,n,i+1)),w(1))(t)}}((e,t)=>e),Object(f.a)(t=>e)):Object(s.a)(e)}))}),Object(R.a)(e=>{const t=new K(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,n}),Yt(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(f.a)(e=>{const t=function(e,t,n){const i=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){const r=i.value;r._futureSnapshot=n.value;const s=function(t,n,i){return n.children.map(n=>{for(const r of i.children)if(t.shouldReuseRoute(r.value.snapshot,n.value))return e(t,n,r);return e(t,n)})}(t,n,i);return new We(r,s)}{const i=t.retrieve(n.value);if(i){const e=i.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");
1if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let i=0;i<t.children.length;++i)e(t.children[i],n.children[i])}(n,e),e}{const i=new Ye(new a.a((r=n.value).url),new a.a(r.params),new a.a(r.queryParams),new a.a(r.fragment),new a.a(r.data),r.outlet,r.component,r),s=n.children.map(n=>e(t,n));return new We(i,s)}}var r}(e,t._root,n?n._root:void 0);return new Xe(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Object(R.a)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(c=this.rootContexts,l=this.routeReuseStrategy,u=e=>this.triggerEvent(e),Object(f.a)(e=>(new gt(l,e.targetRouterState,e.currentRouterState,u).activate(c),e))),Object(R.a)({next(){n=!0},complete(){n=!0}}),(r=()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new W(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null},e=>e.lift(new V(r))),Object(E.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=vt(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new W(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const i=new G(e.id,this.serializeUrl(e.extractedUrl),n);t.next(i);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}var r;return p.a}));var r,c,l,u}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const n="popstate"===e.type?"popstate":"hashchange",i=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,i,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){he(e),this.config=e.map(ge),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:s,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:c}=t;Object(r.db)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,u=c?this.currentUrlTree.fragment:s;let d=null;if(a)switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}else d=o?this.currentUrlTree.queryParams:i||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,i,r){if(0===n.length)return st(t.root,t.root,t,i,r);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ot(!0,0,e);let t=0,n=!1;const i=e.reduce((e,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const t={};return ye(i.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(i.segmentPath)return[...e,i.segmentPath]}return"string"!=typeof i?[...e,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[...e,i]},[]);return new ot(n,t,i)}(n);if(s.toRoot())return st(t.root,new Oe([],{}),t,i,r);const o=function(e,t,n){if(e.isAbsolute)return new at(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new at(n.snapshot._urlSegment,!0,0);const i=rt(e.commands[0])?0:1;return function(e,t,n){let i=e,r=t,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new at(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(s,t,e),a=o.processChildren?ut(o.segmentGroup,o.index,s.commands):lt(o.segmentGroup,o.index,s.commands);return st(o.segmentGroup,a,t,i,r)}(l,this.currentUrlTree,e,d,u)}navigateByUrl(e,t={skipLocationChange:!1}){Object(r.db)()&&this.isNgZoneEnabled&&!r.F.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did 
1you forget to call 'ngZone.run()'?");const n=vt(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(vt(e))return _e(this.currentUrlTree,e,t);const n=this.parseUrl(e);return _e(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const i=e[n];return null!=i&&(t[n]=i),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,i,r){const s=this.getTransition();if(s&&"imperative"!==t&&"imperative"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"hashchange"==t&&"popstate"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"popstate"==t&&"hashchange"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);let o,a,c;r?(o=r.resolve,a=r.reject,c=r.promise):c=new Promise((e,t)=>{o=e,a=t});const l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:o,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,i){const r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(e){r.Pc()},e.\u0275dir=r.tc({type:e}),e})(),on=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.route=t,this.commands=[],null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.db)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:cn(this.skipLocationChange),replaceUrl:cn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:cn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:cn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.yc(sn),r.yc(Ye),r.Nc("tabindex"),r.yc(r.L),r.yc(r.q))},e.\u0275dir=r.tc({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r.Qc("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),e})(),an=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(e=>{e instanceof q&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.db)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i){if(0!==e||t||n||i)return!0;
1if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:cn(this.skipLocationChange),replaceUrl:cn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!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,preserveQueryParams:cn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:cn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.yc(sn),r.yc(Ye),r.yc(i.p))},e.\u0275dir=r.tc({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.Qc("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(r.Hc("href",t.href,r.qd),r.kc("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r.hc]}),e})();function cn(e){return""===e||!!e}let ln=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.element=t,this.renderer=n,this.link=i,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(e=>{e instanceof q&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(e=>this.update()),this.linksWithHrefs.changes.subscribe(e=>this.update()),this.update()}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(r.yc(sn),r.yc(r.q),r.yc(r.L),r.yc(on,8),r.yc(an,8))},e.\u0275dir=r.tc({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){var i;1&e&&(r.qc(n,on,!0),r.qc(n,an,!0)),2&e&&(r.jd(i=r.Rc())&&(t.links=i),r.jd(i=r.Rc())&&(t.linksWithHrefs=i))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.hc]}),e})();class un{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new dn,this.attachRef=null}}class dn{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new un,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}let hn=(()=>{class e{constructor(e,t,n,i,s){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.s,this.deactivateEvents=new r.s,this.name=i||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.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 e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new pn(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(r.yc(dn),r.yc(r.X),r.yc(r.n),r.Nc("name"),r.yc(r.j))},e.\u0275dir=r.tc({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class pn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ye?this.route:e===dn?this.childContexts:this.parent.get(e,t)}}class fn{}class gn{preload(e,t){return Object(s.a)(null)}}let mn=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=new Jt(t,n,t=>e.triggerEvent(new J(t)),t=>e.triggerEvent(new ee(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(m.a)(e=>e instanceof q),Object(L.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(r.D);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const i of t)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const e=i._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(e,i)):i.children&&n.push(this.processRoutes(e,i.children));return Object(o.a)(n).pipe(Object(H.a)(),Object(f.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(k.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(sn),r.Mc(r.C),r.Mc(r.k),r.Mc(r.w),r.Mc(fn))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})(),bn=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anch
1orScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof $?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof q&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof se&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new se(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(e){r.Pc()},e.\u0275dir=r.tc({type:e}),e})();const vn=new r.v("ROUTER_CONFIGURATION"),wn=new r.v("ROUTER_FORROOT_GUARD"),yn=[i.o,{provide:ke,useClass:Me},{provide:sn,useFactory:function(e,t,n,r,s,o,a,c={},l,u){const d=new sn(null,e,t,n,r,s,o,ve(a));if(l&&(d.urlHandlingStrategy=l),u&&(d.routeReuseStrategy=u),c.errorHandler&&(d.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(d.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){const e=Object(i.T)();d.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return c.onSameUrlNavigation&&(d.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(d.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(d.relativeLinkResolution=c.relativeLinkResolution),d},deps:[ke,dn,i.o,r.w,r.C,r.k,Kt,vn,[class{},new r.G],[class{},new r.G]]},dn,{provide:Ye,useFactory:function(e){return e.routerState.root},deps:[sn]},{provide:r.C,useClass:r.R},mn,gn,class{preload(e,t){return t().pipe(Object(E.a)(()=>Object(s.a)(null)))}},{provide:vn,useValue:{enableTracing:!1}}];function Cn(){return new r.E("Router",sn)}let _n=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[yn,En(t),{provide:wn,useFactory:Sn,deps:[[sn,new r.G,new r.Q]]},{provide:vn,useValue:n||{}},{provide:i.p,useFactory:On,deps:[i.E,[new r.u(i.a),new r.G],vn]},{provide:bn,useFactory:xn,deps:[sn,i.J,vn]},{provide:fn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:gn},{provide:r.E,multi:!0,useFactory:Cn},[Pn,{provide:r.d,multi:!0,useFactory:kn,deps:[Pn]},{provide:In,useFactory:Mn,deps:[Pn]},{provide:r.b,multi:!0,useExisting:In}]]}}static forChild(t){return{ngModule:e,providers:[En(t)]}}}return e.\u0275mod=r.wc({type:e}),e.\u0275inj=r.vc({factory:function(t){return new(t||e)(r.Mc(wn,8),r.Mc(sn,8))}}),e})();function xn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new bn(e,t,n)}function On(e,t,n={}){return n.useHash?new i.i(e,t):new i.C(e,t)}function Sn(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function En(e){return[{provide:r.a,multi:!0,useValue:e},{provide:Kt,multi:!0,useValue:e}]}let Pn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new h.a}appInitializer(){return this.injector.get(i.n,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(sn),i=this.injector.get(vn);if(this.isLegacyDisabled(i)||this.isLegacyEnabled(i))e(!0);else if("disabled"===i.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==i.initialNavigation)throw new Error(`Invalid initialNavigation options: '${i.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(vn),n=this.injector.get(mn),i=this.injector.get(bn),s=this.injector.get(sn),o=this.injector.get(r.g);e===o.components[0]&&(this.isLegacyEnabled(t)?s.initialNavigation():this.isLegacyDisabled(t)&&s.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(r.Mc(r.w))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac}),e})();function kn(e){return e.appInitializer.bind(e)}function Mn(e){return e.bootstrapListener.bind(e)}const In=new r.v("Router Initializer")},uE2L:function(e,t,n){"use strict";var i=n("AwXo");t.a=function(e,t,n){"__proto__"==t&&i.a?Object(i.a)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},vJtL:function(e,t,n){"use strict";var i=n("8M4i"),r=n("IzLi");t.a=function(e){if(!Object(r.a)(e))return!1;var t=Object(i.a)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},vkgz:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("7o/Q"),r=n("KqfI"),s=n("n6bG");function o(e,t,n){return function(i){return i.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))}}class c extends i.a{constructor(e,t,n,i){super(e),this._tapNext=r.a,this._tapError=r.a,this._tapComplete=r.a,this._tapError=n||r.a,this._tapComplete=i||r.a,Object(s.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||r.a,this._tapError=t.error||r.a,this._tapComplete=t.complete||r.a)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},w1tV:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("XNiG"),r=n("HDdC"),s=n("7o/Q"),o=n("quSY");function a(){return function(e){return e.lift(new c(e))}}class c{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const i=new l(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class l extends s.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class u extends r.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new o.a,e.add(this.source.subscribe(new h(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}refCount(){return a()(this)}}const d=(()=>{const e=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class h extends i.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function p(){return new i.a}function f(){return e=>{return a()((t=p,function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,d);return i.source=e,i.subjectFactory=n,i})(e));var t}}},wQ6Y:function(e,t,n){"use strict";n.d(t,"a",(function(){return Q}));var i=n("fXoL"),r=n("ofXK"),s=n("wf0l"),o=n("nhfI"),a=n("ehPC"),c=n("U9Oy"),l=n("UBAy"),u=n("MlV6"),d=n("q2jt"),h=n("Tj+J"),p=n("yApx"),f=n("PGyc"),g=n("Zivq"),m=n("J/4d"),b=n("4DlN"),v=n("p9Pj"),w=n("VDON"),y=n("Y6Wm"),C=n("/ACT"),_=n("dam5"),x=n("QauM"),O=n("13ou"),S=n("JUSj"),E=n("INbW"),P=n("7Yz4"),k=n("QNIm"),M=n("3Adg"),I=n("y5FN"),D=n("X2cd"),j=n("pI7v"),A=n("HLmT"),T=n("eLTN"),z=n("XhrQ"),L=n("r//d"),N=n("Xiot"),R=n("otbX"),F=n("AMXB"),V=n("qDyL"),U=n("9a0I"),H=n("iOsp"),B=n("2FYO"),$=n("p3ot"),q=n("ZwN2"),W=n("qy30"),G=n("11ml"),X=n("nL8Z"),Z=n("bsIB"),Y=n("OevD");let Q=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[{provide:Object(i.cb)(()=>a.s),useValue:a.s},{provide:Object(i.cb)(()=>a.Q),useValue:a.Q},{provide:Object(i.cb)(()=>a.x),useValue:a.x},{provide:Object(i.cb)(()=>a.E),useValue:a.E},{provide:Object(i.cb)(()=>a.n),useValue:a.n},{provide:Object(i.cb)(()=>a.N),useValue:a.N},{provide:Object(i.cb)(()=>a.u),useValue:a.u},{provide:Object(i.cb)(()=>a.C),useValue:a.C}],imports:[[r.c,s.b,c.a,o.c]]}),e})();i.rd(a.I,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,s.a,l.a,u.a,d.a,h.a,p.a,f.a,g.a,m.a,b.a,v.a,w.a,y.a,C.a,_.a,x.a,O.a,S.a,E.a,P.a,k.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,$.d,$.c,$.b,$.a,q.a,W.a,G.a,X.a,Z.a,o.a,o.b,a.I,a.o,a.s,a.Q,a.x,a.E,a.n,a.N,a.u,a.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a]),i.rd(a.E,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,s.a,l.a,u.a,d.a,h.a,p.a,f.a,g.a,m.a,b.a,v.a,w.a,y.a,C.a,_.a,x.a,O.a,S.a,E.a,P.a,k.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,$.d,$.c,$.b,$.a,q.a,W.a,G.a,X.a,Z.a,o.a,o.b,a.I,a.o,a.s,a.Q,a.x,a.E,a.n,a.N,a.u,a.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a]),i.rd(a.n,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,s.a,l.a,u.a,d.a,h.a,p.a,f.a,g.a,m.a,b.a,v.a,w.a,y.a,C.a,_.a,x.a,O.a,S.a,E.a,P.a,k.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,$.d,$.c,$.b,$.a,q.a,W.a,G.a,X.a,Z.a,o.a,o.b,a.I,a.o,a.s,a.Q,a.x,a.E,a.n,a.N,a.u,a.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a]),i.rd(a.N,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,s.a,l.a,u.a,d.a,h.a,p.a,f.a,g.a,m.a,b.a,v.a,w.a,y.a,C.a,_.a,x.a,O.a,S.a,E.a,P.a,k.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,$.d,$.c,$.b,$.a,q.a,W.a,G.a,X.a,Z.a,o.a,o.b,a.I,a.o,a.s,a.Q,a.x,a.E,a.n,a.N,a.u,a.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a]),i.rd(a.C,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,s.a,l.a,u.a,d.a,h.a,p.a,f.a,g.a,m.a,b.a,v.a,w.a,y.a,C.a,_.a,x.a,O.a,S.a,E.a,P.a,k.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,$.d,$.c,$.b,$.a,q.a,W.a,G.a,X.a,Z.a,o.a,o.b,a.I,a.o,a.s,a.Q,a.x,a.E,a.n,a.N,a.u,a.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a])},wf0l:function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return T}));var i=n("XNiG"),r=n("LRne"),s=n("HDdC"),o=n("jtHE"),a=n("5yfJ"),c=(n("EY2u"),n("pLZG")),l=n("vkgz"),u=n("IzEk"),d=n("5+tZ"),h=n("lJxs"),p=n("JIr8"),f=n("eIep");n("JX91"),n("7o/Q"),n("D0XW"),n("w1tV");var g=n("ofXK"),m=n("fXoL");function b(e){return Boolean(e.parentElement&&"picture"===e.parentElement.nodeName.toLowerCase())}function v(e){return"img"===e.nodeName.toLowerCase()}function w(e,t,n){return v(e)?n&&"srcset"in e?e.srcset=t:e.src=t:e.style.backgroundImage=`url('${t}')`,e}function y(e){return t=>{const n=t.parentElement.getElementsByTagName("source");for(let i=0;i<n.length;i++){const t=n[i].getAttribute(e);t&&("srcset"in n[i]?n[i].srcset=t:n[i].src=t)}}}const C=y("defaultImage"),_=y("lazyLoad"),x=y("errorImage");function O(e){return(t,n,i)=>{v(t)&&b(t)&&e(t),n&&w(t,n,i)}}const S=O(C),E=O(_),P=O(x);function k(e,t){e.className=e.className.replace(t,"")}function M(e,t){e.className.includes(t)||(e.className+=" "+t)}let I=(()=>{class e extends class extends class{constructor(){this.navigator="undefined"!=typeof window?window.navigator:void 0}setPlatformId(e){this.platformId=e}onDestroy(e){}onAttributeChange(e){}}{setup(e){var t;S(e.element,e.defaultImagePath,e.useSrcset),M(e.element,"ng-lazyloading"),(t=e.element).className&&t.className.includes("ng-lazyloaded")&&k(e.element,"ng-lazyloaded")}finally(e){M(e.element,"ng-lazyloaded"),k(e.element,"ng-lazyloading")}loadImage(e){if(this.skipLazyLoading(e))return[e.imagePath];const{element:t,useSrcset:n,imagePath:i,decode:r}=e;let s;if(v(t)&&b(t)){const e=t.parentNode.cloneNode(!0);s=e.getElementsByTagName("img")[0],_(s),w(s,i,n)}else s=new Image,v(t)&&t.referrerPolicy&&(s.referrerPolicy=t.referrerPolicy),v(t)&&t.sizes&&(s.sizes=t.sizes),n&&"srcset"in s?s.srcset=i:s.src=i;return r&&s.decode?s.decode().then(()=>i):new Promise((e,t)=>
1{s.onload=()=>e(i),s.onerror=()=>t(null)})}setErrorImage(e,t){const{element:n,useSrcset:i,errorImagePath:r}=t;P(n,r,i),M(n,"ng-failed-lazyloaded")}setLoadedImage(e,t){const{element:n,useSrcset:i}=t;E(n,e,i)}isDisabled(){return Object(g.P)(this.platformId)&&!this.isBot()}skipLazyLoading(e){return this.isBot(e)}isBot(e){var t;return!!(null===(t=this.navigator)||void 0===t?void 0:t.userAgent)&&/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot/i.test(this.navigator.userAgent)}}{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=new i.a,this.uniqKey={}}getObservable(e){if(this.skipLazyLoading(e))return Object(r.a)({isIntersecting:!0});if(e.customObservable)return e.customObservable;const t=e.scrollContainer||this.uniqKey,n={root:e.scrollContainer||null};e.offset&&(n.rootMargin=e.offset+"px");let i=this.observers.get(t);return i||(i=new IntersectionObserver(e=>this.loadingCallback(e),n),this.observers.set(t,i)),i.observe(e.element),s.a.create(t=>{const n=this.intersectionSubject.pipe(Object(c.a)(t=>t.target===e.element)).subscribe(t);return()=>{n.unsubscribe(),i.unobserve(e.element)}})}isVisible(e){return e.isIntersecting}loadingCallback(e){e.forEach(e=>this.intersectionSubject.next(e))}}return e.\u0275fac=function(t){return D(t||e)},e.\u0275prov=m.uc({token:e,factory:e.\u0275fac}),e})();const D=m.Gc(I),j=new m.v("LazyLoadImageHooks");let A=(()=>{class e{constructor(e,t,n,i){this.onStateChange=new m.s,this.elementRef=e,this.ngZone=t,this.propertyChanges$=new o.a,this.hooks=i,this.hooks.setPlatformId(n),this.uid=Math.random().toString(36).substr(2,9)}ngOnChanges(){!0!==this.debug||this.debugSubscription||(this.debugSubscription=this.onStateChange.subscribe(e=>console.log(e))),this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?0|this.offset:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode,onStateChange:this.onStateChange,id:this.uid})}ngAfterContentInit(){if(this.hooks.isDisabled())return null;this.ngZone.runOutsideAngular(()=>{this.loadSubscription=this.propertyChanges$.pipe(Object(l.a)(e=>this.hooks.onAttributeChange(e)),Object(l.a)(e=>e.onStateChange.emit({reason:"setup"})),Object(l.a)(e=>this.hooks.setup(e)),Object(f.a)(e=>e.imagePath?this.hooks.getObservable(e).pipe(function(e,t){return n=>n.pipe(Object(l.a)(e=>t.onStateChange.emit({reason:"observer-emit",data:e})),Object(c.a)(n=>e.isVisible(n,t)),Object(u.a)(1),Object(l.a)(()=>t.onStateChange.emit({reason:"start-loading"})),Object(d.a)(()=>e.loadImage(t)),Object(l.a)(()=>t.onStateChange.emit({reason:"mount-image"})),Object(l.a)(n=>e.setLoadedImage(n,t)),Object(l.a)(()=>t.onStateChange.emit({reason:"loading-succeeded"})),Object(h.a)(()=>!0),Object(p.a)(n=>(t.onStateChange.emit({reason:"loading-failed",data:n}),e.setErrorImage(n,t),Object(r.a)(!1))),Object(l.a)(()=>{t.onStateChange.emit({reason:"finally"}),e.finally(t)}))}(this.hooks,e)):Object(a.b)())).subscribe({next:()=>null})})}ngOnDestroy(){var e,t;this.propertyChanges$.pipe(Object(u.a)(1)).subscribe({next:e=>this.hooks.onDestroy(e)}).unsubscribe(),null===(e=this.loadSubscription)||void 0===e||e.unsubscribe(),null===(t=this.debugSubscription)||void 0===t||t.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(m.yc(m.q),m.yc(m.F),m.yc(m.I),m.yc(j))},e.\u0275dir=m.tc({type:e,selectors:[["","lazyLoad",""]],inputs:{lazyImage:["lazyLoad","lazyImage"],defaultImage:"defaultImage",errorImage:"errorImage",scrollTarget:"scrollTarget",customObservable:"customObservable",offset:"offset",useSrcset:"useSrcset",decode:"decode",debug:"debug"},outputs:{onStateChange:"onStateChange"},features:[m.hc]}),e})(),T=(()=>{class e{}return e.\u0275mod=m.wc({type:e}),e.\u0275inj=m.vc({factory:function(t){return new(t||e)},providers:[{provide:j,useClass:I}]}),e})()},xbPD:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e=null){return t=>t.lift(new s(e))}class s{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new o(e,this.defaultValue))}}class o extends i.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("DH7j"),s=n("n6bG"),o=n("lJxs");function a(e,t,n,c){return Object(s.a)(n)&&(c=n,n=void 0),c?a(e,t,n).pipe(Object(o.a)(e=>Object(r.a)(e)?c(...e):c(e))):new i.a(i=>{!function e(t,n,i,r,s){let o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,i,s),o=()=>e.removeEventListener(n,i,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,i),o=()=>e.off(n,i)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(n,i),o=()=>e.removeListener(n,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,a=t.length;o<a;o++)e(t[o],n,i,r,s)}r.add(o)}(e,t,(function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),i,n)})}},xutz:function(e,t,n){"use strict";(function(e){var i=n("XqMk"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=s&&s.exports===r&&i.a.process,a=function(){try{return s&&s.require&&s.require("util").t
1ypes||o&&o.binding&&o.binding("util")}catch(e){}}();t.a=a}).call(this,n("3UD+")(e))},y5FN:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("PqYM"),r=n("fXoL"),s=n("DKs6"),o=n("O4lx");let a=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.deviceState=t,this.jsInjector=n}ngOnInit(){this.deviceState.isServerApp||Object(i.a)(1).subscribe(()=>{this.runScripts()})}runScripts(){const e=this.elementRef.nativeElement.getElementsByTagName("script");for(let t=0,n=e.length;t<n;++t)this.jsInjector.reInjectJsScript(e[t])}}return e.\u0275fac=function(t){return new(t||e)(r.yc(r.q),r.yc(s.a),r.yc(o.a))},e.\u0275dir=r.tc({type:e,selectors:[["","appRunScripts",""]]}),e})()},y96F:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return o.a})),n.d(t,"e",(function(){return d})),n.d(t,"b",(function(){return F})),n.d(t,"n",(function(){return X})),n.d(t,"o",(function(){return Y})),n.d(t,"a",(function(){return J})),n.d(t,"f",(function(){return ee})),n.d(t,"g",(function(){return te})),n.d(t,"h",(function(){return se})),n.d(t,"i",(function(){return re})),n.d(t,"k",(function(){return ae})),n.d(t,"l",(function(){return oe})),n.d(t,"m",(function(){return ie})),n.d(t,"j",(function(){return ne}));var i=n("fXoL"),r=n("1kSV");let s=(()=>{class e{constructor(e){this.modal=e}replyCommentCreated(e){this.modal.close(e)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(r.b))},e.\u0275cmp=i.sc({type:e,selectors:[["app-comment-modal"]],inputs:{parentModel:"parentModel",pageId:"pageId"},decls:8,vars:2,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[3,"parentModel","pageId","commentCreated"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"h4",1),i.zd(2,"model-comments-reply-modal-title"),i.Dc(),i.Ec(3,"button",2),i.Qc("click",(function(){return t.modal.dismiss()})),i.Ec(4,"span",3),i.zd(5,"\xd7"),i.Dc(),i.Dc(),i.Dc(),i.Ec(6,"div",4),i.Ec(7,"app-comment-form",5),i.Qc("commentCreated",(function(e){return t.replyCommentCreated(e)})),i.Dc(),i.Dc()),2&e&&(i.jc(7),i.bd("parentModel",t.parentModel)("pageId",t.pageId))},styles:[".modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px;position:absolute;top:0;right:0;margin:auto}.modal-header[_ngcontent-%COMP%]{display:block}"]}),e})();var o=n("SPLc"),a=n("GJzE");function c(e,t){if(1&e&&(i.Ec(0,"div",3),i.zc(1,"app-single-comment",4),i.Dc()),2&e){const e=t.$implicit,n=i.Uc(2);i.jc(1),i.bd("model",e)("pageId",n.pageId)("isAllowComment",n.isAllowComment)("isInPreviewMode",n.isInPreviewMode)}}function l(e,t){if(1&e&&(i.Ec(0,"div"),i.xd(1,c,2,4,"div",2),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngForOf",e.models)}}const u=["*"];let d=(()=>{class e{constructor(){this.isInPreviewMode=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-comments-list"]],viewQuery:function(e,t){var n;1&e&&i.ud(a.Z,!0),2&e&&i.jd(n=i.Rc())&&(t.reCaptcha=n.first)},inputs:{models:"models",pageId:"pageId",isAllowComment:"isAllowComment",isInPreviewMode:"isInPreviewMode"},features:[i.ic([],[{provide:Object(i.cb)(()=>a.ab),useFactory:e=>e.reCaptcha,deps:[e]}])],ngContentSelectors:u,decls:3,vars:1,consts:[["size","invisible","errorMode","handled",2,"display","none"],[4,"ngIf"],["class","comment-wrapper",4,"ngFor","ngForOf"],[1,"comment-wrapper"],[3,"model","pageId","isAllowComment","isInPreviewMode"]],template:function(e,t){1&e&&(i.ad(),i.Zc(0),i.zc(1,"app-re-captcha",0),i.xd(2,l,2,1,"div",1)),2&e&&(i.jc(2),i.bd("ngIf",null!==t.models&&t.models.length>0))},styles:["[_nghost-%COMP%]     .comment-wrapper:not(:last-child){margin-bottom:24px}[_nghost-%COMP%]     .comment-wrapper__replies{margin-top:24px;border-left:1px solid rgba(50,50,50,.15)}[_nghost-%COMP%]     .comment-wrapper__replies .comment-wrapper:not(:last-child){margin-bottom:24px}@media (min-width:1024px){[_nghost-%COMP%]     .comment-wrapper__replies{margin-left:32px}}"]}),e})();var h=n("3Pt+"),p=n("XNiG"),f=n("1G5W"),g=n("IzEk"),m=n("kBKH"),b=n("sYmb");function v(e,t){if(1&e){const e=i.Fc();i.Cc(0),i.zc(1,"span",27),i.Ec(2,"span",25),i.Qc("click",(function(){i.nd(e);const t=i.Uc(3);return t.isAnonymousComment=!t.isAnonymousComment})),i.zd(3," model-comments-comment-anonymously-prompt"),i.Dc(),i.Bc()}}function w(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",24),i.Ec(1,"span",25),i.Qc("click",(function(){return i.nd(e),i.Uc(2).openAuthModal()})),i.zd(2,"model-comments-sign-in-prompt"),i.Dc(),i.xd(3,v,4,0,"ng-container",26),i.Dc()}if(2&e){const e=i.Uc(2);i.jc(3),i.bd("ngIf",e.commentsSettings.allowAnonymousComment)}}function y(e,t){if(1&e&&(i.Ec(0,"div"),i.zd(1),i.Dc()),2&e){const e=i.Uc(4);i.jc(1),i.Bd(" ",e.renderAttributeError("model-comments-form-attribute-user-name","required")," ")}}function C(e,t){if(1&e&&(i.Ec(0,"div"),i.zd(1),i.Dc()),2&e){const e=i.Uc(4);i.jc(1),i.Bd(" ",e.renderAttributeError("model-comments-form-attribute-user-name","minlength",e.modalForm.controls.userName.errors.minlength)," ")}}function _(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"div",32),i.xd(1,y,2,1,"div",26),i.xd(2,C,2,1,"div",26),i.Dc()),2&e){const e=i.Uc(3);i.jc(1),i.bd("ngIf",e.modalForm.controls.userName.errors.required),i.jc(1),i.bd("ngIf",e.modalForm.controls.userName.errors.minlength)}}function x(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",24),i.zc(1,"input",28),i.Vc(2,"translate"),i.Ec(3,"button",29),i.Qc("click",(function(){return i.nd(e),i.Uc(2).closeAnonymousNameInput()})),i.Tc(),i.Ec(4,"svg",30),i.zc(5,"use",31),i.Dc(),i.Dc(),i.xd(6,_,3,2,"div",10),i.Dc()}if(2&e){const e=i.Uc(2);i.jc(1),i.cd("placeholder",i.Wc(2,2,"model-comments-form-attribute-user-name-prompt")),i.jc(5),i.bd("ngIf",e.isFormControlHasErrors("userName"))}}function O(e,t){if(1&e&&(i.Cc(0),i.xd(1,w,4,1,"div",22),i.xd(2,x,7,4,"ng-template",null,23,i.yd
1),i.Bc()),2&e){const e=i.kd(3),t=i.Uc();i.jc(1),i.bd("ngIf",!t.isAnonymousComment)("ngIfElse",e)}}function S(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",33),i.zc(1,"div",34),i.Ec(2,"div",35),i.Ec(3,"a",36),i.zd(4),i.Dc(),i.Dc(),i.Ec(5,"button",37),i.Qc("click",(function(){return i.nd(e),i.Uc().onLogoutClick()})),i.Tc(),i.Ec(6,"svg",38),i.zc(7,"use",31),i.Dc(),i.Dc(),i.Dc()}if(2&e){const e=i.Uc();i.jc(1),i.bd("lazyLoad",e.userModel.avatarUrl?e.userModel.avatarUrl:null),i.jc(2),i.cd("href",e.cabinetUrl,i.qd),i.jc(1),i.Ad(e.userModel.userName)}}function E(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",39),i.Ec(1,"span"),i.zd(2),i.Dc(),i.Ec(3,"button",29),i.Qc("click",(function(){i.nd(e);const t=i.Uc();return t.commentsSettings.showTextInCommentForm=!t.commentsSettings.showTextInCommentForm})),i.Tc(),i.Ec(4,"svg",30),i.zc(5,"use",31),i.Dc(),i.Dc(),i.Dc()}if(2&e){const e=i.Uc();i.jc(2),i.Ad(e.commentsSettings.textInCommentForm)}}function P(e,t){if(1&e&&(i.Ec(0,"div"),i.zd(1),i.Dc()),2&e){const e=i.Uc(2);i.jc(1),i.Bd(" ",e.renderAttributeError("model-comments-form-attribute-comment","required")," ")}}function k(e,t){if(1&e&&(i.Ec(0,"div"),i.zd(1),i.Dc()),2&e){const e=i.Uc(2);i.jc(1),i.Bd(" ",e.renderAttributeError("model-comments-form-attribute-comment","minlength",e.modalForm.controls.userComment.errors.minlength)," ")}}function M(e,t){if(1&e&&(i.Ec(0,"div",32),i.xd(1,P,2,1,"div",26),i.xd(2,k,2,1,"div",26),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngIf",e.modalForm.controls.userComment.errors.required),i.jc(1),i.bd("ngIf",e.modalForm.controls.userComment.errors.minlength)}}function I(e,t){if(1&e){const e=i.Fc();i.Ec(0,"emoji-mart",40),i.Qc("emojiSelect",(function(t){return i.nd(e),i.Uc().addEmoji(t)})),i.Dc()}if(2&e){const e=i.Uc();i.bd("emojiSize",28)("showPreview",!1)("i18n",e.i18n)}}function D(e,t){if(1&e&&(i.Ec(0,"div",41),i.Ec(1,"label"),i.zc(2,"input",42),i.zc(3,"span",43),i.Dc(),i.Dc()),2&e){const e=i.Uc();i.jc(3),i.bd("innerHTML",e.agreeToSiteRulesLabel,i.od)}}function j(e,t){1&e&&i.zc(0,"span",44)}function A(e,t){1&e&&(i.Ec(0,"span",45),i.zd(1,"model-comments-add-label"),i.Dc())}function T(e,t){if(1&e&&(i.Ec(0,"div",46),i.Ec(1,"label"),i.zc(2,"input",42),i.zc(3,"span",43),i.Dc(),i.Dc()),2&e){const e=i.Uc();i.jc(3),i.bd("innerHTML",e.agreeToSiteRulesLabel,i.od)}}function z(e,t){1&e&&i.zc(0,"span",44)}function L(e,t){1&e&&(i.Ec(0,"span",45),i.zd(1,"model-comments-add-label"),i.Dc())}function N(e,t){1&e&&(i.Ec(0,"div",45),i.zd(1," validation-error-must-agree-with-site-rules "),i.Dc())}function R(e,t){if(1&e&&(i.Ec(0,"div",32),i.xd(1,N,2,0,"div",18),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngIf",e.modalForm.controls.isAgreeRules.errors.required)}}let F=(()=>{class e{constructor(e,t,n,r,s,o,a,c){this.createCommentService=e,this.commentsSettingsService=t,this.localStorageService=n,this.authModalsService=r,this.siteConfigService=s,this.translateService=o,this.formBuilder=a,this.authService=c,this.parentModel=null,this.commentCreated=new i.s,this.errorOccurred=new i.s,this.isEmojiPickerVisible=!1,this.isAuthenticated=!1,this.waitRequest=!1,this.isAnonymousComment=!1,this.anonymousName="",this.comment="",this.onDestroy$=new p.a}get agreeToSiteRulesLabel(){return this.translateService.instant("model-comments-agree-to-site-rules-template",{siteRulesLink:`<a href="${this.siteRulesUrl}" class="comments-form-wrapper__link">${this.translateService.instant("model-comments-agree-to-site-rules-link-label")}</a>`})}ngOnInit(){this.isAgreeRules=Boolean(this.localStorageService.localStorage.getItem(e.IS_AGREED_WITH_RULES_KEY)),this.commentsSettings=Object.assign({},this.commentsSettingsService.getSettings()),this.modalForm=this.buildModalForm(),this.authService.userModel.pipe(Object(f.a)(this.onDestroy$)).subscribe(e=>{this.isAuthenticated=null!==e,this.userModel=e,this.modalForm=this.buildModalForm()}),this.siteConfigService.allConfig.pipe(Object(g.a)(1)).subscribe(e=>{this.cabinetUrl=e.oldUrls.cabinet,this.siteRulesUrl=e.oldUrls.siteRules}),this.i18n={search:"",notfound:"",clear:"",categories:{search:"",recent:"",people:"",nature:"",foods:"",activity:"",places:"",objects:"",symbols:"",flags:"",custom:""}}}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}openAuthModal(){this.comment=this.modalForm.value.userComment,this.authModalsService.openSignInModal()}onLogoutClick(){this.authService.signOut().pipe(Object(g.a)(1)).subscribe()}addComment(e){const t={subs:this.anonymousName?this.anonymousName:this.userModel.userName,pid:null!==this.parentModel?this.parentModel.id:null,txt:this.comment,reCaptcha:e};this.errorOccurred.emit([]),this.modalForm.reset({userName:"",userComment:"",isAgreeRules:this.modalForm.value.isAgreeRules}),this.createCommentService.createComment(this.pageId,t,["content","userName","friendlyPublishDate","isAnonymous","avatarUrl","likesCount","dislikesCount","childrenTree","isModerated","canBeDeleted"]).pipe(Object(g.a)(1)).subscribe(e=>{this.commentCreated.emit(e)},e=>{this.errorOccurred.emit(Array.isArray(e.error)?e.error.map(e=>e.message):[])})}
1onFormSubmit(){if(this.modalForm.invalid)return;const{isAgreeRules:t,userComment:n,userName:i}=this.modalForm.value;this.isAgreeRules=t,this.isAgreeRules&&this.localStorageService.localStorage.setItem(e.IS_AGREED_WITH_RULES_KEY,"true"),this.comment=n,this.anonymousName=i,this.waitRequest=!0,this.reCaptchaExecute()}closeAnonymousNameInput(){this.isAnonymousComment=!1,this.modalForm.reset({userName:"",userComment:this.modalForm.value.userComment,isAgreeRules:this.modalForm.value.isAgreeRules})}buildModalForm(){let e;return e=this.isAuthenticated?{userComment:[this.comment,[h.D.required,h.D.minLength(5)]],isAgreeRules:[this.isAgreeRules,[h.D.requiredTrue]]}:{userName:["",[h.D.required,h.D.minLength(2),h.D.maxLength(255)]],userComment:[this.comment,[h.D.required,h.D.minLength(5)]],isAgreeRules:[this.isAgreeRules,[h.D.requiredTrue]]},this.formBuilder.group(e)}isFormControlHasErrors(e,t){const n=(t=t||this.modalForm).get(e);return null!==n&&n.invalid&&(n.dirty||n.touched)}renderAttributeError(e,t,n){switch(e=this.translateService.instant(e),t){case"required":return this.translateService.instant("validation-error-required",{attribute:e});case"minlength":return this.translateService.instant("validation-error-too-short",{attribute:e,min:n.requiredLength});default:return""}}addEmoji(e){this.modalForm.reset({userName:this.modalForm.value.userName,userComment:`${this.modalForm.value.userComment}${e.emoji.native}`,isAgreeRules:this.modalForm.value.isAgreeRules})}clickOutside(){this.isEmojiPickerVisible=!1}reCaptchaExecute(){this.reCaptcha.queueExecute({onSuccess:e=>{this.addComment(e)},onError:()=>{this.reCaptcha.showErrorMessage()},onComplete:()=>{this.waitRequest=!1}})}}return e.IS_AGREED_WITH_RULES_KEY="isAgreedWithSiteRules",e.\u0275fac=function(t){return new(t||e)(i.yc(te),i.yc(ee),i.yc(a.E),i.yc(a.e),i.yc(m.c),i.yc(b.e),i.yc(h.f),i.yc(a.f))},e.\u0275cmp=i.sc({type:e,selectors:[["app-comment-form"]],viewQuery:function(e,t){var n;1&e&&i.Dd(a.Z,!0),2&e&&i.jd(n=i.Rc())&&(t.reCaptcha=n.first)},inputs:{parentModel:"parentModel",pageId:"pageId"},outputs:{commentCreated:"commentCreated",errorOccurred:"errorOccurred"},decls:29,vars:17,consts:[[1,"comments-section__form","comments-form-wrapper"],[3,"formGroup","ngSubmit"],[4,"ngIf","ngIfElse"],["isAuth",""],[1,"comments-form-wrapper__form-block"],["class","comments-form-wrapper__prevention",4,"ngIf"],[1,"comments-form-wrapper__text-area-block"],[1,"position-relative"],["formControlName","userComment","rows","5"],["size","invisible","badge","inline","errorMode","handled"],["class","error-hint",4,"ngIf"],["appClickOutside","",1,"emoji",3,"clickOutside"],[3,"click"],["class","emoji-mart",3,"emojiSize","showPreview","i18n","emojiSelect",4,"ngIf"],[1,"comments-form-wrapper__submit-line","d-none","d-lg-flex"],["class","comments-form-wrapper__rules-block",4,"ngIf"],["type","submit",1,"btn","btn--primary",3,"disabled"],["class","btn__loader",4,"ngIf"],["translate","",4,"ngIf"],[1,"comments-form-wrapper__submit-line-mobile","d-lg-none"],["class","comments-form-wrapper__rules-block mt-2",4,"ngIf"],[1,"comments-form-wrapper__button-block"],["class","comments-form-wrapper__login-line",4,"ngIf","ngIfElse"],["anonymous",""],[1,"comments-form-wrapper__login-line"],["translate","",1,"comments-form-wrapper__link",3,"click"],[4,"ngIf"],[1,"comments-form-wrapper__link--separator"],["formControlName","userName","type","text",1,"comments-form-wrapper__anonymous-name-input",3,"placeholder"],["type","button",1,"clean-btn",3,"click"],["width","16","height","16"],[0,"xlink","href","#icon-close"],[1,"error-hint"],[1,"auth-action"],[1,"auth-action__user-avatar","rounded-bg-image",3,"lazyLoad"],[1,"auth-action__user"],[3,"href"],["type","button",1,"clean-btn","auth-action__user-logout",3,"click"],["width","12","height","12"],[1,"comments-form-wrapper__prevention"],[1,"emoji-mart",3,"emojiSize","showPreview","i18n","emojiSelect"],[1,"comments-form-wrapper__rules-block"],["formControlName","isAgreeRules","type","checkbox"],[3,"innerHTML"],[1,"btn__loader"],["translate",""],[1,"comments-form-wrapper__rules-block","mt-2"]],template:function(e,t){if(1&e&&(i.Ec(0,"div",0),i.Ec(1,"form",1),i.Qc("ngSubmit",(function(){return t.onFormSubmit()})),i.xd(2,O,4,2,"ng-container",2),i.xd(3,S,8,3,"ng-template",null,3,i.yd
1),i.Ec(5,"div",4),i.xd(6,E,6,1,"div",5),i.Ec(7,"div",6),i.Ec(8,"div",7),i.zc(9,"textarea",8),i.zc(10,"app-re-captcha",9),i.Dc(),i.xd(11,M,3,2,"div",10),i.Ec(12,"div",11),i.Qc("clickOutside",(function(){return t.clickOutside()})),i.Ec(13,"a",12),i.Qc("click",(function(){return t.isEmojiPickerVisible=!t.isEmojiPickerVisible})),i.zd(14,"\u{1f642}"),i.Dc(),i.zc(15,"br"),i.xd(16,I,1,3,"emoji-mart",13),i.Dc(),i.Dc(),i.Dc(),i.Ec(17,"div",14),i.xd(18,D,4,1,"div",15),i.Ec(19,"button",16),i.xd(20,j,1,0,"span",17),i.xd(21,A,2,0,"span",18),i.Dc(),i.Dc(),i.Ec(22,"div",19),i.xd(23,T,4,1,"div",20),i.Ec(24,"div",21),i.Ec(25,"button",16),i.xd(26,z,1,0,"span",17),i.xd(27,L,2,0,"span",18),i.Dc(),i.Dc(),i.Dc(),i.xd(28,R,2,1,"div",10),i.Dc(),i.Dc()),2&e){const e=i.kd(4);i.jc(1),i.bd("formGroup",t.modalForm),i.jc(1),i.bd("ngIf",!t.isAuthenticated)("ngIfElse",e),i.jc(4),i.bd("ngIf",t.commentsSettings.showTextInCommentForm),i.jc(5),i.bd("ngIf",t.isFormControlHasErrors("userComment")),i.jc(5),i.bd("ngIf",t.isEmojiPickerVisible),i.jc(1),i.pc("fl-end",t.isAgreeRules),i.jc(1),i.bd("ngIf",!t.isAgreeRules),i.jc(1),i.bd("disabled",!t.modalForm.valid),i.jc(1),i.bd("ngIf",t.waitRequest),i.jc(1),i.bd("ngIf",!t.waitRequest),i.jc(2),i.bd("ngIf",!t.isAgreeRules),i.jc(2),i.bd("disabled",!t.modalForm.valid),i.jc(1),i.bd("ngIf",t.waitRequest),i.jc(1),i.bd("ngIf",!t.waitRequest),i.jc(1),i.bd("ngIf",t.isFormControlHasErrors("isAgreeRules"))}},styles:['.comments-section__title[_ngcontent-%COMP%]{font-size:21px;font-weight:700}[_nghost-%COMP%]     .grecaptcha-badge{position:absolute;right:0;bottom:0;margin:0 17px 12px 0;transform:scale(.6);transform-origin:right bottom}[_nghost-%COMP%]     .comments-form-wrapper__link{font-weight:700;color:var(--green-primary);border-bottom:2px dashed var(--green-primary)}[_nghost-%COMP%]     .comments-form-wrapper__link:hover{cursor:pointer}
1.comments-form-wrapper__link--separator[_ngcontent-%COMP%]:before{margin:0 12px;content:"|";color:rgba(50,50,50,.35)}.comments-form-wrapper__login-line[_ngcontent-%COMP%]{margin:24px 0;font-size:16px}.comments-form-wrapper__login-line[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:first-of-type{margin-right:4px}.comments-form-wrapper__login-line[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:last-of-type{margin-left:4px}.comments-form-wrapper__anonymous-name-input[_ngcontent-%COMP%]{padding:8px 16px;border:1px solid rgba(50,50,50,.15);resize:none;font-size:16px;line-height:1.6;color:inherit}.comments-form-wrapper__anonymous-name-input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.comments-form-wrapper__anonymous-name-input.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74c3c}.comments-form-wrapper[_ngcontent-%COMP%]   .clean-btn[_ngcontent-%COMP%]{opacity:.5;padding-left:15px}.comments-form-wrapper__prevention[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:16px;background-color:#f0f0f0}.comments-form-wrapper__prevention[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{flex-grow:1;font-size:16px}.comments-form-wrapper__prevention[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{flex-shrink:0;padding:0}.comments-form-wrapper__prevention[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:16px;height:16px;fill:rgba(50,50,50,.35)}.comments-form-wrapper__prevention.is-closed[_ngcontent-%COMP%]{display:none}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]{position:relative}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   .emoji[_ngcontent-%COMP%]{position:absolute;right:12px;top:0;z-index:1}@media (min-width:320px) and (max-width:425px){.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   .emoji[_ngcontent-%COMP%]   .emoji-mart[_ngcontent-%COMP%]{position:relative;right:-21px}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   .emoji[_ngcontent-%COMP%]   .emoji-mart[_ngcontent-%COMP%]     section.emoji-mart{width:310px!important}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   .emoji[_ngcontent-%COMP%]   .emoji-mart[_ngcontent-%COMP%]     section.emoji-mart .emoji-mart-emoji{padding:2px!important}}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:24px;padding:12px;float:right}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{cursor:pointer}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.comments-form-wrapper__form-block[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%;padding:8px 52px 8px 8px;border:1px solid rgba(50,50,50,.15);resize:none;font-size:16px;line-height:1.6;color:inherit}.comments-form-wrapper__form-block[_ngcontent-%COMP%]   textarea.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74c3c}.comments-form-wrapper__submit-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:24px 0 0}.comments-form-wrapper__rules-block[_ngcontent-%COMP%]{font-size:16px}.comments-form-wrapper__rules-block[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline}.comments-form-wrapper__rules-block[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{margin-right:4px}.comments-form-wrapper__rules-block[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-left:4px}.comments-form-wrapper__button-block[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:24px}.comments-form-wrapper__button-block[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;max-width:200px}.auth-action[_ngcontent-%COMP%]{color:rgba(50,50,50,.35);display:flex;margin:10px 0;align-items:center}.auth-action__user-avatar[_ngcontent-%COMP%]{flex-shrink:0;width:24px;height:24px;margin-right:16px;background-color:#dcdcdc}.auth-action__user-logout[_ngcontent-%COMP%]{display:flex}.disabled[_ngcontent-%COMP%]{pointer-events:none;background-color:#f0f0f0;color:rgba(50,50,50,.35)}.emoji-icon[_ngcontent-%COMP%]{text-decoration:none}.error-hint[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;
1color:#e74c3c}.fl-end[_ngcontent-%COMP%]{justify-content:flex-end}']}),e})();function V(e,t){1&e&&(i.Ec(0,"div",14),i.zc(1,"div",15),i.Dc())}function U(e,t){if(1&e){const e=i.Fc();i.Ec(0,"span",16),i.Tc(),i.Ec(1,"svg",17),i.Qc("click",(function(){i.nd(e);const t=i.Uc();return t.deleteComment(t.model)})),i.zc(2,"use",18),i.Dc(),i.Dc()}if(2&e){const e=i.Uc();i.jc(1),i.pc("disabled",e.awaitRequest)}}function H(e,t){if(1&e&&i.zc(0,"div",19),2&e){const e=i.Uc();i.bd("lazyLoad",e.model.avatarUrl?e.model.avatarUrl:null)}}function B(e,t){1&e&&(i.Ec(0,"div",20),i.zd(1," model-comments-on-moderation-prompt "),i.Dc())}function $(e,t){if(1&e){const e=i.Fc();i.Ec(0,"a",23),i.Qc("click",(function(t){i.nd(e);const n=i.Uc(2);return n.openCommentsModal(t,n.model)})),i.zd(1," model-comments-reply-label "),i.Dc()}}function q(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",24),i.Ec(1,"a",25),i.Qc("click",(function(t){i.nd(e);const n=i.Uc(2);return null!==n.userModel?n.toggleLike(t,n.model):n.openAuthModal(t)})),i.Ec(2,"span"),i.zd(3),i.Vc(4,"number"),i.Dc(),i.Tc(),i.Ec(5,"svg",26),i.zc(6,"use",27),i.Dc(),i.Dc(),i.Sc(),i.Ec(7,"a",28),i.Qc("click",(function(t){i.nd(e);const n=i.Uc(2);return null!==n.userModel?n.toggleDislike(t,n.model):n.openAuthModal(t)})),i.Tc(),i.Ec(8,"svg",26),i.zc(9,"use",29),i.Dc(),i.Sc(),i.Ec(10,"span"),i.zd(11),i.Vc(12,"number"),i.Dc(),i.Dc(),i.Dc()}if(2&e){const e=i.Uc(2);i.jc(1),i.pc("is-activated",!e.isInPreviewMode&&e.model.isUserLiked)("disabled",e.isInPreviewMode||e.model.isUserDisliked),i.jc(2),i.Ad(i.Wc(4,14,e.model.likesCount)),i.jc(2),i.pc("like-fill",e.model.isUserLiked),i.jc(2),i.pc("is-activated",!e.isInPreviewMode&&e.model.isUserDisliked)("disabled",e.isInPreviewMode||e.model.isUserLiked),i.jc(1),i.pc("dislike-fill",e.model.isUserDisliked),i.jc(3),i.Ad(i.Wc(12,16,e.model.dislikesCount))}}function W(e,t){if(1&e&&(i.Cc(0),i.xd(1,$,2,0,"a",21),i.xd(2,q,13,18,"div",22),i.Bc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngIf",e.isAllowComment),i.jc(1),i.bd("ngIf",e.isVotesAllowed)}}function G(e,t){if(1&e&&(i.Ec(0,"div",30),i.zc(1,"app-comments-list",31),i.Dc()),2&e){const e=i.Uc();i.jc(1),i.bd("models",e.model.children)("pageId",e.pageId)("isAllowComment",e.isAllowComment)("isInPreviewMode",e.isInPreviewMode)}}let X=(()=>{class e{constructor(e,t,n,i,r,s,o,a,c,l,u,d){this.createDislikeService=e,this.createLikeService=t,this.deleteCommentsService=n,this.deleteDislikeService=i,this.deleteLikeService=r,this.commentsSettingsService=s,this.parentCaptcha=o,this.authModalsService=a,this.injector=c,this.modalService=l,this.authService=u,this.elementRef=d,this.isInPreviewMode=!0,this.isVotesAllowed=!1,this.awaitRequest=!1,this.isReCaptchaInProgress=!1,this.isLikeAction=!1,this.onDestroy$=new p.a}static getErrorEvent(e){return new CustomEvent("commentErrors",{detail:{errors:Array.isArray(e.error)?e.error.map(e=>e.message):[]},bubbles:!0})}ngOnInit(){this.isVotesAllowed=this.commentsSettingsService.getSettings().allowVotes,this.authService.userModel.pipe(Object(f.a)(this.onDestroy$)).subscribe(e=>{this.userModel=e})}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}hasChildrenComments(e){return Array.isArray(e.children)&&e.children.length>0}openCommentsModal(e,t){if(e.preventDefault(),this.isInPreviewMode)return;e.stopPropagation(),this.authModalsService.closeAllModals();const n=this.modalService.open(s,{centered:!0,size:"lg",injector:this.injector}),i=n.componentInstance;i.parentModel=t,i.pageId=this.pageId,n.result.then(e=>{Array.isArray(t.children)&&t.children.push(e)}).catch(()=>{})}deleteComment(t){this.awaitRequest=!0,this.deleteCommentsService.deleteComment(this.pageId,t.id).pipe(Object(g.a)(1)).subscribe(e=>{"success"===e.status&&this.elementRef.nativeElement.dispatchEvent(new CustomEvent("commentDeleted",{detail:{commentDeleted:!0},bubbles:!0}))},t=>{this.elementRef.nativeElement.dispatchEvent(e.getErrorEvent(t)),this.awaitRequest=!1})}toggleLike(t,n){if(t.preventDefault(),this.isInPreviewMode||t.stopPropagation(),!(this.isInPreviewMode||!n.isUserLiked&&this.isReCaptchaInProgress))return n.isUserLiked?void this.deleteLikeService.deleteLike(this.pageId,n.id).pipe(Object(g.a)(1)).subscribe(e=>{"success"===e.status&&(void 0!==n.likesCount&&--n.likesCount,n.isUserLiked=!1)},t=>{this.elementRef.nativeElement.dispatchEvent(e.getErrorEvent(t))}):(this.isReCaptchaInProgress=!0,this.isLikeAction=!0,void this.reCaptchaExecute(n))}toggleDislike(t,n){if(t.preventDefault(),this.isInPreviewMode||t.stopPropagation(),!(this.isInPreviewMode||!n.isUserDisliked&&this.isReCaptchaInProgress))return n.isUserDisliked?void this.deleteDislikeService.deleteDislike(this.pageId,n.id).pipe(Object(g.a)(1)).subscribe(e=>{"success"===e.status&&(void 0!==n.dislikesCount&&--n.dislikesCount,n.isUserDisliked=!1)},t=>{this.elementRef.nativeElement.dispatchEvent(e.getErrorEvent(t))}):(this.isReCaptchaInProgress=!0,this.isLikeAction=!1,void this.reCaptchaExecute(n))}
1doSendCommentVote(t,n,i){(t?this.createLikeService.createLike(this.pageId,n.id,i):this.createDislikeService.createDislike(this.pageId,n.id,i)).pipe(Object(g.a)(1)).subscribe(e=>{"success"===e.status&&(t?(void 0!==n.likesCount&&++n.likesCount,n.isUserLiked=!0):(void 0!==n.dislikesCount&&++n.dislikesCount,n.isUserDisliked=!0))},t=>{this.elementRef.nativeElement.dispatchEvent(e.getErrorEvent(t))})}openAuthModal(e){e.preventDefault(),this.isInPreviewMode||(e.stopPropagation(),this.authModalsService.openSignInModal())}reCaptchaExecute(e){this.parentCaptcha.queueExecute({onSuccess:t=>{this.doSendCommentVote(this.isLikeAction,e,t)},onError:()=>{this.parentCaptcha.showErrorMessage()},onComplete:()=>{this.isReCaptchaInProgress=!1}})}}return e.\u0275fac=function(t){return new(t||e)(i.yc(se),i.yc(re),i.yc(ne),i.yc(ae),i.yc(oe),i.yc(ee),i.yc(a.ab,1),i.yc(a.e),i.yc(i.w),i.yc(r.s),i.yc(a.f),i.yc(i.q))},e.\u0275cmp=i.sc({type:e,selectors:[["app-single-comment"]],inputs:{model:"model",pageId:"pageId",isAllowComment:"isAllowComment",isInPreviewMode:"isInPreviewMode"},decls:16,vars:9,consts:[[1,"singe-comment-wrapper"],["class","comment__loader",4,"ngIf"],["class","singe-comment-wrapper__delete-icon",4,"ngIf"],[1,"comment-parent"],[1,"comment"],[1,"comment__header"],[1,"comment__person-name"],["class","comment__person-avatar rounded-bg-image",3,"lazyLoad",4,"ngIf"],["class","comment__moderate","translate","",4,"ngIf"],[1,"comment__date"],[1,"comment__body",3,"innerHTML"],[1,"comment__footer"],[4,"ngIf"],["class","comment-wrapper__replies",4,"ngIf"],[1,"comment__loader"],[1,"comment__loader--spinner"],[1,"singe-comment-wrapper__delete-icon"],["width","12","height","12",1,"dislike-fill",3,"click"],[0,"xlink","href","#icon-close"],[1,"comment__person-avatar","rounded-bg-image",3,"lazyLoad"],["translate","",1,"comment__moderate"],["class","comment__reply","translate","",3,"click",4,"ngIf"],["class","comment__actions emotion-actions",4,"ngIf"],["translate","",1,"comment__reply",3,"click"],[1,"comment__actions","emotion-actions"],[1,"emotion-actions__item","emotion-actions__item--like",3,"click"],["width","18","height","18"],[0,"xlink","href","#icon-like"],[1,"emotion-actions__item","emotion-actions__item--dislike",3,"click"],[0,"xlink","href","#icon-dislike"],[1,"comment-wrapper__replies"],[3,"models","pageId","isAllowComment","isInPreviewMode"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.xd(1,V,2,0,"div",1),i.xd(2,U,3,2,"span",2),i.Ec(3,"div",3),i.Ec(4,"div",4),i.Ec(5,"div",5),i.Ec(6,"div",6),i.zd(7),i.Dc(),i.xd(8,H,1,1,"div",7),i.xd(9,B,2,0,"div",8),i.Ec(10,"div",9),i.zd(11),i.Dc(),i.Dc(),i.Dc(),i.zc(12,"div",10),i.Ec(13,"div",11),i.xd(14,W,3,2,"ng-container",12),i.Dc(),i.Dc(),i.Dc(),i.xd(15,G,2,4,"div",13)),2&e&&(i.jc(1),i.bd("ngIf",t.awaitRequest),i.jc(1),i.bd("ngIf",!t.isInPreviewMode&&t.model.canBeDeleted),i.jc(5),i.Ad(t.model.userName),i.jc(1),i.bd("ngIf",!t.model.isAnonymous&&t.model.avatarUrl),i.jc(1),i.bd("ngIf",!t.model.isModerated),i.jc(2),i.Bd(" ",t.model.friendlyPublishDate[1]+", "+t.model.friendlyPublishDate[0]," "),i.jc(1),i.bd("innerHTML",t.model.content,i.od),i.jc(2),i.bd("ngIf",t.model.isModerated&&(t.isAllowComment||t.isVotesAllowed)),i.jc(1),i.bd("ngIf",t.hasChildrenComments(t.model)))},styles:[".comment[_ngcontent-%COMP%]{font-size:12px}.comment__header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:8px}.comment__person-name[_ngcontent-%COMP%]{margin-right:8px;font-weight:700}.comment__person-avatar[_ngcontent-%COMP%]{width:21px;height:21px;margin-right:8px;background-color:#dcdcdc}.comment__date[_ngcontent-%COMP%]{color:rgba(50,50,50,.35)}.comment__moderate[_ngcontent-%COMP%]{color:#e74c3c;padding-right:8px}.comment__body[_ngcontent-%COMP%]{margin-bottom:8px;font-size:14px;line-height:1.3}.comment__footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.comment__reply[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer}.comment__actions[_ngcontent-%COMP%]{margin-left:24px}@media (min-width:1024px){.comment__footer[_ngcontent-%COMP%]{justify-content:flex-start}}.emotion-actions[_ngcontent-%COMP%], .emotion-actions__item[_ngcontent-%COMP%]{display:flex;align-items:center}.emotion-actions__item[_ngcontent-%COMP%]{cursor:pointer}.emotion-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:rgba(50,50,50,.35)}.emotion-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:18px;height:18px;fill:rgba(50,50,50,.35)}.emotion-actions__item--like[_ngcontent-%COMP%]{margin-right:16px}.emotion-actions__item--like[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-right:8px}.emotion-actions__item--dislike[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:8px}.emotion-actions__item.is-activated.emotion-actions__item--like[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.emotion-actions__item.is-activated.emotion-actions__item--like[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var
1(--green-primary)}.emotion-actions__item.is-activated.emotion-actions__item--dislike[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#e74c3c}.emotion-actions__item.is-activated.emotion-actions__item--dislike[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#e74c3c}.singe-comment-wrapper[_ngcontent-%COMP%]{position:relative}.singe-comment-wrapper__delete-icon[_ngcontent-%COMP%]{position:absolute;right:10px;top:10px}.singe-comment-wrapper__delete-icon[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{cursor:pointer}.singe-comment-wrapper[_ngcontent-%COMP%]   .comment-parent[_ngcontent-%COMP%]{padding:8px}.singe-comment-wrapper[_ngcontent-%COMP%]   .comment__loader[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:center;align-items:center;top:0;width:100%;height:100%;background-color:rgba(50,50,50,.2);z-index:1;pointer-events:none}.singe-comment-wrapper[_ngcontent-%COMP%]   .comment__loader--spinner[_ngcontent-%COMP%]{display:inline-block;width:20px;height:20px;border-radius:50%;border:2px solid var(--green-primary);border-right-width:0;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.singe-comment-wrapper[_ngcontent-%COMP%]   .singe-comment-wrapper__delete-icon[_ngcontent-%COMP%]:hover + .comment-parent[_ngcontent-%COMP%]{background-color:#fcf8e3}.disabled[_ngcontent-%COMP%]{pointer-events:none}.dislike-fill[_ngcontent-%COMP%]{fill:#e74c3c}.like-fill[_ngcontent-%COMP%]{fill:var(--green-primary)}"]}),e})();class Z{constructor(e,t,n,i,r,s,o,a,c,l,u,d,h,p){this.id=e,this.publishDate=t,this.friendlyPublishDate=n,this.userName=i,this.isAnonymous=r,this.content=s,this.likesCount=o,this.dislikesCount=a,this.isUserLiked=c,this.isUserDisliked=l,this.avatarUrl=u,this.isModerated=d,this.children=h,this.canBeDeleted=p}}function Y(e){return Array.isArray(e.childrenTree)&&(e.childrenTree=e.childrenTree.map(Y)),new Z(e.id,e.publishDate,e.friendlyPublishDate,e.userName,e.isAnonymous,e.content,e.likesCount,e.dislikesCount,e.isUserLiked,e.isUserDisliked,e.avatarUrl,e.isModerated,e.childrenTree,e.canBeDeleted)}var Q=n("lJxs"),K=n("tk/3");let J=(()=>{class e{constructor(e,t){this.http=e,this.siteApiHostInfo=t}createComment(e,t,n){let i=`${this.siteApiHostInfo}${e}/comments`;return void 0!==n&&(i+="?expand="+(Array.isArray(n)?n.join():n)),this.http.post(i,t,{withCredentials:!0}).pipe(Object(Q.a)(Y))}listComments(e,t=null){const n=`${this.siteApiHostInfo}${e}/comments`,i={withCredentials:!0};if(null!==t){const e={};if((t.count>0||t.onlyRoot)&&(e.filter={},t.count>0&&(e.filter.count=t.count),t.onlyRoot&&(e.filter.onlyRoot=t.onlyRoot)),void 0!==t.pagination&&(t.pagination.page>0&&(e.page=t.pagination.page),void 0!==t.pagination.perPage&&(e["per-page"]=t.pagination.perPage)),void 0!==t.fields&&(e.expand=Array.isArray(t.fields)?t.fields.join():t.fields),void 0!==t.sort)switch(t.sort){case"newestFirst":e.sort="-publishDate";break;case"oldestFirst":e.sort="publishDate"}i.params=Object(a.Hb)(e)}return this.http.get(n,i).pipe(Object(Q.a)(e=>Array.isArray(e)?e.map(Y):new a.ob(e.comments.map(Y),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount)))}createLike(e,t,n){return this.http.post(`${this.siteApiHostInfo}${t}/comments/${e}/likes`,{reCaptcha:n},{withCredentials:!0})}createDislike(e,t,n){return this.http.post(`${this.siteApiHostInfo}${t}/comments/${e}/dislikes`,{reCaptcha:n},{withCredentials:!0})}deleteComment(e,t){return this.http.delete(`${this.siteApiHostInfo}${t}/comments/${e}`,{withCredentials:!0})}deleteLike(e,t){return this.http.delete(`${this.siteApiHostInfo}${t}/comments/${e}/likes`,{withCredentials:!0})}deleteDislike(e,t){return this.http.delete(`${this.siteApiHostInfo}${t}/comments/${e}/dislikes`,{withCredentials:!0})}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(K.b),i.Mc(a.hb))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ee=new i.v("Comments settings service"),te=new i.v("Create new comment service"),ne=new i.v("Remove comment service"),ie=new i.v("List comments service"),re=new i.v("Add like to comment service"),se=new i.v("Add dislike to comment service"),oe=new i.v("Remove like from comment service"),ae=new i.v("Remove dislike from comment service")},yApx:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("GJzE"),r=n("fXoL");function s(e,t){if(1&e){const e=r.Fc();r.Ec(0,"div",1),r.zc(1,"div",2),r.Ec(2,"div",3),r.Ec(3,"button",4),r.Qc("click",(function(){return r.nd(e),r.Uc().close()})),r.zd(4,"\xd7"),r.Dc(),r.Ec(5,"app-standalone-banners-place",5),r.Qc("placeLoaded",(function(t){return r.nd(e),r.Uc().onPlaceLoaded(t)})),r.Dc(),r.Dc(),r.Dc()}if(2&e){const e=r.Uc();r.pc("is-visible",e.isShown),r.jc(5),r.bd("aspectRatio",e.aspectRatio)("loadingMode",null)("pageName",e.pageName)("placeName",e.placeName)}}let o=(()=>{class e extends i.H{isNeedToShow(e,t){return e&&t}}return e.\u0275fac=function(t){return a(t||e)},e.\u0275cmp=r.sc({type:e,selectors:[["app-news-page-popup-banners-place"]],features:[r.gc],decls:1,vars:1,consts:[["class","popup-banner",3,"is-visible",4,"ngIf"],[1,"popup-banner"],[1,"popup-banner__overlay"],[1,"popup-banner__content"],["type","button",1,"popup-banner__close",3,"click"],[3,"aspectRatio","loadingMode","pageName","placeName","placeLoaded"]],template:function(e,t){1&e&&r.xd(0,s,6,6,"div",0),2&e&&r.bd("ngIf",t.canBeShown)},styles:[".popup-banner[_ngcontent-%COMP%]{display:none;position:fixed;z-index:70;top:0;left:0;width:100%;height:100%}.popup-banner.is-visible[_ngcontent-%COMP%]{display:block}.popup-banner__overlay[_ngcontent-%COMP%]{width:100%;height:100%;background-color:rgba(50,50,50,.35)}.popup-banner__content[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;padding:16px 0;text-align:center}.popup-banner__content[_ngcontent-%COMP%]   .popup-banner__close[_ngcontent-%COMP%]{padding:0;position:absolute;z-index:10;top:5px;right:5px;width:48px;height:48px;text-align:center;border:0;border-radius:50%;background-color:hsla(0,0%,100%,.95);color:rgba(50,50,50,.35);font-size:36px}"]}),e})();const a=r.Gc(o)},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("HDdC"),r=n("ngJS"),s=n("jZKg");function o(e,t){return t?Object(s.a)(e,t):new i.a(Object(r.a)(e))}},ylTp:function(e,t,n){"use strict";var i=n("Ju5/");t.a=i.a.Symbol},"z+Ro":function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return i}))},z6cu:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("HDdC");function r(e,t){return new i.a(t?n=>t.schedule(s,0,{error:e,subscriber:n}):t=>t.error(e))}function s({error:e,subscriber:t}){t.error(e)}},zP0r:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e){return t=>t.lift(new s(e))}class s{constructor(e){this.total=e}call(e,t){return t.subscribe(new o(e,this.total))}}class o extends i.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}},zUnb:function(e,t,n){"use strict";n.r(t);var i=n("fXoL"),r=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});"undefined"!=typeof window&&window,"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,"undefined"!=typeof global&&global;class s{get(e){return""}}class o{constructor({defaultEncapsulation:e=r.Emulated,useJit:t=!0,jitDevMode:n=!1,missingTranslation:i=null,preserveWhitespaces:s,strictInjectionParameters:o}={}){var a;this.defaultEncapsulation=e,this.useJit=!!t,this.jitDevMode=!!n,this.missingTranslation=i,this.preserveWhitespaces=function(e,t=!1){return null===e?t:e}(void 0===(a=s)?null:a),this.strictInjectionParameters=!0===o}}var a=n("ofXK"),c=n("jhN1");const l=[{provide:i.k,useFactory:()=>new i.k}];function u(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function d(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}const h=Object(i.ab)(i.eb,"coreDynamic",[{provide:i.h,useValue:{},multi:!0},{provide:i.l,useClass:class{constructor(e){this._defaultOptions=[{useJit:!0,defaultEncapsulation:i.Y.Emulated,missingTranslation:i.A.Warning},...e]}createCompiler(e=[]){const t={useJit:u((n=this._defaultOptions.concat(e)).map(e=>e.useJit)),defaultEncapsulation:u(n.map(e=>e.defaultEncapsulation)),providers:d(n.map(e=>e.providers)),missingTranslation:u(n.map(e=>
1e.missingTranslation)),preserveWhitespaces:u(n.map(e=>e.preserveWhitespaces))};var n;return i.w.create([l,{provide:o,useFactory:()=>new o({useJit:t.useJit,jitDevMode:Object(i.db)(),defaultEncapsulation:t.defaultEncapsulation,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]).get(i.k)}},deps:[i.h]}]);let p=(()=>{class e extends s{get(e){let t,n;const i=new Promise((e,i)=>{t=e,n=i}),r=new XMLHttpRequest;return r.open("GET",e,!0),r.responseType="text",r.onload=function(){const i=r.response||r.responseText;let s=1223===r.status?204:r.status;0===s&&(s=i?200:0),200<=s&&s<=300?t(i):n("Failed to load "+e)},r.onerror=function(){n("Failed to load "+e)},r.send(),i}}return e.\u0275fac=function(t){return f(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();const f=i.Gc(p),g=[c.k,{provide:i.h,useValue:{providers:[{provide:s,useClass:p,deps:[]}]},multi:!0},{provide:i.I,useValue:a.S}],m=Object(i.ab)(h,"browserDynamic",g);var b=n("tk/3"),v=n("sYmb"),w=n("1kSV"),y=n("nhfI"),C=n("jCJ1"),_=n("b6Qw"),x=n("GyhO"),O=n("IzEk"),S=n("tyNb"),E=n("GJzE");let P=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[{provide:S.c,multi:!0,useFactory:e=>[{matcher:e.routeLanguageMatcher(),children:[{path:E.fb.mainPage,pathMatch:"full",loadChildren:()=>Promise.all([n.e(1),n.e(8)]).then(n.bind(null,"bd+Y")).then(e=>e.PageHomeModule)},{path:E.fb.newsPage,loadChildren:()=>Promise.all([n.e(1),n.e(9)]).then(n.bind(null,"tUcb")).then(e=>e.PageNewsDetailModule)},{path:E.fb.catalogPage,pathMatch:"full",loadChildren:()=>n.e(7).then(n.bind(null,"M6fb")).then(e=>e.PageCatalogModule)},{path:E.fb.notFound,redirectTo:E.fb.friendlyNotFound},{path:E.fb.friendlyNotFound,pathMatch:"full",loadChildren:()=>n.e(10).then(n.bind(null,"wIKS")).then(e=>e.PageNotFoundModule)}]}],deps:[E.fb]}],imports:[[S.h.forRoot([],{scrollPositionRestoration:"enabled",anchorScrolling:"enabled",initialNavigation:"enabled"})],S.h]}),e})();var k=n("FpXt"),M=n("3Pt+"),I=n("wf0l"),D=n("s8G/"),j=n("U9Oy");let A=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[a.c,M.z,C.f,C.d,P,D.b,j.a,I.b]]}),e})(),T=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[a.c,I.b,j.a]]}),e})();var z=n("wQ6Y");let L=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-svg-icons"]],decls:271,vars:0,consts:[["aria-hidden","true","xmlns","http://www.w3.org/2000/svg",2,"display","none"],["id","notification-bell","viewBox","-21 1 511 511.99998"],["d","m311.628906 435.773438c0 35.046874-23.644531 64.554687-55.839844 73.46875-6.488281 1.796874-13.320312 2.757812-20.375 2.757812-42.097656 0-76.226562-34.125-76.226562-76.226562l76.347656-39.234376zm0 0","fill","#e58e13"],["d","m307.941406 459.285156c-7.847656 24.21875-27.492187 43.132813-52.152344 49.957032-15.503906-4.289063-29.023437-13.351563-38.875-25.503907-7.941406-9.800781-.777343-24.453125 11.835938-24.453125zm0 0","fill","#f7d360"],["d","m432.210938 359.558594-163.761719 35.414062-229.84375-35.414062c18.035156 0 28.234375-9.433594 34.023437-25.078125 28.003906-75.523438-46.582031-295.632813 162.785156-295.632813 209.367188 0 134.769532 220.109375 162.773438 295.632813 5.800781 15.644531 15.996094 25.078125 34.023438 25.078125zm0 0","fill","#f7d360"],["d","m470.316406 397.667969c0 21.042969-17.0625 38.105469-38.105468 38.105469h-393.605469c-10.519531 0-20.050781-4.261719-26.945313-11.160157-6.898437-6.894531-11.160156-16.425781-11.160156-26.945312 0-21.046875 17.0625-38.109375 38.105469-38.109375h393.605469c10.519531 0 20.050781 4.265625 26.945312 11.160156 6.898438 6.898438 11.160156 16.425781 11.160156 26.949219zm0 0","fill","#e58e13"],["d","m398.1875 334.480469h-204.574219c-22.054687 0-39.691406-18.253907-39.007812-40.300781 2.882812-93.265626-11.992188-253.558594 79.277343-255.320313-250.535156 1.296875-90.382812 320.699219-195.269531 320.699219h393.597657c-18.027344 0-28.222657-9.433594
1-34.023438-25.078125zm0 0","fill","#e58e13"],["d","m470.316406 397.667969c0 21.042969-17.0625 38.105469-38.105468 38.105469h-283.480469c-10.523438 0-20.054688-4.261719-26.949219-11.160157-6.894531-6.894531-11.160156-16.425781-11.160156-26.945312 0-21.046875 17.0625-38.109375 38.109375-38.109375h283.480469c10.519531 0 20.050781 4.265625 26.945312 11.160156 6.898438 6.898438 11.160156 16.425781 11.160156 26.949219zm0 0","fill","#f7d360"],["d","m274.148438 41.765625c.082031-.960937.113281-1.933594.113281-2.917969 0-21.449218-17.394531-38.847656-38.847657-38.847656-21.460937 0-38.847656 17.398438-38.847656 38.847656 0 .984375.03125 1.957032.113282 2.917969","fill","#e58e13"],["fill","#e6e6e6"],["d","m424.613281 167.71875c-4.328125 0-7.835937-3.511719-7.835937-7.835938 0-36.269531-9.324219-67.222656-27.710938-92-13.726562-18.496093-27.683594-26.457031-27.820312-26.539062-3.765625-2.113281-5.121094-6.878906-3.019532-10.652344 2.101563-3.769531 6.84375-5.136718 10.621094-3.050781.667969.371094 16.535156 9.277344 32.25 30.160156 14.304688 19.007813 31.355469 52.148438 31.355469 102.082031 0 4.324219-3.511719 7.835938-7.839844 7.835938zm0 0"],["d","m459.09375 122.789062c-4.328125 0-7.835938-3.507812-7.835938-7.835937 0-50.023437-29.625-69.910156-30.886718-70.730469-3.613282-2.355468-4.660156-7.195312-2.328125-10.820312 2.335937-3.625 7.140625-4.695313 10.777343-2.378906 1.558594.988281 38.109376 24.929687 38.109376 83.929687 0 4.328125-3.507813 7.835937-7.835938 7.835937zm0 0"],["d","m46.203125 167.71875c-4.328125 0-7.835937-3.511719-7.835937-7.835938 0-49.933593 17.050781-83.074218 31.351562-102.082031 15.71875-20.882812 31.582031-29.792969 32.25-30.160156 3.789062-2.09375 8.558594-.71875 10.652344 3.070313 2.089844 3.78125.722656 8.539062-3.050782 10.636718-.308593.175782-14.171874 8.15625-27.816406 26.535156-18.390625 24.777344-27.710937 55.730469-27.710937 92-.003907 4.324219-3.511719 7.835938-7.839844 7.835938zm0 0"],["d","m11.722656 122.789062c-4.328125 0-7.835937-3.507812-7.835937-7.835937 0-59 36.554687-82.941406 38.109375-83.929687 3.652344-2.324219 8.496094-1.246094 10.820312 2.402343 2.316406 3.640625 1.253906 8.46875-2.375 10.796875-1.300781.851563-30.882812 20.746094-30.882812 70.730469 0 4.328125-3.507813 7.835937-7.835938 7.835937zm0 0"],["id","icon-facebook","viewBox","0 0 96.124 96.123"],["d","M72.089.02L59.624 0C45.62 0 36.57 9.285 36.57 23.656v10.907H24.037a1.96 1.96 0 0 0-1.96 1.961v15.803a1.96 1.96 0 0 0 1.96 1.96H36.57v39.876a1.96 1.96 0 0 0 1.96 1.96h16.352a1.96 1.96 0 0 0 1.96-1.96V54.287h14.654a1.96 1.96 0 0 0 1.96-1.96l.006-15.803a1.963 1.963 0 0 0-1.961-1.961H56.842v-9.246c0-4.444 1.059-6.7 6.848-6.7l8.397-.003a1.96 1.96 0 0 0 1.959-1.96V1.98A1.96 1.96 0 0 0 72.089.02z"],["id","icon-foursquare","viewBox","0 0 300 300"],["d","M253.428 8.709C248.11.773 237.729-.107 229.026.01c-52.447.236-104.914.1-157.385.059C68.63.162 65.624.32 62.657.9c-9.628 1.6-17.55 9.688-19.241 19.238-1.545 9.416-.655 19.025-.773 28.52-.02 77.041.059 154.084-.059 231.125.217 4.752.389 9.938 3.336 13.943 4.645 6.346 14.056 7.93 20.924 4.516 4.139-2.254 7.203-5.924 10.287-9.377 22.539-26.607 45.973-52.461 68.467-79.113 2.484-2.818 5.396-5.904 9.516-5.672 16.225-.832 32.49.545 48.736-.291 5.516-.289 11.262-1.865 15.262-5.879 5.451-5.357 7.144-13.141 8.871-20.305 9.219-44.688 17.568-89.563 26.822-134.25 2.175-11.277 5.398-24.301-1.377-34.646zm-40.471 72.382c-1.339 4.432-7.105 4.133-10.986 4.447-19.508.389-39.02-.469-58.508.094-5.959-.232-12.404 3.512-12.773 9.977-1.264 8.059-.752 20.496 9.358 22.268 19.099 2.135 38.454-.703 57.573 1.146 6.366.191 6.484 7.705 5.49 12.344-2.189 11.232-3.857 22.646-7.139 33.643-.836 3.641-4.295 5.551-7.842 5.58-16.113 1.348-32.324-.557-48.432.59-6.604.094-10.539 6.018-14.445 10.465-16.246 19.971-32.59 39.848-49.362 59.379-.659-62.832.06-125.689-.368-188.541.137-4.699-.1-9.609 1.627-14.076 2.471-5.201 8.971-5.068 13.865-5.34 38.258.041 76.535.139 114.797-.039 6.346.195 13.022-.859 14.676 4.793 2.19 7.481-4.557 33.423-7.531 43.27z","fill-rule","evenodd","clip-rule","evenodd"],["id","icon-instagram","viewBox","0 0 97.395 97.395"],["d","M12.501 0h72.393c6.875 0 12.5 5.09 12.5 12.5v72.395c0 7.41-5.625 12.5-12.5 12.5H12.501C5.624 97.395 0 92.305 0 84.895V12.5C0 5.09 5.624 0 12.501 0zm58.447 10.821a4.395 4.395 0 0 0-4.383 4.385v10.495a4.396 4.396 0 0 0 4.383 4.385h11.008a4.398 4.398 0 0 0 4.385-4.385V15.206a4.397 4.397 0 0 0-4.385-4.385H70.948zm15.439 30.367h-8.572a28.486 28.486 0 0 1 1.25 8.355c0 16.2-13.556 29.332-30.275 29.332-16.718 0-30.272-13.132-30.272-29.332 0-2.904.438-5.708 1.25-8.355h-8.945v41.141a3.884 3.884 0 0 0 3.872 3.872h67.822a3.883 3.883 0 0 0 3.872-3.872V41.188h-.002zM48.789 29.533c-10.802 0-19.56 8.485-19.56 18.953s8.758 18.953 19.56 18.953c10.803 0 19.562-8.485 19.562-18.953s-8.758-18.953-19.562-18.953z"],["id","icon-telegram","viewBox","0 0 300 300"],["d","M5.299 144.645l69.126 25.8 26.756 86.047c1.712 5.511 8.451 7.548 12.924 3.891l38.532-31.412a11.496 11.496 0 0 1 14.013-.391l69.498 50.457c4.785 3.478 11.564.856 12.764-4.926L299.823 29.22c1.31-6.316-4.896-11.585-10.91-9.259L5.218 129.402c-7.001 2.7-6.94 12.612.081 15.243zm91.57 12.066l135.098-83.207c2.428-1.491 4.926 1.792 2.841 3.726L123.313 180.87a23.112 23.112 0 0 0-7.163 13.829l-3.798 28.146c-.503 3.758-5.782 4.131-6.819.494l-14.607-
151.325c-1.673-5.854.765-12.107 5.943-15.303z"],["id","icon-twitter","viewBox","0 0 449.956 449.956"],["d","M449.956 85.657c-17.702 7.614-35.408 12.369-53.102 14.279 19.985-11.991 33.503-28.931 40.546-50.819-18.281 10.847-37.787 18.268-58.532 22.267-18.274-19.414-40.73-29.125-67.383-29.125-25.502 0-47.246 8.992-65.24 26.98-17.984 17.987-26.977 39.731-26.977 65.235 0 6.851.76 13.896 2.284 21.128-37.688-1.903-73.042-11.372-106.068-28.407C82.46 110.158 54.433 87.46 31.403 59.101c-8.375 14.272-12.564 29.787-12.564 46.536 0 15.798 3.711 30.456 11.138 43.97 7.422 13.512 17.417 24.455 29.98 32.831-14.849-.572-28.743-4.475-41.684-11.708v1.142c0 22.271 6.995 41.824 20.983 58.674 13.99 16.848 31.645 27.453 52.961 31.833a95.543 95.543 0 0 1-24.269 3.138c-5.33 0-11.136-.475-17.416-1.42 5.9 18.459 16.75 33.633 32.546 45.535 15.799 11.896 33.691 18.028 53.677 18.418-33.498 26.262-71.66 39.393-114.486 39.393-8.186 0-15.607-.373-22.27-1.139 42.827 27.596 90.03 41.394 141.612 41.394 32.738 0 63.478-5.181 92.21-15.557 28.746-10.369 53.297-24.267 73.665-41.686 20.362-17.415 37.925-37.448 52.674-60.097 14.75-22.651 25.738-46.298 32.977-70.946 7.23-24.653 10.848-49.344 10.848-74.092 0-5.33-.096-9.325-.287-11.991 18.087-13.127 33.504-29.023 46.258-47.672z"],["id","icon-viber","viewBox","0 0 322 322"],["d","M275.445 135.123c.387-45.398-38.279-87.016-86.192-92.771-.953-.113-1.991-.285-3.09-.467-2.372-.393-4.825-.797-7.3-.797-9.82 0-12.445 6.898-13.136 11.012-.672 4-.031 7.359 1.902 9.988 3.252 4.422 8.974 5.207 13.57 5.836 1.347.186 2.618.359 3.682.598 43.048 9.619 57.543 24.742 64.627 67.424.173 1.043.251 2.328.334 3.691.309 5.102.953 15.717 12.365 15.717h.001c.95 0 1.971-.082 3.034-.244 10.627-1.615 10.294-11.318 10.134-15.98-.045-1.313-.088-2.555.023-3.381.03-.208.045-.417.046-.626z"],["d","M176.077 25.688c1.275.092 2.482.18 3.487.334 70.689 10.871 103.198 44.363 112.207 115.605.153 1.211.177 2.688.202 4.252.09 5.566.275 17.145 12.71 17.385l.386.004c3.9 0 7.002-1.176 9.221-3.498 3.871-4.049 3.601-10.064 3.383-14.898-.053-1.186-.104-2.303-.091-3.281.899-72.862-62.171-138.933-134.968-141.39-.302-.01-.59.006-.881.047a6.09 6.09 0 0 1-.862.047c-.726 0-1.619-.063-2.566-.127C177.16.09 175.862 0 174.546 0c-11.593 0-13.797 8.24-14.079 13.152-.65 11.352 10.332 12.151 15.61 12.536zM288.36 233.703a224.924 224.924 0 0 1-4.512-3.508c-7.718-6.211-15.929-11.936-23.87-17.473a1800.92 1800.92 0 0 1-4.938-3.449c-10.172-7.145-19.317-10.617-27.957-10.617-11.637 0-21.783 6.43-30.157 19.109-3.71 5.621-8.211 8.354-13.758 8.354-3.28 0-7.007-.936-11.076-2.783-32.833-14.889-56.278-37.717-69.685-67.85-6.481-14.564-4.38-24.084 7.026-31.832 6.477-4.396 18.533-12.58 17.679-28.252-.967-17.797-40.235-71.346-56.78-77.428-7.005-2.576-14.365-2.6-21.915-.06-19.02 6.394-32.669 17.623-39.475 32.471-6.577 14.347-6.28 31.193.859 48.717 20.638 50.666 49.654 94.84 86.245 131.293 35.816 35.684 79.837 64.914 130.839 86.875 4.597 1.978 9.419 3.057 12.94 3.844 1.2.27 2.236.5 2.991.707.415.113.843.174 1.272.178l.403.002h.002c23.988 0 52.791-21.92 61.637-46.91 7.75-21.882-6.4-32.698-17.77-41.388zM186.687 83.564c-4.107.104-12.654.316-15.653 9.021-1.403 4.068-1.235 7.6.5 10.498 2.546 4.252 7.424 5.555 11.861 6.27 16.091 2.582 24.355 11.48 26.008 28 .768 7.703 5.955 13.082 12.615 13.082h.001c.492 0 .995-.029 1.496-.09 8.01-.953 11.893-6.838 11.542-17.49.128-11.117-5.69-23.738-15.585-33.791-9.929-10.084-21.898-15.763-32.785-15.5z"],["id","icon-vkontakte","viewBox","0 0 24 24"],["d","M 8.710938 0.0195312 C 5.511719 0.0664062 4.015625 0.285156 2.832031 0.878906 C 2.382812 1.105469 2.054688 1.339844 1.695312 1.695312 C 1.136719 2.25 0.777344 2.882812 0.515625 3.753906 C 0.433594 4.035156 0.316406 4.542969 0.28125 4.78125 C 0.0507812 6.292969 0 7.636719 0 12.007812 C 0 16.75 0.0742188 18.253906 0.367188 19.648438 C 0.488281 20.234375 0.648438 20.707031 0.878906 21.164062 C 1.117188 21.640625 1.339844 21.949219 1.714844 22.320312 C 2.265625 22.867188 2.90625 23.230469 3.75 23.480469 C 4.726562 23.769531 5.835938 23.902344 7.820312 23.960938 C 9.457031 24.015625 15.453125 24 16.753906 23.945312 C 18.976562 23.84375 20.171875 23.621094 21.171875 23.117188 C 21.613281 22.898438 21.957031 22.648438 22.3125 22.292969 C 23.109375 21.496094 23.535156 20.492188 23.773438 18.851562 C 23.941406 17.683594 24 15.949219 24 11.992188 C 24 7.351562 23.925781 5.753906 23.652344 4.433594 C 23.511719 3.769531 23.363281 3.320312 23.121094 2.839844 C 22.886719 2.367188 22.664062 2.054688 22.292969 1.6875 C 21.742188 1.136719 21.101562 0.773438 20.25 0.519531 C 19.363281 0.257812 18.402344 
10.132812 16.742188 0.0546875 C 15.621094 0.00390625 11.085938 -0.015625 8.710938 0.0195312 Z M 6.8125 7.636719 C 6.867188 9.171875 7.167969 10.523438 7.695312 11.621094 C 7.859375 11.957031 7.917969 12.054688 8.109375 12.355469 C 8.625 13.148438 9.324219 13.757812 10.070312 14.066406 C 10.160156 14.105469 10.28125 14.148438 10.34375 14.167969 C 10.402344 14.183594 10.464844 14.203125 10.476562 14.207031 C 10.496094 14.214844 10.5 13.515625 10.5 10.753906 L 10.5 7.292969 L 13.085938 7.292969 L 13.085938 11.246094 L 13.179688 11.230469 C 13.59375 11.164062 14.035156 10.984375 14.457031 10.710938 C 14.597656 10.617188 14.746094 10.507812 14.773438 10.480469 C 14.78125 10.476562 14.851562 10.414062 14.933594 10.347656 C 15.308594 10.039062 15.796875 9.472656 16.097656 9 C 16.398438 8.53125 16.695312 7.898438 16.828125 7.445312 L 16.871094 7.304688 L 18.167969 7.296875 L 19.46875 7.292969 L 19.453125 7.371094 C 19.4375 7.496094 19.335938 7.890625 19.277344 8.085938 C 18.867188 9.414062 17.992188 10.699219 16.832031 11.664062 C 16.597656 11.859375 16.265625 12.101562 16.066406 12.21875 L 15.96875 12.277344 L 16.121094 12.355469 C 16.871094 12.730469 17.679688 13.363281 18.285156 14.042969 C 18.621094 14.417969 18.699219 14.511719 18.960938 14.898438 C 19.289062 15.371094 19.578125 15.921875 19.804688 16.5 C 19.890625 16.726562 20.03125 17.140625 20.054688 17.246094 L 20.066406 17.304688 L 17.214844 17.304688 L 17.164062 17.152344 C 16.957031 16.523438 16.53125 15.789062 16.09375 15.300781 C 15.472656 14.609375 14.726562 14.128906 13.882812 13.882812 C 13.6875 13.828125 13.46875 13.78125 13.167969 13.734375 L 13.085938 13.726562 L 13.085938 17.3125 L 12.632812 17.296875 C 11.578125 17.269531 10.847656 17.164062 9.984375 16.921875 C 9.308594 16.734375 8.445312 16.335938 7.898438 15.960938 C 7.652344 15.792969 7.328125 15.550781 7.191406 15.429688 C 7.019531 15.285156 6.589844 14.859375 6.464844 14.710938 C 6.398438 14.636719 6.339844 14.578125 6.332031 14.582031 C 6.324219 14.585938 6.320312 14.582031 6.324219 14.574219 C 6.328125 14.566406 6.308594 14.53125 6.28125 14.492188 C 6.1875 14.386719 5.976562 14.105469 5.847656 13.914062 C 4.777344 12.347656 4.140625 10.128906 4.058594 7.671875 L 4.042969 7.292969 L 6.800781 7.292969 Z M 6.8125 7.636719 "],["id","icon-youtube","viewBox","0 0 310 310"],["d","M297.917 64.645c-11.19-13.302-31.85-18.728-71.306-18.728H83.386c-40.359 0-61.369 5.776-72.517 19.938C0 79.663 0 100.008 0 128.166v53.669c0 54.551 12.896 82.248 83.386 82.248h143.226c34.216 0 53.176-4.788 65.442-16.527C304.633 235.518 310 215.863 310 181.835v-53.669c0-29.695-.841-50.16-12.083-63.521zm-98.896 97.765l-65.038 33.991a9.997 9.997 0 0 1-14.632-8.863v-67.764a10 10 0 0 1 14.609-8.874l65.038 33.772a10 10 0 0 1 .023 17.738z"],["id","icon-reddit","viewBox","0 -16 512 512"],["d","M158.578 399.61C186.332 412.757 220.93 420 256 420s69.668-7.242 97.422-20.39l-12.844-27.114C316.754 383.786 286.718 390 256 390s-60.754-6.215-84.578-17.504zm0 0"],["d","M31.96 293.086A123.867 123.867 0 0 0 30 315c0 45.02 24.266 87.031 68.328 118.3C140.766 463.415 196.762 480 256 480s115.234-16.586 157.672-46.7C457.734 402.032 482 360.02 482 315c0-7.398-.668-14.71-1.96-21.914C499.397 282.922 512 262.766 512 240c0-33.086-26.914-60-60-60-15.082 0-29.293 5.59-40.176 15.422-39.355-27.317-90.023-43.176-144.023-45.195L296.465 39.05l65.578 22.691C362.973 94.023 389.5 120 422 120c33.086 0 60-26.914 60-60S455.086 0 422 0c-23.11 0-43.191 13.14-53.215 32.332L275.535.066l-38.812 150.536c-51.188 3.144-99.016 18.765-136.547 44.82C89.293 185.59 75.082 180 60 180c-33.086 0-60 26.914-60 60 0 22.766 12.602 42.922 31.96 53.086zM422 30c16.543 0 30 13.457 30 30s-13.457 30-30 30-30-13.457-30-30 13.457-30 30-30zm60 210c0 9.367-4.273 17.836-11.168 23.379-7.816-17.469-19.625-33.856-35.105-48.582A29.91 29.91 0 0 1 452 210c16.543 0 30 13.457 30 30zm-226-60c53.07 0 102.902 14.621 140.313 41.168C432.222 246.648 452 279.973 452 315s-19.777 68.352-55.688 93.832C358.903 435.379 309.07 450 256 450s-102.902-14.621-140.313-41.168C79.778 383.352 60 350.027 60 315s19.777-68.352 55.688-93.832C153.097 194.621 202.93 180 256 180zM60 210c5.887 0 11.5 1.71 16.273 4.797-15.48 14.726-27.289 31.113-35.105 48.582C34.273 257.836 30 249.367 3
10 240c0-16.543 13.457-30 30-30zm0 0"],["d","M165 330c24.813 0 45-20.188 45-45s-20.188-45-45-45-45 20.188-45 45 20.188 45 45 45zm0-60c8.27 0 15 6.73 15 15s-6.73 15-15 15-15-6.73-15-15 6.73-15 15-15zm0 0M347 330c24.813 0 45-20.188 45-45s-20.188-45-45-45-45 20.188-45 45 20.188 45 45 45zm0-60c8.27 0 15 6.73 15 15s-6.73 15-15 15-15-6.73-15-15 6.73-15 15-15zm0 0"],["id","icon-whatsapp","viewBox","0 0 308 308"],["d","M227.904 176.981c-.6-.288-23.054-11.345-27.044-12.781-1.629-.585-3.374-1.156-5.23-1.156-3.032 0-5.579 1.511-7.563 4.479-2.243 3.334-9.033 11.271-11.131 13.642-.274.313-.648.687-.872.687-.201 0-3.676-1.431-4.728-1.888-24.087-10.463-42.37-35.624-44.877-39.867-.358-.61-.373-.887-.376-.887.088-.323.898-1.135 1.316-1.554 1.223-1.21 2.548-2.805 3.83-4.348a140.77 140.77 0 0 1 1.812-2.153c1.86-2.164 2.688-3.844 3.648-5.79l.503-1.011c2.344-4.657.342-8.587-.305-9.856-.531-1.062-10.012-23.944-11.02-26.348-2.424-5.801-5.627-8.502-10.078-8.502-.413 0 0 0-1.732.073-2.109.089-13.594 1.601-18.672 4.802C90 87.918 80.89 98.74 80.89 117.772c0 17.129 10.87 33.302 15.537 39.453.116.155.329.47.638.922 17.873 26.102 40.154 45.446 62.741 54.469 21.745 8.686 32.042 9.69 37.896 9.69h.001c2.46 0 4.429-.193 6.166-.364l1.102-.105c7.512-.666 24.02-9.22 27.775-19.655 2.958-8.219 3.738-17.199 1.77-20.458-1.348-2.216-3.671-3.331-6.612-4.743z"],["d","M156.734 0C73.318 0 5.454 67.354 5.454 150.143c0 26.777 7.166 52.988 20.741 75.928L.212 302.716a3.998 3.998 0 0 0 4.999 5.096l79.92-25.396c21.87 11.685 46.588 17.853 71.604 17.853C240.143 300.27 308 232.923 308 150.143 308 67.354 240.143 0 156.734 0zm0 268.994c-23.539 0-46.338-6.797-65.936-19.657a3.996 3.996 0 0 0-3.406-.467l-40.035 12.726 12.924-38.129a4.002 4.002 0 0 0-.561-3.647c-14.924-20.392-22.813-44.485-22.813-69.677 0-65.543 53.754-118.867 119.826-118.867 66.064 0 119.812 53.324 119.812 118.867.001 65.535-53.746 118.851-119.811 118.851z"],["id","icon-odnoklassniki","viewBox","0 0 95.481 95.481"],["d","M43.041 67.254c-7.402-.772-14.076-2.595-19.79-7.064-.709-.556-1.441-1.092-2.088-1.713-2.501-2.402-2.753-5.153-.774-7.988 1.693-2.426 4.535-3.075 7.489-1.682.572.27 1.117.607 1.639.969 10.649 7.317 25.278 7.519 35.967.329 1.059-.812 2.191-1.474 3.503-1.812 2.551-.655 4.93.282 6.299 2.514 1.564 2.549 1.544 5.037-.383 7.016-2.956 3.034-6.511 5.229-10.461 6.761-3.735 1.448-7.826 2.177-11.875 2.661.611.665.899.992 1.281 1.376 5.498 5.524 11.02 11.025 16.5 16.566 1.867 1.888 2.257 4.229 1.229 6.425-1.124 2.4-3.64 3.979-6.107 3.81-1.563-.108-2.782-.886-3.865-1.977-4.149-4.175-8.376-8.273-12.441-12.527-1.183-1.237-1.752-1.003-2.796.071-4.174 4.297-8.416 8.528-12.683 12.735-1.916 1.889-4.196 2.229-6.418 1.15-2.362-1.145-3.865-3.556-3.749-5.979.08-1.639.886-2.891 2.011-4.014 5.441-5.433 10.867-10.88 16.295-16.322.359-.362.694-.746 1.217-1.305z"],["d","M47.55 48.329c-13.205-.045-24.033-10.992-23.956-24.218C23.67 10.739 34.505-.037 47.84 0c13.362.036 24.087 10.967 24.02 24.478-.068 13.199-10.971 23.897-24.31 23.851zm12.001-24.186c-.023-6.567-5.253-11.795-11.807-11.801-6.609-.007-11.886 5.316-11.835 11.943.049 6.542 5.324 11.733 11.896 11.709 6.552-.023 11.768-5.285 11.746-11.851z"],["id","icon-oki-tv","viewBox","0 0 54.8 24"],["type","text/css"],["d","M11.8,21.6c-0.3,0-0.6,0-0.9-0.1c-1.1-0.2-2.1-0.6-2.9-1.3c-0.8-0.7-1.5-1.6-1.8-2.6C5.9,17,5.5,16,5,14.6c-1.1-3-2.2-6.7-2.3-6.9c-0.2-0.6,0-1.4,0.8-1.7C3.7,6,3.8,6,4,6c0.8,0,1.1,0.7,1.3,1l0,0c0,0,0,0.1,0,0.1c0.1,0.2,1,2.7,1.4,3.9l0.4-7c0-0.5,0.4-1.4,1.4-1.4h0c0.5,0,1.4,0.2,1.4,1.5v0L9.5,9.3c0.8-2.4,1.8-5.8,1.9-6.1C11.6,2.6,12,2,12.8,2c0.2,0,0.4,0,0.6,0.1C13.8,2.3,14.3,3,14,3.9c-0.1,0.2-1.1,3.8-1.5,5.1l0,0c0,0,0,0,0,0l0,0h0l0,0l0,0c0,0,0,0,0.1,0c0,0,0.1,0,0.2,0h0c0.1,0,0.2,0,0.2,0h0h0h0h0c1.1,0,2.1,0.4,3,0.9c0,0,0,0,0,0c0.7,0,1.5-0.1,2.4-0.2c0,0,0,0,0.1,0c0.3,0,0.6,0.3,0.6,0.6v4.3c0,0.1,0.1,0.2,0.1,0.2c0.1,0.1,0.1,0.1,0.2,0.1c0.1,0,0.2,0,0.2-0.1l2.8-3.6c0.1-0.1,0.3-0.2,0.5-0.2h0.3c0.2,0,0.4,0.1,0.5,0.3c0.1,0.2,0.1,0.4-0.1,0.6l-1.3,1.7c-0.1,0.1-0.1,0.2,0,0.3l2.6,6.8c0.1,0.2,0,0.4-0.1,0.6c-0.1,0.2-0.3,0.3-0.5,0.3h-2.7c-0.3,0-0.5-0.2-0.6-0.4l-1.3-3.4c0-0.1-0.2-0.2-0.3-0.2c-0.1,0-0.2,0-0.3,0.1l0,0c0,0.1-0.1,0.1-0.1,0.2V21c0,0.3-0.2,0.6-0.5,0.6v0L11.8,21.6L11.8,21.6z M13.1,11.6c-1.3,0-2.5,0.8-3,2c-0.8,1.7-0.1,3.6,1.5,4.3c0.4,0.2,0.8,0.3,1.2,0.3c0.9,0,1.9-0.4,2.5-1.2c0.2-0.2,0.4-0.5,0.5-0.8c0.2-0.4,0.3-0.9,0.3-1.4v0v-0.1c0,0,0-0.1,0-0.1v0v0c0-0.8-0.3-1.5-0.8-2l0,0l0,0c0,0,0,0,0,0l0,0c-0.3-0.3-0.6-0.5-1-0.7C14,11.7,13.5,11.6,13.1,11.6z M31.3,17.4c-0.3,0-0.6-0.3-0.6-0.6v-1.9c0-0.3,0.3-0.6,0.6-0.6h4c0.3,0,0.6,0.3,0.6,0.6v1.9c0,0.3-0.3,0.6-0.6,0.6H31.3z M26.4,21.6c-0.3,0-0.6-0.3-0.6-0.6v-9.4c0-0.3,0.3-0.6,0.6-0.6c0.9,0,1.7-0.1,2.6-0.2c0,0,0.1,0,0.1,0c0.3,0,0.6,0.3,0.6,0.6V21c0,0.3-0.3,0.6-0.6,0.6L26.4,21.6L26.4,21.6L26.4,21.6z M27.8,10C26.3,10,26,9.2,26,8.5C26,7.8,26.3,7,27.8,7s1.8,0.8,1.8,1.5C29.5,9.2,29.2,10,27.8,10z",1,"st0"],["d","M40.7,21.6h-2.8c0,0-0.8,0.1-0.8-1.1s0-10.4,0-10.4h-2.3c0,0-0.5,0-0.5-0.6s0.1-0.9,0.7-0.9s16.4,0,16.4,0s0.7,0,0.6,0.6c-0.2,0.6-4,12.1-4,12.1s-0.1,0.3-0.6,0.3s-1.4,0-1.4,0s-0.8,0-1.1-0.9c-0.3-0.9-2.3-7.5-2.3-7.5s-0.1-0.7,0.3-0.7c0.5,0,2.8,0,2.8,0s0.5,0,0.5,0.4c0.1,0.4,1.2,4.2,1.2,4.2l2.3-6.7c0,0,0.1-0.4-0.3-0.4c-0.4,0-7.3,0-7.3,0s-0.7-0.1-0.7,0.7c0,0.8,0,10.2,0,10.2S41.4,21.6,40.7,21.6z",1,"st1"],["id","icon-tiktok","viewBox","0 0 512 512"],["id","tiktok-dark","transform","translate(0, 0)"],["d","M734.75,204.8v-19.51c-7.24-.96-14.53-1.45-21.83-1.48-89.29,0-161.96,68-161.96,151.59,0,51.26,27.38,96.66,69.14,124.1-27.96-27.99-43.52-64.88-43.49-103.2,0-82.39,70.59-149.58,158.14-151.49",1,"cls-1"],["d","M739.04,420.11c37.76,0,68.54-29.84,69.94-67.04l.13-332.03h61.04c-1.31-6.93-1.97-13.97-1.98-21.02h-83.36l-.14,332.04c-1.39,37.18-32.2,67.02-69.94,67.02-11.32,0-22.48-2.75-32.5-8.01,13.18,18.24,34.31,29.04,56.82,29.04M984.16,133.74v-18.46c-22.41.02-44.35-6.46-63.14-18.65,16.5,18.86,38.65,31.88,63.16,37.11",1,"cls-1"],["d","M918.54,101.34c-18.33-20.71-28.45-47.41-28.46-75.06h-22.28c5.89,30.93,24.24,58.07,50.74,75.06M712.76,263.43
1c-38.6.05-69.87,30.99-69.91,69.18.08,25.81,14.53,49.42,37.47,61.24-8.59-11.7-13.22-25.83-13.23-40.34.04-38.2,31.31-69.16,69.91-69.2,7.22,0,14.11,1.18,20.64,3.2v-84.02c-6.84-.96-13.73-1.46-20.64-1.5-1.21,0-2.4.08-3.6.09v64.54c-6.68-2.1-13.64-3.18-20.64-3.2",1,"cls-3"],["d","M973.06,144.42v64.12c-41.47.06-81.92-12.84-115.69-36.9v167.6c0,83.72-68.66,151.82-153.04,151.82-32.62,0-62.87-10.21-87.72-27.53,29,30.96,69.53,48.51,111.95,48.47,84.4,0,153.06-68.11,153.06-151.81v-167.61c33.78,24.06,74.23,36.95,115.69,36.89v-82.48c-8.15,0-16.28-.86-24.25-2.56",1,"cls-3"],["d","M865.75,333.73v-167.88c34.76,24.16,76.1,37.07,118.43,36.97v-64.19c-24.89-5.15-47.48-18.12-64.48-37.02-27.2-17.16-45.97-44.37-51.93-75.33h-62.32l-.13,331.02c-1.44,37.07-32.88,66.82-71.41,66.82-23.03-.03-44.61-10.79-58.02-28.93-23.55-11.99-38.32-35.65-38.33-61.46.04-38.33,32.03-69.38,71.55-69.43,7.35,0,14.41,1.18,21.11,3.22v-64.76c-84.69,1.93-152.98,69.31-152.98,151.94,0,39.97,16,76.35,42.07,103.51,26.47,18.02,57.77,27.62,89.79,27.56,86.38,0,156.67-68.2,156.67-152.02",1,"cls-2"],["id","tiktok-light","transform","translate(0, 0)"],["d","M222.75,204.8v-19.51c-7.24-.96-14.53-1.45-21.83-1.48-89.29,0-161.96,68-161.96,151.59,0,51.26,27.38,96.66,69.14,124.1-27.96-27.99-43.52-64.88-43.49-103.2,0-82.39,70.59-149.58,158.14-151.49",1,"cls-1"],["d","M227.04,420.11c37.76,0,68.54-29.84,69.94-67.04l.13-332.03h61.04c-1.31-6.93-1.97-13.97-1.98-21.02h-83.36l-.14,332.04c-1.39,37.18-32.2,67.02-69.94,67.02-11.32,0-22.48-2.75-32.5-8.01,13.18,18.24,34.31,29.04,56.82,29.04M472.16,133.74v-18.46c-22.41.02-44.35-6.46-63.14-18.65,16.5,18.86,38.65,31.88,63.16,37.11",1,"cls-1"],["d","M406.54,101.34c-18.33-20.71-28.45-47.41-28.46-75.06h-22.28c5.89,30.93,24.24,58.07,50.74,75.06M200.76,263.43c-38.6.05-69.87,30.99-69.91,69.18.08,25.81,14.53,49.42,37.47,61.24-8.59-11.7-13.22-25.83-13.23-40.34.04-38.2,31.31-69.16,69.91-69.2,7.22,0,14.11,1.18,20.64,3.2v-84.02c-6.84-.96-13.73-1.46-20.64-1.5-1.21,0-2.4.08-3.6.09v64.54c-6.68-2.1-13.64-3.18-20.64-3.2",1,"cls-3"],["d","M461.06,144.42v64.12c-41.47.06-81.92-12.84-115.69-36.9v167.6c0,83.72-68.66,151.82-153.04,151.82-32.62,0-62.87-10.21-87.72-27.53,29,30.96,69.53,48.51,111.95,48.47,84.4,0,153.06-68.11,153.06-151.81v-167.61c33.78,24.06,74.23,36.95,115.69,36.89v-82.48c-8.15,0-16.28-.86-24.25-2.56",1,"cls-3"],["d","M353.75,333.73v-167.88c34.76,24.16,76.1,37.07,118.43,36.97v-64.19c-24.89-5.15-47.48-18.12-64.48-37.02-27.2-17.16-45.97-44.37-51.93-75.33h-62.32l-.13,331.02c-1.44,37.07-32.88,66.82-71.41,66.82-23.03-.03-44.61-10.79-58.02-28.93-23.55-11.99-38.32-35.65-38.33-61.46.04-38.33,32.03-69.38,71.55-69.43,7.35,0,14.41,1.18,21.11,3.22v-64.76c-84.69,1.93-152.98,69.31-152.98,151.94,0,39.97,16,76.35,42.07,103.51,26.47,18.02,57.77,27.62,89.79,27.56,86.38,0,156.67-68.2,156.67-152.02"],["id","icon-more-vertical-dots","fill","#32323259","viewBox","0 0 512 512"],["cx","256","cy","256","r","26"],["cx","256","cy","346","r","26"],["cx","256","cy","166","r","26"],["d","M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z","fill","none","stroke","#32323259","stroke-miterlimit","10","stroke-width","32"],["id","icon-chevron-left","viewBox","0 0 18 33"],["d","M1.4 16.6952L0.774509 17.2606L15.7745 32.6882L18 30.6765L4.40625 16.6952L18 2.71385L15.7745 0.702087L0.774508 16.1297L1.4 16.6952Z"],["id","icon-chevron-right","viewBox","0 0 18 33"],["d","M16.6 16.6952L17.2255 17.2606L2.22549 32.6882L0 30.6765L13.5938 16.6952L0 2.71385L2.22549 0.702087L17.2255 16.1297L16.6 16.6952Z"],["id","icon-comment","viewBox","0 0 511.096 511.096"],["d","M74.414 480.548H38.2l25.607-25.607c13.807-13.807 22.429-31.765 24.747-51.246C29.427 364.893 0 308.681 0 249.751 0 141.032 99.923 30.548 256.414 30.548c165.785 0 254.682 101.666 254.682 209.678 0 108.724-89.836 210.322-254.682 210.322-28.877 0-59.01-3.855-85.913-10.928-25.467 26.121-59.973 40.928-96.087 40.928z"],["id","icon-photo","viewBox","0 0 23 21"],["d","M22.102 4.05c-.6-.612-1.322-.918-2.168-.918H17.25l-.61-1.664c-.152-.4-.43-.744-.833-1.034C15.403.144 14.99 0 14.567 0H8.433c-.423 0-.836.145-1.24.434-.403.29-.68.635-.832 1.034L5.75 3.132H3.067c-.847 0-1.57.306-2.169.918A3.05 3.05 0 000 6.264v10.963c0 .865.3 1.603.898 2.214.6.612 1.322.918 2.169.918h16.866c.847 0 1.57-.306 2.169
1-.918A3.05 3.05 0 0023 17.227V6.264c0-.864-.3-1.602-.898-2.214zm-6.81 11.568c-1.05 1.073-2.314 1.61-3.792 1.61-1.477 0-2.741-.537-3.791-1.61-1.05-1.072-1.576-2.363-1.576-3.872 0-1.51.526-2.8 1.576-3.872 1.05-1.073 2.314-1.61 3.791-1.61 1.478 0 2.741.537 3.791 1.61 1.05 1.072 1.576 2.363 1.576 3.872s-.525 2.8-1.576 3.872z"],["d","M11.5 8.222c-.95 0-1.763.344-2.438 1.034a3.43 3.43 0 00-1.012 2.49c0 .97.337 1.8 1.012 2.49.675.689 1.488 1.033 2.438 1.033.95 0 1.763-.344 2.438-1.034a3.43 3.43 0 001.012-2.49c0-.97-.337-1.8-1.012-2.49-.675-.689-1.488-1.033-2.438-1.033z"],["id","icon-search","viewBox","0 0 451 451"],["d","M447.05 428l-109.6-109.6c29.4-33.8 47.2-77.9 47.2-126.1C384.65 86.2 298.35 0 192.35 0 86.25 0 .05 86.3.05 192.3s86.3 192.3 192.3 192.3c48.2 0 92.3-17.8 126.1-47.2L428.05 447c2.6 2.6 6.1 4 9.5 4s6.9-1.3 9.5-4c5.2-5.2 5.2-13.8 0-19zM26.95 192.3c0-91.2 74.2-165.3 165.3-165.3 91.2 0 165.3 74.2 165.3 165.3s-74.1 165.4-165.3 165.4c-91.1 0-165.3-74.2-165.3-165.4z"],["id","icon-share","viewBox","0 0 424.96 424.96"],["d","M340.48 300.587c-16.213 0-30.827 6.293-41.92 16.427l-152-88.64c1.173-4.8 1.92-9.813 1.92-14.933s-.747-10.133-1.92-14.933l150.4-87.787c11.413 10.667 26.667 17.28 43.52 17.28 35.307 0 64-28.693 64-64s-28.693-64-64-64-64 28.693-64 64c0 5.12.747 10.133 1.92 14.933L128 166.72c-11.413-10.667-26.667-17.28-43.52-17.28-35.307 0-64 28.693-64 64s28.693 64 64 64c16.853 0 32.107-6.613 43.52-17.28l152 88.64c-1.067 4.48-1.707 9.173-1.707 13.973 0 34.347 27.84 62.187 62.187 62.187s62.187-27.84 62.187-62.187-27.84-62.186-62.187-62.186z"],["id","icon-video","viewBox","0 0 34 20"],["d","M32.584 1.262a2.255 2.255 0 00-2.502.51l-4.372 4.48V3.52c0-1.943-1.539-3.52-3.437-3.52H3.437C1.54 0 0 1.577 0 3.521v12.958C0 18.423 1.539 20 3.437 20h18.836c1.898 0 3.437-1.577 3.437-3.521v-2.73l4.372 4.48c.44.449 1.026.688 1.624.688.295 0 .594-.059.878-.18A2.352 2.352 0 0034 16.567V3.434c0-.95-.56-1.808-1.416-2.172zm-16.43 9.65L11.47 14.6a1.104 1.104 0 01-1.18.12 1.153 1.153 0 01-.627-1.032V6.313c0-.439.243-.838.627-1.032a1.1 1.1 0 011.18.12l4.685 3.687c.277.217.439.555.439.912s-.162.694-.439.912z"],["id","icon-diamond","viewBox","0 0 24 24"],["d","M12 22.935a.503.503 0 01-.383-.178L.117 9.137a.497.497 0 01-.056-.56l4.032-7.32a.501.501 0 01.438-.26h14.938c.183 0 .351.1.438.26l4.031 7.32c.1.18.077.403-.056.56l-11.5 13.62a.5.5 0 01-.382.178zM1.104 8.756L12 21.662 22.896 8.756l-3.723-6.762H4.827L1.104 8.756z"],["d","M23.25 9.473H.75a.5.5 0 110-.997h22.5a.5.5 0 110 .997z"],["d","M17.062 9.193a.498.498 0 01-.409-.212l-4.65-6.615-4.593 6.58a.5.5 0 01-.82-.57l5-7.165a.499.499 0 01.819-.001l5.062 7.198a.497.497 0 01-.409.785z"],["d","M12 22.935a.5.5 0 01-.471-.331L4.06 1.664a.5.5 0 01.942-.336L12 20.948l6.998-19.62a.5.5 0 01.942.335l-7.469 20.94a.5.5 0 01-.471.332z"],["id","icon-crown","viewBox","0 0 24 20"],["d","M23.6649 4.17555C23.5226 4.12421 23.3647 4.13904 23.2345 4.21618H23.2396L16.8705 7.92807L12.4284 1.06209C12.2765 0.826863 11.9626 0.759293 11.7273 0.911293C11.6669 0.950275 11.6155 1.00174 11.5765 1.06209L7.13441 7.92807L0.765367 4.21618C0.524373 4.0735 0.213337 4.15324 0.0707186 4.39423C-0.00635897 4.52449 -0.0212547 4.68232 0.0300881 4.82469L5.00463 18.8305C5.0755 19.0332 5.26648 19.1693 5.4813 19.1702H18.5236C18.7384 19.1694 18.9294 19.0332 19.0003 18.8305L23.9698 4.82469C24.0648 4.56119 23.9284 4.27057 23.6649 4.17555ZM18.1687 18.156H5.83626L4.90322 15.585H19.1017L18.1687 18.156ZM19.4364 14.5709H4.56854L1.44994 5.78809L7.02792 9.04867C7.2615 9.18413 7.56024 9.11275 7.70742 8.8864L11.9873 2.29425L16.2671 8.8864C16.4143 9.11275 16.713 9.18413 16.9466 9.04867L22.5246 5.78809L19.4364 14.5709Z"],["id","icon-standard","viewBox","0 0 24 24"],["d","M20.4853 3.51469C18.2188 1.24823 15.2053 0 12 0C8.79469 0 5.78123 1.24823 3.51469 3.51469C1.24823 5.78123 0 8.79469 0 12C0 15.2053 1.24823 18.2188 3.51469 20.4853C5.78123 22.7518 8.79469 24 12 24C15.2053 24 18.2188 22.7518 20.4853 20.4853C22.7518 18.2188 24 15.2053 24 12C24 8.79469 22.7518 5.78123 20.4853 3.51469ZM12 22.5938C6.15858 22.5938 1.40625 17.8414 1.40625 12C1.40625 6.15858 6.15858 1.40625 12 1.40625C17.8414 1.40625 22.5938 6.15858 22.5938 12C22.5938 17.8414 17.8414 22.5938 12 22.5938Z"],["d","M19.7 9.41215C19.6173 9.15762 19.3973 8.97209 19.1324 8.93361L14.6397 8.28078L12.6306 4.20973C12.5121 3.96973 12.2677 3.81781 12.0001 3.81781C11.7324 3.81781 11.488 3.96978 11.3695 4.20973L9.36038 8.28078L4.8677 8.93361C4.60285 8.97209 4.38282 9.15762 4.3
10013 9.41215C4.2174 9.66669 4.2864 9.94611 4.47802 10.1329L7.72895 13.3018L6.96151 17.7763C6.91627 18.0401 7.0247 18.3067 7.24121 18.464C7.45777 18.6213 7.74479 18.6421 7.9817 18.5175L12 16.405L16.0184 18.5175C16.1212 18.5716 16.2336 18.5983 16.3455 18.5983C16.4913 18.5983 16.6364 18.553 16.7589 18.464C16.9754 18.3067 17.0838 18.0401 17.0386 17.7763L16.2711 13.3018L19.522 10.1329C19.7137 9.94615 19.7827 9.66673 19.7 9.41215ZM15.0249 12.5528C14.8591 12.7144 14.7835 12.9471 14.8226 13.1752L15.4117 16.6098L12.3272 14.9883C12.2248 14.9344 12.1124 14.9075 12 14.9075C11.8876 14.9075 11.7752 14.9344 11.6728 14.9883L8.58831 16.6099L9.17738 13.1752C9.21648 12.9471 9.14087 12.7144 8.97516 12.5529L6.47973 10.1204L9.92832 9.61934C10.1573 9.58606 10.3553 9.4422 10.4577 9.23469L12 6.10967L13.5422 9.23464C13.6447 9.44215 13.8427 9.58601 14.0716 9.61929L17.5202 10.1204L15.0249 12.5528Z"],["id","icon-queen","viewBox","0 0 17 24"],["d","M14.9434 20.8302H1.35848C0.609516 20.8302 0 21.4397 0 22.1887V22.6415C0 23.3905 0.609516 24 1.35848 24H14.9434C15.6923 24 16.3019 23.3905 16.3019 22.6415V22.1887C16.3019 21.4397 15.6924 20.8302 14.9434 20.8302ZM15.3962 22.6415C15.3962 22.8911 15.1934 23.0943 14.9434 23.0943H1.35848C1.10897 23.0943 0.905672 22.891 0.905672 22.6415V22.1887C0.905672 21.9392 1.10902 21.7359 1.35848 21.7359H14.9434C15.1934 21.7359 15.3962 21.9393 15.3962 22.1887V22.6415H15.3962Z"],["d","M12.6793 19.0189H3.62264C2.87368 19.0189 2.26416 19.6284 2.26416 20.3774C2.26416 21.1264 2.87368 21.7359 3.62264 21.7359H12.6793C13.4282 21.7359 14.0378 21.1264 14.0378 20.3774C14.0378 19.6284 13.4282 19.0189 12.6793 19.0189ZM12.6793 20.8302H3.62264C3.37313 20.8302 3.16983 20.6269 3.16983 20.3774C3.16983 20.1279 3.37318 19.9246 3.62264 19.9246H12.6793C12.9293 19.9246 13.1321 20.1279 13.1321 20.3774C13.1321 20.6269 12.9292 20.8302 12.6793 20.8302Z"],["d","M12.6793 7.698H3.62264C2.87368 7.698 2.26416 8.30751 2.26416 9.05648C2.26416 9.80545 2.87368 10.415 3.62264 10.415H12.6793C13.4282 10.415 14.0378 9.80545 14.0378 9.05648C14.0378 8.30751 13.4282 7.698 12.6793 7.698ZM12.6793 9.50934H3.62264C3.37313 9.50934 3.16983 9.30599 3.16983 9.05653C3.16983 8.80701 3.37318 8.60371 3.62264 8.60371H12.6793C12.9293 8.60371 13.1321 8.80706 13.1321 9.05653C13.1321 9.30599 12.9292 9.50934 12.6793 9.50934Z"],["d","M10.8679 5.88684H5.43401C5.18403 5.88684 4.9812 6.08972 4.9812 6.33965V8.15095C4.9812 8.40094 5.18408 8.60376 5.43401 8.60376H10.8679C11.1179 8.60376 11.3208 8.40089 11.3208 8.15095V6.33965C11.3208 6.08972 11.1179 5.88684 10.8679 5.88684ZM10.4151 7.69814H5.88682V6.79247H10.4151V7.69814Z"],["d","M12.1413 13.426C11.9008 12.7848 11.7736 11.7184 11.7736 10.3418V9.96233C11.7736 9.71235 11.5708 9.50952 11.3208 9.50952H4.98116C4.73118 9.50952 4.52835 9.7124 4.52835 9.96233V10.3418C4.52835 11.7184 4.40156 12.7848 4.16109 13.426C3.80381 14.3788 3.62268 15.3709 3.62268 16.3753V19.4718C3.62268 19.7218 3.82556 19.9246 4.07549 19.9246H12.2264C12.4764 19.9246 12.6793 19.7217 12.6793 19.4718V16.3753C12.6793 15.3709 12.4986 14.3788 12.1413 13.426ZM11.7736 19.0189H4.52835L4.52882 16.3753C4.52882 15.4796 4.69091 14.5943 5.00971 13.7439C5.28684 13.004 5.42994 11.8842 5.43445 10.4152H10.8684C10.8725 11.8842 11.0156 13.004 11.2931 13.7439C11.6119 14.5943 11.7736 15.4796 11.7736 16.3753V19.0189H11.7736Z"],["d","M13.1321 0H11.3208C11.0708 0 10.8679 0.202875 10.8679 0.452812V1.8113H9.50946V0.452812C9.50946 0.202828 9.30659 0 9.05665 0H7.24531C6.99532 0 6.79249 0.202875 6.79249 0.452812V1.8113H5.43401V0.452812C5.43401 0.202828 5.23113 0 4.9812 0H3.16985C2.91987 0 2.71704 0.202875 2.71704 0.452812V4.07545C2.71704 4.19545 2.76457 4.31048 2.84974 4.39561L5.1139 6.65977C5.19856 6.74489 5.31406 6.79242 5.43406 6.79242H10.868C10.988 6.79242 11.103 6.74489 11.1882 6.65977L13.4523 4.39561C13.5374 4.31095 13.585 4.19545 13.585 4.07545V0.452812C13.5849 0.202875 13.382 0 13.1321 0ZM12.6788 3.888L10.68 5.8868H5.62142L3.62215 3.888V0.905672H4.52782V2.26416C4.52782 2.51414 4.7307 2.71697 4.98063 2.71697H7.24479C7.49478 2.71697 7.6976 2.51409 7.6976 2.26416V0.905672H8.60327V2.26416C8.60327 2.51414 8.80615 2.71697 9.05609 2.71697H11.3202C11.5702 2.71697 11.7731 2.51409 11.7731 2.26416V0.905672H12.6787V3.888H12.6788Z"],["id","icon-like","viewBox","0 0 456.814 456.814"],["d","M441.11 252.677c10.468-11.99 15.704-26.169 15.704-42.54 0-14.846-5.432-27.692-16.259-38.547-10.849-10.854-23.695-16.278-38.541-16.278h-79.082c.76-2.664 1.522-4.948 2.282-6.851.753-1.903 1.811-3.999 3.138-6.283 1.328-2.285 2.283-3.999 2.852-5.139 3.425-6.468 6.047-11.801 7.857-15.985 1.807-4.192 3.606-9.9 5.42-17.133 1.811-7.229 2.711-14.465 2.711-21.698 0-4.566-.055-8.281-.145-11.134-.089-2.855-.574-7.139-1.423-12.85-.862-5.708-2.006-10.467-3.43-14.272-1.43-3.806-3.716-8.092-6.851-12.847-3.142-4.764-6.947-8.613-11.424-11.565-4.476-2.95-10.184-5.424-17.131-7.421-6.954-1.999-14.801-2.998-23.562-2.998-4.948 0-9.227 1.809-12.847 5.426-3.806 3.806-7.047 8.564-9.709 14.272-2.666 5.711-4.523 10.66-5.571 14.849-1.047 4.187-2.238 9.994-3.565 17.415-1.719 7.998-2.998 13.752-3.86 17.273-.855 3.521-2.525 8.136-4.997 13.845-2.477 5.713-5.424 10.278-8.851 13.706-6.28 6.28-15.891 17.701-28.837 34.259-9.329 12.18-18.94 23.695-28.837 34.545-9.899 10.852-17.131 16.466-21.698 16.847-4.755.38-8.848 2.331-12.275 5.854-3.427 3.521-5.14 7.662-5.14 12.419v183.01c0 4.949 1.807 9.182 5.424 12.703 3.615 3.525 7.898 5.38 12.847 5.571 6.661.191 21.698 4.374 45.111 12.566 14.654 4.941 26.12 8.706 34.4 11.272 8.278 2.566 19.849 5.328 34.684 8.282 14.849 2.949 28.551 4.428 41.11 4.428h36.831c25.321-.38 44.061-7.806 56.247-22.268 11.036-13.135 15.697-30.361 13.99-51.679 7.422-7.042 12.565-15.984 15.416-26.836 3.231-11.604 3.231-22.74 0-33.397 8.754-11.611 12.847-24.649 12.272-39.115.024-6.097-1.4-13.328-4.261-21.706zM100.5 191.864H18.276c-4.952 0-9.235 1.809-12.851 5.426C1.809 200.905 0 205.188 0 210.137v182.732c0 4.942 1.809 9.227 5.426 12.847 3.619 3.611 7.902 5.421 12.851 5.421H100.5c4.948 0 9.229-1.81 12.847-5.421 3.616-3.62 5.424-7.904 5.424-12.847V210.137c0-4.949-1.809-9.231-5.424-12.847-3.617-3.618-7.898-5.426-12.847-5.426zM67.665 369.308c-3.616 3.521-7.898 5.281-12.847 5.281-5.14 0-9.471-1.76-12.99-5.281-3.521-3.521-5.281-7.85-5.281-12.99 0-4.948 1.759-9.232 5.281-12.847 3.52-3.617 7.85-5.428 12.99-5.428 4.949 0 9.231 1.811 12.847 5.428 3.617 3.614 5.426 7.898 5.426 12.847 0 5.14-1.805 9.468-5.426 12.99z"],["id","icon-dislike","viewBox","0 0 456.824 456.824"],["d","M100.5 45.683H18.276c-4.949 0-9.231 1.809-12.851 5.426C1.809 54.724 0 59.007 0 63.954v182.729c0 4.948 1.809 9.233 5.426 12.847 3.616 3.614 7.898 5.425 12.851 5.425H100.5c4.948 0 9.229-1.811 12.847-5.425 3.616-3.613 5.424-7.898 5.424-12.847V63.954c0-4.947-1.809-9.229-5.424-12.845-3.617-3.618-7.898-5.426-12.847-5.426zm-32.835 67.668c-3.616 3.617-7.898 5.424-12.847 5.424-5.14 0-9.471-1.807-12.99-5.424-3.521-3.617-5.281-7.898-5.281-12.85 0-5.137 1.759-9.469 5.281-12.991 3.52-3.521 7.85-5.28 12.99-5.28 4.949 0 9.231 1.759 12.847 5.28 3.621 3.521 5.426 7.854 5.426 12.991 0 4.948-1.809 9.229-5.426 12.85zM441.106 204.141c2.861-8.376 4.281-15.608 4.261-21.693.575-14.466-3.519-27.504-12.279-39.114 3.237-10.66 3.237-21.797 0-33.407-2.847-10.85-7.994-19.792-15.413-26.835 1.711-21.32-2.95-38.543-13.99-51.678-12.183-14.465-30.929-21.892-56.246-22.27H310.61c-12.56 0-26.269 1.475-41.114 4.425-14.838 2.952-26.405 5.713-34.68 8.282-8.28 2.568-19.75 6.328-34.403 11.276-23.413 8.183-38.45 12.371-45.111 12.56-4.949.193-9.231 2.046-12.847 5.569-3.617 3.518-5.426 7.755-5.426 12.703V246.97c0 4.757 1.718 8.898 5.142 12.416 3.424 3.524 7.517 5.476 12.275 5.858 4.565.384 11.799 5.996 21.698 16.844 9.9 10.849 19.511 22.368 28.836 34.551 12.944 16.553 22.558 27.973 28.837 34.256 3.424 3.422 6.37 7.99 8.848 13.702 2.472 5.708 4.142 10.324 5.
1004 13.846.855 3.519 2.135 9.274 3.856 17.275 1.328 7.419 2.519 13.227 3.569 17.412 1.047 4.188 2.898 9.137 5.564 14.845 2.67 5.716 5.903 10.469 9.712 14.274 3.614 3.62 7.898 5.431 12.847 5.431 8.761 0 16.604-.999 23.559-2.998 6.947-1.998 12.655-4.469 17.131-7.419 4.477-2.957 8.282-6.803 11.424-11.566 3.142-4.757 5.424-9.042 6.851-12.848 1.431-3.812 2.574-8.562 3.426-14.27.855-5.716 1.338-10 1.431-12.854.093-2.854.144-6.563.144-11.136 0-7.228-.948-14.51-2.851-21.84-1.909-7.323-3.72-12.895-5.428-16.707-1.711-3.806-4.281-9.227-7.706-16.269-.575-1.144-1.523-2.861-2.854-5.144-1.328-2.283-2.382-4.381-3.142-6.283-.763-1.902-1.522-4.186-2.279-6.852h79.086c14.843 0 27.645-5.428 38.397-16.279 10.756-10.848 16.228-23.694 16.419-38.54-.014-16.744-5.25-30.925-15.719-42.534z"],["id","icon-close","viewBox","0 0 16 16"],["d","M8.938 7.995l6.858 6.859a.666.666 0 11-.942.942L7.996 8.938l-6.859 6.858a.666.666 0 01-.942-.942l6.858-6.859L.195 1.137a.666.666 0 01.942-.942l6.859 6.858L14.854.195a.666.666 0 01.942.942L8.938 7.995z"],["id","icon-check-mark","viewBox","0 0 490.05 490.05"],["d","M418.275 418.275c95.7-95.7 95.7-250.8 0-346.5s-250.8-95.7-346.5 0-95.7 250.8 0 346.5 250.9 95.7 346.5 0zm-261.1-210.7l55.1 55.1 120.7-120.6 42.7 42.7-120.6 120.6-42.8 42.7-42.7-42.7-55.1-55.1 42.7-42.7z"],["id","icon-error-triangle","viewBox","0 0 483.537 483.537"],["d","M479.963 425.047L269.051 29.854a30.358 30.358 0 0 0-26.782-16.081h-.03a30.366 30.366 0 0 0-26.782 16.051L3.603 425.016c-5.046 9.485-4.773 20.854.699 29.974 5.502 9.15 15.413 14.774 26.083 14.774H453.12a30.371 30.371 0 0 0 26.083-14.774c5.502-9.15 5.776-20.519.76-29.943zm-237.724-16.082c-16.781 0-30.399-13.619-30.399-30.399s13.619-30.399 30.399-30.399c16.75 0 30.399 13.619 30.399 30.399s-13.618 30.399-30.399 30.399zm30.43-121.111c0 16.811-13.649 30.399-30.399 30.399-16.781 0-30.399-13.589-30.399-30.399V166.256c0-16.781 13.619-30.399 30.399-30.399 16.75 0 30.399 13.619 30.399 30.399v121.598z"],["id","icon-lock","viewBox","0 0 530.91 530.91"],["d","M73.762 530.91h383.381c19.076 0 34.541-15.465 34.541-34.541V216.611c0-19.076-15.465-34.542-34.541-34.542h-6.634C448.856 81.402 366.506 0 265.452 0 164.399 0 82.048 81.402 80.402 182.07h-6.634c-19.076 0-34.541 15.465-34.541 34.542v279.764c0 19.069 15.459 34.534 34.535 34.534zm225.246-172.59v83.85c0 16.896-13.702 30.6-30.6 30.6h-5.918c-16.897 0-30.6-13.703-30.6-30.6v-83.85c-17.962-11.219-29.958-31.107-29.958-53.85 0-35.074 28.434-63.514 63.513-63.514s63.513 28.434 63.513 63.514c.008 22.743-11.987 42.632-29.95 53.85zM265.452 73.44c60.551 0 109.891 48.464 111.537 108.63H153.915c1.647-60.159 50.986-108.63 111.537-108.63z"],["id","icon-hat","viewBox","0 0 512 512"],["d","M422.675 326.069c3.463-92.091 12.706-185.587 28.12-278.094.145-1.148.189-2.269.137-3.362C448.881 2.222 301.101.5 256 .5c-72.832 0-195 5.845-195 45 0 1.161.526 4.374.615 4.907 15.095 90.612 24.269 183.675 27.715 275.66C32.459 345.573 0 373.823 0 406.5c0 68.203 132.382 105 256 105s256-36.797 256-105c0-32.675-32.458-60.925-89.325-80.431zM391 403.984c-10.43 6.914-57.539 18.516-135 18.516s-124.57-11.602-135-18.516c-.015-9.326-.485-18.677-.621-28.011C160.115 390.901 229.131 392.5 256 392.5s95.885-1.599 135.621-16.527c-.136 9.335-.606 18.686-.621 28.011zM256 60.5c-79.028 0-130.972-8.027-154.072-15 23.101-6.973 75.044-15 154.072-15s130.972 8.027 154.072 15c-23.1 6.973-75.044 15-154.072 15z"],["id","icon-adult","viewBox","0 0 328.863 328.863"],["d","M104.032 220.434V131.15h-20.64v-22.88h49.121v112.164h-28.481zM239.552 137.23c0 9.76-5.28 18.4-14.08 23.201 12.319 5.119 20 15.84 20 28.32 0 20.16-17.921 32.961-45.921 32.961-28.001 0-45.921-12.641-45.921-32.48 0-12.801 8.32-23.682 21.28-28.801-9.44-5.281-15.52-14.24-15.52-24 0-17.922 15.681-29.281 40.001-29.281 24.64 0 40.161 11.68 40.161 30.08zm-59.042 49.122c0 9.441 6.721 14.721 19.041 14.721s19.2-5.119 19.2-14.721c0-9.279-6.88-14.561-19.2-14.561-12.321 0-19.041 5.281-19.041 14.561zm2.881-47.522c0 8.002 5.76 12.48 16.16 12.48s16.16-4.479 16.16-12.48c0-8.318-5.76-12.959-16.16-12.959-10.401 0-16.16 4.641-16.16 12.959z"],["d","M292.864 120.932c4.735 13.975 7.137 28.592 7.137 43.5 0 74.752-60.816 135.568-135.569 135.568s-135.57-60.816-135.57-135.568c0-74.754 60.816-135.568 135.569-135.568 14.91 0 29.527 2.4 43.5 7.137V5.832C193.817 1.963 179.24 0 164.432 0 73.765 0 .001 73.764.001 164.432s73.764 164.432 164.431 164.432 164.43-73.764 164.43-164.432c0-14.807-1.962-29.385-5.831-43.5h-30.167z"],["d","M284.659 44.111V12.582h-22.672v31.529h-31.34v22.67h31.34v31.528h22.672V66.781h31.527v-22.67z"],["id","icon-eye","viewBox","0 0 20 13"],["d","M10.0001 3.21875C8.22433 3.21875 6.78149 4.66159 6.78149 6.43739C6.78149 8.2132 8.22433 9.65604 10.0001 9.65604C11.7759 9.65604 13.2188 8.2132 13.2188 6.43739C13.2188 4.66159 11.7759 3.21875 10.0001 3.21875ZM9.75596 5.4829C9.35641 5.4829 9.02345 5.81586 9.02345 6.21542H7.95796C7.98016 5.21653 8.77927 4.41742 9.75596 4.41742V5.4829Z"],["d","M19.7669 5.77136C18.6792 4.41731 14.7947 0 10 0C5.20533 0 1.32075 4.41731 0.233074 5.77136C-0.0776914 6.14872 -0.0776914 6.70366 0.233074 7.10322C1.32075 8.45727 5.20533 12.8746 10 12.8746C14.7947 12.8746 18.6792 8.45727 19.7669 7.10322C20.0777 6.72586 20.0777 6.17092 19.7669 5.77136ZM10 11.0988C7.42508 11.0988 5.33851 9.01221 5.33851 6.43729C5.33851 3.86238 7.42508 1.7758 10 1.7758C12.5749 1.7758 14.6615 3.86238 14.6615 6.43729C14.6615 9.01221 12.5749 11.0988 10 11.0988Z"],["
1id","icon-menu_main","viewBox","0 0 21 20"],["d","M20.105 8.128l-9.294-6.942a.501.501 0 0 0-.602 0L.914 8.128a.526.526 0 0 0-.11.726.503.503 0 0 0 .712.112L10.51 2.25l8.993 6.716a.5.5 0 0 0 .712-.112.526.526 0 0 0-.11-.726z"],["d","M17.642 9.084a.515.515 0 0 0-.51.52v8.27h-4.075V13.36c0-1.433-1.143-2.599-2.547-2.599-1.405 0-2.548 1.166-2.548 2.599v4.515H3.887V9.603a.515.515 0 0 0-.51-.52.515.515 0 0 0-.51.52v8.792c0 .287.229.52.51.52h5.095a.513.513 0 0 0 .51-.52V13.36c0-.86.685-1.56 1.528-1.56s1.528.7 1.528 1.56v5.035l.002.04c.02.268.24.48.508.48h5.094c.282 0 .51-.233.51-.52V9.603a.515.515 0 0 0-.51-.52z"],["id","icon-menu_vacancy","viewBox","0 0 18 20","fill","none"],["clip-path","url(#clip0_504_539)"],["d","M13.6508 2.7998H16.1905C16.8889 2.7998 17.4604 3.35365 17.4604 4.03057V18.1844C17.4604 18.8613 16.8889 19.4152 16.1905 19.4152H1.58735C0.888933 19.4152 0.317505 18.8613 0.317505 18.1844V4.03057C0.317505 3.35365 0.888933 2.7998 1.58735 2.7998H4.12703","stroke","#323232","stroke-width","0.5"],["d","M7.61915 5.87695L5.07947 13.9077L6.66677 14.4616","stroke","#323232","stroke-width","0.5"],["d","M7.87311 4.55373C7.5874 4.55373 7.36517 4.33835 7.36517 4.0922L7.11121 2.92296C7.11121 2.67681 7.33343 2.46143 7.61914 2.46143H10.1588C10.4445 2.46143 10.6668 2.67681 10.6668 2.92296L10.4128 4.0922C10.4128 4.33835 10.1906 4.55373 9.90486 4.55373","stroke","#323232","stroke-width","0.5"],["d","M9.65083 5.47681C9.93655 5.47681 10.1588 5.69219 10.1588 5.93835L11.4286 16.923C11.4286 17.1691 8.88893 18.646 8.88893 18.646C8.88893 18.646 6.34924 17.1999 6.34924 16.923L7.61908 5.93835C7.61908 5.69219 7.84131 5.47681 8.12702 5.47681","stroke","#323232","stroke-width","0.5"],["fill-rule","evenodd","clip-rule","evenodd","d","M8.44445 5.87685C8.09525 5.87685 7.96826 5.69223 7.96826 5.47685V4.70762C7.96826 4.49223 8.09525 4.30762 8.44445 4.30762H9.36509C9.71429 4.30762 9.84128 4.49223 9.84128 4.70762V5.47685C9.84128 5.69223 9.71429 5.87685 9.36509 5.87685H8.44445Z","stroke","#323232","stroke-width","0.5"],["d","M12.0636 0.646071L10.7937 2.49223L12.6985 4.95376C13.1112 4.95376 13.6509 2.43069 13.6509 2.43069C13.6509 2.43069 12.6033 0.646071 12.1906 0.646071C12.1906 0.646071 10.7937 0.338379 8.88898 0.338379C6.98422 0.338379 5.58739 0.646071 5.58739 0.646071C5.17469 0.646071 4.12708 2.43069 4.12708 2.43069C4.12708 2.43069 4.66676 4.95376 5.07946 4.95376L7.30168 2.49223L5.71438 0.646071","stroke","#323232","stroke-width","0.5"],["id","clip0_504_539"],["width","17.7778","height","20","fill","white"],["id","icon-burger-menu","viewBox","0 0 20 20","fill","none"],["y1","16.4412","x2","20","y2","16.4412","stroke","black"],["y1","9.9707","x2","20","y2","9.9707","stroke","black"],["y1","3.5","x2","20","y2","3.5","stroke","black"],["id","icon-menu_news","viewBox","0 0 22 21","fill","none"],["fill-rule","evenodd","clip-rule","evenodd","d","M4.19703 1H18.1004C19.6617 1 21 2.64917 21 4.57319V11.5363C21 13.4604 19.6617 15.0179 18.1004 15.1095V19.0492C18.1004 19.4157 17.6543 19.9654 17.0595 19.1408L14.1599 15.1095H3.89963C2.33829 15.1095 1 13.4604 1 11.5363V4.57319C1 2.64917 2.56134 1 4.19703 1Z","stroke","#323232"],["id","icon-menu_handbook","viewBox","0 0 17 20"],["d","M2.552 5.848c-.072 0-.141.03-.192.085a.298.298 0 0 0-.08.204v.816h-.463c-.275 0-.538.116-.732.323a1.14 1.14 0 0 0-.304.78c0 .292.11.572.303.779.195.206.458.322.733.322h1.47c.274 0 .537-.116.732-.322a1.14 1.14 0 0 0 .303-.78c0-.292-.11-.572-.303-.78a1.005 1.005 0 0 0-.733-.322h-.463v-.816a.298.298 0 0 0-.08-.204.263.263 0 0 0-.191-.085zM3.78 8.055c0 .14-.052.273-.145.372a.48.48 0 0 1-.348.154h-1.47a.48.48 0 0 1-.35-.154.543.543 0 0 1-.144-.372c0-.14.052-.273.145-.372a.48.48 0 0 1 .349-.153h1.47a.48.48 0 0 1 .348.154.544.544 0 0 1 .145.371z"],["d","M15.58.6H3.346c-.283.001-.553.12-.753.333-.2.213-.312.501-.312.801v1.33h-.464c-.275 0-.538.116-.732.322a1.14 1.14 0 0 0-.304.78c0 .292.11.572.303.78.195.206.458.322.733.322h1.47c.274 0 .537-.116.732-.323a1.14 1.14 0 0 0 .303-.78c0-.292-.11-.572-.303-.779a1.005 1.005 0 0 0-.733-.322h-.463v-1.33c0-.147.055-.289.153-.393a.508.508 0 0 1 .37-.164H15.58c.138 0 .271.06.37.164a.576.5
176 0 0 1 .153.393v16.531c0 .148-.055.29-.154.394a.509.509 0 0 1-.37.164H3.347a.508.508 0 0 1-.37-.164.576.576 0 0 1-.153-.393v-1.33h.464c.274 0 .538-.116.732-.322a1.14 1.14 0 0 0 .303-.78c0-.292-.11-.572-.303-.78a1.005 1.005 0 0 0-.732-.322h-.464v-.84a.298.298 0 0 0-.08-.204.263.263 0 0 0-.191-.084c-.072 0-.141.03-.192.084a.298.298 0 0 0-.08.204v.84h-.463c-.275 0-.538.117-.732.323a1.14 1.14 0 0 0-.304.78c0 .292.11.572.303.779.195.207.458.323.733.323h.464v1.329c0 .3.112.588.312.801.2.212.47.332.753.332H15.58c.282 0 .553-.12.752-.332.2-.213.312-.5.313-.801V1.735c0-.301-.113-.59-.313-.802-.2-.212-.47-.332-.752-.332zM3.78 4.167c0 .139-.052.272-.145.37a.48.48 0 0 1-.348.155h-1.47a.479.479 0 0 1-.35-.154.543.543 0 0 1-.144-.372c0-.139.052-.273.145-.371a.479.479 0 0 1 .349-.154h1.47a.48.48 0 0 1 .348.154.544.544 0 0 1 .145.372zM1.323 15.834c0-.139.052-.272.145-.37a.48.48 0 0 1 .349-.155h1.47a.48.48 0 0 1 .348.154.543.543 0 0 1 .145.372c0 .139-.052.273-.145.371a.48.48 0 0 1-.349.154h-1.47a.48.48 0 0 1-.348-.154.544.544 0 0 1-.145-.372z"],["d","M1.817 13.047h1.47c.274 0 .537-.116.732-.323a1.14 1.14 0 0 0 .303-.78c0-.292-.11-.572-.303-.779a1.005 1.005 0 0 0-.733-.322h-.463V10a.298.298 0 0 0-.08-.204.263.263 0 0 0-.191-.084c-.072 0-.141.03-.192.084a.298.298 0 0 0-.08.204v.843h-.463c-.275 0-.538.116-.732.322a1.14 1.14 0 0 0-.304.78c0 .292.11.572.303.78.195.206.458.322.733.322zm0-1.628h1.47a.48.48 0 0 1 .348.154.543.543 0 0 1 .145.372c0 .14-.052.273-.145.371a.48.48 0 0 1-.349.154h-1.47a.48.48 0 0 1-.348-.154.543.543 0 0 1-.145-.371c0-.14.052-.273.145-.372a.48.48 0 0 1 .349-.154z"],["id","icon-menu_dosug","viewBox","0 0 25 22"],["d","M18.784 8.553H5.058c-.81 0-1.47.601-1.47 1.34v.892c0 3.186 1.932 6.076 5.042 7.54.24.113.536.028.66-.191s.031-.489-.21-.602c-2.782-1.31-4.512-3.896-4.512-6.747v-.893c0-.246.22-.446.49-.446h13.726c.27 0 .49.2.49.447v.892c0 2.851-1.729 5.436-4.512 6.746-.242.113-.335.383-.211.602a.522.522 0 0 0 .66.192c3.111-1.465 5.044-4.353 5.044-7.54v-.893c0-.738-.66-1.339-1.47-1.339z"],["d","M23.16 17.757a.494.494 0 0 0-.453-.276H1.137a.494.494 0 0 0-.452.276.417.417 0 0 0 .106.487l1.099 1.002c.649.59 1.51.915 2.426.915h15.21c.917 0 1.779-.325 2.429-.916l1.099-1.001a.417.417 0 0 0 .106-.487zm-1.9.857a2.563 2.563 0 0 1-1.733.654H4.317c-.655 0-1.271-.232-1.734-.654l-.263-.239h19.203l-.262.24zM23.228 10.661c-1.32-.773-3.43.066-3.666.164-.247.102-.356.367-.244.592.113.225.402.324.65.221.473-.195 1.989-.659 2.73-.224.334.196.498.575.498 1.157 0 1.788-3.959 2.868-5.487 3.134l-.348.063c-.265.047-.438.282-.386.524.046.212.251.36.48.36a.493.493 0 0 0 .096-.01l.344-.061c.257-.045 6.281-1.12 6.281-4.01 0-.898-.32-1.54-.948-1.91zM15.738 4.814c.797-.907.797-2.328 0-3.235a.522.522 0 0 0-.69-.07.42.42 0 0 0-.076.628c.505.574.505 1.545 0 2.12-.799.908-.799 2.328 0 3.236.096.11.239.167.383.167a.519.519 0 0 0 .306-.098.42.42 0 0 0 .076-.627c-.506-.575-.506-1.545.001-2.121zM12.793 4.814c.798-.907.798-2.328 0-3.235a.523.523 0 0 0-.69-.07.42.42 0 0 0-.076.628c.506.574.506 1.545 0 2.12-.798.908-.798 2.329 0 3.236a.52.52 0 0 0 .69.07.42.42 0 0 0 .075-.628c-.505-.574-.505-1.545 0-2.12zM9.856 4.815c.797-.907.797-2.328 0-3.235a.522.522 0 0 0-.69-.07.42.42 0 0 0-.076.627c.505.574.505 1.545-.001 2.12-.798.908-.798 2.329 0 3.236a.524.524 0 0 0 .69.07.42.42 0 0 0 .076-.627c-.506-.575-.506-1.545 0-2.121z"],["id","icon-menu_adv","viewBox","0 0 20 20"],["clip-path","url(#clip0_506_665)"],["d","M13.6107 13.8595C14.0251 14.1059 14.4548 14.2308 14.8877 14.2308C16.918 14.2308 18.5084 11.6816 18.5084 8.42703C18.5084 5.17245 16.918 2.62329 14.8877 2.62329C14.32 2.62329 13.7736 2.82968 13.2634 3.23606C12.0325 4.21879 11.267 6.2079 11.267 8.42735C11.267 10.8781 12.1871 13.0107 13.6107 13.8595ZM14.8877 3.26226C16.5317 3.26226 17.8694 5.57915 17.8694 8.42735C17.8694 11.2752 16.5317 13.5921 14.8877 13.5921C14.7829 13.5921 14.6778 13.5816 14.5723 13.5611C14.595 13.5455 14.6174 13.5266 14.6401 13.5103C14.6704 13.488 14.7005 13.465 14.7308 13.4416C14.7829 13.4004 14.8337 13.356 14.8842 13.3107C14.911 13.2857 14.9385 13.2621 14.965 13.2369C15.0228 13.181 15.0784 13.1215 15.1334 13.0599C15.1509 13.0404 15.1688 13.0231 15.1861 13.003C15.2573 12.9203 15.326 12.8334 15.3925 12.7417C15.4094 12.719 15.4247 12.6941 15.4404 12.6704C15.4896 12.5995 15.5385 12.527 15.5851 12.4512C15.6068 12.4151 15.6286 12.3778 15.65 12.3401C15.6889 12.2733 15.7273 12.2046 15.7637 12.1343C15.7854 12.0928 15.8065 12.0503 15.8273 12.0078C15.8624 11.9362 15.8963 11.8631 15.9292 11.7883C15.948 11.7455 15.9672 11.703 15.9854 11.6596C16.0202 11.5
1752 16.0528 11.4893 16.0848 11.4014C16.0982 11.365 16.1126 11.3292 16.1254 11.2922C16.1691 11.1669 16.2097 11.0391 16.2471 10.9078C16.2535 10.8858 16.2583 10.8618 16.2647 10.8398C16.295 10.7296 16.3234 10.6177 16.3493 10.5037C16.3599 10.457 16.3691 10.4088 16.379 10.3609C16.3985 10.2689 16.4164 10.1762 16.4324 10.082C16.4416 10.028 16.4503 9.97333 16.4583 9.91902C16.4723 9.82669 16.4848 9.73372 16.496 9.63979C16.5027 9.58484 16.5094 9.52989 16.5151 9.4743C16.525 9.37302 16.533 9.27015 16.5397 9.16696C16.5429 9.1184 16.5468 9.07047 16.5493 9.02159C16.5567 8.8692 16.5615 8.71585 16.5615 8.56026C16.5615 8.39157 16.5557 8.22544 16.5471 8.06058C16.5442 8.00723 16.5391 7.95484 16.5353 7.9018C16.5276 7.79062 16.518 7.6804 16.5062 7.57177C16.4995 7.51171 16.4918 7.45197 16.4838 7.39254C16.4707 7.29191 16.456 7.19255 16.4397 7.09383C16.4298 7.0344 16.4199 6.97562 16.4087 6.91715C16.3896 6.81811 16.3688 6.72067 16.3471 6.62419C16.3349 6.57115 16.3238 6.5178 16.3107 6.46572C16.2825 6.35262 16.2512 6.24304 16.2186 6.1341C16.2094 6.10183 16.2008 6.06828 16.1905 6.03634C16.1471 5.89736 16.0998 5.76222 16.0496 5.63091C16.0362 5.59545 16.0209 5.56222 16.0065 5.5274C15.9685 5.43251 15.9292 5.33858 15.8867 5.24817C15.8663 5.2028 15.8436 5.15935 15.8218 5.11494C15.7838 5.03795 15.7452 4.96223 15.7046 4.88875C15.68 4.84402 15.6551 4.80089 15.6295 4.75776C15.588 4.68748 15.5455 4.61974 15.502 4.55361C15.4758 4.51368 15.45 4.47374 15.4231 4.43572C15.3743 4.36639 15.3235 4.3009 15.2717 4.23604C15.2481 4.20633 15.2254 4.17534 15.2014 4.14659C15.1254 4.05649 15.0474 3.97119 14.9666 3.89228C14.9564 3.88174 14.9449 3.87311 14.9337 3.86321C14.8628 3.7958 14.7902 3.73222 14.7161 3.67375C14.6864 3.65075 14.6561 3.63062 14.6267 3.6089C14.5688 3.56705 14.5113 3.52711 14.4519 3.49069C14.4177 3.4696 14.3826 3.45075 14.3477 3.43158C14.3184 3.41529 14.2893 3.39612 14.2596 3.38143C14.4663 3.30283 14.6765 3.26226 14.8877 3.26226ZM13.5564 3.82455C13.581 3.8287 13.6053 3.83158 13.6296 3.83701C13.6688 3.84532 13.7078 3.8549 13.7468 3.86672C13.7896 3.87982 13.8321 3.89516 13.874 3.91209C13.912 3.92742 13.9497 3.9434 13.9871 3.96193C14.0286 3.98237 14.0698 4.00538 14.1107 4.02966C14.1474 4.05138 14.1839 4.07343 14.2196 4.09803C14.2596 4.1255 14.2992 4.15585 14.3385 4.18684C14.3733 4.21464 14.4085 4.24243 14.4426 4.2731C14.481 4.30697 14.518 4.34403 14.5554 4.38141C14.5886 4.41496 14.6225 4.44818 14.6551 4.4846C14.6912 4.52486 14.7263 4.56799 14.7615 4.61144C14.7931 4.65042 14.8247 4.68907 14.8551 4.73061C14.889 4.77693 14.9215 4.82581 14.9544 4.87469C14.9842 4.91878 15.0136 4.96191 15.0417 5.00824C15.0733 5.05999 15.1033 5.11462 15.1334 5.16862C15.1602 5.21718 15.1877 5.26478 15.2136 5.31526C15.2426 5.37213 15.2698 5.43219 15.2976 5.49162C15.3219 5.54401 15.3468 5.59545 15.3701 5.64976C15.3966 5.71174 15.4206 5.7766 15.4452 5.84113C15.4666 5.89704 15.4893 5.95199 15.5091 6.0095C15.5324 6.07627 15.5535 6.14592 15.5752 6.21493C15.5937 6.27371 15.6132 6.33154 15.6302 6.39192C15.6506 6.4638 15.6682 6.53856 15.6867 6.61236C15.702 6.67307 15.7183 6.73249 15.7324 6.79415C15.7496 6.87211 15.764 6.95261 15.779 7.03217C15.7905 7.09287 15.8036 7.15261 15.8135 7.21459C15.8276 7.29989 15.8381 7.38743 15.8496 7.47465C15.857 7.53376 15.8669 7.59158 15.873 7.65133C15.8838 7.74973 15.8909 7.85036 15.8979 7.95068C15.9017 8.00116 15.9071 8.05036 15.91 8.10116C15.9183 8.25323 15.9228 8.40722 15.9228 8.56249C15.9228 8.70722 15.919 8.85035 15.9119 8.9922C15.9097 9.03852 15.9052 9.08357 15.902 9.12926C15.8953 9.22414 15.8899 9.31935 15.8806 9.41264C15.8752 9.46727 15.8672 9.52062 15.8605 9.57462C15.8509 9.65736 15.8413 9.74043 15.8289 9.82126C15.8202 9.87877 15.8091 9.93404 15.7992 9.9909C15.7857 10.0669 15.7733 10.1433 15.7583 10.2174C15.7464 10.2743 15.7327 10.3299 15.7199 10.3851C15.7033 10.4567 15.6873 10.5286 15.6695 10.5979C15.6551 10.6538 15.6385 10.7075 15.6228 10.7618C15.603 10.8292 15.5842 10.8973 15.5627 10.9628C15.5455 11.0161 15.5266 11.0676 15.5084 11.1196C15.4864 11.1826 15.4643 11.2462 15.4404 11.3081C15.4206 11.3586 15.3995 11.4078 15.3787 11.4573C15.3538 11.5168 15.3295 11.5759 15.303 11.6327C15.281 11.6807 15.257 11.727 15.234 11.773C15.2068 11.8276 15.1794 11.8822 15.1506 11.9343C15.126 11.9791 15.1005 12.0212 15.0755 12.0647C15.0455 12.1148 15.0155 12.1647 14.9851 12.2123C14.9586 12.2528 14.9311 12.2915 14.904 12.3302C14.8717 12.3759 14.8398 12.4206 14.8062 12.4631C14.7778 12.4998 14.7484 12.5346 14.7196 12.5691C14.6858 12.6091 14.6516 12.6484 14.6164 12.6858C14.5861 12.7183 14.5551 12.7487 14.5238 12.7787C14.488 12.8132 14.4519 12.8468 14.4155 12.8784C14.3832 12.9059 14.3506 12.9321 14.3174 12.9573C14.28 12.9857 14.2423 13.0132 14.204 13.0385C14.1704 13.0608 14.1359 13.0822 14.1014 13.102C14.0628 13.1244 14.0235 13.1455 13.9842 13.1643C13.9487 13.1819 13.9126 13.1976 13.8768 13.2119C13.857 13.2196 13.8369 13.2257 13.8171 13.2327C12.6692 12.4532 11.9066 10.5497 11.9066 8.42703C11.9059 6.49511 12.55 4.71016 13.5564 3.82455Z","fill","black"],["d","M5.02677 12.4865C5.07022 12.5408 5.12996 12.5801 5.19769 12.597C7.46666 13.1772 11.0529 14.2618 13.018 14.8657C13.6643 15.2752 14.3493 15.4826 15.0544 15.4826C17.7815 15.4826 19.9997 12.367 19.9997 8.53638C19.9997 4.70609 17.7815 1.58984 15.0544 1.58984C14.4244 1.58984 13.8068 1.75693 13.218 2.08728L5.19162 4.31216C5.13954 4.32654 5.09226 4.35402 5.0536 4.39172C1.45398 7.907 4.99035 12.4411 5.02677 12.4865ZM5.4421 4.90545L13.426 2.69206C13.4519 2.68503 13.4762 2.67449 13.4992 2.66139C14.0007 2.37418 14.5237 2.22849 15.0534 2.22849C17.4282 2.22849 19.3598 5.05816 19.3598 8.53606C19.3598 12.014 17.4278 14.8433 15.0534 14.8433C14.4598 14.8433 13.8787 14.6625 13.3263 14.3047C13.3014 14.2887 13.2746 14.2762 13.2464 14.2673C11.3158 13.674 7.76474 12.5993 5.46254 12.0053C5.01335 11.3993 2.56067 7.79837 5.4421 4.90545Z","fill","black"],["d","M3.7501 11.8319C3.86512 11.8319 3.97151 11.7697 4.02838 11.6693C4.08492 11.5693 4.08333 11.4463 4.0239 11.3473C1.72394 7.52786 3.88429 5.25889 3.97662 5.16496C4.07438 5.06656 4.0977 4.91672 4.03445 4.7934C3.97087 4.67008 3.83381 4.60171 3.69867 4.62408C3.65809 4.63079 3.58845 4.63111 3.49675 4.63366C2.93414 4.65059 1.61691 4.68957 0.765169 5.60393C0.216935 6.1921 -0.0389718 7.03235 0.00479742 8.10102C0.155274 11.7891 3.71432 11.8319 3.7501 11.8319ZM1.23289 6.03939C1.75429 5.47997 2.53 5.33621 3.09516 5.29276C2.51402 6.23843 1.70669 8.2975 3.16801 11.1256C2.29198 10.9511 0.734818 10.3243 0.643126 8.07514C0.606705 7.18314 0.805424 6.49817 1.23289 6.03939Z","fill","black"],["d","M6.36801 13.4404C6.33191 13.3695 6.27057 13.3142 6.19581 13.2864L2.5406 11.9085C2.41536 11.8612 2.27287 11.8973 2.18533 11.9995C2.09811 12.1017 2.08374 12.2478 2.15019 12.3647L4.99871 17.3966C5.01596 17.4272 5.03832 17.4547 5.06452 17.4783C5.76067 18.0972 6.38718 18.4106 6.92647 18.4106C7.74531 18.4106 8.15105 17.6985 8.25137 17.3212C8.2715 17.2454 8.26319 17.1646 8.22741 17.0946L6.36801 13.4404ZM6.92615 17.7713C6.6712 17.7713 6.22297 17.6429 5.52841 17.0349L3.14059 12.8177L5.85492 13.8404L7.59547 17.2617C7.52039 17.4378 7.32487 17.7713 6.92615 17.7713Z","fill","black"],["id","clip0_506_665"],["width","20","height","20","fill","white"],["id","icon-menu_weather","viewBox","0 0 22 22"],["d","M10.882 17.188c-3.144 0-5.702-2.776-5.702-6.188s2.558-6.188 5.702-6.188c3.145 0 5.703 2.776 5.703 6.188s-2.558 6.188-5.703 6.188zm0-11c-2.445 0-4.435 2.158-4.435 4.812 0 2.654 1.99 4.813 4.435 4.813 2.446 0 4.435-2.16 4.435-4.813 0-2.654-1.99-4.813-4.435-4.813zM10.882 3.438c-.35 0-.633-.308-.633-.688V.687c0-.38.283-.687.
1633-.687.35 0 .634.308.634.688V2.75c0 .38-.284.688-.634.688zM10.882 22c-.35 0-.633-.308-.633-.688V19.25c0-.38.283-.688.633-.688.35 0 .634.308.634.688v2.063c0 .38-.284.687-.634.687zM20.386 11.688h-1.9c-.35 0-.634-.308-.634-.688 0-.38.283-.688.633-.688h1.901c.35 0 .634.308.634.688 0 .38-.284.688-.634.688zM3.28 11.688H1.378c-.35 0-.634-.308-.634-.688 0-.38.284-.688.634-.688h1.9c.35 0 .634.308.634.688 0 .38-.284.688-.634.688zM16.259 5.854c-.56 0-.849-.74-.448-1.174l1.344-1.458a.599.599 0 0 1 .896 0 .73.73 0 0 1 0 .972l-1.344 1.458a.607.607 0 0 1-.448.202zM4.162 18.98c-.56 0-.848-.74-.448-1.174l1.344-1.458a.599.599 0 0 1 .896 0 .73.73 0 0 1 0 .972L4.61 18.778a.607.607 0 0 1-.448.202zM17.602 18.98a.607.607 0 0 1-.448-.202L15.81 17.32a.73.73 0 0 1 0-.972.599.599 0 0 1 .896 0l1.345 1.458c.4.434.11 1.174-.448 1.174zM5.506 5.854a.607.607 0 0 1-.448-.201L3.714 4.194a.73.73 0 0 1 0-.972.599.599 0 0 1 .896 0L5.954 4.68c.4.435.112 1.174-.448 1.174z"],["id","icon-menu_photo","viewBox","0 0 22 22"],["d","M18.22 5.042h-2.534a.426.426 0 0 1-.401-.314l-.267-.869c-.288-.938-1.093-1.567-2.004-1.567h-3.95c-.91 0-1.716.63-2.003 1.566l-.267.87a.428.428 0 0 1-.401.314H3.859C2.229 5.042.902 6.48.902 8.25v8.25c0 1.77 1.326 3.208 2.957 3.208h14.36c1.631 0 2.957-1.439 2.957-3.208V8.25c0-1.77-1.326-3.208-2.956-3.208zM20.332 16.5c0 1.263-.948 2.292-2.112 2.292H3.859c-1.164 0-2.112-1.029-2.112-2.292V8.25c0-1.263.948-2.292 2.112-2.292h2.534c.546 0 1.029-.377 1.202-.94l.268-.87c.172-.562.655-.94 1.201-.94h3.95c.546 0 1.03.378 1.202.94l.267.87c.173.563.657.94 1.202.94h2.535c1.164 0 2.112 1.029 2.112 2.292v8.25z"],["d","M11.04 6.875c-2.796 0-5.07 2.467-5.07 5.5s2.274 5.5 5.07 5.5c2.795 0 5.068-2.467 5.068-5.5s-2.273-5.5-5.069-5.5zm0 10.083c-2.33 0-4.225-2.056-4.225-4.583S8.71 7.792 11.04 7.792c2.33 0 4.224 2.056 4.224 4.583s-1.895 4.583-4.224 4.583z"],["d","M11.04 8.708c-1.864 0-3.38 1.645-3.38 3.667 0 .253.19.458.423.458.233 0 .422-.205.422-.458 0-1.516 1.137-2.75 2.534-2.75.233 0 .423-.205.423-.458s-.19-.459-.423-.459z"],["id","icon-menu_afisha","viewBox","0 0 19 19"],["d","M9.5 0c-.453 0-.836.291-.976.741l-1.756 5.65a.062.062 0 0 1-.058.045H1.028c-.453 0-.836.291-.976.742-.14.45.007.921.373 1.2l4.597 3.492c.021.016.03.045.022.071l-1.756 5.65c-.14.45.007.922.373 1.2a.976.976 0 0 0 1.206 0L9.464 15.3a.06.06 0 0 1 .072 0l4.597 3.492c.183.14.393.209.603.209.21 0 .42-.07.603-.209.366-.278.513-.75.373-1.2l-1.756-5.65a.066.066 0 0 1 .022-.072l4.597-3.492c.366-.278.513-.749.373-1.2-.14-.45-.523-.74-.976-.74H12.29a.062.062 0 0 1-.058-.045L10.476.742C10.336.29 9.953 0 9.5 0zm1.814 6.704c.138.443.53.741.976.741h5.682c.016 0 .044 0 .058.044.014.045-.009.062-.022.072l-4.597 3.492c-.36.274-.51.756-.373 1.2l1.756 5.65c.005.017.014.045-.022.072-.037.027-.059.01-.072 0l-4.597-3.492a.995.995 0 0 0-.603-.206.995.995 0 0 0-.603.206L4.3 17.975c-.013.01-.036.028-.072 0-.036-.027-.027-.055-.022-.072l1.755-5.65a1.098 1.098 0 0 0-.372-1.2L.992 7.561C.98 7.551.956 7.534.97 7.49c.014-.044.042-.044.058-.044H6.71c.446 0 .838-.298.976-.741l1.755-5.65c.006-.017.014-.045.059-.045.044 0 .053.028.058.044l1.756 5.65z"],["id","icon-menu_estate","viewBox","0 0 20 20"],["d","M4.97616 4.49717C4.90389 4.49717 4.83358 4.46787 4.7828 4.41709C4.73163 4.36592 4.70233 4.29561 4.70233 4.22373C4.70233 4.20576 4.70428 4.18779 4.7078 4.17022C4.71132 4.15264 4.71678 4.13545 4.72343 4.11904C4.73046 4.10264 4.73866 4.08662 4.74882 4.07178C4.75858 4.05693 4.76991 4.04287 4.7828 4.03037C4.7953 4.01787 4.80936 4.00615 4.82421 3.99639C4.83905 3.98662 4.85507 3.97803 4.87147 3.971C4.88788 3.96436 4.90507 3.95928 4.92264 3.95576C4.9578 3.94834 4.99413 3.94834 5.02928 3.95576C5.04686 3.95928 5.06405 3.96436 5.08046 3.971C5.09686 3.97803 5.11288 3.98662 5.12772 3.99639C5.14257 4.00615 5.15663 4.01787 5.16913 4.03037C5.18202 4.04287 5.19335 4.05693 5.20311 4.07178C5.21327 4.08662 5.22147 4.10264 5.2285 4.11904C5.23514 4.13545 5.24061 4.15264 5.24413 4.17022C5.24764 4.18779 5.24921 4.20576 5.24921 4.22373C5.24921 4.29561 5.2203 4.36592 5.16913 4.41709C5.15663 4.42959 5.14257 4.44092 5.12772 4.45107C5.11288 4.46084 5.09686 4.46943 5.08046 4.47607C5.06405 4.48311 5.04686 4.48818 5.02928 4.4917C5.01171 4.49521 4.99374 4.49717 4.97616 4.49717Z","fill","#323232"],["d","M17.3957 19.4727H9.09491C8.94374 19.4727 8.82147 19.3504 8.82147 19.1993V6.9895H4.97577C4.8246 6.9895 4.70233 6.86724 4.70233 6.71606V5.46216C4.70233 5.31099 4.8246 5.18872 4.97577 5.18872C5.12694 5.18872 5.24921 5.31099 5.24921 5.46216V6.44263H9.09491C9.24608 6.44263 9.36835 6.56489 9.36835 6.71606V18.9258H17.1219V15.704C17.1219 15.5528 17.2441 15.4305 17.3953 15.4305C17.5465 15.4305 17.6687 15.5528 17.6687 15.704V19.1993C17.6691 19.3504 17.5465 19.4727 17.3957 19.4727Z","fill","#323232"],["d","M17.3957 15.1164C17.3777 15.1164 17.3598 15.1145 17.3422 15.1109C17.3246 15.1074 17.3074 15.1023 17.291 15.0953C17.2746 15.0887 17.2586 15.0801 17.2437 15.0703C17.2289 15.0602 17.2148 15.0488 17.2023 15.0363C17.1894 15.0238 17.1781 15.0098 17.1683 14.9945C17.1582 14.9797 17.15 14.9641 17.143 14.9477C17.1363 14.9309 17.1308 14.9137 17.1273 14.8965C17.1238 14.8789 17.1223 14.8609 17.1223 14.843C17.1223 14.825 17.1238 14.807 17.1273 14.7895C17.1308 14.7719 17.1363 14.7547 17.143 14.7383C17.15 14.7219 17.1582 14.7059 17.1683 14.691C17.1781 14.6762 17.1894 14.6621 17.2023 14.649
16C17.2148 14.6367 17.2289 14.6254 17.2437 14.6156C17.2586 14.6059 17.2746 14.5973 17.291 14.5902C17.3074 14.5836 17.3246 14.5781 17.3422 14.5746C17.3773 14.5676 17.4137 14.5676 17.4488 14.5746C17.4664 14.5781 17.4836 14.5836 17.5 14.5902C17.5164 14.5973 17.5324 14.6059 17.5473 14.6156C17.5621 14.6254 17.5762 14.6367 17.5887 14.6496C17.6016 14.6621 17.6129 14.6762 17.6226 14.691C17.6328 14.7059 17.641 14.7219 17.648 14.7383C17.6547 14.7547 17.6601 14.7719 17.6637 14.7895C17.6672 14.807 17.6687 14.825 17.6687 14.843C17.6687 14.8609 17.6672 14.8789 17.6637 14.8965C17.6601 14.9137 17.6547 14.9309 17.648 14.9477C17.641 14.9641 17.6328 14.9797 17.6226 14.9945C17.6129 15.0098 17.6016 15.0238 17.5887 15.0363C17.5762 15.0488 17.5621 15.0602 17.5473 15.0703C17.5324 15.0801 17.5164 15.0887 17.5 15.0953C17.4836 15.1023 17.4664 15.1074 17.4488 15.1109C17.4312 15.1145 17.4133 15.1164 17.3957 15.1164Z","fill","#323232"],["d","M17.3957 14.0691C17.2445 14.0691 17.1223 13.9469 17.1223 13.7957V1.07422H5.24921V3.37031C5.24921 3.52148 5.12694 3.64375 4.97577 3.64375C4.8246 3.64375 4.70233 3.52148 4.70233 3.37031V0.800781C4.70233 0.649609 4.8246 0.527344 4.97577 0.527344H17.3953C17.5465 0.527344 17.6687 0.649609 17.6687 0.800781V13.7957C17.6691 13.9469 17.5465 14.0691 17.3957 14.0691Z","fill","#323232"],["d","M5.15666 10.2789H3.99963C3.84846 10.2789 3.7262 10.1566 3.7262 10.0054V8.84839C3.7262 8.69722 3.84846 8.57495 3.99963 8.57495H5.15666C5.30784 8.57495 5.4301 8.69722 5.4301 8.84839V10.0054C5.4301 10.1566 5.30784 10.2789 5.15666 10.2789ZM4.27307 9.73198H4.88323V9.12183H4.27307V9.73198Z","fill","#323232"],["d","M7.7 10.2789H6.54297C6.3918 10.2789 6.26953 10.1566 6.26953 10.0054V8.84839C6.26953 8.69722 6.3918 8.57495 6.54297 8.57495H7.7C7.85117 8.57495 7.97344 8.69722 7.97344 8.84839V10.0054C7.97344 10.1566 7.85078 10.2789 7.7 10.2789ZM6.81641 9.73198H7.42656V9.12183H6.81641V9.73198Z","fill","#323232"],["d","M5.15666 12.6329H3.99963C3.84846 12.6329 3.7262 12.5106 3.7262 12.3594V11.2024C3.7262 11.0512 3.84846 10.929 3.99963 10.929H5.15666C5.30784 10.929 5.4301 11.0512 5.4301 11.2024V12.3594C5.4301 12.5102 5.30784 
112.6329 5.15666 12.6329ZM4.27307 12.086H4.88323V11.4758H4.27307V12.086Z","fill","#323232"],["d","M7.7 12.6329H6.54297C6.3918 12.6329 6.26953 12.5106 6.26953 12.3594V11.2024C6.26953 11.0512 6.3918 10.929 6.54297 10.929H7.7C7.85117 10.929 7.97344 11.0512 7.97344 11.2024V12.3594C7.97344 12.5102 7.85078 12.6329 7.7 12.6329ZM6.81641 12.086H7.42656V11.4758H6.81641V12.086Z","fill","#323232"],["d","M5.15666 14.9864H3.99963C3.84846 14.9864 3.7262 14.8641 3.7262 14.7129V13.5559C3.7262 13.4047 3.84846 13.2825 3.99963 13.2825H5.15666C5.30784 13.2825 5.4301 13.4047 5.4301 13.5559V14.7129C5.4301 14.8641 5.30784 14.9864 5.15666 14.9864ZM4.27307 14.4395H4.88323V13.8293H4.27307V14.4395Z","fill","#323232"],["d","M7.7 14.9864H6.54297C6.3918 14.9864 6.26953 14.8641 6.26953 14.7129V13.5559C6.26953 13.4047 6.3918 13.2825 6.54297 13.2825H7.7C7.85117 13.2825 7.97344 13.4047 7.97344 13.5559V14.7129C7.97344 14.8641 7.85078 14.9864 7.7 14.9864ZM6.81641 14.4395H7.42656V13.8293H6.81641V14.4395Z","fill","#323232"],["d","M5.15666 17.3401H3.99963C3.84846 17.3401 3.7262 17.2179 3.7262 17.0667V15.9097C3.7262 15.7585 3.84846 15.6362 3.99963 15.6362H5.15666C5.30784 15.6362 5.4301 15.7585 5.4301 15.9097V17.0667C5.4301 17.2175 5.30784 17.3401 5.15666 17.3401ZM4.27307 16.7933H4.88323V16.1831H4.27307V16.7933Z","fill","#323232"],["d","M7.7 17.3401H6.54297C6.3918 17.3401 6.26953 17.2179 6.26953 17.0667V15.9097C6.26953 15.7585 6.3918 15.6362 6.54297 15.6362H7.7C7.85117 15.6362 7.97344 15.7585 7.97344 15.9097V17.0667C7.97344 17.2175 7.85078 17.3401 7.7 17.3401ZM6.81641 16.7933H7.42656V16.1831H6.81641V16.7933Z","fill","#323232"],["d","M12.0356 12.8164H10.9184C10.7672 12.8164 10.645 12.6941 10.645 12.543V11.4258C10.645 11.2746 10.7672 11.1523 10.9184 11.1523H12.0356C12.1868 11.1523 12.309 11.2746 12.309 11.4258V12.543C12.309 12.6941 12.1864 12.8164 12.0356 12.8164ZM11.1918 12.2695H11.7621V11.6992H11.1918V12.2695Z","fill","#323232"],["d","M12.0356 15.3828H10.9184C10.7672 15.3828 10.645 15.2605 10.645 15.1094V13.9922C10.645 13.841 10.7672 13.7188 10.9184 13.7188H12.0356C12.1868 13.7188 12.309 13.841 12.309 13.9922V15.1094C12.309 15.2605 12.1864 15.3828 12.0356 15.3828ZM11.1918 14.8359H11.7621V14.2656H11.1918V14.8359Z","fill","#323232"],["d","M12.0356 17.9492H10.9184C10.7672 17.9492 10.645 17.827 10.645 17.6758V16.5586C10.645 16.4074 10.7672 16.2852 10.9184 16.2852H12.0356C12.1868 16.2852 12.309 16.4074 12.309 16.5586V17.6758C12.309 17.8266 12.1864 17.9492 12.0356 17.9492ZM11.1918 17.4023H11.7621V16.832H11.1918V17.4023Z","fill","#323232"],["d","M7.72853 3.32783H6.57501C6.42384 3.32783 6.30157 3.20557 6.30157 3.05439V1.90088C6.30157 1.74971 6.42384 1.62744 6.57501 1.62744H7.72853C7.8797 1.62744 8.00197 1.74971 8.00197 1.90088V3.05439C8.00197 3.20557 7.8797 3.32783 7.72853 3.32783ZM6.84845 2.78096H7.45509V2.17432H6.84845V2.78096Z","fill","#323232"],["d","M10.4735 3.32783H9.31995C9.16877 3.32783 9.04651 3.20557 9.04651 3.05439V1.90088C9.04651 1.74971 9.16877 1.62744 9.31995 1.62744H10.4735C10.6246 1.62744 10.7469 1.74971 10.7469 1.90088V3.05439C10.7469 3.20557 10.6246 3.32783 10.4735 3.32783ZM9.59338 2.78096H10.2V2.17432H9.59338V2.78096Z","fill","#323232"],["d","M13.218 3.32783H12.0645C11.9133 3.32783 11.791 3.20557 11.791 3.05439V1.90088C11.791 1.74971 11.9133 1.62744 12.0645 1.62744H13.218C13.3691 1.62744 13.4914 1.74971 13.4914 1.90088V3.05439C13.4914 3.20557 13.3691 3.32783 13.218 3.32783ZM12.3379 2.78096H12.9445V2.17432H12.3379V2.78096Z","fill","#323232"],["d","M16.1437 3.32783H14.9902C14.8391 3.32783 14.7168 3.20557 14.7168 3.05439V1.90088C14.7168 1.74971 14.8391 1.62744 14.9902 1.62744H16.1437C16.2949 1.62744 16.4172 1.74971 16.4172 1.90088V3.05439C16.4172 3.20557 16.2945 3.32783 16.1437 3.32783ZM15.2637 2.78096H15.8703V2.17432H15.2637V2.78096Z","fill","#323232"],["d","M7.72853 5.73555H6.57501C6.42384 5.73555 6.30157 5.61328 6.30157 5.46211V4.30859C6.30157 4.15742 6.42384 4.03516 6.57501 4.03516H7.72853C7.8797 4.03516 8.00197 4.15742 8.00197 4.30859V5.46211C8.00197 5.61328 7.8797 5.73555 7.72853 5.73555ZM6.84845 5.18867H7.45509V4.58203H6.84845V5.18867Z","fill","#323232"],["d","M10.4735 5.73555H9.31995C9.16877 5.73555 9.04651 5.61328 9.04651 5.46211V4.30859C9.04651 4.15742 9.16877 4.03516 9.31995 4.03516H10.4735C10.6246 4.03516 10.7469 4.15742 10.7469 4.30859V5.46211C10.7469 5.61328 10.6246 5.73555 10.4735 5.73555ZM9.59338 5.18867H10.2V4.58203H9.59338V5.18867Z","fill","#323232"],["d","M13.218 5.73555H12.0645C11.9133 5.73555 11.791 5.61328 11.791 5.46211V4.30859C11.791 4.15742 11.9133 4.03516 12.0645 4.03516H13.218C13.3691 4.03516 13.4914 4.15742 13.4914 4.30859V5.46211C13.4914 5.61328 13.3691 5.73555 13.218 5.73555ZM12.3379 5.18867H12.9445V4.58203H12.3379V5.188
167Z","fill","#323232"],["d","M16.1437 5.73555H14.9902C14.8391 5.73555 14.7168 5.61328 14.7168 5.46211V4.30859C14.7168 4.15742 14.8391 4.03516 14.9902 4.03516H16.1437C16.2949 4.03516 16.4172 4.15742 16.4172 4.30859V5.46211C16.4172 5.61328 16.2945 5.73555 16.1437 5.73555ZM15.2637 5.18867H15.8703V4.58203H15.2637V5.18867Z","fill","#323232"],["d","M10.473 8.14341H10.0457C9.89453 8.14341 9.77227 8.02114 9.77227 7.86997C9.77227 7.7188 9.89453 7.59653 10.0457 7.59653H10.1996V6.9895H10.0156C9.86445 6.9895 9.74219 6.86724 9.74219 6.71606C9.74219 6.56489 9.86445 6.44263 10.0156 6.44263H10.473C10.6242 6.44263 10.7465 6.56489 10.7465 6.71606V7.86997C10.7465 8.02114 10.6242 8.14341 10.473 8.14341Z","fill","#323232"],["d","M13.218 8.14326H12.0645C11.9133 8.14326 11.791 8.021 11.791 7.86982V6.71631C11.791 6.56514 11.9133 6.44287 12.0645 6.44287H13.218C13.3691 6.44287 13.4914 6.56514 13.4914 6.71631V7.86982C13.4914 8.02061 13.3691 8.14326 13.218 8.14326ZM12.3379 7.59639H12.9445V6.98975H12.3379V7.59639Z","fill","#323232"],["d","M16.1437 8.14326H14.9902C14.8391 8.14326 14.7168 8.021 14.7168 7.86982V6.71631C14.7168 6.56514 14.8391 6.44287 14.9902 6.44287H16.1437C16.2949 6.44287 16.4172 6.56514 16.4172 6.71631V7.86982C16.4172 8.02061 16.2945 8.14326 16.1437 8.14326ZM15.2637 7.59639H15.8703V6.98975H15.2637V7.59639Z","fill","#323232"],["d","M16.1437 10.5507H14.9902C14.8391 10.5507 14.7168 10.4285 14.7168 10.2773V9.12378C14.7168 8.97261 14.8391 8.85034 14.9902 8.85034H16.1437C16.2949 8.85034 16.4172 8.97261 16.4172 9.12378V10.2773C16.4172 10.4285 16.2945 10.5507 16.1437 10.5507ZM15.2637 10.0039H15.8703V9.39722H15.2637V10.0039Z","fill","#323232"],["d","M16.1437 12.9587H14.9902C14.8391 12.9587 14.7168 12.8364 14.7168 12.6853V11.5317C14.7168 11.3806 14.8391 11.2583 14.9902 11.2583H16.1437C16.2949 11.2583 16.4172 11.3806 16.4172 11.5317V12.6853C16.4172 12.8364 16.2945 12.9587 16.1437 12.9587ZM15.2637 12.4118H15.8703V11.8052H15.2637V12.4118Z","fill","#323232"],["d","M16.1437 15.3664H14.9902C14.8391 15.3664 14.7168 15.2441 14.7168 15.093V13.9395C14.7168 13.7883 14.8391 13.666 14.9902 13.666H16.1437C16.2949 13.666 16.4172 13.7883 16.4172 13.9395V15.093C16.4172 15.2437 16.2945 15.3664 16.1437 15.3664ZM15.2637 14.8195H15.8703V14.2129H15.2637V14.8195Z","fill","#323232"],["d","M16.1437 17.7739H14.9902C14.8391 17.7739 14.7168 17.6516 14.7168 17.5004V16.3469C14.7168 16.1958 14.8391 16.0735 14.9902 16.0735H16.1437C16.2949 16.0735 16.4172 16.1958 16.4172 16.3469V17.5004C16.4172 17.6516 16.2945 17.7739 16.1437 17.7739ZM15.2637 17.227H15.8703V16.6204H15.2637V17.227Z","fill","#323232"],["d","M13.859 19.4727H9.09491C8.94374 19.4727 8.82147 19.3504 8.82147 19.1992V9.90234C8.82147 9.75117 8.94374 9.62891 9.09491 9.62891H13.8586C14.0098 9.62891 14.132 9.75117 14.132 9.90234C14.132 10.0535 14.0098 10.1758 13.8586 10.1758H9.36835V18.9258H13.5851V11.0629C13.5851 10.9117 13.7074 10.7895 13.8586 10.7895C14.0098 10.7895 14.132 10.9117 14.132 11.0629V19.1992C14.1324 19.3504 14.0098 19.4727 13.859 19.4727Z","fill","#323232"],["d","M9.09493 19.4727H2.60431C2.45314 19.4727 2.33087 19.3504 2.33087 19.1993V6.71606C2.33087 6.56489 2.45314 6.44263 2.60431 6.44263H9.09493C9.24611 6.44263 9.36837 6.56489 9.36837 6.71606V19.1993C9.36837 19.3504 9.24611 19.4727 9.09493 19.4727ZM2.87775 18.9258H8.8215V6.9895H2.87775V18.9258Z","fill","#323232"],["id","icon-menu_auto","viewBox","0 0 20 20","fill","none"],["d","M18.4319 10.0275C18.4328 10.0178 18.4375 10.0097 18.4375 10C18.4375 9.10438 18.2534 1.25 11.875 1.25H8.125C3.95438 1.25 1.5625 4.43937 1.5625 10C1.5625 10.0097 1.56719 10.0178 1.56813 10.0275C0.68 10.1747 0 10.9459 0 11.875V15C0 16.0341 0.840937 16.875 1.875 16.875V18.4375C1.875 18.6103 2.01469 18.75 2.1875 18.75H4.6875C4.86031 18.75 5 18.6103 5 18.4375V16.875H15V18.4375C15 18.6103 15.1397 18.75 15.3125 18.75H17.8125C17.9853 18.75 18.125 18.6103 18.125 18.4375V16.875C19.1591 16.875 20 16.0341 20 15V11.875C20 10.9459 19.32 10.1747 18.4319 10.0275ZM8.125 1.875H11.875C17.6459 1.875 17.8125 9.16844 17.8125 10H17.1875C17.1875 9.2325 17.0297 2.5 11.5625 2.5H8.4375C4.81031 2.5 2.8125 5.16344 2.8125 10H2.1875C2.1875 2.93063 5.9075 1.875 8.125 1.875ZM7.5 7.5C6.11937 7.5 5 8.61937 5 10H3.4375C3.4375 4.3175 6.15656 3.125 8.4375 3.125H11.5625C13.5438 3.125 14.9716 4.1125 15.8066 6.06062C16.5078 7.6975 16.5625 9.48969 16.5625 10H10C10 8.61937 8.88063 7.5 7.5 7.5ZM9.375 10H5.625C5.625 8.96469 6.46469 8.125 7.5 8.125C8.53531 8.125 9.375 8.96469 9.375 10ZM4.375 18.125H2.5V16.875H4.375V18.125ZM17.5 18.125H15.625V16.875H17.5V18.125ZM19.375 15C19.375 15.6894 18.8144 16.25 18.125 16.25H1.875C1.18562 16.25 0.625 15.6894 0.625 15V11.875C0.
1625 11.1856 1.18562 10.625 1.875 10.625H18.125C18.8144 10.625 19.375 11.1856 19.375 11.875V15Z","fill","#323232"],["d","M3.4375 12.1875C2.74812 12.1875 2.1875 12.7481 2.1875 13.4375C2.1875 14.1269 2.74812 14.6875 3.4375 14.6875C4.12688 14.6875 4.6875 14.1269 4.6875 13.4375C4.6875 12.7481 4.12688 12.1875 3.4375 12.1875ZM3.4375 14.0625C3.09281 14.0625 2.8125 13.7822 2.8125 13.4375C2.8125 13.0928 3.09281 12.8125 3.4375 12.8125C3.78219 12.8125 4.0625 13.0928 4.0625 13.4375C4.0625 13.7822 3.78219 14.0625 3.4375 14.0625Z","fill","#323232"],["d","M16.5625 12.1875C15.8731 12.1875 15.3125 12.7481 15.3125 13.4375C15.3125 14.1269 15.8731 14.6875 16.5625 14.6875C17.2519 14.6875 17.8125 14.1269 17.8125 13.4375C17.8125 12.7481 17.2519 12.1875 16.5625 12.1875ZM16.5625 14.0625C16.2178 14.0625 15.9375 13.7822 15.9375 13.4375C15.9375 13.0928 16.2178 12.8125 16.5625 12.8125C16.9072 12.8125 17.1875 13.0928 17.1875 13.4375C17.1875 13.7822 16.9072 14.0625 16.5625 14.0625Z","fill","#323232"],["d","M13.4375 12.5H6.5625C6.38969 12.5 6.25 12.6397 6.25 12.8125C6.25 12.9853 6.38969 13.125 6.5625 13.125H13.4375C13.6103 13.125 13.75 12.9853 13.75 12.8125C13.75 12.6397 13.6103 12.5 13.4375 12.5Z","fill","#323232"],["d","M13.4375 13.75H6.5625C6.38969 13.75 6.25 13.8897 6.25 14.0625C6.25 14.2353 6.38969 14.375 6.5625 14.375H13.4375C13.6103 14.375 13.75 14.2353 13.75 14.0625C13.75 13.8897 13.6103 13.75 13.4375 13.75Z","fill","#323232"],["d","M13.346 4.77938C13.2238 4.6572 13.0263 4.6572 12.9041 4.77938C12.7819 4.90157 12.7819 5.09907 12.9041 5.22126L13.5291 5.84626C13.59 5.9072 13.67 5.93782 13.75 5.93782C13.83 5.93782 13.91 5.9072 13.971 5.84626C14.0931 5.72407 14.0931 5.52657 13.971 5.40439L13.346 4.77938Z","fill","#323232"],["d","M11.7835 4.77914C11.6613 4.65695 11.4638 4.65695 11.3416 4.77914C11.2194 4.90133 11.2194 5.09883 11.3416 5.22102L13.5291 7.40852C13.59 7.46945 13.67 7.50008 13.75 7.50008C13.83 7.50008 13.91 7.46945 13.971 7.40852C14.0931 7.28633 14.0931 7.08883 13.971 6.96664L11.7835 4.77914Z","fill","#323232"],["id","icon-menu_offers","viewBox","0 0 20 20","fill","none"],["clip-path","url(#clip0_505_590)"],["d","M12.0002 14.3333C12.1843 14.3333 12.3335 14.184 12.3335 13.9999V12.9999H12.6668C12.8509 12.9999 13.0002 12.8507 13.0002 12.6666V11.6667H19.6668C19.8509 11.6667 20.0001 11.5175 20.0001 11.3334V1.33343C20.0001 1.14933 19.8509 1.00011 19.6668 1.00011H18.3335V0.333319C18.3335 0.149218 18.1843 0 18.0002 0H15.3335C15.1494 0 15.0002 0.149257 15.0002 0.333319V1.00004H11.6669V0.333319C11.6669 0.149218 11.5177 0 11.3336 0H8.66689C8.48279 0 8.33357 0.149257 8.33357 0.333319V1.00004H5.00026V0.333319C5.00026 0.149218 4.85105 0 4.66694 0H2.00024C1.81614 0 1.66692 0.149257 1.66692 0.333319V1.00004H0.333563C0.149462 1.00004 0.000244141 1.14925 0.000244141 1.33335V11.3333C0.000244141 11.5174 0.149462 11.6666 0.333563 11.6666H7.00022V12.6666C7.00022 12.8507 7.14943 12.9999 7.33354 12.9999H7.66685V13.9999C7.66685 14.184 7.81607 14.3332 8.00017 14.3332H9.00017V19.3332H0.333563C0.149462 19.3332 0.000244141 19.4825 0.000244141 19.6666C0.000244141 19.8506 0.149462 19.9999 0.333563 19.9999H19.6668C19.8509 19.9999 20.0001 19.8506 20.0001 19.6666C20.0001 19.4825 19.8509 19.3332 19.6668 19.3332H11.0002V14.3333H12.0002ZM15.6669 0.666677H17.6669V1.33339V1.99999H15.6669V1.33339V0.666677ZM9.00021 0.666677H11.0002V1.33339V1.99999H9.00021V1.33339V0.666677ZM2.33356 0.666677H4.33355V1.33339V1.99999H2.33356V1.33339V0.666677ZM0.666921 1.66671H1.66692V2.33331V2.33339C1.66692 2.51749 1.81614 2.66671 2.00024 2.66671H4.66691C4.85101 2.66671 5.00022 2.51745 5.00022 2.33339V2.33331V1.66671H8.33353V2.33331V2.33339C8.33353 2.51749 8.48275 2.66671 8.66685 2.66671H11.3335C11.5176 2.66671 11.6668 2.51745 11.6668 2.33339V2.33331V1.66671H15.0001V2.33331V2.33339C15.0001 2.51749 15.1494 2.66671 15.3335 2.66671H18.0001C18.1842 2.66671 18.3335 2.51745 18.3335 2.33339V2.33331V1.66671H19.3335V11H12.6682C12.6677 11 12.6673 10.9999 12.6668 10.9999H7.33354C7.33311 10.9999 7.33268 11 7.33221 11H0.666921V1.66671ZM12.3335 11.6667V12.3333H12.0002H8.00021H7.66689V11.6667H12.3335ZM8.33353 12.9999H11.6668V13.6666H10.6668H9.33353H8.33353V12.9999ZM10.3335 19.3332H9.66685V14.3333H10.3335V19.3332Z","fill","#323232"],["id","clip0_505_590"],["id","icon-menu-custom-about-us","viewBox","0 0 20 20"],["d","m16.6,1.79C-.53-4.04-1.46,22.73,16.6,18.5v-7.94h-4.96",1,"cls-1"],["id","icon-menu_default","viewBox","0 0 17 17"],["d","M7.67 17c-.54 0-1.026-.17-1.405-.489-.928-.781-.663-2.08-.155-2.955 1.055-1.814 2.84-3.247 4.619-4.524-.543-2.287-1.764-3.092-2.617-3.372.338 1.796-.128 3.717-1.232 5.044-.54.65-1.269.989-2.012.989a2.602 2.602 0 0 1-1.477-.473 3.579 3.579 0 0 1-1.565-2.573 3.813 3.8
113 0 0 1 .999-3.005c1.12-1.223 2.573-1.381 3.791-1.27-.798-1.559-2.047-2.212-2.98-2.143-.73.054-1.535.54-2.392 1.446a.498.498 0 1 1-.724-.684C1.568 1.883 2.563 1.31 3.562 1.235c.991-.073 1.955.315 2.785 1.12.6.58 1.105 1.353 1.441 2.198l.252.054c1.724.388 2.971 1.738 3.564 3.832.214-.138.43-.273.64-.406.48-.3.974-.611 1.435-.942-1.098-1.287-2.749-3.738-1.666-5.875C12.404.443 13.12 0 13.973 0c1.084 0 2.2.718 2.655 1.706.814 1.77-.099 3.98-1.498 5.436.588.5 1.197.79 1.814.861a.498.498 0 1 1-.115.99c-.855-.1-1.677-.497-2.448-1.182l-.083.061c-.498.36-1.02.688-1.524 1.004-.31.196-.63.397-.94.603.14.865.173 1.775.093 2.654-.155 1.702-.873 3.135-2.021 4.034-.666.521-1.502.833-2.236.833zm3.245-6.873c-1.552 1.139-3.058 2.406-3.944 3.93-.188.323-.306.68-.325.98-.02.314.065.547.26.712.201.17.458.255.764.255.503 0 1.14-.244 1.622-.622.93-.728 1.513-1.914 1.643-3.34a9.813 9.813 0 0 0-.02-1.915zM5.993 5.34c-1.056 0-1.832.316-2.434.974a2.818 2.818 0 0 0-.743 2.218 2.597 2.597 0 0 0 1.138 1.865c.718.493 1.586.36 2.16-.33.929-1.118 1.32-2.823.995-4.346a4.512 4.512 0 0 0-.073-.294 6.873 6.873 0 0 0-1.043-.087zm7.98-4.345c-.334 0-.791.116-1.071.67-.342.674-.325 1.493.05 2.436.366.922 1 1.772 1.476 2.332 1.126-1.182 1.91-2.973 1.295-4.312-.295-.642-1.048-1.126-1.75-1.126z"],["id","icon-cosmetics","viewBox","0 0 43 43"],["d","M12.4793 19.8439H12.0082V16.0242C12.0082 15.5715 11.6413 15.2045 11.1885 15.2045H11.1181V7.38995C11.1181 7.07955 10.9428 6.79571 10.665 6.6568L4.32151 3.4842C4.06751 3.3572 3.76575 3.37064 3.52399 3.52004C3.28223 3.66934 3.13512 3.93318 3.13512 4.21734V15.2045H3.06474C2.61193 15.2045 2.24503 15.5715 2.24503 16.0242V19.8439H1.7732C1.32039 19.8439 0.953491 20.2109 0.953491 20.6636V42.1803C0.953491 42.633 1.32039 43 1.7732 43H12.479C12.9319 43 13.2988 42.633 13.2988 42.1803V20.6636C13.299 20.2109 12.9321 19.8439 12.4793 19.8439ZM4.77476 5.54385L9.4788 7.89653V15.2045H4.77476V5.54385ZM3.88477 16.8439H10.3689V19.8439H3.88477V16.8439ZM11.6596 41.3606H2.59313V21.4833H11.6596V41.3606Z","fill","white"],["d","M41.2264 33.2557H14.6018C14.149 33.2557 13.7821 33.6227 13.7821 34.0754C13.7821 34.5281 14.149 34.8952 14.6018 34.8952H39.9222L39.7348 35.2848C38.7051 37.4243 36.5056 38.8069 34.1311 38.8069H14.6018C14.149 38.8069 13.7821 39.1739 13.7821 39.6266C13.7821 40.0793 14.149 40.4463 14.6018 40.4463H34.1311C37.1316 40.4463 39.9111 38.6994 41.212 35.9956L41.965 34.4309C42.0873 34.1769 42.0705 33.8778 41.9204 33.6393C41.7704 33.4007 41.5083 33.2557 41.2264 33.2557Z","fill","white"],["d","M12.7093 6.02749C15.7657 3.19785 19.7444 1.63942 23.9128 1.63942C33.0077 1.63942 40.4069 9.03866 40.4069 18.1335C40.4069 23.0368 38.2463 27.6537 34.4792 30.8004C34.1317 31.0907 34.0853 31.6076 34.3756 31.955C34.5377 32.1491 34.7705 32.2492 35.0051 32.2492C35.1904 32.2492 35.3769 32.1867 35.5302 32.0586C39.6715 28.5996 42.0465 23.524 42.0465 18.1334C42.0463 8.13469 33.9117 0 23.9128 0C19.3302 0 14.9559 1.71341 11.5954 4.82459C11.2633 5.13215 11.2433 5.65075 11.5508 5.98301C11.8583 6.31504 12.3769 6.33504 12.7093 6.02749Z","fill","white"],["d","M23.9124 5.04878C31.1276 5.04878 36.9976 10.9188 36.9976 18.134C36.9976 25.3492 31.1276 31.2192 23.9124 31.2192C20.6687 31.2192 17.5573 30.0237 15.151 27.8532C14.8151 27.55 14.2967 27.5766 13.9933 27.9128C13.6901 28.2489 13.7168 28.7672 14.0529 29.0704C16.7608 31.5133 20.2623 32.8586 23.9124 32.8586C32.0316 32.8586 38.637 26.2531 38.637 18.134C38.637 10.0148 32.0316 3.40936 23.9124 3.40936C19.2494 3.40936 14.8133 5.65427 12.0461 9.41456C11.7777 9.77916 11.8558 10.2923 12.2204 10.5606C12.585 10.8288 13.0979 10.7509 13.3665 10.3863C15.826 7.04417 19.7685 5.04878 23.9124 5.04878Z","fill","white"],["d","M32.9301 11.6763L17.9712 26.6353C17.651 26.9554 17.651 27.4744 17.9712 27.7945C18.1313 27.9545 18.3411 28.0346 18.5509 28.0346C18.7606 28.0346 18.9705 27.9546 19.1306 27.7945L34.0894 12.8355C34.4095 12.5154 34.4095 11.9963 34.0894 11.6763C33.7691 11.3562 33.2502 11.3562 32.9301 11.6763Z","fill","white"],["d","M22.5263 26.7365C22.2062 27.0566 22.2062 27.5757 22.5263 27.8957C22.6865 28.0557 22.8963 28.1358 23.106 28.1358C23.3158 28.1358 23.5256 28.0558 23.6857 27.8957L34.9168 16.6646C35.237 16.3445 35.237 15.8254 34.9168 15.5054C34.5966 15.1853 34.0777 15.1853 33.7576 15.50
154L22.5263 26.7365Z","fill","white"],["id","icon-restaurant_dish","viewBox","0 0 49 48"],["d","M40.2041 36.8491V38.5234C40.2041 38.9118 40.5188 39.2266 40.9072 39.2266C41.2956 39.2266 41.6104 38.9118 41.6104 38.5234V36.8491C41.6104 36.4607 41.2956 36.1459 40.9072 36.1459C40.5188 36.1459 40.2041 36.4607 40.2041 36.8491Z","fill","white"],["d","M48.0896 30.9573H38.1268C37.5352 30.9573 37.0541 31.4386 37.0541 32.03V32.7004H34.0569C33.2877 32.7004 32.6408 33.2264 32.4521 33.9369L29.1596 33.0143C28.9118 32.9449 28.7534 32.7005 28.7909 32.4461L29.4612 27.9007C29.5162 27.528 29.4726 27.1527 29.3418 26.8086H34.9863C36.4598 26.8086 37.6586 25.6099 37.6586 24.1363V22.0807C37.6586 21.6923 37.3439 21.3776 36.9555 21.3776H34.9676V20.3328C34.9676 12.7401 28.9502 6.52741 21.434 6.21072V5.79279C21.434 4.57516 20.4434 3.58441 19.2257 3.58441C18.0079 3.58441 17.0173 4.57507 17.0173 5.79279V6.21072C15.091 6.29032 13.238 6.75119 11.501 7.58641C11.1511 7.75469 11.0038 8.17479 11.1721 8.52476C11.3403 8.87472 11.7603 9.02182 12.1104 8.85372C13.8361 8.02394 15.6896 7.60319 17.6194 7.60319H20.8319C27.8509 7.60319 33.5614 13.3136 33.5614 20.3327V21.3775H4.88997V20.3327C4.88997 16.3608 6.69532 12.6875 9.84307 10.2548C10.1503 10.0173 10.2069 9.57579 9.96954 9.26847C9.73207 8.96126 9.29051 8.90472 8.98319 9.14201C5.48819 11.8431 3.48372 15.9218 3.48372 20.3326V21.3774H1.49585C1.10744 21.3774 0.792725 21.6921 0.792725 22.0805V24.1361C0.792725 25.6097 1.99151 26.8084 3.46507 26.8084H8.43391C8.21604 27.508 8.39238 28.2493 8.9171 28.7827L12.3599 32.2828C14.5829 34.5427 17.1392 36.4243 19.9579 37.8749C22.7767 39.3255 25.7934 40.3123 28.9247 40.8078L32.4337 41.3631C32.5964 42.1102 33.262 42.6717 34.0571 42.6717H37.0543V43.3422C37.0543 43.9338 37.5355 44.415 38.127 44.415H41.5186C41.907 44.415 42.2217 44.1003 42.2217 43.7119C42.2217 43.3234 41.907 43.0087 41.5186 43.0087H38.4605V32.3635H47.3865V43.0091H44.3297C43.9413 43.0091 43.6265 43.3238 43.6265 43.7122C43.6265 44.1006 43.9413 44.4154 44.3297 44.4154H48.0896C48.478 44.4154 48.7927 44.1006 48.7927 43.7122V31.6604C48.7927 31.272 48.478 30.9573 48.0896 30.9573ZM19.2257 4.99085C19.668 4.99085 20.0278 5.35066 20.0278 5.79297V6.19722H18.4236V5.79297C18.4235 5.35066 18.7833 4.99085 19.2257 4.99085ZM2.19897 24.1364V22.7839H36.2523V24.1364C36.2523 24.8344 35.6843 25.4025 34.9863 25.4025H22.4781C22.0897 25.4025 21.775 25.7172 21.775 26.1056C21.775 26.494 22.0897 26.8087 22.4781 26.8087H25.2124L22.7919 30.6134C22.4499 31.151 21.7433 31.3337 21.1838 31.0292L13.4244 26.8087H19.6668C20.0552 26.8087 20.3699 26.494 20.3699 26.1056C20.3699 25.7172 20.0552 25.4025 19.6668 25.4025H3.46507C2.76701 25.4025 2.19897 24.8344 2.19897 24.1364ZM20.6014 36.6247C17.9158 35.2427 15.4803 33.4501 13.3623 31.2968L9.91947 27.7968C9.45504 27.3245 10.0218 26.5587 10.611 26.8793L20.5119 32.2645C21.7183 32.9206 23.2412 32.527 23.9785 31.3681L26.6511 27.1672C27.0976 26.4656 28.1912 26.8739 28.07 27.6955L27.3997 32.241C27.2592 33.1938 27.8526 34.1084 28.7802 34.3684L32.3949 35.3812V39.9334L29.1443 39.419C26.1611 38.9471 23.2869 38.0068 20.6014 36.6247ZM34.0569 41.2657C33.9158 41.2657 33.8011 41.1509 33.8011 41.0099V34.3627C33.8011 34.2216 33.9159 34.1069 34.0569 34.1069H37.0541V41.2658H34.0569V41.2657Z","fill","white"],["id","icon-restaurant_plate","viewBox","0 0 48 48"],["d","M24 12.0609C21.6519 12.0609 19.3754 12.736 17.4168 14.0133C17.0915 14.2253 16.9998 14.661 17.2119 14.9863C17.4239 15.3115 17.8597 15.4034 18.1849 15.1912C19.9145 14.0634 21.9253 13.4673 24 13.4673C29.8786 13.4673 34.6613 18.2499 34.6613 24.1285C34.6613 30.0071 29.8786 34.7897 24 34.7897C18.1214 34.7897 13.3388 30.007 13.3388 24.1284C13.3388 21.6086 14.234 19.1635 15.8597 17.2435C16.1106 16.9472 16.0737 16.5034 15.7774 16.2526C15.4811 16.0017 15.0373 16.0385 14.7865 16.3349C12.9461 18.5085 11.9326 21.2763 11.9326 24.1284C11.9326 30.7824 17.3461 36.1959 24.0001 36.1959C30.6541 36.1959 36.0675 30.7824 36.0675 24.1284C36.0675 17.4744 30.654 12.0609 24 12.0609Z","fill","white"],["d","M24 7.32581C14.7351 7.32581 7.19739 14.8634 7.19739 24.1284C7.19739 33.3935 14.7351 40.931 24 40.931C33.265 40.931 40.8026 33.3934 40.8026 24.1284C40.8026 14.8635 33.265 7.32581 24 7.32581ZM24 39.5248C15.5105 39.5248 8.60364 32.618 8.60364 24.1284C8.60364 15.6388 15.5105 8.73206 24 8.73206C32.4895 8.73206 39.3964 15.6389 39.3964 24.1284C39.3964 32.618 32.4895 39.5248 24 39.5248Z","fill","white"],["d","M43.7928 6C41.473 6 39.5857 7.88728 39.5857 10.2071V13.0482C39.5857 15.1283 41.1036 16.8597 43.0897 17.1954
1V29.6757H42.8458C41.9358 29.6757 41.1956 30.416 41.1956 31.3259V40.6068C41.1956 41.5167 41.9358 42.257 42.8458 42.257H44.7398C45.6497 42.257 46.39 41.5167 46.39 40.6068V35.9839C46.39 35.5956 46.0752 35.2808 45.6869 35.2808C45.2985 35.2808 44.9837 35.5956 44.9837 35.9839V40.6068C44.9837 40.7413 44.8743 40.8507 44.7398 40.8507H42.8458C42.7112 40.8507 42.6018 40.7413 42.6018 40.6068V31.3259C42.6018 31.1914 42.7112 31.082 42.8458 31.082H44.7398C44.8743 31.082 44.9837 31.1914 44.9837 31.3259V32.6999C44.9837 33.0882 45.2985 33.403 45.6869 33.403C46.0752 33.403 46.39 33.0882 46.39 32.6999V31.3259C46.39 30.416 45.6497 29.6757 44.7398 29.6757H44.4959V17.1954C46.482 16.8597 48 15.1283 48 13.0482V10.2071C48 7.88728 46.1127 6 43.7928 6ZM46.5937 13.0482C46.5937 14.5927 45.3373 15.8491 43.7928 15.8491C42.2484 15.8491 40.9919 14.5927 40.9919 13.0482V10.2071C40.9919 8.66269 42.2484 7.40625 43.7928 7.40625C45.3373 7.40625 46.5937 8.66269 46.5937 10.2071V13.0482Z","fill","white"],["d","M8.41425 13.0482V6.70312C8.41425 6.31481 8.09944 6 7.71112 6C7.32281 6 7.008 6.31481 7.008 6.70312V12.3451H4.91025V6.70312C4.91025 6.31481 4.59544 6 4.20712 6C3.81881 6 3.504 6.31481 3.504 6.70312V12.3451H1.40625V6.70312C1.40625 6.31481 1.09144 6 0.703125 6C0.314812 6 0 6.31481 0 6.70312V13.0482C0 15.1283 1.51791 16.8597 3.504 17.1954V29.6757H3.26006C2.35012 29.6757 1.60987 30.416 1.60987 31.3259V32.6999C1.60987 33.0882 1.92469 33.403 2.313 33.403C2.70131 33.403 3.01612 33.0882 3.01612 32.6999V31.3259C3.01612 31.1914 3.12553 31.082 3.26006 31.082H5.15409C5.28862 31.082 5.39803 31.1914 5.39803 31.3259V40.6068C5.39803 40.7413 5.28862 40.8507 5.15409 40.8507H3.26006C3.12553 40.8507 3.01612 40.7413 3.01612 40.6068V35.9839C3.01612 35.5956 2.70131 35.2808 2.313 35.2808C1.92469 35.2808 1.60987 35.5956 1.60987 35.9839V40.6068C1.60987 41.5167 2.35012 42.257 3.26006 42.257H5.15409C6.06403 42.257 6.80428 41.5167 6.80428 40.6068V31.3259C6.80428 30.416 6.06403 29.6757 5.15409 29.6757H4.91016V17.1954C6.89634 16.8597 8.41425 15.1283 8.41425 13.0482ZM1.49569 13.7513H6.9
11847C6.60572 14.9565 5.50875 15.8491 4.20703 15.8491C2.90531 15.8491 1.80844 14.9565 1.49569 13.7513Z","fill","white"],["id","icon-new-delivery","viewBox","0 0 512 512"],["d","M504.485 136.266c-13.536 0-24.548-11.011-24.548-24.548a7.514 7.514 0 0 0-7.515-7.515 7.514 7.514 0 0 0-7.515 7.515c0 13.536-11.011 24.548-24.548 24.548-4.151 0-7.515 3.364-7.515 7.515s3.364 7.515 7.515 7.515c13.536 0 24.548 11.012 24.548 24.548a7.514 7.514 0 0 0 7.515 7.515 7.514 7.514 0 0 0 7.515-7.515c0-13.536 11.011-24.548 24.548-24.548 4.151 0 7.515-3.364 7.515-7.515s-3.364-7.515-7.515-7.515zm-32.062 16.399a39.977 39.977 0 0 0-8.884-8.884 39.956 39.956 0 0 0 8.884-8.884 39.977 39.977 0 0 0 8.884 8.884 39.977 39.977 0 0 0-8.884 8.884zM71.64 136.266c-13.535 0-24.548-11.011-24.548-24.548a7.515 7.515 0 1 0-15.03 0c0 13.536-11.013 24.548-24.548 24.548a7.515 7.515 0 1 0 0 15.03c13.535 0 24.548 11.012 24.548 24.548a7.515 7.515 0 1 0 15.03 0c0-13.536 11.013-24.548 24.548-24.548a7.515 7.515 0 1 0 0-15.03zm-32.063 16.399a39.956 39.956 0 0 0-8.884-8.884 39.935 39.935 0 0 0 8.884-8.884 39.956 39.956 0 0 0 8.884 8.884 39.998 39.998 0 0 0-8.884 8.884zM296.078 40.078c-17.956 0-32.564-14.607-32.564-32.564a7.515 7.515 0 0 0-15.029.001c0 17.956-14.609 32.564-32.564 32.564a7.515 7.515 0 1 0 0 15.03c17.955 0 32.564 14.608 32.564 32.564a7.515 7.515 0 1 0 15.03 0c0-17.956 14.608-32.564 32.564-32.564a7.516 7.516 0 0 0-.001-15.031zM256 62.027a48.01 48.01 0 0 0-14.435-14.434A48.01 48.01 0 0 0 256 33.159a48.017 48.017 0 0 0 14.434 14.434A48.017 48.017 0 0 0 256 62.027zM412.456 253.499l-29.232-82.824a15.554 15.554 0 0 0-14.645-10.362H141.417a15.553 15.553 0 0 0-14.645 10.361L97.54 253.499c-1.698 4.811 1.992 10.016 7.086 10.016H405.37a7.514 7.514 0 0 0 7.086-10.016zm-297.209-5.014l25.697-72.809a.515.515 0 0 1 .472-.334h227.163c.205 0 .404.141.473.335l25.697 72.808H115.247zM399.28 352.689c-26.688 0-47.593 13.864-47.593 31.562s20.905 31.562 47.593 31.562 47.593-13.864 47.593-31.562-20.905-31.562-47.593-31.562zm0 48.094c-18.638 0-32.564-8.728-32.564-16.532s13.925-16.532 32.564-16.532c18.638 0 32.564 8.728 32.564 16.532s-13.926 16.532-32.564 16.532zM110.716 352.689c-26.688 0-47.593 13.864-47.593 31.562s20.905 31.562 47.593 31.562 47.593-13.864 47.593-31.562-20.905-31.562-47.593-31.562zm0 48.094c-18.637 0-32.564-8.728-32.564-16.532s13.926-16.532 32.564-16.532 32.564 8.728 32.564 16.532-13.926 16.532-32.564 16.532z"],["d","M495.468 240.47H455.39a7.514 7.514 0 0 0-7.29 5.692l-5.279 21.115L405.9 162.671c-5.574-15.793-20.572-26.405-37.321-26.405H141.417c-16.749 0-31.747 10.612-37.321 26.406l-36.92 104.606-5.279-21.116a7.515 7.515 0 0 0-7.29-5.692H14.528a7.515 7.515 0 0 0-7.515 7.515v32.063a7.515 7.515 0 0 0 7.515 7.515h41.507l-25.619 35.866a39.36 39.36 0 0 0-7.371 23.004v93.928c0 13.015 6.317 24.581 16.044 31.798-.003.088-.013.175-.013.264v24.047c0 8.564 6.967 15.53 15.53 15.53H102.7c8.564 0 15.53-6.967 15.53-15.53v-16.532h273.534v16.532c0 8.564 6.967 15.53 15.53 15.53h48.094c8.564 0 15.53-6.967 15.53-15.53v-24.047c0-.089-.01-.176-.013-.264 9.727-7.217 16.044-18.783 16.044-31.798v-93.928c0-8.298-2.55-16.254-7.372-23.004l-25.619-35.866h41.508a7.514 7.514 0 0 0 7.515-7.515v-32.063a7.511 7.511 0 0 0-7.513-7.515zM22.043 272.532v-17.033h26.696l4.258 17.033H22.043zm81.159 223.938a.501.501 0 0 1-.501.501H54.607a.502.502 0 0 1-.501-.501v-16.532H103.202v16.532zm352.688 0a.502.502 0 0 1-.501.501h-48.094a.502.502 0 0 1-.501-.501v-16.532H455.89v16.532zm-8.516-31.562H62.622c-10.915 0-20.185-7.162-23.367-17.033H470.74c-3.182 9.871-12.451 17.033-23.366 17.033zm-127.75-81.158v17.033H190.372V383.75h129.252zm-128.071-15.03c3.182-9.871 12.451-17.033 23.367-17.033h80.157c10.915 0 20.185 7.162 23.367 17.033H191.553zm128.071 47.092v17.033H190.372v-17.033h129.252zm147.726-83.648a24.41 24.41 0 0 1 4.572 14.268v86.414H334.654v-56.611c0-21.823-17.755-39.577-39.577-39.577H214.92c-21.823 0-39.577 17.755-39.577 39.577v56.611H38.074v-86.414a24.41 24.41 0 0 1 4.572-14.268l31.859-44.602h276.68a7.514 7.514 0 0 0 7.515-7.515 7.514 7.514 0 0 0-7.515-7.515H81.259l37.009-104.859c3.458-9.795 12.76-16.378 23.149-16.378H368.58c10.388 0 19.69 6.582 23.149 16.378l37.008 104.859h-45.489a7.514 7.514 0 0 0-7.515 7.515 7.514 7.514 0 0 0 7.515 7.515h52.243l31.859 44.602zm20.603-59.632h-30.955l4.258-17.033h26.697v17.033z"],["d","M134.763 328.642H86.669a7.515 7.515 0 1 0 0 15.03h48.094a7.51
15 7.515 0 1 0 0-15.03zM423.327 328.642h-48.094c-4.151 0-7.515 3.364-7.515 7.515s3.364 7.515 7.515 7.515h48.094c4.151 0 7.515-3.364 7.515-7.515s-3.364-7.515-7.515-7.515z"],["id","icon-white-track","viewBox","0 0 27 27"],["d","M9.40789 21.0011C7.82196 21.0011 6.53638 22.2631 6.53638 23.8198C6.53638 25.3766 7.82202 26.6386 9.40789 26.6386C10.9938 26.6386 12.2794 25.3765 12.2794 23.8198C12.2795 22.2631 10.9938 21.0011 9.40789 21.0011ZM9.40789 25.3858C8.52683 25.3858 7.81262 24.6847 7.81262 23.8199C7.81262 22.955 8.52683 22.2539 9.40789 22.2539C10.2889 22.2539 11.0032 22.955 11.0032 23.8199C11.0032 24.6847 10.2889 25.3858 9.40789 25.3858Z","fill","white"],["d","M21.5322 21.0011C19.9462 21.0011 18.6606 22.2631 18.6606 23.8198C18.6606 25.3766 19.9463 26.6386 21.5322 26.6386C23.118 26.6386 24.4037 25.3765 24.4037 23.8198C24.4037 22.2631 23.1181 21.0011 21.5322 21.0011ZM21.5322 25.3858C20.6511 25.3858 19.9369 24.6847 19.9369 23.8199C19.9369 22.955 20.6511 22.2539 21.5322 22.2539C22.4132 22.2539 23.1274 22.955 23.1274 23.8199C23.1275 24.6847 22.4132 25.3858 21.5322 25.3858Z","fill","white"],["d","M28.0091 4.55826C27.8762 4.41576 27.6944 4.32656 27.4986 4.30767L6.72784 4.0258L6.15354 2.3032C5.74895 1.15166 4.65042 0.374253 3.4096 0.361364H1.27191C0.919474 0.361364 0.633789 0.641801 0.633789 0.98776C0.633789 1.33372 0.919474 1.61416 1.27191 1.61416H3.4096C4.10342 1.6292 4.71436 2.06652 4.94111 2.71036L8.99317 14.7058L8.67414 15.4261C8.31828 16.3269 8.42516 17.3408 8.96129 18.151C9.49229 18.9467 10.3856 19.4378 11.3543 19.4664H23.7657C24.1181 19.4664 24.4038 19.186 24.4038 18.84C24.4038 18.494 24.1181 18.2136 23.7657 18.2136H11.3542C10.8072 18.2002 10.3037 17.9177 10.0141 17.4619C9.72784 17.0117 9.66903 16.4571 9.85462 15.9585L10.1099 15.3948L23.5423 14.0167C25.0177 13.8572 26.2314 12.8038 26.5734 11.3858L28.1049 5.09059C28.1739 4.90931 28.1373 4.70543 28.0091 4.55826ZM25.329 11.104C25.1219 12.0168 24.3324 12.6901 23.3828 12.764L10.1099 14.1107L7.14263 5.27859L26.701 5.56047L25.329 11.104Z","fill","white"],["id","icon-track","viewBox","0 0 27 27"],["d","M9.40789 21.0011C7.82196 21.0011 6.53638 22.2631 6.53638 23.8198C6.53638 25.3766 7.82202 26.6386 9.40789 26.6386C10.9938 26.6386 12.2794 25.3765 12.2794 23.8198C12.2795 22.2631 10.9938 21.0011 9.40789 21.0011ZM9.40789 25.3858C8.52683 25.3858 7.81262 24.6847 7.81262 23.8199C7.81262 22.955 8.52683 22.2539 9.40789 22.2539C10.2889 22.2539 11.0032 22.955 11.0032 23.8199C11.0032 24.6847 10.2889 25.3858 9.40789 25.3858Z"],["d","M21.5322 21.0011C19.9462 21.0011 18.6606 22.2631 18.6606 23.8198C18.6606 25.3766 19.9463 26.6386 21.5322 26.6386C23.118 26.6386 24.4037 25.3765 24.4037 23.8198C24.4037 22.2631 23.1181 21.0011 21.5322 21.0011ZM21.5322 25.3858C20.6511 25.3858 19.9369 24.6847 19.9369 23.8199C19.9369 22.955 20.6511 22.2539 21.5322 22.2539C22.4132 22.2539 23.1274 22.955 23.1274 23.8199C23.1275 24.6847 22.4132 25.3858 21.5322 25.3858Z"],["d","M28.0091 4.55826C27.8762 4.41576 27.6944 4.32656 27.4986 4.30767L6.72784 4.0258L6.15354 2.3032C5.74895 1.15166 4.65042 0.374253 3.4096 0.361364H1.27191C0.919474 0.361364 0.633789 0.641801 0.633789 0.98776C0.633789 1.33372 0.919474 1.61416 1.27191 1.61416H3.4096C4.10342 1.6292 4.71436 2.06652 4.94111 2.71036L8.99317 14.7058L8.67414 15.4261C8.31828 16.3269 8.42516 17.3408 8.96129 18.151C9.49229 18.9467 10.3856 19.4378 11.3543 19.4664H23.7657C24.1181 19.4664 24.4038 19.186 24.4038 18.84C24.4038 18.494 24.1181 18.2136 23.7657 18.2136H11.3542C10.8072 18.2002 10.3037 17.9177 10.0141 17.4619C9.72784 17.0117 9.66903 16.4571 9.85462 15.9585L10.1099 15.3948L23.5423 14.0167C25.0177 13.8572 26.2314 12.8038 26.5734 11.3858L28.1049 5.09059C28.1739 4.90931 28.1373 4.70543 28.0091 4.55826ZM25.329 11.104C25.1219 12.0168 24.3324 12.6901 23.3828 12.764L10.1099 14.1107L7.14263 5.27859L26.701 5.56047L25.329 11.104Z"],["id","icon-new-clock","viewBox","0 0 15 15"],["d","M7.5 0C3.36457 0 0 3.36457 0 7.5C0 11.6354 3.36457 15 7.5 15C11.6354 15 15 11.6354 15 7.5C15 3.36457 11.6354 0 7.5 0ZM7.5 14.0625C3.88137 14.0625 0.937504 11.1186 0.937504 7.5C0.937504 3.88137 3.88137 0.937504 7.5 0.937504C11.1186 0.937504 14.0625 3.88137 14.0625 7.5C14.0625 11.1186 11.1186 14.0625 7.5 14.0625Z","fill","#323232","fill-opacity","0.35"],["d","M7.9687
15 2.8125H7.03125V7.69408L9.98107 10.6439L10.6439 9.98106L7.96875 7.3059V2.8125Z","fill","#323232","fill-opacity","0.35"],["id","icon-new-eye","viewBox","0 0 20 15"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.0334228 7.29811C1.52515 2.93279 5.53033 0 10 0C14.4697 0 18.4749 2.93279 19.9666 7.29811C20.0112 7.42933 20.0112 7.57093 19.9666 7.70216C18.4749 12.0675 14.4697 15.0003 10 15.0003C5.53033 15.0003 1.52515 12.0675 0.0334228 7.70216C-0.0111409 7.57093 -0.0111409 7.42933 0.0334228 7.29811ZM1.2877 7.50013C2.6592 11.2471 6.13401 13.7502 10 13.7502C13.866 13.7502 17.3408 11.2471 18.7123 7.50013C17.3408 3.75311 13.866 1.25003 10 1.25003C6.13397 1.25003 2.6592 3.75311 1.2877 7.50013ZM6.24994 7.5002C6.24994 5.4323 7.93211 3.75012 10 3.75012C12.0679 3.75012 13.7501 5.43226 13.7501 7.5002C13.7501 9.56813 12.0679 11.2503 10 11.2503C7.93211 11.2503 6.24994 9.56809 6.24994 7.5002ZM7.49998 7.5002C7.49998 8.87899 8.62118 10.0002 10 10.0002C11.3788 10.0002 12.5 8.87899 12.5 7.5002C12.5 6.1214 11.3788 5.00016 10 5.00016C8.62122 5.00016 7.49998 6.12137 7.49998 7.5002Z","fill","#323232","fill-opacity","0.35"],["id","icon-comments","viewBox","0 0 37 37"],["d","M5.00024 18.8074C5.00024 19.9741 5.94938 20.9231 7.11589 20.9231C8.28255 20.9231 9.23162 19.9741 9.23162 18.8074C9.23162 17.6408 8.28248 16.6918 7.11589 16.6918C5.94938 16.6918 5.00024 17.6408 5.00024 18.8074ZM8.1477 18.8074C8.1477 19.3763 7.68484 19.8392 7.11597 19.8392C6.54709 19.8392 6.0843 19.3763 6.0843 18.8074C6.0843 18.2385 6.54709 17.7758 7.11597 17.7758C7.68484 17.7758 8.1477 18.2385 8.1477 18.8074Z","fill","var(--green-primary)"],["d","M14.3146 18.8074C14.3146 17.6408 13.3655 16.6918 12.1989 16.6918C11.0323 16.6918 10.0833 17.6408 10.0833 18.8074C10.0833 19.9741 11.0324 20.9231 12.1989 20.9231C13.3655 20.9231 14.3146 19.9741 14.3146 18.8074ZM11.1672 18.8074C11.1672 18.2385 11.63 17.7758 12.1988 17.7758C12.7677 17.7758 13.2306 18.2385 13.2306 18.8074C13.2306 19.3763 12.7677 19.8392 12.1988 19.8392C11.63 19.8392 11.1672 19.3763 11.1672 18.8074Z","fill","var(--green-primary)"],["d","M19.3974 18.8074C19.3974 17.6408 18.4482 16.6918 17.2817 16.6918C16.1151 16.6918 15.166 17.6408 15.166 18.8074C15.166 19.9741 16.1152 20.9231 17.2817 20.9231C18.4482 20.9231 19.3974 19.9741 19.3974 18.8074ZM16.2499 18.8074C16.2499 18.2385 16.7127 17.7758 17.2816 17.7758C17.8505 17.7758 18.3133 18.2385 18.3133 18.8074C18.3133 19.3763 17.8505 19.8392 17.2816 19.8392C16.7127 19.8392 16.2499 19.3763 16.2499 18.8074Z","fill","var(--green-primary)"],["d","M24.4804 18.8074C24.4804 17.6408 23.5313 16.6918 22.3647 16.6918C21.1981 16.6918 20.249 17.6408 20.249 18.8074C20.249 19.9741 21.1982 20.9231 22.3647 20.9231C23.5313 20.9231 24.4804 19.9741 24.4804 18.8074ZM21.3329 18.8074C21.3329 18.2385 21.7957 17.7758 22.3646 17.7758C22.9335 17.7758 23.3963 18.2385 23.3963 18.8074C23.3963 19.3763 22.9335 19.8392 22.3646 19.8392C21.7957 19.8392 21.3329 19.3763 21.3329 18.8074Z","fill","var(--green-primary)"],["d","M31.7155 0.279175H11.7182C8.80434 0.279175 6.43366 2.64978 6.43366 5.5636V6.4185H5.28442C2.3706 6.41857 0 8.78917 0 11.703V25.1399C0 28.0538 2.3706 30.4243 5.28442 30.4243H10.9341C11.2335 30.4243 11.4761 30.1817 11.4761 29.8824C11.4761 29.583 11.2335 29.3404 10.9341 29.3404H5.28442C2.96831 29.3404 1.08398 27.456 1.08398 25.1399V11.703C1.08398 9.38688 2.96831 7.50256 5.28442 7.50256H25.2818C27.598 7.50256 29.4823 9.38688 29.4823 11.703V25.1399C29.4823 27.456 27.598 29.3404 25.2818 29.3404C24.6645 29.3404 24.0882 29.6119 23.7006 30.0856C21.5748 32.6835 19.0433 34.5194 17.294 35.602C17.1309 35.7027 16.9432 35.5327 17.0289 35.3576C17.7163 33.9551 18.2433 32.4843 18.5952 30.986C18.7924 30.1464 18.1523 29.3404 17.2866 29.3404H13.4635C13.1641 29.3404 12.9215 29.583 12.9215 29.8824C12.9215 30.1817 13.1641 30.4243 13.4635 30.4243H17.2866C17.4529 30.4243 17.5776 30.5781 17.54 30.7381C17.2067 32.1573 16.7072 33.551 16.0555 34.8806C15.4936 36.0276 16.78 37.1949 17.8645 36.5238C19.684 35.3977 22.3191 33.4857 24.5395 30.7721C24.7204 30.5511 24.991 30.4243 25.2818 30.4243C28.1957 30.4243 30.5663 28.0537 30.5663 25.1399V24.285H31.7155C34.6294 24.285 37 21.9144 37 19.0006V13.5468C37 13.2475 36.7574 13.0048 36.458 13.0048C36.1586 13.0048 35.916 13.2475 35.916 13.5468V19.0006C35.916 21.3167 34.0317 23.201 31.7155 23.201H30.5663V11.703C30.5663 8.78917 28.1957 6.41857 25.2818 6.41857H7.51765V5.56367C7.51765 3.24756 9.40198 1.36323 11.7182 1.36323H31.7155C34.0317 1.36323 35.916 3.24756 35.916 5.56367V11.0175C35.916 11.3168 36.1586 11.5595 36.458 11.5595C36.7574 11.5595 37 11.3168 37 11.0175V5.56367C37 2.64978 34.6294 0.279175 31.7155 0.279175Z","fill","var(--green-primary)"],["id","icon-new-location","viewBox","0 0 12 16"],["d","M10.7619 3.98225C10.705 3.7688 10.5893 3.54136 10.5038 3.34223C9.47997 0.881778 7.24297 0 5.43671 0C3.0187 0 0.355553 1.62138 0 4.96342V5.64622C0 5.67471 0.00982067 5.93068 0.0237705 6.05872C0.223086 7.
165146 1.47987 9.34419 2.41849 10.9369C3.42831 12.6434 4.47614 14.322 5.51427 16C6.1544 14.905 6.79222 13.7956 7.41777 12.7289C7.58826 12.4159 7.78616 12.1031 7.95683 11.8043C8.07059 11.6053 8.28791 11.4064 8.38719 11.2213C9.39697 9.3725 11.0223 7.50943 11.0223 5.67468V4.92094C11.0224 4.72203 10.7758 4.02514 10.7619 3.98225ZM5.48098 7.40988C4.77021 7.40988 3.99222 7.05448 3.60821 6.07297C3.55099 5.91673 3.55561 5.60362 3.55561 5.57494V5.13406C3.55561 3.88281 4.61802 3.31381 5.54228 3.31381C6.68014 3.31381 7.56017 4.22415 7.56017 5.36201C7.56017 6.49984 6.61884 7.40988 5.48098 7.40988Z","fill","#323232","fill-opacity","0.35"],["id","icon-new-phone","viewBox","0 0 12 16"],["d","M10.5951 0.447934V0.446281C10.3111 0.160785 9.92506 0.000165289 9.52238 0H2.4761C1.63919 0.00272727 0.961468 0.680455 0.95874 1.51736V14.481C0.958906 14.8837 1.11953 15.2697 1.40502 15.5537C1.68862 15.8388 2.07399 15.9994 2.4761 16H9.52403C9.92614 15.9994 10.3115 15.8388 10.5951 15.5537C10.8802 15.2701 11.0408 14.8848 11.0414 14.4826V1.51901C11.0408 1.1169 10.8802 0.731529 10.5951 0.447934ZM6.00006 14.9702C5.77366 14.9702 5.59014 14.7867 5.59014 14.5603C5.59014 14.3339 5.77366 14.1504 6.00006 14.1504C6.22647 14.1504 6.40998 14.3339 6.40998 14.5603C6.40998 14.7867 6.22647 14.9702 6.00006 14.9702ZM9.83642 12.3967C9.83642 12.9444 9.39242 13.3884 8.84469 13.3884H3.15378C2.60605 13.3884 2.16205 12.9444 2.16205 12.3967V2.73554C2.16205 2.18781 2.60605 1.7438 3.15378 1.7438H8.84634C9.39407 1.7438 9.83808 2.18781 9.83808 2.73554L9.83642 12.3967Z","fill","#323232","fill-opacity","0.35"],["id","auth-user","viewBox","0 0 512 512"],["d","M344 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z","fill","none","stroke-linecap","round","stroke-linejoin","round","stroke-width","32"],["d","M256 304c-87 0-175.3 48-191.64 138.6C62.39 453.52 68.57 464 80 464h352c11.44 0 17.62-10.48 15.65-21.4C431.3 352 343 304 256 304z","fill","none","stroke-miterlimit","10","stroke-width","32"]],template:function(e,t){1&e&&(i.Tc(),i.Ec(0,"svg",0),i.Ec(1,"symbol",1),i.zc(2,"path",2),i.zc(3,"path",3),i.zc(4,"path",4),i.zc(5,"path",5),i.zc(6,"path",6),i.zc(7,"path",7),i.zc(8,"path",8),i.Ec(9,"g",9),i.zc(10,"path",10),i.zc(11,"path",11),i.zc(12,"path",12),i.zc(13,"path",13),i.Dc(),i.Dc(),i.Ec(14,"symbol",14),i.zc(15,"path",15),i.Dc(),i.Ec(16,"symbol",16),i.zc(17,"path",17),i.Dc(),i.Ec(18,"symbol",18),i.zc(19,"path",19),i.Dc(),i.Ec(20,"symbol",20),i.zc(21,"path",21),i.Dc(),i.Ec(22,"symbol",22),i.zc(23,"path",23),i.Dc(),i.Ec(24,"symbol",24),i.zc(25,"path",25),i.zc(26,"path",26),i.Dc(),i.Ec(27,"symbol",27),i.zc(28,"path",28),i.Dc(),i.Ec(29,"symbol",29),i.zc(30,"path",30),i.Dc(),i.Ec(31,"symbol",31),i.zc(32,"path",32),i.zc(33,"path",33),i.zc(34,"path",34),i.Dc(),i.Ec(35,"symbol",35),i.zc(36,"path",36),i.zc(37,"path",37),i.Dc(),i.Ec(38,"symbol",38),i.zc(39,"path",39),i.zc(40,"path",40),i.Dc(),i.Ec(41,"symbol",41),i.Ec(42,"style",42),i.zd(43,".st0{fill-rule:evenodd;clip-rule:evenodd;fill:#F5BA8C;}.st1{fill:#F5BA8C;}"),i.Dc(),i.Ec(44,"g"),i.Ec(45,"g"),i.zc(46,"path",43),i.Dc(),i.Ec(47,"g"),i.zc(48,"path",44),i.Dc(),i.Dc(),i.Dc(),i.Ec(49,"symbol",45),i.Ec(50,"defs"),i.Ec(51,"style",42),i.zd(52,".cls-1{fill: #00f2ea;}.cls-2{fill: #fff;}.cls-3 {fill: #ff004f;}"),i.Dc(),i.Dc(),i.Ec(53,"g",46),i.zc(54,"path",47),i.zc(55,"path",48),i.zc(56,"path",49),i.zc(57,"path",50),i.zc(58,"path",51),i.Dc(),i.Ec(59,"g",52),i.zc(60,"path",53),i.zc(61,"path",54),i.zc(62,"path",55),i.zc(63,"path",56),i.zc(64,"path",57),i.Dc(),i.Dc(),i.Dc(),i.Ec(65,"svg",0),i.Ec(66,"symbol",58),i.zc(67,"circle",59),i.zc(68,"circle",60),i.zc(69,"circle",61),i.zc(70,"path",62),i.Dc(),i.Ec(71,"symbol",63),i.zc(72,"path",64),i.Dc(),i.Ec(73,"symbol",65),i.zc(74,"path",66),i.Dc(),i.Ec(75,"symbol",67),i.zc(76,"path",68),i.Dc(),i.Ec(77,"symbol",69),i.zc(78,"path",70),i.zc(79,"path",71),i.Dc(),i.Ec(80,"symbol",72),i.zc(81,"path",73),i.Dc(),i.Ec(82,"symbol",74),i.zc(83,"path",75),i.Dc(),i.Ec(84,"symbol",76),i.zc(85,"path",77),i.Dc(),i.Ec(86,"symbol",78),i.Ec(87,"g"),i.zc(88,"path",79),i.zc(89,"path",80),i.zc(90,"path",81),i.zc(91,"path",82),i.Dc(),i.Dc(),i.Ec(92,"symbol",83),i.zc(93,"path",84),i.Dc(),i.Ec(94,"symbol",85),i.Ec(95,"g"),i.zc(96,"path",86),i.zc(97,"path",87),i.Dc(),i.Dc(),i.Ec(98,"symbol",88),i.Ec(99,"g"),i.zc(100,"path",89),i.zc(101,"path",90),i.zc(102,"path",91),i.zc(103,"path",92),i.zc(104,"path",93),i.zc(105,"path",94),i.Dc(),i.Dc(),i.Ec(106,"symbol",95),i.zc(107,"path",96),i.Dc(),i.Ec(108,"symbol",97),i.zc(109,"path",98),i.Dc(),i.Ec(110,"symbol",99),i.zc(111,"path",100),i.Dc(),i.Ec(112,"symbol",101),i.zc(113,"path",102),i.Dc(),i.Ec(114,"symbol",103),i.zc(115,"path",104),i.Dc(),i.Ec(116,"symbol",105),i.zc(117,"path",106),i.Dc(),i.Ec(118,"symbol",107),i.zc(119,"path",108),i.Dc(),i.Ec(120,"symbol",109),i.zc(121,"path",110),i.zc(122,"path",111),i.zc(123,"path",112),i.Dc(),i.Ec(124,"symbol",113),i.zc(125,"path",114),i.zc(126,"path",115),i.Dc(),i.Ec(127,"symbol",116),i.zc(128,"path",117),i.zc(129,"path",118),i.Dc(),i.Ec(130,"symbol",119),i.Ec(131,"g",120),i.zc(132,"path",121),i.zc(133,"path",122),i.zc(134,"path",123),i.zc(135,"path",124),i.zc(136,"path",125),i.zc(137,"path",126),i.Dc(),i.Ec(138,"defs"),i.Ec(139,"clipPath",127),i.zc(140,"rect",128),i.Dc(),i.Dc(),i.Dc(),i.Ec(141,"symbol",129),i.zc(142,"line",130),i.zc(143,"line",131),i.zc(144,"line",132),i.Dc(),i.Ec(145,"symbol",133),i.zc(146,"path",134),i.Dc(),i.Ec(147,"symbol",135),i.zc(148,"path",136),i.zc(149,"path",137),i.zc(150,"path",138),i.Dc(),i.Ec(151,"symbol",139),i.zc(1
152,"path",140),i.zc(153,"path",141),i.Dc(),i.Ec(154,"symbol",142),i.Ec(155,"g",143),i.zc(156,"path",144),i.zc(157,"path",145),i.zc(158,"path",146),i.zc(159,"path",147),i.Dc(),i.Ec(160,"defs"),i.Ec(161,"clipPath",148),i.zc(162,"rect",149),i.Dc(),i.Dc(),i.Dc(),i.Ec(163,"symbol",150),i.zc(164,"path",151),i.Dc(),i.Ec(165,"symbol",152),i.zc(166,"path",153),i.zc(167,"path",154),i.zc(168,"path",155),i.Dc(),i.Ec(169,"symbol",156),i.zc(170,"path",157),i.Dc(),i.Ec(171,"symbol",158),i.zc(172,"path",159),i.zc(173,"path",160),i.zc(174,"path",161),i.zc(175,"path",162),i.zc(176,"path",163),i.zc(177,"path",164),i.zc(178,"path",165),i.zc(179,"path",166),i.zc(180,"path",167),i.zc(181,"path",168),i.zc(182,"path",169),i.zc(183,"path",170),i.zc(184,"path",171),i.zc(185,"path",172),i.zc(186,"path",173),i.zc(187,"path",174),i.zc(188,"path",175),i.zc(189,"path",176),i.zc(190,"path",177),i.zc(191,"path",178),i.zc(192,"path",179),i.zc(193,"path",180),i.zc(194,"path",181),i.zc(195,"path",182),i.zc(196,"path",183),i.zc(197,"path",184),i.zc(198,"path",185),i.zc(199,"path",186),i.zc(200,"path",187),i.zc(201,"path",188),i.zc(202,"path",189),i.zc(203,"path",190),i.Dc(),i.Ec(204,"symbol",191),i.zc(205,"path",192),i.zc(206,"path",193),i.zc(207,"path",194),i.zc(208,"path",195),i.zc(209,"path",196),i.zc(210,"path",197),i.zc(211,"path",198),i.Dc(),i.Ec(212,"symbol",199),i.Ec(213,"g",200),i.zc(214,"path",201),i.Dc(),i.Ec(215,"defs"),i.Ec(216,"clipPath",202),i.zc(217,"rect",149),i.Dc(),i.Dc(),i.Dc(),i.Ec(218,"symbol",203),i.Ec(219,"defs"),i.Ec(220,"style"),i.zd(221,".cls-1 { fill: none; stroke: #231f20; stroke-linejoin: round; stroke-width: 2px; }"),i.Dc(),i.Dc(),i.zc(222,"path",204),i.Dc(),i.Ec(223,"symbol",205),i.zc(224,"path",206),i.Dc(),i.Dc(),i.Ec(225,"svg",0),i.Ec(226,"symbol",207),i.zc(227,"path",208),i.zc(228,"path",209),i.zc(229,"path",210),i.zc(230,"path",211),i.zc(231,"path",212),i.zc(232,"path",213),i.Dc(),i.Ec(233,"symbol",214),i.zc(234,"path",215),i.zc(235,"path",216),i.Dc(),i.Ec(236,"symbol",217),i.zc(237,"path",218),i.zc(238,"path",219),i.zc(239,"path",220),i.zc(240,"path",221),i.Dc(),i.Ec(241,"symbol",222),i.zc(242,"path",223),i.zc(243,"path",224),i.zc(244,"path",225),i.Dc(),i.Ec(245,"symbol",226),i.zc(246,"path",227),i.zc(247,"path",228),i.zc(248,"path",229),i.Dc(),i.Ec(249,"symbol",230),i.zc(250,"path",231),i.zc(251,"path",232),i.zc(252,"path",233),i.Dc(),i.Ec(253,"symbol",234),i.zc(254,"path",235),i.zc(255,"path",236),i.Dc(),i.Ec(256,"symbol",237),i.zc(257,"path",238),i.Dc(),i.Ec(258,"symbol",239),i.zc(259,"path",240),i.zc(260,"path",241),i.zc(261,"path",242),i.zc(262,"path",243),i.zc(263,"path",244),i.Dc(),i.Ec(264,"symbol",245),i.zc(265,"path",246),i.Dc(),i.Ec(266,"symbol",247),i.zc(267,"path",248),i.Dc(),i.Ec(268,"symbol",249),i.zc(269,"path",250),i.zc(270,"path",251),i.Dc(),i.Dc())},encapsulation:2,changeDetection:0}),e})();var N=n("7Yz4"),R=n("XNiG"),F=n("1G5W"),V=n("vkgz"),U=n("pLZG"),H=n("kBKH");function B(e,t){if(1&e&&(i.Tc(),i.Ec(0,"svg",4),i.zc(1,"use"),i.Dc()),2&e){const e=i.Uc(2);i.wd("fill",e.menuItemColor),i.jc(1),i.kc("href",e.menuItemIcon,null,"xlink")}}function $(e,t){if(1&e&&(i.Ec(0,"a",2),i.xd(1,B,2,3,"svg",3),i.zd(2),i.Dc()),2&e){const e=i.Uc();i.wd("color",e.menuItemColor),i.cd("href",e.menuItemExternalUrl,i.qd),i.bd("target",e.menuItemExternalLinkOptions.target),i.kc("rel",e.menuItemLinkRel),i.jc(1),i.bd("ngIf",e.showIcon),i.jc(1),i.Bd(" ",e.navItem.label,"\n")}}function q(e,t){if(1&e&&(i.Tc(),i.Ec(0,"svg",4),i.zc(1,"use"),i.Dc()),2&e){const e=i.Uc(2);i.wd("fill",e.menuItemColor),i.jc(1),i.kc("href",e.menuItemIcon,null,"xlink")}}function W(e,t){if(1&e&&(i.Ec(0,"a",5),i.xd(1,q,2,3,"svg",3),i.zd(2),i.Dc()),2&e){const e=i.Uc();i.wd("color",e.menuItemColor),i.bd("routerLink",e.menuItemUrl),i.jc(1),i.bd("ngIf",e.showIcon),i.jc(1),i.Bd(" ",e.navItem.label," ")}}let G=(()=>{class e{constructor(e,t,n){this.router=e,this.routesServices=t,this.changeDetector=n,this.showIcon=!1}get isMenuItemExternal(){return this.pIsMenuItemExternal}get menuItemColor(){return this.pMenuItemColor}get menuItemUrl(){return this.pMenuItemUrl}
1get menuItemExternalUrl(){return this.pMenuItemExternalUrl}get menuItemExternalLinkOptions(){return this.pMenuItemExternalLinkOptions}get menuItemLinkRel(){return this.pMenuItemLinkRel}get menuItemIcon(){return this.pMenuItemIcon}ngOnChanges(e){void 0!==e.navItem&&(this.pIsMenuItemExternal=this.navItem.isExternal,this.pMenuItemColor=this.getMenuItemColor(),this.pMenuItemIcon=this.getMenuItemIcon(),this.pIsMenuItemExternal?(this.pMenuItemExternalUrl=this.navItem.externalUrl,this.pMenuItemExternalLinkOptions=this.navItem.externalLinkOptions,this.pMenuItemLinkRel=this.pMenuItemExternalLinkOptions.noFollow?"nofollow":null,this.pMenuItemUrl=void 0):(this.pMenuItemUrl=this.getMenuItemUrl(),this.routesServices.isRouteForActualLanguage(this.pMenuItemUrl)||(this.pIsMenuItemExternal=!0,this.pMenuItemExternalUrl=this.router.serializeUrl(this.router.createUrlTree(this.pMenuItemUrl)),this.pMenuItemExternalLinkOptions={target:"_self"},this.pMenuItemUrl=void 0)))}getMenuItemColor(){return"offers"===this.navItem.iconType?"var(--green-primary)":null}getMenuItemUrl(){switch(this.navItem.type){case"catalog":return this.routesServices.buildCatalogIndexPageRoute();case"site":return this.routesServices.buildHomePageRoute();default:throw new Error("Navigation item is external")}}getMenuItemIcon(){switch(this.navItem.iconType){case"site":return"#icon-menu_main";case"vacancy":return"#icon-menu_vacancy";case"photo":return"#icon-menu_photo";case"weather":return"#icon-menu_weather";case"news":return"#icon-menu_news";case"dosug":return"#icon-menu_dosug";case"ads":return"#icon-menu_adv";case"afisha":return"#icon-menu_afisha";case"catalog":return"#icon-menu_handbook";case"estate":return"#icon-menu_estate";case"auto":return"#icon-menu_auto";case"offers":return"#icon-menu_offers";case"menu-custom-about-us":return"#icon-menu-custom-about-us";default:return"#icon-menu_default"}}}return e.\u0275fac=function(t){return new(t||e)(i.yc(S.d),i.yc(E.fb),i.yc(i.j))},e.\u0275cmp=i.sc({type:e,selectors:[["app-navigation-item"]],inputs:{navItem:"navItem",showIcon:"showIcon"},features:[i.hc],decls:3,vars:2,consts:[["target","_self",3,"href","target","color",4,"ngIf","ngIfElse"],["internalLink",""],["target","_self",3,"href","target"],["width","20","height","20",3,"fill",4,"ngIf"],["width","20","height","20"],[3,"routerLink"]],template:function(e,t){if(1&e&&(i.xd(0,$,3,7,"a",0),i.xd(1,W,3,5,"ng-template",null,1,i.yd)),2&e){const e=i.kd(2);i.bd("ngIf",t.isMenuItemExternal)("ngIfElse",e)}},directives:[a.u,S.g],encapsulation:2,changeDetection:0}),e})();var X=n("XhrQ");function Z(e,t){if(1&e&&(i.Ec(0,"ul",6),i.Ec(1,"li",11),i.Ec(2,"a",12),i.zd(3),i.Ec(4,"span",13),i.zd(5,"in-header-menu-label"),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e){const e=i.Uc(2);i.jc(2),i.cd("href",e.inHeader.url,i.qd),i.kc("target",e.inHeader.linkTarget)("rel",e.inHeader.linkRel),i.jc(1),i.Bd(" ",e.inHeader.label," ")}}function Y(e,t){if(1&e&&(i.Ec(0,"li"),i.zc(1,"app-navigation-item",16),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.bd("navItem",e)("showIcon",!0)}}function Q(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ul",14),i.Qc("click",(function(){return i.nd(e),i.Uc(2).hideMenu()})),i.xd(1,Y,2,2,"li",15),i.Dc()}if(2&e){const e=i.Uc(2);i.jc(1),i.bd("ngForOf",e.primaryMenuItems)}}function K(e,t){if(1&e&&(i.Ec(0,"li"),i.zc(1,"app-navigation-item",18),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.bd("navItem",e)}}function J(e,t){if(1&e){const e=i.Fc();i.Ec(0,"ul",17),i.Qc("click",(function(){return i.nd(e),i.Uc(2).hideMenu()})),i.xd(1,K,2,1,"li",15),i.Dc()}if(2&e){const e=i.Uc(2);i.jc(1),i.bd("ngForOf",e.secondaryMenuItems)}}function ee(e,t){1&e&&i.zc(0,"app-circle-loader",24),2&e&&i.bd("small",!0)}function te(e,t){1&e&&(i.Tc(),i.Ec(0,"svg",25),i.zc(1,"path",26),i.Dc())}function ne(e,t){if(1&e){const e=i.Fc();i.Cc(0),i.Ec(1,"a",19),i.Vc(2,"translate"),i.zc(3,"div",20),i.Ec(4,"span"),i.zd(5),i.Dc(),i.Dc(),i.Ec(6,"button",21),i.Qc("click",(function(){return i.nd(e),i.Uc(2).doLogOut()})),i.Vc(7,"translate"),i.xd(8,ee,1,1,"app-circle-loader",22),i.xd(9,te,2,0,"ng-template",null,23,i.yd),i.Dc(),i.Bc()}if(2&e){const e=i.kd(10),t=i.Uc(2);i.jc(1),i.cd("href",t.userCabinetUrl,i.qd),i.cd("title",i.Wc(2,7,"n
1avigate-to-cabinet-prompt")),i.jc(2),i.bd("lazyLoad",t.user.avatarUrl),i.jc(2),i.Ad(t.user.userName),i.jc(1),i.cd("title",i.Wc(7,9,"sign-out-prompt")),i.jc(2),i.bd("ngIf",t.logOutInProgress)("ngIfElse",e)}}function ie(e,t){if(1&e){const e=i.Fc();i.Tc(),i.Ec(0,"svg",27),i.zc(1,"use",28),i.Dc(),i.Sc(),i.Ec(2,"button",29),i.Qc("click",(function(){return i.nd(e),i.Uc(2).authModalsService.openSignInModal()})),i.zd(3,"sign-in-prompt"),i.Dc(),i.Ec(4,"span",30),i.zd(5,"|"),i.Dc(),i.Ec(6,"button",29),i.Qc("click",(function(){return i.nd(e),i.Uc(2).authModalsService.openSignUpModal()})),i.zd(7,"sign-up-label"),i.Dc()}}function re(e,t){if(1&e){const e=i.Fc();i.Cc(0),i.Ec(1,"div",1),i.Ec(2,"nav",2),i.xd(3,Z,6,4,"ul",3),i.xd(4,Q,2,1,"ul",4),i.xd(5,J,2,1,"ul",5),i.Ec(6,"ul",6),i.Ec(7,"li",7),i.xd(8,ne,11,11,"ng-container",8),i.xd(9,ie,8,0,"ng-template",null,9,i.yd),i.Dc(),i.Dc(),i.Dc(),i.Dc(),i.Ec(11,"div",10),i.Qc("click",(function(){return i.nd(e),i.Uc().hideMenu()})),i.Dc(),i.Bc()}if(2&e){const e=i.kd(10),t=i.Uc();i.jc(3),i.bd("ngIf",t.hasInHeaderMenuItem),i.jc(1),i.bd("ngIf",t.hasPrimaryMenuItems),i.jc(1),i.bd("ngIf",t.hasSecondaryMenuItems),i.jc(3),i.bd("ngIf",t.isAuthenticated)("ngIfElse",e)}}let se=(()=>{class e{constructor(e,t,n,i){this.authModalsService=e,this.authService=t,this.configService=n,this.changeDetector=i,this.onDestroy$=new R.a,this.pIsMenuOpened=!1,this.pIsAuthenticated=!1,this.pLogOutInProgress=!1,this.pUser=null,this.pInHeader=null}get isMenuOpened(){return this.pIsMenuOpened}get isAuthenticated(){return this.pIsAuthenticated}get logOutInProgress(){return this.pLogOutInProgress}get userCabinetUrl(){return this.pUserCabinetUrl}get user(){return this.pUser}get primaryMenuItems(){return this.pPrimaryMenuItems}get secondaryMenuItems(){return this.pSecondaryMenuItems}get hasPrimaryMenuItems(){return this.pHasPrimaryMenuItems}get hasSecondaryMenuItems(){return this.pHasSecondaryMenuItems}get hasInHeaderMenuItem(){return this.pHasInHeaderMenuItem}get inHeader(){return this.pInHeader}ngOnInit(){this.configService.allConfig.pipe(Object(F.a)(this.onDestroy$),Object(O.a)(1),Object(V.a)(e=>{var t,n;this.pInHeader=e.navigation.inHeader,this.pHasInHeaderMenuItem=(null===(n=null===(t=this.pInHeader)||void 0===t?void 0:t.label)||void 0===n?void 0:n.length)>0;const i=e.navigation.desktop.slice();this.pPrimaryMenuItems=i.splice(0,4),this.pSecondaryMenuItems=i,this.pHasPrimaryMenuItems=this.pPrimaryMenuItems.length>0,this.pHasSecondaryMenuItems=this.pSecondaryMenuItems.length>0,this.pUserCabinetUrl=e.oldUrls.cabinet,this.changeDetector.markForCheck()})).subscribe(),this.authService.userModel.pipe(Object(F.a)(this.onDestroy$),Object(V.a)(e=>{this.pUser=e,this.pIsAuthenticated=null!==this.pUser,this.changeDetector.markForCheck()})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}showMenu(){this.pIsMenuOpened=!0,this.changeDetector.markForCheck()}hideMenu(){this.pIsMenuOpened=!1,this.changeDetector.markForCheck()}doLogOut(){this.pLogOutInProgress=!0,this.authService.signOut().pipe(Object(F.a)(this.onDestroy$),Object(O.a)(1)).subscribe({complete:()=>{this.pLogOutInProgress=!1,this.changeDetector.markForCheck()}})}}return e.\u0275fac=function(t){return new(t||e)(i.yc(E.e),i.yc(E.f),i.yc(H.c),i.yc(i.j))},e.\u0275cmp=i.sc({type:e,selectors:[["app-side-menu"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"side-menu","container-fluid"],[1,"top-nav"],["class","unstyled-list",4,"ngIf"],["class","unstyled-list top-nav__list--primary",3,"click",4,"ngIf"],["class","unstyled-list top-nav__list--secondary",3,"click",4,"ngIf"],[1,"unstyled-list"],[1,"top-nav__link-span","top-nav__mobile-navigation"],[4,"ngIf","ngIfElse"],["mobileLogin",""],[1,"site-overlay",3,"click"],[1,"top-nav__link-span"],[3,"href"],["translate","",1,"top-nav__link-span--special"],[1,"unstyled-list","top-nav__list--primary",3,"click"],[4,"ngFor","ngForOf"],[3,"navItem","showIcon"],[1,"unstyled-list","top-nav__list--secondary",3,"click"],[3,"navItem"],[1,"top-nav__mobile-navigation--auth-user",3,"href","title"],[1,"avatar","rounded-bg-image",3,"lazyLoad"],["type","button",1,"logout-btn","clean-btn",3,"title","click"],[3,"small",4,"ngIf","ngIfElse"],["logOutIcon",""],[3,"small"],["viewBox","0 0 511 512","height","16","width","16"],["d","M361.5 392v40c0 44.113-35.887 80-80 80h-201c-44.113 0-80-35.887-80-80V80c0-44.113 35.887-80 80-80h201c44.113 0 80 35.887 80 80v40c0 11.047-8.953 20-20 20s-20-8.953-20-20V80c0-22.055-17.945-40-40-40h-201c-22.055 0-40 17.945-40 40v352c0 22.055 17.945 40 40 40h201c22.055 0 40-17.945 40-40v-40c0-11.047 8.953-20 20-20s20 8.953 20 20zm136.355-170.355l
1-44.785-44.786c-7.812-7.812-20.476-7.812-28.285 0-7.812 7.809-7.812 20.473 0 28.282L456.641 237H216.5c-11.047 0-20 8.953-20 20s8.953 20 20 20h240.14l-31.855 31.86c-7.812 7.808-7.812 20.472 0 28.28a19.935 19.935 0 0014.14 5.86 19.937 19.937 0 0014.145-5.86l44.785-44.785c19.497-19.496 19.497-51.214 0-70.71zm0 0"],["width","26","height","26",2,"stroke","var(--green-primary)"],[0,"xlink","href","#auth-user"],["type","button","translate","",1,"top-nav__navigation-button",3,"click"],[1,"top-nav__navigation-button"]],template:function(e,t){1&e&&i.xd(0,re,12,5,"ng-container",0),2&e&&i.bd("ngIf",t.isMenuOpened)},directives:[a.u,v.b,a.t,G,I.a,X.a],pipes:[v.d],styles:['.side-menu[_ngcontent-%COMP%]{position:fixed;z-index:10;top:0;left:0;background-color:#fff;box-shadow:3px 0 6px rgba(50,50,50,.15);transition:all .3s ease-out;height:100%;width:320px;max-height:80%;overflow-y:auto}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]{font-size:1.3rem;padding:8px 0}.side-menu[_ngcontent-%COMP%]   .top-nav__mobile-navigation[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px!important;border-bottom:none!important}.side-menu[_ngcontent-%COMP%]   .top-nav__mobile-navigation[_ngcontent-%COMP%]   .logout-btn[_ngcontent-%COMP%]{margin-left:auto}.side-menu[_ngcontent-%COMP%]   .top-nav__mobile-navigation--auth-user[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center}.side-menu[_ngcontent-%COMP%]   .top-nav__mobile-navigation--auth-user[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#dcdcdc;margin-right:10px}.side-menu[_ngcontent-%COMP%]   .top-nav__navigation-button[_ngcontent-%COMP%]{flex-shrink:0;border:unset;color:#323232;background-color:unset;font-size:1.3rem;font-weight:300}.side-menu[_ngcontent-%COMP%]   .top-nav__navigation-button[_ngcontent-%COMP%]:first-of-type{margin-left:12px}.side-menu[_ngcontent-%COMP%]   .top-nav__link-span--special[_ngcontent-%COMP%]{margin-left:5px;padding:4px 8px;font-size:11px;background-color:#fc884e;color:#fff;border-radius:10px}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0 -4px}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;padding:8px 8px 8px 52px;border-bottom:1px solid rgba(50,50,50,.15)}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]:before{content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);height:5px;width:5px;background-color:var(--green-primary);border-radius:50%;display:block}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]{padding-bottom:25px;border-bottom:1px solid var(--green-primary)}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:10px!important}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]     a{font-size:22px;font-weight:300;display:flex}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]     a svg{fill:var(--green-primary);width:24px;height:24px;margin-right:20px}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-bottom:none!important}.side-menu[_ngcontent-%COMP%]   .top-nav__list--secondary[_ngcontent-%COMP%]{padding-bottom:25px}.side-menu[_ngcontent-%COMP%]   .top-nav__list--secondary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-bottom:none!important}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]     a{font-weight:400;line-height:30px;transition:all .3s ease-out}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]     a:focus, .side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}
1.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]     a:focus{outline:none}.site-overlay[_ngcontent-%COMP%]{display:block;position:fixed;top:0;left:0;width:100%;height:100%;content:""}'],changeDetection:0}),e})();var oe=n("Y6Wm");function ae(e,t){if(1&e&&(i.Ec(0,"li"),i.zc(1,"app-navigation-item",8),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.bd("navItem",e)("showIcon",!0)}}function ce(e,t){if(1&e&&(i.Ec(0,"ul",6),i.xd(1,ae,2,2,"li",7),i.Dc()),2&e){const e=i.Uc(2);i.jc(1),i.bd("ngForOf",e.primaryMenuItems)}}function le(e,t){if(1&e){const e=i.Fc();i.Ec(0,"div",9),i.Qc("click",(function(){return i.nd(e),i.Uc(2).showSideMenu.emit()})),i.Tc(),i.Ec(1,"svg",10),i.zc(2,"use",11),i.Dc(),i.Dc()}}function ue(e,t){1&e&&i.zd(0,"\xa0")}function de(e,t){if(1&e&&(i.Ec(0,"li"),i.zc(1,"app-navigation-item",13),i.Dc()),2&e){const e=t.$implicit;i.jc(1),i.bd("navItem",e)}}function he(e,t){if(1&e&&(i.Ec(0,"ul",12),i.xd(1,de,2,1,"li",7),i.Dc()),2&e){const e=i.Uc(2);i.jc(1),i.bd("ngForOf",e.secondaryMenuItems)}}function pe(e,t){if(1&e&&(i.Ec(0,"nav",1),i.xd(1,ce,2,1,"ul",2),i.xd(2,le,3,0,"div",3),i.xd(3,ue,1,0,"ng-template",null,4,i.yd),i.xd(5,he,2,1,"ul",5),i.Dc()),2&e){const e=i.kd(4),t=i.Uc();i.jc(1),i.bd("ngIf",t.hasPrimaryMenuItems)("ngIfElse",e),i.jc(1),i.bd("ngIf",t.isSlimType),i.jc(3),i.bd("ngIf",t.hasSecondaryMenuItems)}}let fe=(()=>{class e{constructor(e,t){this.configService=e,this.changeDetector=t,this.showSideMenu=new i.s,this.pIsReady=!1,this.onDestroy$=new R.a}get secondaryMenuItems(){return this.pSecondaryMenuItems}get primaryMenuItems(){return this.pPrimaryMenuItems}get type(){return this.pType}get isSlimType(){return this.pIsSlimType}get hasPrimaryMenuItems(){return this.pHasPrimaryMenuItems}get hasSecondaryMenuItems(){return this.pHasSecondaryMenuItems}get isReady(){return this.pIsReady}ngOnInit(){this.configService.allConfig.pipe(Object(F.a)(this.onDestroy$),Object(O.a)(1),Object(V.a)(e=>{this.pType=e.mainConfig.siteHeaderType,this.pIsSlimType="slim"===this.pType;const t=e.navigation.desktop.slice();this.pPrimaryMenuItems=t.splice(0,4),this.pSecondaryMenuItems=t,this.pHasPrimaryMenuItems=this.pPrimaryMenuItems.length>0,this.pHasSecondaryMenuItems=!this.pIsSlimType&&this.pSecondaryMenuItems.length>0,this.pIsReady=!0,this.changeDetector.markForCheck()})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(H.c),i.yc(i.j))},e.\u0275cmp=i.sc({type:e,selectors:[["app-main-menu"]],outputs:{showSideMenu:"showSideMenu"},decls:1,vars:1,consts:[["class","main-nav d-none d-lg-flex",4,"ngIf"],[1,"main-nav","d-none","d-lg-flex"],["class","unstyled-list navigation__list--primary",4,"ngIf","ngIfElse"],["class","burger-btn",3,"click",4,"ngIf"],["mainNavCap",""],["class","unstyled-list navigation__list--secondary",4,"ngIf"],[1,"unstyled-list","navigation__list--primary"],[4,"ngFor","ngForOf"],[3,"navItem","showIcon"],[1,"burger-btn",3,"click"],["width","24","height","24"],[0,"xlink","href","#icon-burger-menu"],[1,"unstyled-list","navigation__list--secondary"],[3,"navItem"]],template:function(e,t){1&e&&i.xd(0,pe,6,4,"nav",0),2&e&&i.bd("ngIf",t.isReady)},directives:[a.u,a.t,G],styles:['.main-nav[_ngcontent-%COMP%]{width:100%;margin-top:16px;overflow-x:auto;margin-right:auto;flex-wrap:wrap}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-of-type){margin-right:24px}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a{display:flex;flex-direction:column;width:-webkit-min-content;width:-moz-min-content;width:min-content;overflow-y:hidden;align-items:center;text-align:center;font-size:24px;font-weight:300;transition:all .3s ease-out}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a svg{display:inline-block;margin-bottom:4px;transition:all .3s ease-out}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a span{dis
1play:block}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:focus, .main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:focus svg, .main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:hover svg{fill:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:focus{outline:none}@media (min-width:530px){.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a{flex-direction:row;line-height:18px;width:auto}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a svg{margin-bottom:0;margin-right:8px}}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#323232}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li.attention[_ngcontent-%COMP%]{position:relative}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li.attention[_ngcontent-%COMP%]:after{position:absolute;top:5px;right:-5px;width:5px;height:5px;border-radius:50%;background-color:#fb661c;content:""}.main-nav[_ngcontent-%COMP%]   .burger-btn[_ngcontent-%COMP%]{padding:8px;margin:0 0 0 20px}.main-nav[_ngcontent-%COMP%]   .burger-btn[_ngcontent-%COMP%]:hover{cursor:pointer}@media (min-width:1024px) and (max-width:1320px){.main-nav[_ngcontent-%COMP%]   .burger-btn[_ngcontent-%COMP%]{margin:0 0 0 10px}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a svg{margin-right:3px!important}}@media (min-width:1024px){.main-nav[_ngcontent-%COMP%]{width:auto;margin-top:0;overflow:visible}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{align-items:center}}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]{margin:0 -4px;padding:0 5px;width:100%}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;position:relative;margin:15px 20px 0 0}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a{font-size:14px;text-decoration:underline;transition:.3s linear}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]:before{content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);height:5px;width:5px;background-color:var(--green-primary);border-radius:50%;display:block}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}'],changeDetection:0}),e})();var ge=n("Zivq"),me=n("4DlN"),be=n("Kj3r"),ve=n("/uUt"),we=n("eIep"),ye=n("EY2u"),Ce=n("OevD");const _e=["searchInput"];function xe(e,t){if(1&e&&(i.zc(0,"div",12),i.Vc(1,"safeHtml")),2&e){const e=i.Uc();i.bd("innerHTML",i.Wc(1,1,e.searchContent),i.od)}}let Oe=(()=>{class e{constructor(e,t,n){this.injector=e,this.formBuilder=t,this.document=n,this.isOpen=!1,this.togglePanel=new i.s,this.setInputFocus=!1,this.onDestroy$=new R.a}ngOnInit(){this.searchForm=this.formBuilder.group({searchWord:["",M.D.required]}),this.searchForm.get("searchWord").valueChanges.pipe(Object(F.a)(this.onDestroy$),Object(be.a)(300),Object(ve.a)(),Object(we.a)(e=>(this.searchContent=void 0,e.length>0?this.injector.get(E.nb).doSearchRequest(e):ye.a)),Object(V.a)(e=>{this.searchContent=e})).subscribe()}ngOnChanges(e){var t;(null===(t=e.isOpen)||void 0===t?void 0:t.currentValue)&&(this.setInputFocus=!0)}
1ngAfterViewChecked(){this.setInputFocus&&(this.searchInput.nativeElement.focus(),this.setInputFocus=!1)}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}closePanel(){this.togglePanel.emit()}onSearchHandler(){const e=this.searchForm.get("searchWord").value;e.length>0&&(this.document.location.href=`${this.searchUrl}?searchWord=${encodeURIComponent(e)}`)}}return e.\u0275fac=function(t){return new(t||e)(i.yc(i.w),i.yc(M.f),i.yc(a.e))},e.\u0275cmp=i.sc({type:e,selectors:[["app-search-form"]],viewQuery:function(e,t){var n;1&e&&i.ud(_e,!0,i.q),2&e&&i.jd(n=i.Rc())&&(t.searchInput=n.first)},inputs:{isOpen:"isOpen",searchUrl:"searchUrl"},outputs:{togglePanel:"togglePanel"},features:[i.hc],decls:15,vars:7,consts:[[1,"row"],[1,"col-10"],[1,"header-search-form-wrapper"],[3,"formGroup","ngSubmit"],[1,"w-100"],["type","text","formControlName","searchWord",1,"form-control",3,"placeholder"],["searchInput",""],[3,"innerHTML",4,"ngIf"],["type","submit",1,"btn","btn--sm"],[0,"xlink","href","#icon-search"],["type","button",1,"clean-btn","header-search-form-wrapper__close",3,"click"],[0,"xlink","href","#icon-close"],[3,"innerHTML"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"div",1),i.Ec(2,"div",2),i.Ec(3,"form",3),i.Qc("ngSubmit",(function(){return t.onSearchHandler()})),i.Ec(4,"div",4),i.zc(5,"input",5,6),i.Vc(7,"translate"),i.xd(8,xe,2,3,"div",7),i.Dc(),i.Ec(9,"button",8),i.Tc(),i.Ec(10,"svg"),i.zc(11,"use",9),i.Dc(),i.Dc(),i.Sc(),i.Ec(12,"button",10),i.Qc("click",(function(){return t.closePanel()})),i.Tc(),i.Ec(13,"svg"),i.zc(14,"use",11),i.Dc(),i.Dc(),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.jc(2),i.pc("is-open",t.isOpen),i.jc(1),i.bd("formGroup",t.searchForm),i.jc(2),i.cd("placeholder",i.Wc(7,5,"form-attribute-search-prompt")),i.jc(3),i.bd("ngIf",t.searchContent))},directives:[M.F,M.q,M.i,M.c,M.p,M.h,a.u],pipes:[v.d,Ce.a],styles:['.header-search-form-wrapper[_ngcontent-%COMP%]{visibility:hidden;opacity:0;position:fixed;z-index:-1;top:0;left:0;bottom:0;width:100%;padding:60px 5% 0;background-color:rgba(0,0,0,.5);pointer-events:none;overflow:auto;transition:none}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;padding:0 16px;justify-content:center;align-items:flex-start}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:block;width:100%;height:60px;line-height:56px;margin:0 auto;padding:0 15px;background-color:transparent;border:none;border-bottom:2px solid #fff;transition:none;outline:none;font-weight:700;font-size:24px;color:#fff}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:#fff}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:#fff}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:9px}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fff;width:26px;height:26px}.header-search-form-wrapper__close[_ngcontent-%COMP%]{padding:8px}.header-search-form-wrapper__close[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fff;width:26px;height:26px}.header-search-form-wrapper.is-open[_ngcontent-%COMP%]{visibility:visible;z-index:100;pointer-events:auto;opacity:1}@media (min-width:1024px){.header-search-form-wrapper[_ngcontent-%COMP%]{padding:120px 20% 0}}[_nghost-%COMP%]     .search-line{display:flex;align-items:center;padding:10px 0}[_nghost-%COMP%]     .search-line:after{display:block;clear:both;content:""}[_nghost-%COMP%]     .search-line__image{flex-basis:10%;height:40px;padding:0 10px;text-align:center}[_nghost-%COMP%]     .search-line__image img{max-width:100%;max-height:100%}[_nghost-%COMP%]     .search-line__link{flex-basis:90%;padding:0 10px;font-size:14px;font-weight:700;text-decoration:underline}[_nghost-%COMP%]     .search-line__title{padding:0 10px;font-size:15px}[_nghost-%COMP%]     .search-line__keyword{flex-basis:50%;padding:0 10px;font-weight:700}[_nghost-%COMP%]     .search-line__info{flex-basis:50%;padding:0 10px;color:#dcdcdc;font-size:12px;text-align:right}[_nghost-%COMP%]     .search-line--tip{border-top:1px solid #f0f
10f0;border-bottom:1px solid #f0f0f0}']}),e})();function Se(e,t){if(1&e&&i.zc(0,"app-social-link",17),2&e){const e=t.$implicit;i.cd("type",e.key),i.cd("url",e.value.page)}}function Ee(e,t){1&e&&i.zc(0,"app-switch-site-language")}function Pe(e,t){if(1&e){const e=i.Fc();i.Ec(0,"button",18),i.Qc("click",(function(){return i.nd(e),i.Uc().toggleSearchPanel()})),i.Tc(),i.Ec(1,"svg",6),i.zc(2,"use",19),i.Dc(),i.Dc()}}function ke(e,t){1&e&&i.zc(0,"div",20)}function Me(e,t){if(1&e){const e=i.Fc();i.Ec(0,"a",24),i.Qc("click",(function(){return i.nd(e),i.Uc(2).authModalsService.openSignInModal()})),i.Tc(),i.Ec(1,"svg",25),i.zc(2,"use",26),i.Dc(),i.Dc()}}function Ie(e,t){if(1&e&&(i.Ec(0,"a",27),i.Vc(1,"translate"),i.zc(2,"div",28),i.Dc()),2&e){const e=i.Uc(2);i.cd("href",e.userCabinetUrl,i.qd),i.cd("title",i.Wc(1,3,"navigate-to-cabinet-prompt")),i.jc(2),i.bd("lazyLoad",e.user.avatarUrl)}}function De(e,t){if(1&e&&(i.Ec(0,"div",21),i.xd(1,Me,3,0,"a",22),i.xd(2,Ie,3,5,"ng-template",null,23,i.yd),i.Dc()),2&e){const e=i.kd(3),t=i.Uc();i.jc(1),i.bd("ngIf",!t.isAuthenticated)("ngIfElse",e)}}function je(e,t){if(1&e){const e=i.Fc();i.Ec(0,"app-search-form",29),i.Qc("togglePanel",(function(){return i.nd(e),i.Uc().toggleSearchPanel()})),i.Dc()}if(2&e){const e=i.Uc();i.cd("searchUrl",e.urls.search),i.bd("isOpen",e.searchPanelIsOpen)}}let Ae=(()=>{class e{constructor(e,t,n,i,r,s,o){this.languagesManagerService=e,this.authModalsService=t,this.authService=n,this.confService=i,this.routesService=r,this.fastScrollService=s,this.footerService=o,this.isAuthenticated=!1,this.logoUrl="",this.searchPanelIsOpen=!1,this.pIsScrollDown=!1,this.pUser=null,this.onDestroy$=new R.a}get isScrollDown(){return this.pIsScrollDown}get showUserIcon(){return this.pShowUserIcon}get userCabinetUrl(){return this.pUserCabinetUrl}get user(){return this.pUser}ngOnInit(){this.confService.allConfig.pipe(Object(F.a)(this.onDestroy$),Object(O.a)(1),Object(V.a)(e=>{this.logoUrl=e.mainConfig.logoUrl,this.urls=e.oldUrls,this.pShowUserIcon="slim"!==e.mainConfig.siteHeaderType,this.pUserCabinetUrl=this.urls.cabinet})).subscribe(),this.authService.userModel.pipe(Object(F.a)(this.onDestroy$),Object(V.a)(e=>{this.pUser=e,this.isAuthenticated=null!==e})).subscribe(),this.fastScrollService.scrollDown$.pipe(Object(F.a)(this.onDestroy$),Object(U.a)(e=>e.top>150&&!this.pIsScrollDown),Object(V.a)(()=>{this.pIsScrollDown=!0})).subscribe(),this.fastScrollService.scrollUp$.pipe(Object(F.a)(this.onDestroy$),Object(U.a)(()=>this.pIsScrollDown),Object(V.a)(()=>{this.pIsScrollDown=!1})).subscribe(),this.footerService.footer.pipe(Object(F.a)(this.onDestroy$),Object(O.a)(1),Object(V.a)(e=>{this.socialsNetwork=null==e?void 0:e.bottom.socialsNetwork})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}toggleSearchPanel(){this.searchPanelIsOpen=!this.searchPanelIsOpen}}return e.\u0275fac=function(t){return new(t||e)(i.yc(E.C),i.yc(E.e),i.yc(E.f),i.yc(H.c),i.yc(E.fb),i.yc(E.u),i.yc(H.d))},e.\u0275cmp=i.sc({type:e,selectors:[["app-header"]],decls:21,vars:13,consts:[[1,"header"],["sideMenu",""],[1,"header__main"],[1,"container-fluid"],[1,"header__main-content"],["type","button",1,"burger-btn","d-lg-none",3,"click"],["width","24","height","24"],[0,"xlink","href","#icon-burger-menu"],[1,"logo-above-header",3,"logoUrl"],[3,"showSideMenu"],[1,"header__social-link"],[3,"type","url",4,"ngFor","ngForOf"],[4,"ngIf"],["type","button","class","btn btn--transparent header-search-btn",3,"click",4,"ngIf","ngIfElse"],["searchBtnCap",""],["class","d-none d-lg-flex",4,"ngIf"],[3,"isOpen","searchUrl","togglePanel",4,"ngIf"],[3,"type","url"],["type","button",1,"btn","btn--transparent","header-search-btn",3,"click"],[0,"xlink","href","#icon-search"],[1,"btn","btn--transparent","header-search-btn","header-search-btn--cap"],[1,"d-none","d-lg-flex"],["class","btn header__not-auth-user",3,"click",4,"ngIf","ngIfElse"],["userAuthenticated",""],[1,"btn","header__not-auth-user",3,"click"],["width","26","height","26"],[0,"xlink","href","#auth-user"],[1,"header__auth-user",3,"href","title"],[1,"header__auth-user--avatar","rounded-bg-image",3,"lazyLoad"],[3,"isOpen","searchUrl","togglePanel"]],template:function(e,t){if(1&e){const e=i.Fc();i.Ec(0,"header",0),i.zc(1,"app-side-menu",null,1),i.Ec(3,"div",2),i.Ec(4,"div",3),i.Ec(5,"div",4),i.Ec(6,"div",5),i.Qc("click",(function(){return i.nd(e),i.kd(2).showMenu()})),i.Tc(),i.Ec(7,"svg",6),i.zc(8,"use",7),i.Dc(),i.Dc(),i.Sc(),i.zc(9,"app-site-logo",8),i.Ec(10,"app-main-menu",9),i.Qc("showSideMenu",(function(){return i.nd(e),i.kd(2).showMenu()})),i.Dc(),i.Ec(11,"div",10),i.xd(12,Se,1,2,"app-social-link",11),i.Vc(13,"keyvalue"),i.Dc(),i.xd(14,Ee,1,0,"app-switch-site-language",12),i.Vc(15,"async"),i.xd(16,Pe,3,0,"button",13),i.xd(17,ke,1,0,"ng-template",null,14,i.yd),i.xd(19,De,4,2,"div",15),i.Dc(),i.Dc(),i.Dc(),i.xd(20,je,1,2,"app-search-form",16),i.Dc()}if(2&e){const e=i.kd(18);i.pc("is-scroll-down",t.isScrollDown),i.jc(9),i.cd("logoUrl",t.logoUrl),i.jc(3),i.bd("ngForOf",i.Wc(13,9,t.socialsNetwork)),i.jc(2),i.bd("ngIf",i.Wc(15,11,t.languagesManagerService.hasLanguages$)),i.jc(2),i.bd("ngIf",null==t.urls?null:t.urls.search)("ngIfElse",e),i.jc(3),i.bd("ngIf",t.showUserIcon),i.jc(1),i.bd("ngIf",null==t.urls?null:t.urls.search)}},directives:[se,oe.a,fe,a.t,a.u,ge.a,me.a,I.a,Oe],pipes:[a.m,a.b,v.d],styles:['.header[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:2;background-color:#fff;box-shadow:0 4px 4px rgba(0,0,0,.1);transition:all .3s linear}.header.is-scroll-down[_ngcontent-%COMP%]{top:-150px;width:100%}.header__top[_ngcontent-%COMP%]{position:fixed;z-index:10;top:0;left:0;background-color:#fff;box-shadow:3px 0 6px rgba(50,50,50,.15);transform:translateX(-110%);transition:all .3s ease-out;height:100%}.header__top.is-open[_ngcontent-%COMP%]{width:240px;max-height:80%;transform:translateX(0);direction:rtl;overflow-y:auto}
1.header__top.is-open[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]{direction:rtl}.header__main[_ngcontent-%COMP%]{padding:16px 0 12px}.header__main-content[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}.header__main-content[_ngcontent-%COMP%]   .logo-above-header[_ngcontent-%COMP%]{display:block;margin:auto}@media (min-width:1024px) and (max-width:1200px){.header__main-content[_ngcontent-%COMP%]   app-switch-site-language[_ngcontent-%COMP%]{margin-left:auto}}.header__social-link[_ngcontent-%COMP%]{display:none}.header__not-auth-user[_ngcontent-%COMP%]{cursor:pointer;padding:11px}.header__not-auth-user[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{stroke:var(--green-primary)}.header__auth-user[_ngcontent-%COMP%]{cursor:pointer}.header__auth-user--avatar[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#dcdcdc}@media (min-width:1024px){.header[_ngcontent-%COMP%]{box-shadow:none}.header__main-content[_ngcontent-%COMP%]   .logo-above-header[_ngcontent-%COMP%]{display:var(--logo-above-header);margin:unset}.header__top[_ngcontent-%COMP%]{position:static;display:block;height:auto;transform:none;padding:8px 0;background-color:#f0f0f0;color:#000}.header__main[_ngcontent-%COMP%]{padding:20px 0}.header__main-content[_ngcontent-%COMP%]{flex-wrap:nowrap;justify-content:flex-start}}@media (min-width:1200px){.header__social-link[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:auto}.header__social-link[_ngcontent-%COMP%]     a{padding:12px 6px}.header__social-link[_ngcontent-%COMP%]     a.footer-social--oki-tv{padding:12px 0}}@media (min-width:1024px) and (max-width:1410px){.header__social-link[_ngcontent-%COMP%]     a{padding:6px}}.burger-btn[_ngcontent-%COMP%]{padding:8px}.burger-btn[_ngcontent-%COMP%]:hover{cursor:pointer}.top-nav[_ngcontent-%COMP%]{font-size:1.3rem}.top-nav__mobile-navigation[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;align-items:center;padding:8px!important}.top-nav__navigation-button[_ngcontent-%COMP%]{flex-shrink:0;border:unset;color:#323232;background-color:unset;font-size:1.3rem;font-weight:300}.top-nav__navigation-close[_ngcontent-%COMP%]{align-self:flex-start;width:21px;height:21px;font-size:36px;line-height:0;padding:0;font-weight:100;color:rgba(50,50,50,.15);outline:none}.top-nav__link-span--special[_ngcontent-%COMP%]{margin-left:5px;padding:4px 8px;font-size:11px;background-color:#fc884e;color:#fff;border-radius:10px}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0 -4px}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;padding:8px 8px 8px 24px;border-bottom:1px solid rgba(50,50,50,.15)}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]:before{content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);height:5px;width:5px;background-color:var(--green-primary);border-radius:50%;display:block}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.top-nav[_ngcontent-%COMP%]     a{font-weight:400;line-height:30px;transition:all .3s ease-out}.top-nav[_ngcontent-%COMP%]     a:focus, .top-nav[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}.top-nav[_ngcontent-%COMP%]     a:focus{outline:none}@media (min-width:1024px){.top-nav[_ngcontent-%COMP%]{font-size:1rem}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;padding:0 4px;border-bottom:none}.top-nav[_ngcontent-%COMP%]     a{font-weight:300;line-height:unset}}.main-nav[_ngcontent-%COMP%]{order:1;width:100%;margin-top:16px;overflow-x:auto;margin-right:auto}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-of-type){margin-right:24px}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#323232}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var
1(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.attention[_ngcontent-%COMP%]{position:relative}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.attention[_ngcontent-%COMP%]:after{position:absolute;top:5px;right:-5px;width:5px;height:5px;border-radius:50%;background-color:#fb661c;content:""}.main-nav[_ngcontent-%COMP%]     a{display:flex;flex-direction:column;width:-webkit-min-content;width:-moz-min-content;width:min-content;overflow-y:hidden;align-items:center;text-align:center;font-size:16px;font-weight:300;transition:all .3s ease-out}.main-nav[_ngcontent-%COMP%]     a svg{display:inline-block;margin-bottom:4px;transition:all .3s ease-out}.main-nav[_ngcontent-%COMP%]     a span{display:block}.main-nav[_ngcontent-%COMP%]     a:focus, .main-nav[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]     a:focus svg, .main-nav[_ngcontent-%COMP%]     a:hover svg{fill:var(--green-primary)}.main-nav[_ngcontent-%COMP%]     a:focus{outline:none}@media (min-width:530px){.main-nav[_ngcontent-%COMP%]     a{flex-direction:row;line-height:18px;width:auto}.main-nav[_ngcontent-%COMP%]     a svg{margin-bottom:0;margin-right:8px}}@media (min-width:1024px){.main-nav[_ngcontent-%COMP%]{order:0;width:auto;margin-top:0;overflow:visible}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{align-items:center}.main-nav[_ngcontent-%COMP%]     a{font-size:24px;line-height:27px;text-align:left}.main-nav[_ngcontent-%COMP%]     a span{display:inline-block;vertical-align:middle}}.header-search-btn[_ngcontent-%COMP%]{margin-left:8px}@media (min-width:1350px){.header-search-btn[_ngcontent-%COMP%]{margin:0 16px}}.site-overlay[_ngcontent-%COMP%]{display:none;position:fixed;top:0;left:0;width:100%;height:100%;content:""}.site-overlay.is-open[_ngcontent-%COMP%]{display:block}']}),e})();var Te=n("13ou"),ze=n("PGyc"),Le=n("y5FN");const Ne=["footerContent"];function Re(e,t){if(1&e&&i.zc(0,"app-social-link",17),2&e){const e=t.$implicit;i.cd("type",e.key),i.cd("url",e.value.page)}}function Fe(e,t){1&e&&i.zc(0,"img",22),2&e&&i.bd("lazyLoad","/dist-assets/images/app-icon-google-play.svg")}function Ve(e,t){1&e&&i.zc(0,"img",23),2&e&&i.bd("lazyLoad","/dist-assets/images/app-icon-app-store.svg")}function Ue(e,t){if(1&e&&(i.Ec(0,"a",18),i.Cc(1,19),i.xd(2,Fe,1,1,"img",20),i.xd(3,Ve,1,1,"img",21),i.Bc(),i.Dc()),2&e){const e=t.$implicit,n=i.Uc();i.cd("href",e.url,i.qd),i.kc("rel",n.isOnNewsDetailViewPage?"nofollow":null),i.jc(1),i.bd("ngSwitch",e.name),i.jc(1),i.bd("ngSwitchCase","Android"),i.jc(1),i.bd("ngSwitchCase","iOs")}}function He(e,t){if(1&e&&(i.zc(0,"div",25),i.Vc(1,"safeHtml")),2&e){const e=i.Uc(2);i.bd("innerHTML",i.Wc(1,1,e.model.bottom.counters),i.od)}}function Be(e,t){if(1&e&&(i.Cc(0),i.xd(1,He,2,3,"div",24),i.Bc()),2&e){const e=i.Uc();i.jc(1),i.bd("ngIf",null==e.model?null:e.model.bottom.counters.length)}}function $e(e,t){if(1&e&&(i.Ec(0,"a",18),i.zd(1),i.Dc()),2&e){const e=t.$implicit,n=i.Uc();i.cd("href",e.url,i.qd),i.kc("rel",n.isOnNewsDetailViewPage&&e.noFollow?"nofollow":null),i.jc(1),i.Bd(" ",e.name," ")}}function qe(e,t){if(1&e&&(i.Ec(0,"a",18),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.cd("href",e.value.url,i.qd),i.jc(1),i.Bd(" ",e.value.label," ")}}function We(e,t){if(1&e&&(i.Ec(0,"a",18),i.zd(1),i.Dc()),2&e){const e=t.$implicit;i.cd("href",e.url,i.qd),i.jc(1),i.Bd(" ",e.name," ")}}let Ge=(()=>{class e{constructor(e,t,n){this.footerService=e,this.routesService=t,this.renderer=n,this.pIsOnNewsDetailViewPage=!1,this.onDestroy$=new R.a}get isOnNewsDetailViewPage(){return this.pIsOnNewsDetailViewPage}ngOnInit(){this.footerService.footer.pipe(Object(O.a)(1)).subscribe(e=>{this.model=e}),this.beforeFooter=this.renderer.createComment(""),this.afterFooter=this.renderer.createComment("");const e=this.renderer.parentNode(this.footerElement.nativeElement);this.renderer.insertBefore(e,this.beforeFooter,this.footerElement.nativeElement),this.renderer.appendChild(e,this.afterFooter),this.routesService.isOnHomePage$.pipe(Object(F.a)(this.onDestroy$),Object(ve.a)(),Object(V.a)(e=>{this.beforeFooter.data=e?"":"noindex",this.afterFooter.data=e?"":"/noindex"})).subscribe(),this.routesService.onRouteIdsChanged.pipe(Object(F.a)(this.onDestroy$),Object(V.a)(e=>
1{this.pIsOnNewsDetailViewPage="newsDetailPage"===e.actual})).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(H.d),i.yc(E.fb),i.yc(i.L))},e.\u0275cmp=i.sc({type:e,selectors:[["app-footer"]],viewQuery:function(e,t){var n;1&e&&i.ud(Ne,!0,i.q),2&e&&i.jd(n=i.Rc())&&(t.footerElement=n.first)},decls:28,vars:13,consts:[[1,"footer"],["footerContent",""],[1,"footer__main"],[1,"container-fluid"],[1,"row","align-items-center"],[1,"col-12","col-lg-3","order-1","order-lg-0"],[1,"footer__site-info"],[3,"innerHTML"],[1,"col-12","col-lg-6","footer__col-socials"],[1,"footer__socials"],[3,"type","url",4,"ngFor","ngForOf"],[1,"col-12","col-lg","order-1","order-lg-0"],[1,"app-install-links","text-center","text-lg-right"],[3,"href",4,"ngFor","ngForOf"],[4,"appOnlyInBrowser"],[1,"footer__information"],[1,"footer__info-links"],[3,"type","url"],[3,"href"],[3,"ngSwitch"],["src","/dist-assets/images/cap.jpg","alt","Google Play",3,"lazyLoad",4,"ngSwitchCase"],["src","/dist-assets/images/cap.jpg","alt","App Store",3,"lazyLoad",4,"ngSwitchCase"],["src","/dist-assets/images/cap.jpg","alt","Google Play",3,"lazyLoad"],["src","/dist-assets/images/cap.jpg","alt","App Store",3,"lazyLoad"],["class","footer-counters","appRunScripts","",3,"innerHTML",4,"ngIf"],["appRunScripts","",1,"footer-counters",3,"innerHTML"]],template:function(e,t){1&e&&(i.Ec(0,"footer",0,1),i.Ec(2,"div",2),i.Ec(3,"div",3),i.Ec(4,"div",4),i.Ec(5,"div",5),i.Ec(6,"div",6),i.zc(7,"div",7),i.zc(8,"div",7),i.zc(9,"div",7),i.Dc(),i.Dc(),i.Ec(10,"div",8),i.Ec(11,"div",9),i.xd(12,Re,1,2,"app-social-link",10),i.Vc(13,"keyvalue"),i.Dc(),i.Dc(),i.Ec(14,"div",11),i.Ec(15,"div",12),i.xd(16,Ue,4,5,"a",13),i.Dc(),i.xd(17,Be,2,1,"ng-container",14),i.Dc(),i.Dc(),i.Dc(),i.Dc(),i.Ec(18,"div",15),i.Ec(19,"div",3),i.zc(20,"div",7),i.Dc(),i.Dc(),i.Ec(21,"div",15),i.Ec(22,"div",3),i.Ec(23,"div",16),i.xd(24,$e,2,3,"a",13),i.xd(25,qe,2,2,"a",13),i.Vc(26,"keyvalue"),i.xd(27,We,2,2,"a",13),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.jc(7),i.bd("innerHTML",null==t.model?null:t.model.bottom.info.address,i.od),i.jc(1),i.bd("innerHTML",null==t.model?null:t.model.bottom.info.email,i.od),i.jc(1),i.bd("innerHTML",null==t.model?null:t.model.bottom.info.phone,i.od),i.jc(3),i.bd("ngForOf",i.Wc(13,9,null==t.model?null:t.model.bottom.socialsNetwork)),i.jc(4),i.bd("ngForOf",null==t.model?null:t.model.top.mobile),i.jc(4),i.bd("innerHTML",null==t.model?null:t.model.bottom.copyright,i.od),i.jc(4),i.bd("ngForOf",null==t.model?null:t.model.top.aboutUs),i.jc(1),i.bd("ngForOf",i.Wc(26,11,null==t.model?null:t.model.bottom.staticPageLinks)),i.jc(2),i.bd("ngForOf",null==t.model?null:t.model.top.social))},directives:[a.t,Te.a,ge.a,a.y,a.z,I.a,a.u,Le.a],pipes:[a.m,Ce.a],styles:[".footer[_ngcontent-%COMP%]{font-size:12px}.footer__main[_ngcontent-%COMP%]{padding:0 0 16px;background-color:#3f3e3e;color:#fff}.footer__site-info[_ngcontent-%COMP%]{margin:16px 0;line-height:1.35}.footer__site-info[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:underline}.footer__site-info[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.footer__socials[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.footer__information[_ngcontent-%COMP%]{padding:8px 0;background-color:#dcdcdc}.footer__info-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;margin:4px 8px 4px 0;text-decoration:underline}@media (max-width:991px){.footer__main[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{margin:0}.footer__col-socials[_ngcontent-%COMP%]{padding:0;background-color:#2f2e2e}.footer__socials[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;border-top:1px solid hsla(0,0%,100%,.15)}.footer__socials[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:nth-of-type(odd){border-right:1px solid hsla(0,0%,100%,.15)}}@media (min-width:1024px){.footer__main[_ngcontent-%COMP%]{padding:16px 0}.footer__site-info[_ngcontent-%COMP%]{max-width:340px;margin:0}.footer__socials[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:last-of-type){border-right:1px solid hsla(0,0%,100%,.15)}.footer__info-links[_ngcontent-%COMP%]{text-align:center}.footer__info-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin:0 4px;text-decoration:underline}.footer__info-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}}.app-install-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block}.app-install-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:last-of-type){margin-right:16px}"]}),e})();var Xe=n("JUSj"),Ze=n("INbW"),Ye=n("MlV6"),Qe=n("J/4d");function Ke(e,t){1&e&&i.zc(0,"app-standalone-banners-place",4),2&e&&i.bd("isWithoutMargin",!0)}function Je(e,t){1&e&&i.zc(0,"app-standalone-banners-place",5),2&e&&i.bd("isWithoutMargin",!0)}function et(e,t){1&e&&(i.Cc(0),i.xd(1,Ke,1,1,"app-standalone-banners-place",2),i.xd(2,Je,1,1,"app-standalone-banners-place",3),i.Bc())}function tt(e,t){1&e&&i.zc(0,"app-add-to-home-screen")}
1const nt=function(){return["notFoundPage"]};let it=(()=>{class e{constructor(e,t,n,i,r,s,o){this.routesService=e,this.userSessionService=t,this.googleTagManagerService=n,this.oAuthService=i,this.locationService=r,this.fastScrollService=s,this.bannersPlacesService=o,console.log("AppComponent constructor")}ngOnInit(){console.log("AppComponent ngOnInit"),this.routesService.startService(),this.userSessionService.startService(),this.googleTagManagerService.startService(),this.oAuthService.startService()}ngOnDestroy(){this.oAuthService.stopService(),this.googleTagManagerService.stopService(),this.userSessionService.stopService(),this.routesService.stopService()}}return e.\u0275fac=function(t){return new(t||e)(i.yc(E.fb),i.yc(E.Bb),i.yc(E.w),i.yc(E.M),i.yc(E.F),i.yc(E.u),i.yc(E.k))},e.\u0275cmp=i.sc({type:e,selectors:[["app-root"]],decls:7,vars:3,consts:[[4,"appOnlyOnRoutes","appOnlyOnRoutesExcept"],[4,"appOnlyInBrowser"],["aspectRatio","7.0","placeName","Stretching 1",3,"isWithoutMargin",4,"appOnlyOnDesktop"],["aspectRatio","48.0","placeName","Web mobile 1",3,"isWithoutMargin",4,"appOnlyOnMobile"],["aspectRatio","7.0","placeName","Stretching 1",3,"isWithoutMargin"],["aspectRatio","48.0","placeName","Web mobile 1",3,"isWithoutMargin"]],template:function(e,t){1&e&&(i.zc(0,"app-svg-icons"),i.xd(1,et,3,0,"ng-container",0),i.zc(2,"app-header"),i.xd(3,tt,1,0,"app-add-to-home-screen",1),i.zc(4,"router-outlet"),i.zc(5,"app-cookie-consent-popup"),i.zc(6,"app-footer")),2&e&&(i.jc(1),i.bd("appOnlyOnRoutes",null)("appOnlyOnRoutesExcept",i.ed(2,nt)))},directives:[L,N.a,Ae,Te.a,S.i,ze.a,Ge,Xe.a,Ze.a,Ye.a,Qe.a],styles:[""]}),e})(),rt=(()=>{class e{constructor(e){this.authService=e}intercept(e,t){const n=this.authService.fetchUserToken();return null!==n&&n.length&&(e=e.clone({setHeaders:{"X-Auth-Token":"Bearer "+n}})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(E.f))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),st=(()=>{class e{constructor(e,t,n,i){this.sourceSiteHost=e,this.sourceSiteScheme=t,this.apiSourceSiteHostHeader=n,this.apiSourceSiteSchemeHeader=i}intercept(e,t){if(null!==this.sourceSiteHost&&e.url.includes("/api3/")){const t={[this.apiSourceSiteHostHeader]:this.sourceSiteHost};null!==this.sourceSiteScheme&&(t[this.apiSourceSiteSchemeHeader]=this.sourceSiteScheme),e=e.clone({setHeaders:t})}return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(E.ib,8),i.Mc(E.jb,8),i.Mc(E.a),i.Mc(E.b))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})();var ot=n("AytR"),at=n("H0t/");let ct=(()=>{class e{}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[{provide:at.c,useClass:at.b}],imports:[[a.c]]}),e})();var lt=n("6NWb");const ut=[{prefix:"fab",iconName:"facebook-f",icon:[320,512,[],"f39e","M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"]},{prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]},{prefix:"fab",iconName:"linkedin-in",icon:[448,512,[],"f0e1","M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]},{prefix:"fab",iconName:"pinterest-p",icon:[384,512,[],"f231","M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"]},{prefix:"fab",iconName:"reddit-alien",icon:[512,512,[],"f281","M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 
117.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"]},{prefix:"fab",iconName:"tumblr",icon:[320,512,[],"f173","M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"]},{prefix:"fab",iconName:"whatsapp",icon:[448,512,[],"f232","M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"]},{prefix:"fab",iconName:"viber",icon:[512,512,[],"f409","M444 49.9C431.3 38.2 379.9.9 265.3.4c0 0-135.1-8.1-200.9 52.3C27.8 89.3 14.9 143 13.5 209.5c-1.4 66.5-3.1 191.1 117 224.9h.1l-.1 51.6s-.8 20.9 13 25.1c16.6 5.2 26.4-10.7 42.3-27.8 8.7-9.4 20.7-23.2 29.8-33.7 82.2 6.9 145.3-8.9 152.5-11.2 16.6-5.4 110.5-17.4 125.7-142 15.8-128.6-7.6-209.8-49.8-246.5zM457.9 287c-12.9 104-89 110.6-103 115.1-6 1.9-61.5 15.7-131.2 11.2 0 0-52 62.7-68.2 79-5.3 5.3-11.1 4.8-11-5.7 0-6.9.4-85.7.4-85.7-.1 0-.1 0 0 0-101.8-28.2-95.8-134.3-94.7-189.8 1.1-55.5 11.6-101 42.6-131.6 55.7-50.5 170.4-43 170.4-43 96.9.4 143.3 29.6 154.1 39.4 35.7 30.6 53.9 103.8 40.6 211.1zm-139-80.8c.4 8.6-12.5 9.2-12.9.6-1.1-22-11.4-32.7-32.6-33.9-8.6-.5-7.8-13.4.7-12.9 27.9 1.5 43.4 17.5 44.8 46.2zm20.3 11.3c1-42.4-25.5-75.6-75.8-79.3-8.5-.6-7.6-13.5.9-12.9 58 4.2 88.9 44.1 87.8 92.5-.1 8.6-13.1 8.2-12.9-.3zm47 13.4c.1 8.6-12.9 8.7-12.9.1-.6-81.5-54.9-125.9-120.8-126.4-8.5-.1-8.5-12.9 0-12.9 73.7.5 133 51.4 133.7 139.2zM374.9 329v.2c-10.8 19-31 40-51.8 33.3l-.2-.3c-21.1-5.9-70.8-31.5-102.2-56.5-16.2-12.8-31-27.9-42.4-42.4-10.3-12.9-20.7-28.2-30.8-46.6-21.3-38.5-26-55.7-26-55.7-6.7-20.8 14.2-41 33.3-51.8h.2c9.2-4.8 18-3.2 23.9 3.9 0 0 12.4 14.8 17.7 22.1 5 6.8 11.7 17.7 15.2 23.8 6.1 10.9 2.3 22-3.7 26.6l-12 9.6c-6.1 4.9-5.3 14-5.3 14s17.8 67.3 84.3 84.3c0 0 9.1.8 14-5.3l9.6-12c4.6-6 15.7-9.8 26.6-3.7 14.7 8.3 33.4 21.2 45.8 32.9 7 5.7 8.6 14.4 3.8 23.6z"]},{prefix:"fab",iconName:"vk",icon:[576,512,[],"f189","M545 117.7c3.7-12.5 0-21.7-17.8-21.7h-58.9c-15 0-21.9 7.9-25.6 16.7 0 0-30 73.1-72.4 120.5-13.7 13.7-20 18.1-27.5 18.1-3.7 0-9.4-4.4-9.4-16.9V117.7c0-15-4.2-21.7-16.6-21.7h-92.6c-9.4 0-15 7-15 13.5 0 14.2 21.2 17.5 23.4 57.5v86.8c0 19-3.4 22.5-10.9 22.5-20 0-68.6-73.4-97.4-157.4-5.8-16.3-11.5-22.9-26.6-22.9H38.8c-16.8 0-20.2 7.9-20.2 16.7 0 15.6 20 93.1 93.1 195.5C160.4 378.1 229 416 291.4 416c37.5 0 42.1-8.4 42.1-22.9 0-66.8-3.4-73.1 15.4-73.1 8.7 0 23.7 4.4 58.7 38.1 40 40 46.6 57.9 69 57.9h58.9c16.8 0 25.3-8.4 20.4-25-11.2-34.9-86.9-106.7-90.3-111.5-8.7-11.2-6.2-16.2 0-26.2.1-.1 72-101.3 79.4-135.6z"]},{prefix:"fab",iconName:"facebook-messenger",icon:[512,512,[],"f39f","M256.55 8C116.52 8 8 110.34 8 248.57c0 72.3 29.71 134.78 78.07 177.94 8.35 7.51 6.63 11.86 8.05 58.23A19.92 19.92 0 0 0 122 502.31c52.91-23.3 53.59-25.14 62.56-22.7C337.85 521.8 504 423.7 504 248.57 504 110.34 396.59 8 256.55 8zm149.24 185.13l-73 115.57a37.37 37.37 0 0 1-53.91 9.93l-58.08-43.47a15 15 0 0 0-18 0l-78.37 59.44c-10.46 7.93-24.16-4.6-17.11-15.67l73-115.57a37.36 37.36 0 0 1 53.91-9.93l58.06 43.46a15 15 0 0 0 18 0l78.41-59.38c10.44-7.98 24.14 4.54 17.09 15.62z"]},{prefix:"fab",iconName:"telegram-plane",icon:[448,512,[],"f3fe","M446.7 98.6l-67.6 318.8c-5.1 22.5-18.4 28.1-37.3 17.5l-103-75.9-49.7 47.8c-5.5 5.5-10.1 10.1-20.7 10.1l7.4-104.9 190.9-172.5c8.3-7.4-1.8-11.5-12.9-4.1L117.8 284 16.2 252.2c-22.1-6.9-22.5-22.1 4.6-32.7L418.2 66.4c18.4-6.9 34.5 4.1 28.5 32.2z"]},{prefix:"fab",iconName:"mix",icon:[448,512,[],"f3cb","M0 64v348.9c0 56.2 88 58.1 88 0V174.3c7.9-52.9 88-50.4 88 6.5v175.3c0 57.9 96 58 96 0V240c5.3-54.7 88-52.5 88 4.3v23.8c0 59.9 88 56.6 88 0V64H0z"]},{prefix:"fab",iconName:"xing",icon:[384,512,[],"f168","M162.7 210c-1.8 3.3-25.2 44.4-70.1 123.5-4.9 8.3-10.8 12.5-17.7 12.5H9.8c-7.7 0-12.1-7.5-8.5-14.4l69-121.3c.2 0 .2-.1 0-.3l-43.9-75.6c-4.3-7.8.3-14.1 8.5-14.1H100c7.3 0 13.3 4.1 18 12.2l44.7 77.5zM382.6 46.1l-144 253v.3L330.2 466c3.9 7.1.2 14.1-8.5 14.1h-65.2c-7.6 0-13.6-4-18-12.2l-92.4-168.5c3.3-5.8 51.5-90.8 144.8-255.2 4.6-8.1 10.4-12.2 17.5-12.2h65.7c8 0 12.3 6.7 8.5 14.1z"]},{prefix:"fas",iconName:"sms",icon:[512,512,[],"f7cd","M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7 1.3 3 4.1 4.8 7.3 4.8 66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32zM128.2 304H116c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h12.3c6 0 10.4-3.5 10.4-6.6 0-1.3-.8-2.7-2.1-3.8l-21.9-18.8c-8.5-7.2-13.3-17.5-13.3-28.1 0-21.3 19-38.6 42.4-38.6H156c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8h-12.3c-6 0-10.4 3.5-10.4 6.6 0 1.3.8 2.7 2.1 3.8l21.9 18.8c8.5 7.2 13.3 17.5 13.3 28.1.1 21.3-19 38.6-42.4 38.6zm191.8-8c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8v-68.2l-24.8 55.8c-2.9 5.9-11.4 5.9-14.3 0L224 227.8V296c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V192c0-8.8 7.2-16 16-16h16c6.1 0 11.6 3.4 14.3 8.8l17.7 35.4 17.7-35.4c2.7-5.4 8.3-8.8 14.3-8.8h16c8.8 0 16 7.2 16 16v104zm48.3 8H356c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h12.3c6 0 10.4-3.5 10.4-6.6 0-1.3-.8-2.7-2.1-3.8l-21.9-18.8c-8.5-7.2-13.3-17.5-13.3-28.1 0-21.3 19-38.6 42.4-38.6H396c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8h-12.3c-6 0-10.4 3.5-10.4 6.6 0 1.3.8 2.7 2.1 3.8l21.9 18.8c8.5 7.2 13.3 17.5 13.3 28.1.1 21.3-18.9 38.6-42.3 38.6z"]},{prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.
16-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]},{prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},{prefix:"fas",iconName:"print",icon:[512,512,[],"f02f","M448 192V77.25c0-8.49-3.37-16.62-9.37-22.63L393.37 9.37c-6-6-14.14-9.37-22.63-9.37H96C78.33 0 64 14.33 64 32v160c-35.35 0-64 28.65-64 64v112c0 8.84 7.16 16 16 16h48v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h48c8.84 0 16-7.16 16-16V256c0-35.35-28.65-64-64-64zm-64 256H128v-96h256v96zm0-224H128V64h192v48c0 8.84 7.16 16 16 16h48v96zm48 72c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"]},{prefix:"fas",iconName:"exclamation",icon:[192,512,[],"f12a","M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z"]},{prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},{prefix:"fas",iconName:"ellipsis-h",icon:[512,512,[],"f141","M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"]},{prefix:"fas",iconName:"minus",icon:[448,512,[],"f068","M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"]},{prefix:"fab",iconName:"line",icon:[448,512,[],"f3c0","M272.1 204.2v71.1c0 1.8-1.4 3.2-3.2 3.2h-11.4c-1.1 0-2.1-.6-2.6-1.3l-32.6-44v42.2c0 1.8-1.4 3.2-3.2 3.2h-11.4c-1.8 0-3.2-1.4-3.2-3.2v-71.1c0-1.8 1.4-3.2 3.2-3.2H219c1 0 2.1.5 2.6 1.4l32.6 44v-42.2c0-1.8 1.4-3.2 3.2-3.2h11.4c1.8-.1 3.3 1.4 3.3 3.1zm-82-3.2h-11.4c-1.8 0-3.2 1.4-3.2 3.2v71.1c0 1.8 1.4 3.2 3.2 3.2h11.4c1.8 0 3.2-1.4 3.2-3.2v-71.1c0-1.7-1.4-3.2-3.2-3.2zm-27.5 59.6h-31.1v-56.4c0-1.8-1.4-3.2-3.2-3.2h-11.4c-1.8 0-3.2 1.4-3.2 3.2v71.1c0 .9.3 1.6.9 2.2.6.5 1.3.9 2.2.9h45.7c1.8 0 3.2-1.4 3.2-3.2v-11.4c0-1.7-1.4-3.2-3.1-3.2zM332.1 201h-45.7c-1.7 0-3.2 1.4-3.2 3.2v71.1c0 1.7 1.4 3.2 3.2 3.2h45.7c1.8 0 3.2-1.4 3.2-3.2v-11.4c0-1.8-1.4-3.2-3.2-3.2H301v-12h31.1c1.8 0 3.2-1.4 3.2-3.2V234c0-1.8-1.4-3.2-3.2-3.2H301v-12h31.1c1.8 0 3.2-1.4 3.2-3.2v-11.4c-.1-1.7-1.5-3.2-3.2-3.2zM448 113.7V399c-.1 44.8-36.8 81.1-81.7 81H81c-44.8-.1-81.1-36.9-81-81.7V113c.1-44.8 36.9-81.1 81.7-81H367c44.8.1 81.1 36.8 81 81.7zm-61.6 122.6c0-73-73.2-132.4-163.1-132.4-89.9 0-163.1 59.4
1-163.1 132.4 0 65.4 58 120.2 136.4 130.6 19.1 4.1 16.9 11.1 12.6 36.8-.7 4.1-3.3 16.1 14.1 8.8 17.4-7.3 93.9-55.3 128.2-94.7 23.6-26 34.9-52.3 34.9-81.5z"]}];let dt=(()=>{class e{constructor(e){e.addIcons(...ut)}}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)(i.Mc(lt.c))},imports:[[lt.i]]}),e})();const ht=[{prefix:"fab",iconName:"odnoklassniki",icon:[320,512,[],"f263","M275.1 334c-27.4 17.4-65.1 24.3-90 26.9l20.9 20.6 76.3 76.3c27.9 28.6-17.5 73.3-45.7 45.7-19.1-19.4-47.1-47.4-76.3-76.6L84 503.4c-28.2 27.5-73.6-17.6-45.4-45.7 19.4-19.4 47.1-47.4 76.3-76.3l20.6-20.6c-24.6-2.6-62.9-9.1-90.6-26.9-32.6-21-46.9-33.3-34.3-59 7.4-14.6 27.7-26.9 54.6-5.7 0 0 36.3 28.9 94.9 28.9s94.9-28.9 94.9-28.9c26.9-21.1 47.1-8.9 54.6 5.7 12.4 25.7-1.9 38-34.5 59.1zM30.3 129.7C30.3 58 88.6 0 160 0s129.7 58 129.7 129.7c0 71.4-58.3 129.4-129.7 129.4s-129.7-58-129.7-129.4zm66 0c0 35.1 28.6 63.7 63.7 63.7s63.7-28.6 63.7-63.7c0-35.4-28.6-64-63.7-64s-63.7 28.6-63.7 64z"]},{prefix:"fas",iconName:"at",icon:[512,512,[],"f1fa","M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"]}];let pt=(()=>{class e{constructor(e,t){if(t)throw new Error("Import module SharedFontAwesomeModule in the AppModule only");e.addIcons(...ht)}}return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)(i.Mc(lt.c),i.Mc(e,12))},imports:[[dt]]}),e})(),ft=(()=>{class e{constructor(t){this.acceptLanguage="*",t.appLocale$.subscribe(t=>{this.acceptLanguage=e.getAcceptLanguageValue(t)})}static getAcceptLanguageValue(e){const[t]=e.split("-",2);return`${e},${t}`}intercept(e,t){return e.url.includes("/api3/")&&!e.headers.has("accept-language")&&(e=e.clone({setHeaders:{"accept-language":this.acceptLanguage}})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(E.C))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e})(),gt=(()=>{class e extends i.r{constructor(e,t){super(),this.router=e,this.zone=t}handleError(e){e instanceof E.Ab?this.zone.run(()=>{this.router.navigateByUrl(E.fb.notFound)}):super.handleError(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Mc(S.d),i.Mc(i.F))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),mt=(()=>{class e{}return e.\u0275mod=i.wc({type:e,bootstrap:[it]}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[{provide:b.a,multi:!0,useClass:ft},{provide:b.a,multi:!0,useClass:rt},{provide:b.a,multi:!0,useClass:st},{provide:E.a,useValue:"X-SSR-Proxy-Host"},{provide:E.b,useValue:"X-SSR-Proxy-Scheme"},{provide:i.d,multi:!0,useFactory:(e,t)=>()=>(console.log("AppInitializer"),Object(x.a)(t.checkAuthStatus().pipe(Object(O.a)(1)),e.prepare().pipe(Object(O.a)(1))).toPromise()),deps:[E.C,E.f]},{provide:i.z,useFactory:e=>e.currentLang,deps:[v.e]},{provide:C.a,useFactory:e=>e.currentLang,deps:[v.e]},{provide:C.b,useFactory:e=>{const t=e.instantMainConfig.reCaptcha;return{siteKey:t.isConfigured?t.siteKeyV2:void 0}},deps:[H.c]},{provide:E.G,useValue:1024},{provide:E.zb,useValue:ot.a.userSessionDuration},{provide:E.g,useValue:ot.a.bannerSlideDuration},_.a,{provide:i.r,useClass:gt}],imports:[[c.a.withServerTransition({appId:"cisServerApp"}),c.b,b.c,P,w.t,y.c,A,T,k.a,ct,j.a,z.a,v.c.forRoot(Object.assign({},D.a)),pt]]}),e})();ot.a.production&&Object(i.bb)(),document.addEventListener("DOMContentLoaded",()=>{Object(i.ab)(m,"cisBrowserDynamic",[{provide:E.hb,useValue:ot.a.basePath},{provide:E.y,useValue:!0}])().bootstrapModule(mt).catch(e=>console.error(e))})},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.