(self.webpackChunkyama=self.webpackChunkyama||[]).push([[179],{25391:e=>{function t(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}t.keys=()=>[],t.resolve=t,t.id=25391,e.exports=t},89110:(e,t,n)=>{"use strict";var i=n(30269),r=n(31572),s=n(29063),o=n(43490),a=n(71398),l=(n(81940),n(96190),n(64897)),c=n(61593),u=n(77876),d=n(76032),h=n(78127),p=n(25369),f=n(64448),m=n(29625),g=n(31284),_=n(6344),v=n(34370),y=n(21471);const b={production:!0,iotEndpoint:"https://auth.yamaiot.com",apiBaseUrl:"/api",version:"2024.4",environment:"prod",domains:{m9:"423a15ca-a6da-45d1-bbf9-12dbbb10ffd0",adi:"b2c70ebb-1ab8-11f0-bc84-0242ac130003"},idpClientId:"yama_iot",idpUrl:"https://auth.yamaiot.com/realms/yama/protocol/openid-connect/token"};var w=n(47701);let x=(()=>{class e{constructor(){this.show=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["yam-ui-loader"]],inputs:{show:"show"},decls:6,vars:1,consts:[[1,"loading-spinner-overlay",3,"hidden"],[1,"sk-folding-cube"],[1,"sk-cube1","sk-cube"],[1,"sk-cube2","sk-cube"],[1,"sk-cube4","sk-cube"],[1,"sk-cube3","sk-cube"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r._UZ(2,"div",2),r._UZ(3,"div",3),r._UZ(4,"div",4),r._UZ(5,"div",5),r.qZA(),r.qZA()),2&e&&r.Q6J("hidden",!t.show)},styles:['.loading-spinner-overlay[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:#000;opacity:.6;z-index:1002;display:flex;align-items:center;justify-content:center}.sk-folding-cube[_ngcontent-%COMP%]{margin:20px auto;width:60px;height:60px;position:relative;transform:rotate(45deg)}.sk-folding-cube[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{float:left;width:50%;height:50%;position:relative;transform:scale(1.1)}.sk-folding-cube[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--accent-color);animation:sk-foldCubeAngle 2.4s linear infinite both;transform-origin:100% 100%}.sk-folding-cube[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{transform:scale(1.1) rotate(90deg)}.sk-folding-cube[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{transform:scale(1.1) rotate(180deg)}.sk-folding-cube[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{transform:scale(1.1) rotate(270deg)}.sk-folding-cube[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]:before{animation-delay:.3s}.sk-folding-cube[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]:before{animation-delay:.6s}.sk-folding-cube[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]:before{animation-delay:.9s}@keyframes sk-foldCubeAngle{0%,10%{transform:perspective(140px) rotateX(-180deg);opacity:0}25%,75%{transform:perspective(140px) rotateX(0deg);opacity:1}90%,to{transform:perspective(140px) rotateY(180deg);opacity:0}}'],changeDetection:0}),e})();var S=n(4564);let k=(()=>{class e{constructor(e,t,n){this.themeService=e,this.renderer=t,this.loaderFacade=n,this.title="iot-platform",this.isLoaderVisible$=this.loaderFacade.isLoaderVisible$.pipe((0,w.b)(250)),e.isLightTheme.subscribe(e=>{e?(this.renderer.addClass(document.body,"light-theme"),this.renderer.removeClass(document.body,"dark-theme")):(this.renderer.addClass(document.body,"dark-theme"),this.renderer.removeClass(document.body,"light-theme"))})}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(y.fY),r.Y36(r.Qsj),r.Y36(g.L))},e.\u0275cmp=r.Xpm({type:e,selectors:[["yama-root"]],decls:3,vars:3,consts:[[3,"show"]],template:function(e,t){1&e&&(r._UZ(0,"router-outlet"),r._UZ(1,"yam-ui-loader",0),r.ALo(2,"ngrxPush")),2&e&&(r.xp6(1),r.Q6J("show",r.lcZ(2,1,t.isLoaderVisible$)))},directives:[a.lC,x],pipes:[S.fM],styles:[""]}),e})();var C=n(16073),M=n(31305),E=n(79996),T=n(44689),A=n(56238),D=n(22728),P=n(25416),L=n(32559),O=n(84607),I=n(48160),R=n(61511),Y=n(22553),F=n(33104),j=n(86741),H=n(8055),N=n(27679);function B(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"button",5),r.NdJ("click",function(){return r.CHM(e),r.oxw().tutorial.emit()}),r.TgZ(1,"span",6),r._uU(2,"Tutorial"),r.qZA(),r.qZA()}}const U=["*"];let z=(()=>{class e{constructor(){this.title="Title",this.notifications=[],this.canShowTutorial=!1,this.logout=new r.vpe,this.toggleTheme=new r.vpe,this.profileSettings=new r.vpe,this.about=new r.vpe,this.tutorial=new r.vpe}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["yam-ui-header"]],inputs:{title:"title",loggedUser:"loggedUser",notifications:"notifications",canShowTutorial:"canShowTutorial"},outputs:{logout:"logout",toggleTheme:"toggleTheme",profileSettings:"profileSettings",about:"about",tutorial:"tutorial"},ngContentSelectors:U,decls:18,vars:3,consts:[[1,"flex-grow-1"],[1,"ml-auto"],[1,"mat-icon-button",3,"loggedUser","matMenuTriggerFor"],[1,"profile-menu"],["profileMenu","matMenu"],["mat-menu-item","",3,"click"],["translate",""],["mat-menu-item","",3,"click",4,"ngIf"],["translate","",1,"menu-item","logout"]],template:function(e,t){if(1&e&&(r.F$t(),r.TgZ(0,"mat-toolbar"),r.TgZ(1,"div",0),r.Hsn(2),r.qZA(),r.TgZ(3,"div",1),r._UZ(4,"yam-ui-avatar",2),r.TgZ(5,"mat-menu",3,4),r.TgZ(7,"button",5),r.NdJ("click",function(){return t.profileSettings.emit()}),r.TgZ(8,"span",6),r._uU(9,"Profile settings"),r.qZA(),r.qZA(),r.YNc(10,B,3,0,"button",7),r.TgZ(11,"button",5),r.NdJ("click",function(){return t.about.emit()}),r.TgZ(12,"span",6),r._uU(13,"About"),r.qZA(),r.qZA(),r._UZ(14,"mat-divider"),r.TgZ(15,"button",5),r.NdJ("click",function(){return t.logout.emit()}),r.TgZ(16,"span",8),r._uU(17,"Logout"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e){const e=r.MAs(6);r.xp6(4),r.Q6J("loggedUser",t.loggedUser)("matMenuTriggerFor",e),r.xp6(6),r.Q6J("ngIf",t.canShowTutorial)}},directives:[F.Ye,j.A,H.p6,H.VK,H.OP,R.O5,N.d],styles:["[_nghost-%COMP%]{z-index:3}mat-toolbar[_ngcontent-%COMP%]{box-shadow:0 2px 4px 0 rgba(0,0,0,.2);padding-left:0}.mat-icon-button.notifications[_ngcontent-%COMP%]{margin-right:10px}.avatar[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;border:2px solid #fff}.avatar-letters[_ngcontent-%COMP%]{width:40px;height:40px;background-color:var(--accent-color);color:var(--grey-50);font-size:16px;font-weight:600}.profile-menu[_ngcontent-%COMP%]{margin-top:5px}.menu-item.logout[_ngcontent-%COMP%]{color:var(--accent-color)}"],changeDetection:0}),e})();var V=n(61517),q=n(36382);const W=[[["","trigger",""]],[["","content",""]]],$=["[trigger]","[content]"];let G=(()=>{class e{constructor(){this.opened=new r.vpe}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["yam-ui-dropdown-menu"]],outputs:{opened:"opened"},ngContentSelectors:$,decls:5,vars:2,consts:[[3,"matMenuTriggerFor","menuOpened"],[3,"xPosition"],["menu","matMenu"]],template:function(e,t){if(1&e&&(r.F$t(W),r.TgZ(0,"div",0),r.NdJ("menuOpened",function(){return t.opened.emit()}),r.Hsn(1),r.qZA(),r.TgZ(2,"mat-menu",1,2),r.Hsn(4,1),r.qZA()),2&e){const e=r.MAs(3);r.Q6J("matMenuTriggerFor",e),r.xp6(2),r.Q6J("xPosition","before")}},directives:[H.p6,H.VK],styles:[""],changeDetection:0}),e})();var Z=n(85250),K=n(45001);const Q=function(e){return[e]},J=function(e){return{exact:e}};function X(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"a",3),r.NdJ("click",function(){return r.CHM(e),r.oxw().clicked()}),r.GkF(1,4),r.qZA()}if(2&e){const e=r.oxw(),t=r.MAs(3);r.ekj("small",e.level>1),r.Q6J("routerLink",r.VKq(5,Q,e.item.nav.link))("routerLinkActiveOptions",r.VKq(7,J,e.item.nav.exact)),r.xp6(1),r.Q6J("ngTemplateOutlet",t)}}function ee(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"yam-ui-side-menu-item",8),r.NdJ("navigationClicked",function(){return r.CHM(e),r.oxw(2).clicked()}),r.qZA()}if(2&e){const e=t.$implicit,n=r.oxw(2);r.Q6J("item",e)("level",n.level+1)}}function te(e,t){if(1&e&&(r.TgZ(0,"mat-expansion-panel",5),r.TgZ(1,"mat-expansion-panel-header",6),r.GkF(2,4),r.qZA(),r.YNc(3,ee,1,2,"yam-ui-side-menu-item",7),r.qZA()),2&e){const e=r.oxw(),t=r.MAs(3);r.ekj("active",e.isActive(e.item.children)),r.Q6J("expanded",!e.item.isCollapsed),r.xp6(2),r.Q6J("ngTemplateOutlet",t),r.xp6(1),r.Q6J("ngForOf",e.item.children)}}function ne(e,t){if(1&e&&(r.TgZ(0,"div",9),r.TgZ(1,"span",10),r._uU(2),r.qZA(),r.TgZ(3,"span",11),r._uU(4),r.qZA(),r.qZA()),2&e){const e=r.oxw();r.xp6(2),r.hij(" ",e.item.icon," "),r.xp6(2),r.Oqu(e.item.label)}}let ie=(()=>{class e{constructor(e){this.router=e,this.level=1,this.navigationClicked=new r.vpe}isActive(e){return e.map(e=>{var t;return null===(t=e.nav)||void 0===t?void 0:t.link}).some(e=>this.router.isActive(e||"",!1))}getMargin(){return 8*this.level}clicked(){this.navigationClicked.emit()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(a.F0))},e.\u0275cmp=r.Xpm({type:e,selectors:[["yam-ui-side-menu-item"]],inputs:{item:"item",level:"level"},outputs:{navigationClicked:"navigationClicked"},decls:4,vars:2,consts:[["mat-list-item","","routerLinkActive","list-item-active",3,"routerLink","routerLinkActiveOptions","small","click",4,"ngIf"],["class","menu-expansion-panel",3,"active","expanded",4,"ngIf"],["itemTpl",""],["mat-list-item","","routerLinkActive","list-item-active",3,"routerLink","routerLinkActiveOptions","click"],[3,"ngTemplateOutlet"],[1,"menu-expansion-panel",3,"expanded"],["mat-list-item",""],[3,"item","level","navigationClicked",4,"ngFor","ngForOf"],[3,"item","level","navigationClicked"],[1,"d-flex"],[1,"material-icons-outlined","dashboard-icon"],[1,"ml-2"]],template:function(e,t){1&e&&(r.YNc(0,X,2,9,"a",0),r.YNc(1,te,4,5,"mat-expansion-panel",1),r.YNc(2,ne,5,2,"ng-template",null,2,r.W1O)),2&e&&(r.Q6J("ngIf",t.item.nav),r.xp6(1),r.Q6J("ngIf",t.item.children))},directives:[R.O5,Z.Tg,a.yS,a.Od,R.tP,K.ib,K.yz,R.sg,e],styles:["[_nghost-%COMP%] .menu-expansion-panel[_ngcontent-%COMP%]{border-radius:0;color:inherit;background-color:transparent;box-shadow:none}[_nghost-%COMP%] .menu-expansion-panel[_ngcontent-%COMP%] .mat-expansion-panel-header{height:42px;background-color:transparent!important;font-weight:500;font-size:14px;padding:0 1rem}[_nghost-%COMP%] .menu-expansion-panel[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:0}[_nghost-%COMP%] .menu-expansion-panel[_ngcontent-%COMP%] .mat-expansion-panel-body .mat-list-item-content{margin:0}.menu-expansion-panel.active[_ngcontent-%COMP%] .dashboard-icon[_ngcontent-%COMP%]{color:var(--accent-color)}.small[_ngcontent-%COMP%]{font-size:12px}.secondary[_ngcontent-%COMP%]{height:32px!important}"],changeDetection:0}),e})();function re(e,t){if(1&e&&(r.TgZ(0,"mat-expansion-panel-header"),r.TgZ(1,"div",5),r.TgZ(2,"span",6),r._uU(3),r.qZA(),r.TgZ(4,"span"),r._uU(5),r.qZA(),r.qZA(),r.qZA()),2&e){const e=r.oxw().$implicit;r.xp6(3),r.hij(" ",e.group.icon," "),r.xp6(2),r.hij(" ",e.group.label," ")}}function se(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"yam-ui-side-menu-item",7),r.NdJ("navigationClicked",function(){return r.CHM(e),r.oxw(2).menuItemClicked.emit()}),r.qZA()}2&e&&r.Q6J("item",t.$implicit)}function oe(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"mat-expansion-panel",2),r.YNc(2,re,6,2,"mat-expansion-panel-header",3),r.YNc(3,se,1,1,"yam-ui-side-menu-item",4),r.qZA(),r.BQk()),2&e){const e=t.$implicit;r.xp6(1),r.Q6J("expanded",!e.group.isCollapsed)("disabled",!e.group.isCollapsible)("hideToggle",!e.group.isCollapsible),r.xp6(1),r.Q6J("ngIf",e.group.isCollapsible),r.xp6(1),r.Q6J("ngForOf",e.group.children)}}let ae=(()=>{class e{constructor(){this.rootMenuItems=[],this.menuItemClicked=new r.vpe}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["yam-ui-side-menu"]],inputs:{rootMenuItems:"rootMenuItems"},outputs:{menuItemClicked:"menuItemClicked"},decls:2,vars:1,consts:[["color","primary"],[4,"ngFor","ngForOf"],[1,"root-expansion-panel","mb-5",3,"expanded","disabled","hideToggle"],[4,"ngIf"],[3,"item","navigationClicked",4,"ngFor","ngForOf"],[1,"d-flex","align-items-center"],[1,"material-icons-outlined","dashboard-icon","mr-2"],[3,"item","navigationClicked"]],template:function(e,t){1&e&&(r.TgZ(0,"mat-nav-list",0),r.YNc(1,oe,4,5,"ng-container",1),r.qZA()),2&e&&(r.xp6(1),r.Q6J("ngForOf",t.rootMenuItems))},directives:[Z.Hk,R.sg,K.ib,R.O5,K.yz,ie],styles:["[_nghost-%COMP%]{flex-grow:1;overflow:hidden;position:relative;display:flex;flex-direction:column}mat-nav-list[_ngcontent-%COMP%]{overflow:auto}[_nghost-%COMP%] .mat-expansion-indicator:after{color:inherit}[_nghost-%COMP%] .root-expansion-panel[_ngcontent-%COMP%]{border-radius:0;color:inherit;background-color:transparent;box-shadow:none}[_nghost-%COMP%] .root-expansion-panel[_ngcontent-%COMP%] .mat-expansion-panel-header{font-size:var(--body-font-size);height:42px;background-color:transparent!important;font-weight:500;padding:0 1rem}[_nghost-%COMP%] .root-expansion-panel[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:0}"],changeDetection:0}),e})();var le=n(47906);function ce(e,t){1&e&&(r.TgZ(0,"div",23),r._uU(1," Loading notifications "),r.qZA())}function ue(e,t){if(1&e&&(r.TgZ(0,"div",30),r.TgZ(1,"div",31),r._UZ(2,"div",32),r.TgZ(3,"div"),r._uU(4),r.qZA(),r.qZA(),r.TgZ(5,"div",33),r._uU(6),r.qZA(),r.qZA()),2&e){const e=t.$implicit,n=r.oxw(4);r.xp6(2),r.Q6J("ngClass",n.getCssClass(e)),r.xp6(2),r.Oqu(e.notificationType),r.xp6(2),r.Oqu(e.description)}}function de(e,t){if(1&e&&(r.TgZ(0,"div",34),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e){const e=r.oxw().ngIf;r.xp6(1),r.AsE(" + ",e.length-3," ",r.lcZ(2,2,"in the last hour")," ")}}function he(e,t){1&e&&(r.TgZ(0,"div",35),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"no notifications in the last hour")," "))}function pe(e,t){if(1&e&&(r.ynx(0),r.YNc(1,ue,7,3,"div",27),r.YNc(2,de,3,4,"div",28),r.YNc(3,he,3,3,"div",29),r.BQk()),2&e){const e=t.ngIf;r.xp6(1),r.Q6J("ngForOf",e.slice(0,3)),r.xp6(1),r.Q6J("ngIf",e.length>3),r.xp6(1),r.Q6J("ngIf",0===e.length)}}function fe(e,t){if(1&e){const e=r.EpF();r.ynx(0),r.YNc(1,pe,4,3,"ng-container",0),r.ALo(2,"ngrxPush"),r.TgZ(3,"div",24),r.TgZ(4,"yam-ui-button",25),r.NdJ("click",function(){return r.CHM(e),r.oxw(2).goToNotifications()}),r.TgZ(5,"span",26),r._uU(6,"See all notifications"),r.qZA(),r.qZA(),r.qZA(),r.BQk()}if(2&e){const e=r.oxw(2);r.xp6(1),r.Q6J("ngIf",r.lcZ(2,1,e.notifications$))}}function me(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"span",31),r.TgZ(2,"span",47),r._uU(3),r.qZA(),r.qZA(),r.TgZ(4,"span",14),r._uU(5," keyboard_arrow_down "),r.qZA(),r.BQk()),2&e){const e=t.ngIf;r.xp6(3),r.Oqu(e.isRoot?"All Customers":e.description)}}function ge(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"div",48),r.NdJ("click",function(){const t=r.CHM(e).ngIf;return r.oxw(4).selectDomainId(t.value)}),r.TgZ(2,"span",49),r._uU(3,"All Customers"),r.qZA(),r.qZA(),r._UZ(4,"div",50),r.TgZ(5,"div",51),r._uU(6,"Customers"),r.qZA(),r.qZA()}}const _e=function(e){return{"mb-3":e}};function ve(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"div",52),r.TgZ(1,"div",53),r.NdJ("click",function(){const t=r.CHM(e).$implicit;return r.oxw(4).selectDomainId(t.value)}),r.ALo(2,"ngrxPush"),r._uU(3),r.qZA(),r.qZA()}if(2&e){const e=t.$implicit,n=t.last,i=r.oxw(4);let s;r.Q6J("ngClass",r.VKq(6,_e,!n)),r.xp6(1),r.ekj("selected",(null==(s=r.lcZ(2,4,i.currentDomain$))?null:s.id)===e.value),r.xp6(2),r.hij(" ",e.description," ")}}function ye(e,t){if(1&e&&(r.TgZ(0,"yam-ui-dropdown-menu",40),r.TgZ(1,"yam-ui-button",41),r.YNc(2,me,6,1,"ng-container",0),r.ALo(3,"ngrxPush"),r.qZA(),r.TgZ(4,"div",42),r.YNc(5,ge,7,0,"div",0),r.ALo(6,"ngrxPush"),r.TgZ(7,"div",43),r.TgZ(8,"yam-ui-text-field",44),r.NdJ("click",function(e){return e.stopPropagation()}),r.ALo(9,"translate"),r.qZA(),r.qZA(),r.TgZ(10,"div",45),r.YNc(11,ve,4,8,"div",46),r.ALo(12,"ngrxPush"),r.qZA(),r.qZA(),r.qZA()),2&e){const e=r.oxw(3);r.xp6(2),r.Q6J("ngIf",r.lcZ(3,5,e.currentDomain$)),r.xp6(3),r.Q6J("ngIf",r.lcZ(6,7,e.rootDomain$)),r.xp6(3),r.Q6J("placeholder",r.lcZ(9,9,"search"))("formControl",e.filterDomainControl),r.xp6(3),r.Q6J("ngForOf",r.lcZ(12,11,e.filteredDomains$))}}function be(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"div",36),r.TgZ(1,"div",37),r.TgZ(2,"img",5,38),r.NdJ("error",function(){r.CHM(e);const t=r.MAs(3);return r.oxw(2).onLogoError(t)}),r.qZA(),r.qZA(),r.YNc(4,ye,13,13,"yam-ui-dropdown-menu",39),r.qZA()}if(2&e){const e=t.ngIf,n=r.oxw(2);r.xp6(2),r.Q6J("src","/assets/img/"+n.getRootDomainName()+".png",r.LSH),r.xp6(2),r.Q6J("ngIf",e.length>1)}}function we(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"yam-ui-layout"),r.TgZ(1,"yam-ui-header",1),r.NdJ("logout",function(){return r.CHM(e),r.oxw().onLogout()})("toggleTheme",function(){return r.CHM(e),r.oxw().toggleTheme()})("profileSettings",function(){return r.CHM(e),r.oxw().onProfileSettings()})("about",function(){return r.CHM(e),r.oxw().onAbout()})("tutorial",function(){return r.CHM(e),r.oxw().onTutorial()}),r.TgZ(2,"div",2),r.TgZ(3,"yam-ui-button",3),r.NdJ("click",function(){return r.CHM(e),r.oxw().openMenu()}),r._uU(4,"menu"),r.qZA(),r.TgZ(5,"div",4),r.TgZ(6,"img",5,6),r.NdJ("error",function(){r.CHM(e);const t=r.MAs(7);return r.oxw().onLogoError(t)}),r.qZA(),r.qZA(),r.TgZ(8,"div",7),r.ALo(9,"translate"),r.TgZ(10,"span",8),r._uU(11," sensors "),r.qZA(),r.TgZ(12,"span",9),r._uU(13),r.qZA(),r.qZA(),r.TgZ(14,"div",7),r.ALo(15,"translate"),r.TgZ(16,"span",10),r._uU(17," error_outline "),r.qZA(),r.TgZ(18,"span",9),r._uU(19),r.qZA(),r.qZA(),r.TgZ(20,"div",7),r.ALo(21,"translate"),r.TgZ(22,"span",11),r._uU(23," sensors_off "),r.qZA(),r.TgZ(24,"span",9),r._uU(25),r.qZA(),r.qZA(),r.TgZ(26,"yam-ui-dropdown-menu",12),r.NdJ("opened",function(){return r.CHM(e),r.oxw().notificationsOpened()}),r.TgZ(27,"yam-ui-button",13),r.TgZ(28,"span",14),r._uU(29," circle_notifications "),r.qZA(),r.qZA(),r.TgZ(30,"div",15),r.TgZ(31,"div",16),r._uU(32,"Notifications"),r.qZA(),r.YNc(33,ce,2,0,"div",17),r.ALo(34,"ngrxPush"),r.YNc(35,fe,7,3,"ng-container",0),r.ALo(36,"ngrxPush"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(37,"div",18),r.YNc(38,be,5,2,"div",19),r.ALo(39,"ngrxPush"),r.TgZ(40,"yam-ui-side-menu",20),r.NdJ("menuItemClicked",function(){return r.CHM(e),r.oxw().closeMenu()}),r.ALo(41,"ngrxPush"),r.qZA(),r.TgZ(42,"footer"),r.TgZ(43,"div",21),r._uU(44," Powered by "),r.TgZ(45,"a",22),r._uU(46," Yama "),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r._UZ(47,"router-outlet"),r.qZA()}if(2&e){const e=t.ngIf,n=r.oxw();r.xp6(1),r.Q6J("title","Iot-Platform")("loggedUser",e)("canShowTutorial",n.canShowTutorial),r.xp6(5),r.Q6J("src","/assets/img/"+n.getRootDomainName()+".png",r.LSH),r.xp6(2),r.Q6J("yamUiTooltip",r.lcZ(9,15,"Devices Online")),r.xp6(5),r.Oqu(n.counters.connected),r.xp6(1),r.Q6J("yamUiTooltip",r.lcZ(15,17,"Devices on Error")),r.xp6(5),r.Oqu(n.counters.error),r.xp6(1),r.Q6J("yamUiTooltip",r.lcZ(21,19,"Devices Offline")),r.xp6(5),r.Oqu(n.counters.notConnected||0),r.xp6(2),r.Q6J("customIcon",!0),r.xp6(6),r.Q6J("ngIf",!r.lcZ(34,21,n.loadedRecent$)),r.xp6(2),r.Q6J("ngIf",r.lcZ(36,23,n.loadedRecent$)),r.xp6(3),r.Q6J("ngIf",r.lcZ(39,25,n.domains$)),r.xp6(2),r.Q6J("rootMenuItems",r.lcZ(41,27,n.menuItems$))}}let xe=(()=>{class e extends L.P{constructor(e,t,n,i,r,s,o,a,l,c){super(),this.authFacade=e,this.themeService=t,this.domainsService=n,this.translateService=i,this.router=r,this.notificationsFacade=s,this.notificationsService=o,this.toastsService=a,this.cd=l,this.titleService=c,this.loggedUser$=this.authFacade.selectLoggedUser$,this.notifications$=this.notificationsFacade.recentNotifications$,this.loadedRecent$=this.notificationsFacade.loadedRecent$,this.filterDomainControl=new C.NI(""),this.domains$=this.authFacade.selectDomains$.pipe((0,E.U)(e=>e.map(e=>({value:e.id,description:e.parentDomainId?e.name:"Super Admin",isRoot:!e.parentDomainId})).sort((e,t)=>e.isRoot===t.isRoot?0:e.isRoot?-1:1))),this.rootDomain$=this.domains$.pipe((0,T.w)(e=>e.filter(e=>e.isRoot))),this.filteredDomains$=(0,M.aj)([this.filterDomainControl.valueChanges.pipe((0,A.O)("")),this.domains$]).pipe((0,E.U)(([e,t])=>t.filter(t=>!t.isRoot&&t.description.toLocaleLowerCase().includes(e.toLocaleLowerCase())))),this.currentDomain$=this.authFacade.selectCurrentDomain$.pipe((0,O.E)(),(0,E.U)(e=>({value:e.id,description:e.parentDomainId?e.name:"Super Admin",isRoot:!e.parentDomainId}))),this.counters={connected:0,notConnected:0,error:0,responseTimeMilliseconds:0},this.menuItems$=this.authFacade.isRootAdmin$.pipe((0,D.M)(this.loggedUser$.pipe((0,O.E)()))).pipe((0,E.U)(([e,t])=>this.buildMenuItems(t,e))),this.authFacade.selectDomains$.pipe((0,P.R)(this.ngUnsubscribe)).subscribe(e=>{const t=e.filter(e=>!e.parentDomainId);t.length>0&&this.titleService.setTitle(t[0].name)})}getCssClass(e){return this.notificationsFacade.getCssClass(e.notificationType)}selectDomainId(e){this.authFacade.setDomain(e)}get canShowTutorial(){return"radoff"==this.domainsService.rootDomain.name.toLowerCase()}ngOnInit(){"radoff"==this.domainsService.rootDomain.name.toLowerCase()&&this.showTutorial(),this.domainsService.startPollingDomainRealtime().pipe((0,P.R)(this.ngUnsubscribe)).subscribe(e=>{this.counters=e,this.cd.markForCheck()}),this.authFacade.selectCurrentDomain$.pipe((0,P.R)(this.ngUnsubscribe)).subscribe(e=>{e&&(this.realtimeNotificationsSubscription&&this.realtimeNotificationsSubscription.unsubscribe(),this.realtimeNotificationsSubscription=this.domainsService.startPollingDomainNotifications().pipe((0,P.R)(this.ngUnsubscribe)).subscribe(e=>{e.forEach(e=>{"ERROR"===e.notificationType?this.toastsService.errorNotification(e.description,void 0,!0):"WARNING"===e.notificationType&&this.toastsService.warnNotification(e.description,void 0,!0)})}))})}onLogout(){this.authFacade.logout()}goToNotifications(){this.router.navigateByUrl("/notifications")}toggleTheme(){}onProfileSettings(){this.authFacade.showProfile()}showTutorial(e=!0){this.authFacade.showTutorial(e)}onAbout(){this.authFacade.showAbout()}onTutorial(){this.showTutorial(!1)}getRootDomainName(e=!0){return this.domainsService.rootDomain.name+(e&&b.production?"_prod":"")}onLogoError(e){e.setAttribute("src","/assets/img/"+this.getRootDomainName(!1)+".png")}notificationsOpened(){return this.notificationsFacade.loadNotifications()}openMenu(){var e;null===(e=this.layoutCmp)||void 0===e||e.setOpened(!0)}closeMenu(){var e;null===(e=this.layoutCmp)||void 0===e||e.setOpened(!1)}buildMenuItems(e,t){var n,i,r,s,o,a,l,c;const u=[];if(!e)return u;const d=[{label:this.translateService.instant("Visitors"),icon:"",nav:{exact:!1,link:"analytics/rtls/visitors"}},{label:this.translateService.instant("Social distance incidents"),icon:"",nav:{exact:!1,link:"analytics/rtls/socialdistance"}},{label:this.translateService.instant("Time spent"),icon:"",nav:{exact:!1,link:"analytics/rtls/duration"}}],h=[{label:this.translateService.instant("Measures"),icon:"",nav:{exact:!1,link:"analytics/core/measures"}}],p={label:this.translateService.instant("Map"),icon:"",nav:{exact:!0,link:"devices/map"}},f={group:{label:this.translateService.instant("IoT"),children:[{label:this.translateService.instant("Analytics"),icon:"leaderboard",children:e.modules.includes("RTLS")?d:h},{label:this.translateService.instant("Devices"),icon:"edgesensor_low",children:[{label:this.translateService.instant("List"),icon:"",nav:{exact:!1,link:"devices/list"}}]}]}};e.modules.includes("RTLS")||f.group.children.push(p),t||(null===(n=f.group)||void 0===n||n.children.splice(0,0,{label:this.translateService.instant("Dashboard"),icon:"dashboard",nav:{link:"/",exact:!0}}),null===(i=f.group)||void 0===i||i.children.push({label:this.translateService.instant("Notifications"),icon:"notifications",nav:{link:"notifications",exact:!1}}));const m=[{label:this.translateService.instant("Front desk"),icon:"hdr_weak",nav:{link:"rtls/frontdesk",exact:!1}},{label:this.translateService.instant("Social distance"),icon:"social_distance",nav:{link:"rtls/realtime",exact:!1}}],g={label:this.translateService.instant("Manage customers"),icon:"",nav:{link:"admin/domains",exact:!1}},_={group:{isCollapsed:!1,isCollapsible:!1,children:[{label:this.translateService.instant("Configuration"),icon:"settings",isCollapsed:!0,children:[{label:this.translateService.instant("Manage users"),icon:"",nav:{link:"admin/users",exact:!1}}]}]}};t||null===(s=null===(r=_.group)||void 0===r?void 0:r.children[0].children)||void 0===s||s.splice(0,0,{label:this.translateService.instant("Manage devices"),icon:"",nav:{link:"admin/devices",exact:!1}});const v={group:{isCollapsed:!1,isCollapsible:!1,children:[{label:this.translateService.instant("Debug"),icon:"handyman",isCollapsed:!0,children:[{label:this.translateService.instant("Platform Status"),icon:"",nav:{link:"debug/status",exact:!0}}]}]}};return t&&(null===(a=null===(o=_.group)||void 0===o?void 0:o.children[0].children)||void 0===a||a.push({label:this.translateService.instant("Device types"),icon:"",nav:{link:"admin/devicetypes",exact:!1}})),_.group&&e.modules.indexOf("COMPANIES")>=0&&(null===(c=null===(l=_.group)||void 0===l?void 0:l.children[0].children)||void 0===c||c.splice(0,0,g)),e.modules.indexOf("RTLS")>=0&&(f.group.children=f.group.children.concat(...m)),u.concat(e.modules.indexOf("CORE")>=0?f:[]).concat("ADMIN"===e.roleCode?_:[]).concat(b.production?[]:v)}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(h.jE),r.Y36(y.fY),r.Y36(d.tJ),r.Y36(I.sK),r.Y36(a.F0),r.Y36(v.n),r.Y36(d.TF),r.Y36(y.rY),r.Y36(r.sBO),r.Y36(i.Dx))},e.\u0275cmp=r.Xpm({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&r.Gf(y.$$,5),2&e){let e;r.iGM(e=r.CRH())&&(t.layoutCmp=e.first)}},features:[r.qOj],decls:2,vars:3,consts:[[4,"ngIf"],["header","",3,"title","loggedUser","canShowTutorial","logout","toggleTheme","profileSettings","about","tutorial"],[1,"d-flex","align-items-center","flex-grow-1"],["variant","icon",1,"header-icon","d-lg-none",3,"click"],[1,"d-lg-none","yama-logo","ml-3"],[3,"src","error"],["imgTop",""],[1,"counter","d-none","d-lg-flex",3,"yamUiTooltip"],[1,"material-icons","mr-3","text-success"],[1,"value"],[1,"material-icons","mr-3","text-error"],[1,"material-icons","mr-3","text-warning"],[1,"ml-auto",3,"opened"],["trigger","","variant","icon",1,"header-icon","ml-auto","mr-3",3,"customIcon"],[1,"material-icons-outlined"],["content","",1,"notifications-container","px-3","pt-2"],["translate","",1,"mb-3","notifications-title"],["class","notification-hint mt-5 mb-5 notification-item loading","translate","",4,"ngIf"],["sidebar","",1,"h-100","d-flex","flex-grow-1","flex-column"],["class","mx-2",4,"ngIf"],[3,"rootMenuItems","menuItemClicked"],[1,"yama-logo"],["href","https://yamafactory.com/","target","_blank"],["translate","",1,"notification-hint","mt-5","mb-5","notification-item","loading"],[1,"border-top","mt-3","text-center"],["variant","basic","color","accent",3,"click"],["translate","",1,"notification-btn"],["class","mt-2 notification-item",4,"ngFor","ngForOf"],["class","notification-hint mt-3 mb-2 notification-item",4,"ngIf"],["class","notification-hint text-center mt-5 mb-5 notification-item",4,"ngIf"],[1,"mt-2","notification-item"],[1,"d-flex","align-items-center"],[1,"notification-circle",3,"ngClass"],[1,""],[1,"notification-hint","mt-3","mb-2","notification-item"],[1,"notification-hint","text-center","mt-5","mb-5","notification-item"],[1,"mx-2"],[1,"mt-3","mb-3","root-logo"],["imgBottom",""],["class","custom-domain-select",4,"ngIf"],[1,"custom-domain-select"],["trigger","","variant","flat"],["content","",1,"px-1","pt-2","domains-container"],[1,"px-3"],[3,"placeholder","formControl","click"],[1,"scroll-wrapper"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"main-label","ml-2"],[1,"d-flex","align-items-center","px-3","domain-item","cursor-pointer",3,"click"],["translate",""],[1,"root-sep","mt-3"],["translate","",1,"px-3","domains-label"],[3,"ngClass"],[1,"px-3","pb-1","domain-item","cursor-pointer","d-flex","align-items-center","sep",3,"click"]],template:function(e,t){1&e&&(r.YNc(0,we,48,29,"yam-ui-layout",0),r.ALo(1,"ngrxPush")),2&e&&r.Q6J("ngIf",r.lcZ(1,1,t.loggedUser$))},directives:[R.O5,Y.$,z,V.r,q.i,G,I.Pi,ae,a.lC,R.sg,R.mk,le.a,C.JJ,C.oH],pipes:[S.fM,I.X$],styles:['@charset "UTF-8";.content-wrapper[_ngcontent-%COMP%]{display:flex}.content-wrapper[_ngcontent-%COMP%] .side-menu[_ngcontent-%COMP%]{flex-grow:0;width:200px}.content-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{flex-grow:1}.counter[_ngcontent-%COMP%]{border-radius:6px;width:150px;box-shadow:0 0 8px 3px hsla(0,0%,57%,.2);margin:0 1rem;display:flex;align-items:center;justify-content:center;padding:.25rem}.counter[_ngcontent-%COMP%] .unit-measure[_ngcontent-%COMP%], .counter[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}.counter[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:20px;font-weight:600}.counter[_ngcontent-%COMP%] .unit-measure[_ngcontent-%COMP%]{font-size:15px;font-weight:500;padding-left:5px}.yama-logo[_ngcontent-%COMP%]{text-align:center}.yama-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:110px}.yama-logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:600;color:var(--accent-color)}.root-logo[_ngcontent-%COMP%]{text-align:center}.root-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:110px;max-height:60px;width:auto}.header-icon[_ngcontent-%COMP%]{color:var(--grey-300)}[_nghost-%COMP%] .custom-domain-select[_ngcontent-%COMP%] button.mat-button-base{width:100%;background-color:var(--theme-toolbar-1-bg)}[_nghost-%COMP%] .custom-domain-select[_ngcontent-%COMP%] button.mat-button-base .mat-button-wrapper{width:100%;display:block;text-align:left;display:flex;align-items:center}[_nghost-%COMP%] .custom-domain-select[_ngcontent-%COMP%] button.mat-button-base .mat-button-wrapper span.material-icons-outlined{margin-left:auto}[_nghost-%COMP%] .custom-domain-select[_ngcontent-%COMP%] .main-label{font-size:18px}.domains-container[_ngcontent-%COMP%]{width:213px}.root-sep[_ngcontent-%COMP%]{border-bottom:3px solid var(--grey-50)}.domains-label[_ngcontent-%COMP%]{color:var(--grey-100);font-weight:600;font-size:12px}footer[_ngcontent-%COMP%]{padding:1rem 1rem 2rem;text-align:center;font-size:.8rem}.notifications-container[_ngcontent-%COMP%]{width:220px}.notification-item[_ngcontent-%COMP%]{font-size:13px}.notification-btn[_ngcontent-%COMP%]{font-size:14px}.notification-hint[_ngcontent-%COMP%]{color:var(--grey-200);font-weight:600}.notifications-title[_ngcontent-%COMP%]{font-size:16px;font-weight:600}.loading[_ngcontent-%COMP%]:after{overflow:hidden;display:inline-block;vertical-align:bottom;animation:ellipsis 1s infinite;content:"\u2026"}@keyframes ellipsis{0%{width:2px}to{width:15px}}.scroll-wrapper[_ngcontent-%COMP%]{max-height:180px;overflow:auto}'],changeDetection:0}),e})();n(38719),n(2631),n(97582),n(21989),n(91320);let Se=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e,bootstrap:[k]}),e.\u0275inj=r.cJS({providers:[{provide:"version",useValue:b.version},{provide:"env",useValue:b.environment}],imports:[[s.JF,i.b2,o.PW,c.Aw.forRoot({},{runtimeChecks:{strictActionImmutability:!0,strictStateImmutability:!0}}),l.sQ.forRoot([]),b.production?[]:u.FT.instrument(),_.yy,h.ny.forRoot({localMock:"local"===b.environment,idpClientId:b.idpClientId,idpUrl:b.idpUrl}),d.fL.forRoot({apiEndpoint:b.apiBaseUrl,iotEndpoint:b.iotEndpoint,domains:b.domains}),f.Ne.forRoot({fallbackCulture:"en-US",jsonPath:"/assets/i18n/"}),p.u5,y.n6.forRoot(),g.a,m.iz.forRoot(),v.p,a.Bz.forRoot([{path:"",component:xe,canActivate:[h.PP],children:[{path:"",loadChildren:()=>Promise.all([n.e(419),n.e(17)]).then(n.bind(n,21017)).then(e=>e.LazyHomeModule)},{canActivate:[],path:"rtls",loadChildren:()=>n.e(673).then(n.bind(n,1673)).then(e=>e.LazyRtlsModule)},{canActivate:[],path:"analytics",loadChildren:()=>n.e(358).then(n.bind(n,22358)).then(e=>e.LazyAnalyticsModule)},{canActivate:[],path:"notifications",loadChildren:()=>Promise.all([n.e(747),n.e(43)]).then(n.bind(n,65043)).then(e=>e.LazyNotificationsModule)},{canActivate:[],path:"debug",loadChildren:()=>n.e(764).then(n.bind(n,47764)).then(e=>e.LazyDebugModule)},{canActivate:[],path:"devices",loadChildren:()=>Promise.all([n.e(747),n.e(419),n.e(187)]).then(n.bind(n,96187)).then(e=>e.LazyDevicesModule)},{canActivate:[],path:"admin/devices",loadChildren:()=>Promise.all([n.e(323),n.e(421)]).then(n.bind(n,57421)).then(e=>e.LazyDevicesAdminModule)},{canActivate:[],path:"admin/domains",loadChildren:()=>Promise.all([n.e(623),n.e(462)]).then(n.bind(n,47462)).then(e=>e.LazyDomainsAdminModule)},{canActivate:[],path:"admin/users",loadChildren:()=>Promise.all([n.e(592),n.e(392)]).then(n.bind(n,64392)).then(e=>e.LazyUsersAdminModule)},{canActivate:[],path:"admin/devicetypes",loadChildren:()=>Promise.all([n.e(323),n.e(748)]).then(n.bind(n,82748)).then(e=>e.LazyDeviceTypesAdminModule)},{canActivate:[],path:"roles",loadChildren:()=>Promise.all([n.e(592),n.e(246)]).then(n.bind(n,63246)).then(e=>e.LazyRolesAdminModule)}]}],{enableTracing:!1})]]}),e})();b.production&&(0,r.G48)(),i.q6().bootstrapModule(Se).then(()=>{const e=window;e.appBootstrap&&e.appBootstrap()}).catch(e=>console.error(e))},76032:(e,t,n)=>{"use strict";n.d(t,{yD:()=>i.y,fL:()=>r.f,Z6:()=>b.Z,Ew:()=>_.E,Mx:()=>u.M,qh:()=>x.q,Td:()=>w.T,ie:()=>d.i,Ih:()=>h.I,tJ:()=>p.t,Uc:()=>s.U,do:()=>c,TF:()=>g.T,fu:()=>f.f,jV:()=>v.j,fz:()=>m.f,hh:()=>y.h});var i=n(2630),r=n(2631),s=n(77758),o=n(31572),a=n(29063),l=n(17677);let c=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/auth/user"}acceptInvitation(e){return this.http.post(this.baseUrl+"/accept-invitation",e)}forgotPassword(e){return this.http.post(this.baseUrl+"/forgot-password",{email:e})}resetPassword(e){return this.http.put(this.baseUrl+"/reset-password",e)}}return e.\u0275fac=function(t){return new(t||e)(o.LFG(a.eN),o.LFG(l.a))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e})();var u=n(57824),d=n(67539),h=n(87535),p=n(21063),f=n(5518),m=n(94590),g=n(2230),_=n(16563),v=n(38619),y=n(93629),b=n(44636),w=n(17962),x=n(60628)},2630:(e,t,n)=>{"use strict";n.d(t,{y:()=>d});var i=n(29609),r=n(70653),s=n(79243),o=n(18863),a=n(79996),l=n(31572),c=n(29063),u=n(17677);let d=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/rtls/analytics",this.baseCoreUrl=this.config.apiEndpoint+"/v1/core/analytics"}getSessionsByHours(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getSessionsByHoursPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getSessionsByHoursPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getSessionsByDay(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getSessionsByDayPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getSessionsByDayPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getSessionsByAreaDaily(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getSessionsByAreaDailyPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getSessionsByAreaDailyPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getSessionsByZoneDaily(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getSessionsByZoneDailyPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getSessionsByZoneDailyPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getSessionsPositionsByArea(e,t,n){let a=0;const l=i(e).format("YYYY-MM-DD"),c=i(t).format("YYYY-MM-DD");return this.getSessionsPositionsByAreaPaged(n,l,c,a).pipe((0,s.jn)(e=>e.length>0?this.getSessionsPositionsByAreaPaged(n,l,c,++a):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getSocialDistancingAlarmsByHours(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getSocialDistancingAlarmsByHoursPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getSocialDistancingAlarmsByHoursPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getSocialDistancingAlarmsByArea(e,t,n){let a=0;const l=i(e).format("YYYY-MM-DD"),c=i(t).format("YYYY-MM-DD");return this.getSocialDistancingAlarmsByAreaPaged(n,l,c,a).pipe((0,s.jn)(e=>e.length>0?this.getSocialDistancingAlarmsByAreaPaged(n,l,c,++a):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getAreaTagAverage(e,t){let n=0;const l=i(e).format("YYYY-MM-DD"),c=i(t).format("YYYY-MM-DD");return this.getAreaTagAveragePaged(l,c,n).pipe((0,s.jn)(e=>e.length>0?this.getAreaTagAveragePaged(l,c,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[])).pipe((0,a.U)(e=>e.sort((e,t)=>new Date(e.aggregationDateTime).getTime()-new Date(t.aggregationDateTime).getTime())))}getSessionsByHoursPaged(e,t,n){return this.http.post(`${this.baseUrl}/sessions/aggregate/hourly`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getSessionsByDayPaged(e,t,n){return this.http.post(`${this.baseUrl}/sessions/aggregate/daily`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getSessionsByAreaDailyPaged(e,t,n){return this.http.post(`${this.baseUrl}/sessions/aggregate/area/daily`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getSessionsByZoneDailyPaged(e,t,n){return this.http.post(`${this.baseUrl}/sessions/aggregate/area/zone/daily`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getSessionsPositionsByAreaPaged(e,t,n,i){return this.http.post(`${this.baseUrl}/sessions/heatmap/aggregate/area/daily`,{fromDate:t,toDate:n,skip:500*i,take:500,areaId:e}).pipe((0,a.U)(e=>e.data))}getSocialDistancingAlarmsByHoursPaged(e,t,n){return this.http.post(`${this.baseUrl}/social-distance-incidents/aggregate/area/hourly`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getSocialDistancingAlarmsByAreaPaged(e,t,n,i){return this.http.post(`${this.baseUrl}/social-distance-incidents/heatmap/aggregate/area/daily`,{fromDate:t,toDate:n,skip:500*i,take:500,areaId:e}).pipe((0,a.U)(e=>e.data))}getAreaTagAveragePaged(e,t,n){return this.http.post(`${this.baseUrl}/areas/aggregate/hourly`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getDevicesDailyAggregation(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getDevicesDailyAggregationPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getDevicesDailyAggregationPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getDevicesDailyAggregationPaged(e,t,n){return this.http.post(`${this.baseCoreUrl}/devices/aggregate/daily`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getDevicesDailyAggregationByDeviceGroup(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getDevicesDailyAggregationByDeviceGroupPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getDevicesDailyAggregationByDeviceGroupPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getDevicesDailyAggregationByDeviceGroupPaged(e,t,n){return this.http.post(`${this.baseCoreUrl}/devices/aggregate/daily/device-group`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getDevicesDailyAggregationByDevice(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getDevicesDailyAggregationByDevicePaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getDevicesDailyAggregationByDevicePaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getDevicesDailyAggregationByDevicePaged(e,t,n){return this.http.post(`${this.baseCoreUrl}/devices/aggregate/daily/device`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getDevicesHourlyAggregationForLastDay(e,t){let n=0;const a=i(e).toISOString(),l=i(t).toISOString();return this.getDevicesHourlyAggregationForLastDayPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getDevicesHourlyAggregationForLastDayPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getDevicesHourlyAggregationForLastDayPaged(e,t,n){return this.http.post(`${this.baseCoreUrl}/devices/aggregate/hourly/last`,{fromDateTime:e,toDateTime:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getDevicesHourlyAggregation(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getDevicesHourlyAggregationPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getDevicesHourlyAggregationPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getDevicesHourlyAggregationPaged(e,t,n){return this.http.post(`${this.baseCoreUrl}/devices/aggregate/hourly`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getDevicesHourlyAggregationByDeviceGroup(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getDevicesHourlyAggregationByDeviceGroupPaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getDevicesHourlyAggregationByDeviceGroupPaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getDevicesHourlyAggregationByDeviceGroupPaged(e,t,n){return this.http.post(`${this.baseCoreUrl}/devices/aggregate/hourly/device-group`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}getDevicesHourlyAggregationByDevice(e,t){let n=0;const a=i(e).format("YYYY-MM-DD"),l=i(t).format("YYYY-MM-DD");return this.getDevicesHourlyAggregationByDevicePaged(a,l,n).pipe((0,s.jn)(e=>e.length>0?this.getDevicesHourlyAggregationByDevicePaged(a,l,++n):r.E),(0,o.u)((e,t)=>e.concat(t),[]))}getDevicesHourlyAggregationByDevicePaged(e,t,n){return this.http.post(`${this.baseCoreUrl}/devices/aggregate/hourly/device`,{fromDate:e,toDate:t,skip:50*n,take:50}).pipe((0,a.U)(e=>e.data))}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(c.eN),l.LFG(u.a))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e})()},17677:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});class i{}},2631:(e,t,n)=>{"use strict";n.d(t,{f:()=>w});var i=n(61511),r=n(2630),s=n(17677),o=n(77758),a=n(57824),l=n(60628),c=n(17962),u=n(67539),d=n(87535),h=n(21063),p=n(5518),f=n(94590),m=n(2230),g=n(16563),_=n(38619),v=n(93629),y=n(44636),b=n(31572);let w=(()=>{class e{constructor(e){if(e)throw new Error("ApiClientModule is already loaded. Import only in AppModule")}static forRoot(t){return{ngModule:e,providers:[a.M,d.I,h.t,_.j,o.U,g.E,v.h,r.y,u.i,l.q,c.T,f.f,p.f,m.T,y.Z,{provide:s.a,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)(b.LFG(e,12))},e.\u0275mod=b.oAB({type:e}),e.\u0275inj=b.cJS({imports:[[i.ez]]}),e})()},77758:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var i=n(31572),r=n(29063),s=n(17677);let o=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/auth/user"}me(){return this.http.get(this.baseUrl+"/me")}domains(){return this.http.get(this.baseUrl+"/me/domains")}updateMe(e){return this.http.put(this.baseUrl+"/me",e)}changePassword(e){return this.http.put(this.baseUrl+"/change-password",e)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.eN),i.LFG(s.a))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},30601:(e,t,n)=>{"use strict";n.d(t,{b:()=>u});var i=n(29625),r=n(84607),s=n(81110),o=n(40878),a=n(436),l=n(47727),c=n(1055);class u{constructor(e){this.http=e}buildSkipInterceptorHeaders(){const e={};return e[i.dH]="",e}startPolling(e,t,n="GET",i=(()=>({}))){return(0,s.H)(0,e).pipe((0,a.b)(()=>{const e=i();return this.http.request(n,t,{body:e,headers:this.buildSkipInterceptorHeaders()}).pipe((0,l.K)(e=>(0,o.of)(void 0)))}),(0,r.E)(),(0,c.B)())}}},57824:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var i=n(29063),r=n(31572),s=n(17677);let o=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/admin/device-groups"}getAll(){return this.http.get(this.config.apiEndpoint+"/v1/core/data/device-groups/")}adminGetAll(){return this.http.get(this.baseUrl)}adminGetById(e){return this.http.get(`${this.baseUrl}/${e}`)}adminAdd(e){return this.http.post(this.baseUrl,e)}adminUpdate(e){return this.http.put(`${this.baseUrl}/${e.id}`,e.changes)}adminDelete(e){return this.http.delete(`${this.baseUrl}/${e}`,{headers:new i.WM({"Content-Type":"text/plain"})})}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.eN),r.LFG(s.a))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})()},60628:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var i=n(31572),r=n(29063),s=n(17677);let o=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/admin/device-models"}getAll(){return this.http.get(this.config.apiEndpoint+"/v1/core/data/device-models/")}adminGetAll(){return this.http.get(this.baseUrl)}getById(e){return this.http.get(`${this.baseUrl}/${e}`)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.eN),i.LFG(s.a))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},17962:(e,t,n)=>{"use strict";n.d(t,{T:()=>u});var i=n(64762),r=n(19764),s=n(44689),o=n(79996),a=n(29063),l=n(31572),c=n(17677);let u=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/admin/device-type-versions"}adminGetAllByDeviceTypeId(e){return this.http.post(this.baseUrl+"/search",{deviceTypeId:e})}downloadFirmware(e){return this.http.post(this.baseUrl+"/firmware-download-context",{deviceTypeVersionId:e}).pipe((0,s.w)(e=>this.http.get(e.firmwareDownloadUri,{responseType:"arraybuffer",headers:new a.WM({"x-allow-anonymous":"true"})}).pipe((0,s.w)(t=>(0,r.D)(this.calculateHash(t)).pipe((0,o.U)(n=>{if(n===e.firmwareDigest)return t;throw new Error("file SHA256 validation failed")}))))))}uploadFirmware(e,t,n){return(0,r.D)(n.arrayBuffer()).pipe((0,s.w)(i=>(0,r.D)(this.calculateHash(i)).pipe((0,s.w)(i=>this.http.post(this.baseUrl+"/firmware-upload-context",{deviceTypeVersionId:e}).pipe((0,s.w)(e=>{const r=new FormData;return Object.keys(e.fields).forEach(t=>{r.append(t,e.fields[t])}),r.append("x-amz-meta-user-id",t),r.append("x-amz-meta-digest",i),r.append("file",n),this.http.post(e.url,r,{headers:new a.WM({"x-allow-anonymous":"true"})})}))))))}calculateHash(e){return(0,i.mG)(this,void 0,void 0,function*(){return Promise.resolve(e.byteLength.toString())})}getAllByDeviceTypeId(e){return this.http.post(this.config.apiEndpoint+"/v1/core/data/device-type-versions/search",{deviceTypeId:e})}getById(e){return this.http.get(`${this.config.apiEndpoint}/v1/core/data/device-type-versions/${e}`)}add(e){return this.http.post(this.baseUrl,e)}update(e){return this.http.put(`${this.baseUrl}/${e.id}`,e.changes)}delete(e){return this.http.delete(`${this.baseUrl}/${e}`,{headers:new a.WM({"Content-Type":"text/plain"})})}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(a.eN),l.LFG(c.a))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e})()},67539:(e,t,n)=>{"use strict";n.d(t,{i:()=>a});var i=n(79996),r=n(29063),s=n(31572),o=n(17677);let a=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/admin/device-types"}getDownloadCsvUrl(e,t,n,r){return this.http.post(this.config.apiEndpoint+`/v1/core/data/device-types/${e}/data-lake/export`,{fromDate:t,toDate:n}).pipe((0,i.U)(e=>({url:e.signedUrl,name:r})))}getAll(){return this.http.get(this.config.apiEndpoint+"/v1/core/data/device-types/")}adminGetAll(){return this.http.get(this.baseUrl)}getById(e){return this.http.get(`${this.baseUrl}/${e}`)}add(e){return this.http.post(this.baseUrl,e)}update(e){return this.http.put(`${this.baseUrl}/${e.id}`,e.changes)}delete(e){return this.http.delete(`${this.baseUrl}/${e}`,{headers:new r.WM({"Content-Type":"text/plain"})})}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.eN),s.LFG(o.a))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})()},87535:(e,t,n)=>{"use strict";n.d(t,{I:()=>p});var i=n(29063),r=n(29609),s=n(70653),o=n(44689),a=n(79243),l=n(18863),c=n(79996),u=n(30601),d=n(31572),h=n(17677);let p=(()=>{class e extends u.b{constructor(e,t){super(e),this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/admin/devices"}paged(e,t,n,i,r,s,o,a){return this.http.post(this.config.apiEndpoint+"/v1/core/data/devices/search",{filter:{nameOrSerial:n,deviceTypeId:i,deviceModelId:r,deviceGroupId:s,childDomainId:o},skip:e,take:t,sortBy:a})}downloadCsv(e,t){return this.http.post(this.config.apiEndpoint+"/v1/core/data/devices/data-lake/export",{fromDate:e,toDate:t}).pipe((0,o.w)(e=>this.http.get(e.url,{responseType:"arraybuffer",headers:new i.WM({"x-allow-anonymous":"true"})})))}dataLakeData(e,t,n){return this.http.post(this.config.apiEndpoint+`/v1/core/data/devices/${e}/data-lake/data`,{fromDateTime:t,toDateTime:n})}searchWithPosition(e,t,n){let i=0;return this.searchWithPositionPaged(i,200,e,t,n).pipe((0,a.jn)(r=>r.count>200*(1+i)?this.searchWithPositionPaged(++i,200,e,t,n):s.E),(0,l.u)((e,t)=>e.concat(t.devices),[]))}adminPaged(e,t,n,i,r,s){return this.http.post(this.config.apiEndpoint+"/v1/core/admin/devices/search",{filter:{nameOrSerial:n,deviceTypeId:i,deviceGroupId:r},skip:e,take:t,sortBy:s})}adminGetAll(){let e=0;return this.adminGetAllPaged(e,100).pipe((0,a.jn)(t=>100===t.length?this.adminGetAllPaged(++e,100):s.E),(0,l.u)((e,t)=>e.concat(t),[]))}getDeviceDetailById(e,t=!1){return this.http.get(this.config.apiEndpoint+"/v1/core/data/devices/"+e,{headers:t?this.buildSkipInterceptorHeaders():{}})}getAll(){let e=0;return this.getAllPaged(e).pipe((0,a.jn)(t=>t.length>0?this.getAllPaged(++e):s.E),(0,l.u)((e,t)=>e.concat(t),[]))}adminGetById(e){return this.http.get(`${this.baseUrl}/${e}`)}add(e){return this.http.post(this.baseUrl,e)}setup(e,t){return this.http.post(this.config.apiEndpoint+"/v1/core/data/devices/setup",{deviceId:e,deviceSerial:t})}reset(e){return this.http.post(this.config.apiEndpoint+"/v1/core/data/devices/reset",{deviceId:e})}update(e){return this.http.put(`${this.baseUrl}/${e.id}`,e.changes)}delete(e){return this.http.delete(`${this.baseUrl}/${e}`,{headers:new i.WM({"Content-Type":"text/plain"})})}sendCommand(e,t,n){return this.http.post(this.config.apiEndpoint+"/v1/core/data/devices/publish",{topic:"_data/"+e+"/cmnd/"+t,payload:n})}getPropertyFormattedValue(e,t){if(isNaN(t))return"";let n=t.toString();if("timestamp"===e.name&&(n=r((new Date).setTime(t)).format("LLL")),"float"===e.dataType)n=t.toFixed(2);else if("int"===e.dataType)n=Math.round(t).toString();else if(e.showRangeNameAsValue&&e.ranges){const i=this.getRangeIndex(e,t);i>-1&&(n=e.ranges[i].status)}return n}getRangeIndex(e,t){return null!=t&&e&&e.ranges?e.ranges.findIndex(e=>(e.min||0)<=t&&t<(e.max||Number.MAX_VALUE)):-1}getAdjustedValue(e,t){return t&&e.moltiplicatorFactor&&0!==e.moltiplicatorFactor&&(t/=e.moltiplicatorFactor),t}getPropertyValue(e,t){var n,i,r,s;let o;return o=e.aggregationCalculated?null===(i=null===(n=t.aggregatedData)||void 0===n?void 0:n.find(t=>t.propertyName.toLowerCase()===e.code.toLowerCase()))||void 0===i?void 0:i.aggregationValue:null===(s=null===(r=t.data)||void 0===r?void 0:r.find(t=>t.propertyName.toLowerCase()===e.code.toLowerCase()))||void 0===s?void 0:s.value,o=this.getAdjustedValue(e,o),Number(o)}getAggregatedPropertyValue(e,t){let n=t?t.aggregationValue:0;return n=this.getAdjustedValue(e,n),n}getAllPaged(e){return this.paged(200*e,200,"","","","","",void 0).pipe((0,c.U)(e=>e.devices))}searchWithPositionPaged(e,t,n,i,r){return this.http.post(this.config.apiEndpoint+`/v1/core/data/devices/search-devices-by-position/${n}/${i}/${r}`,{filter:{},skip:e*t,take:t})}adminGetAllPaged(e,t){return this.adminPaged(e*t,t,"","","",void 0).pipe((0,c.U)(e=>e.devices))}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(i.eN),d.LFG(h.a))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac}),e})()},21063:(e,t,n)=>{"use strict";n.d(t,{t:()=>u});var i=n(29063),r=n(29609),s=n.n(r),o=n(79996),a=n(30601),l=n(31572),c=n(17677);let u=(()=>{class e extends a.b{constructor(e,t){super(e),this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/admin/domains"}get rootDomain(){let e=Object.keys(this.config.domains)[0],t=this.config.domains[Object.keys(this.config.domains)[0]];return document.location.host.indexOf("yamaiot")>-1&&(e=document.location.host.split(".")[0],t=this.config.domains[e]||this.config.domains[Object.keys(this.config.domains)[0]]),{name:e,id:t}}startPollingDomainRealtime(){return this.startPolling(1e4,this.config.apiEndpoint+"/v1/core/data/domain/totals").pipe((0,o.U)(e=>e.data))}startPollingDomainNotifications(){return this.startPolling(1e4,this.config.apiEndpoint+"/v1/core/notifications/notifications/search","POST",()=>{const e=s()().toISOString();return{filter:{notificationType:"",fromDate:s()(e).add(-30,"s"),toDate:e,description:""},sortBy:{notifiedAt:1},skip:0,take:10}}).pipe((0,o.U)(e=>e.notifications))}getAll(){return this.http.get(this.baseUrl)}getById(e){return this.http.get(`${this.baseUrl}/${e}`)}add(e){return this.http.post(this.baseUrl,e)}update(e){return this.http.put(`${this.baseUrl}/${e.id}`,e.changes)}delete(e){return this.http.delete(`${this.baseUrl}/${e}`,{headers:new i.WM({"Content-Type":"text/plain"})})}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(i.eN),l.LFG(c.a))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e})()},5518:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var i=n(29063),r=n(31572),s=n(17677);let o=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/admin/roles"}getAll(){return this.http.get(this.baseUrl)}getById(e){return this.http.get(`${this.baseUrl}/${e}`)}add(e){return this.http.post(this.baseUrl,e)}update(e){return this.http.put(`${this.baseUrl}/${e.id}`,e.changes)}delete(e){return this.http.delete(`${this.baseUrl}/${e}`,{headers:new i.WM({"Content-Type":"text/plain"})})}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.eN),r.LFG(s.a))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})()},94590:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var i=n(29063),r=n(31572),s=n(17677);let o=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/admin/users"}getAll(){return this.http.get(this.baseUrl)}getById(e){return this.http.get(`${this.baseUrl}/${e}`)}add(e){return this.http.post(this.baseUrl,e)}update(e){return this.http.put(`${this.baseUrl}/${e.id}`,e.changes)}delete(e){return this.http.delete(`${this.baseUrl}/${e}`,{headers:new i.WM({"Content-Type":"text/plain"})})}getByEmail(e){return this.http.post(`${this.baseUrl}/get-by-email`,{email:e})}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.eN),r.LFG(s.a))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})()},2230:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var i=n(29609),r=n(31572),s=n(29063),o=n(17677);let a=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/core/notifications"}recent(){return this.http.post(this.baseUrl+"/notifications/search",{filter:{fromDate:i().add(-1,"hour").toDate(),toDate:i().toDate(),notificationType:"",description:""},skip:0,take:50,sortBy:{notifiedAt:-1}})}paged(e,t,n,i,r,s,o){return this.http.post(this.baseUrl+"/notifications/search",{filter:{fromDate:n,toDate:i,notificationType:r,description:o},skip:e,take:t,sortBy:s})}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.eN),r.LFG(o.a))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})()},16563:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var i=n(29063),r=n(79996),s=n(30601),o=n(31572),a=n(17677);let l=(()=>{class e extends s.b{constructor(e,t){super(e),this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/rtls/admin/areas"}adminGetAll(){return this.http.get(this.baseUrl)}getAll(){return this.http.get(this.config.apiEndpoint+"/v1/rtls/data/areas")}getById(e){return this.http.get(`${this.baseUrl}/${e}`)}add(e){return this.http.post(this.baseUrl,e)}update(e){return this.http.put(`${this.baseUrl}/${e.id}`,e.changes)}delete(e){return this.http.delete(`${this.baseUrl}/${e}`,{headers:new i.WM({"Content-Type":"text/plain"})})}startPollingAreaTotals(e){return this.startPolling(5e3,`${this.config.apiEndpoint}/v1/rtls/data/areas/${e}/totals`).pipe((0,r.U)(e=>e.data))}startPollingAreaRealtime(e){return this.startPolling(2e3,`${this.config.apiEndpoint}/v1/rtls/data/areas/${e}/tags-status`).pipe((0,r.U)(e=>{const t=e.data.tags?e.data.tags.filter(e=>0!==e.pos.x&&0!==e.pos.y):[];return console.log(t),t}))}}return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.eN),o.LFG(a.a))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e})()},38619:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var i=n(31572),r=n(29063),s=n(17677);let o=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/rtls/data/sessions"}getStarted(){return this.http.get(`${this.baseUrl}/started-sessions`)}getAvailableDevices(){return this.http.get(`${this.baseUrl}/not-started-devices`)}start(e){return this.http.post(`${this.baseUrl}/start`,Object.assign({},e))}startGroup(e){return this.http.post(`${this.baseUrl}/start-group`,{devices:e})}end(e){return this.http.put(`${this.baseUrl}/${e}/end`,{})}getAll(){return this.http.get(`${this.baseUrl}`)}getById(e){return this.http.get(`${this.baseUrl}/${e}`)}add(e){return this.http.post(this.baseUrl,e)}update(e){return this.http.put(`${this.baseUrl}/${e.id}`,e.changes)}delete(e){return this.http.delete(`${this.baseUrl}/${e}`)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.eN),i.LFG(s.a))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},93629:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});var i=n(31572),r=n(29063),s=n(17677);let o=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint+"/v1/rtls/admin/zones/"}adminGetAll(){return this.http.get(this.baseUrl)}getAll(){return this.http.get(this.config.apiEndpoint+"/v1/rtls/data/zones/")}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.eN),i.LFG(s.a))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},44636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var i=n(31572),r=n(29063),s=n(17677);let o=(()=>{class e{constructor(e,t){this.http=e,this.config=t,this.baseUrl=this.config.apiEndpoint}coreDataStatus(){return this.http.get(this.baseUrl+"/v1/core/data/status/")}coreAdminStatus(){return this.http.get(this.baseUrl+"/v1/core/admin/status/")}rtlsAdminStatus(){return this.http.get(this.baseUrl+"/v1/rtls/admin/status/")}rtlsDataStatus(){return this.http.get(this.baseUrl+"/v1/rtls/data/status/")}coreAuthStatus(){return this.http.get(this.baseUrl+"/v1/core/auth/status/")}coreAnalyticsStatus(){return this.http.get(this.baseUrl+"/v1/core/analytics/status/")}rtlsAnalyticsStatus(){return this.http.get(this.baseUrl+"/v1/rtls/analytics/status/")}coreNotificationsStatus(){return this.http.get(this.baseUrl+"/v1/core/notifications/status/")}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.eN),i.LFG(s.a))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},78127:(e,t,n)=>{"use strict";n.d(t,{jE:()=>i.j,ZD:()=>r.ZD,PP:()=>s.P,ny:()=>o.ny,e8:()=>a.e});var i=n(71617),r=n(36042),s=n(58058),o=n(38719),a=n(75383);n(93706),n(69141),n(3285)},89660:(e,t,n)=>{"use strict";n.d(t,{x4:()=>r,he:()=>s,UR:()=>o,BG:()=>a,Ub:()=>l,df:()=>c,BW:()=>u,v7:()=>d,vo:()=>h,kS:()=>p,nS:()=>f,b8:()=>m,N_:()=>g,VY:()=>_,D3:()=>v,wt:()=>y,Gd:()=>b,Fq:()=>w,Sg:()=>x,k8:()=>S,FY:()=>k,Az:()=>C,io:()=>M,gF:()=>E,Sq:()=>T,B:()=>A,c0:()=>D,Fo:()=>P,de:()=>L,DQ:()=>O,V7:()=>I,dV:()=>R,d7:()=>Y,mo:()=>F});var i=n(61593);const r=(0,i.PH)("[Auth] Login",(0,i.Ky)()),s=(0,i.PH)("[Auth] Login Success"),o=(0,i.PH)("[Auth] Login Failure",(0,i.Ky)()),a=(0,i.PH)("[Auth] User must reset password"),l=(0,i.PH)("[Auth] User code loaded",(0,i.Ky)()),c=(0,i.PH)("[Auth] Session expired"),u=(0,i.PH)("[Auth] Load logged user"),d=(0,i.PH)("[Auth] Load logged user Success",(0,i.Ky)()),h=(0,i.PH)("[Auth] Load logged user Failure",(0,i.Ky)()),p=(0,i.PH)("[Auth] Logout"),f=(0,i.PH)("[Auth] Google Sign In",(0,i.Ky)()),m=(0,i.PH)("[Auth] Set Current Domain",(0,i.Ky)()),g=(0,i.PH)("[Auth] Set Domains",(0,i.Ky)()),_=(0,i.PH)("[Auth] Profile settings Save"),v=(0,i.PH)("[Auth] Profile Form Save",(0,i.Ky)()),y=(0,i.PH)("[Auth] Profile Form Save Success",(0,i.Ky)()),b=(0,i.PH)("[Auth] Profile Form Save Failure",(0,i.Ky)()),w=(0,i.PH)("[Auth] Show Profile"),x=(0,i.PH)("[Auth] Show Tutorial",(0,i.Ky)()),S=(0,i.PH)("[Auth] Selected Profile tab",(0,i.Ky)()),k=(0,i.PH)("[Auth] Profile change password Form Save",(0,i.Ky)()),C=(0,i.PH)("[Auth] Profile change password Success"),M=(0,i.PH)("[Auth] Profile change password Failure",(0,i.Ky)()),E=(0,i.PH)("[Auth] Forgot password",(0,i.Ky)()),T=(0,i.PH)("[Auth] Forgot password Success",(0,i.Ky)()),A=(0,i.PH)("[Auth] Forgot password Failure",(0,i.Ky)()),D=(0,i.PH)("[Auth] Reset password submit",(0,i.Ky)()),P=(0,i.PH)("[Auth] Reset password submit Success"),L=(0,i.PH)("[Auth] Reset password submit Failure",(0,i.Ky)()),O=(0,i.PH)("[Auth] Profile photo Save"),I=(0,i.PH)("[Auth] Profile photo Save Success",(0,i.Ky)()),R=(0,i.PH)("[Auth] Profile photo Save Failure",(0,i.Ky)()),Y=(0,i.PH)("[Auth] Show About "),F=(0,i.PH)("[Auth] Reset auth error")},71617:(e,t,n)=>{"use strict";n.d(t,{j:()=>u});var i=n(47338),r=n(61593),s=n(36960),o=n(89660),a=n(62772),l=n(36042),c=n(31572);let u=(()=>{class e{constructor(e){this.store=e,this.selectLoginForm$=this.store.pipe((0,r.Ys)(l.Fg)),this.selectLoggedUser$=this.store.pipe((0,r.Ys)(l.oV)),this.selectDomains$=this.store.pipe((0,r.Ys)(l.nb)),this.selectAuthError$=this.store.pipe((0,r.Ys)(l.Hn)),this.selectCurrentDomain$=this.store.pipe((0,r.Ys)(l.si)),this.resetPasswordEmailSent$=this.store.pipe((0,r.Ys)(l.ex)),this.selectCurrentDomainId$=this.store.pipe((0,r.Ys)(l.ZD)),this.selectUserMustResetPassword$=this.store.pipe((0,r.Ys)(l.qt)),this.selectProfileSettingsForm$=this.store.pipe((0,r.Ys)(l.Zy)),this.selectProfilePhotoForm$=this.store.pipe((0,r.Ys)(l.A4)),this.selectProfileChangePasswordForm$=this.store.pipe((0,r.Ys)(l.h1)),this.selectCanSaveProfile$=this.store.pipe((0,r.Ys)(l.S7)),this.selectCanSaveProfileSettings$=this.store.pipe((0,r.Ys)(l.A9)),this.selectCanSaveProfileChangePassword$=this.store.pipe((0,r.Ys)(l.hZ)),this.getSelectedProfileTab$=this.store.pipe((0,r.Ys)(l.rv)),this.selectForgotPasswordForm$=this.store.pipe((0,r.Ys)(l.Rl)),this.selectResetPasswordForm$=this.store.pipe((0,r.Ys)(l.rQ)),this.seletQueryParams$=this.store.pipe((0,r.Ys)(l.o2)),this.isRootAdmin$=this.store.pipe((0,r.Ys)(l.Hi))}sessionExpired(){this.store.dispatch(o.df())}login(e){this.store.dispatch(o.x4({username:e.username,password:e.password,rememberMe:e.rememberMe,newPassword:e.newPassword,code:e.code}))}resetAuthError(){this.store.dispatch(o.mo())}accept(e,t,n){this.store.dispatch(o.Ub({code:n})),this.store.dispatch(o.x4({username:e,password:t,rememberMe:!1,code:n}))}googleLogin(e){this.store.dispatch(o.nS({rememberMe:e}))}logout(){this.store.dispatch(o.kS())}loginFormInitialize(){this.store.dispatch(new i._2(a.Nn,a.Q4)),this.store.dispatch(new i.rc(a.Nn))}loginFormInitializeWithTmpPassword(e,t,n){this.store.dispatch(new i._2(a.Nn,{username:e,password:t,rememberMe:!1,newPassword:"",confirmPassword:"",code:n})),this.store.dispatch(new i.rc(a.Nn))}loadLoggedUserProfile(){this.store.dispatch(o.BW())}setDomain(e){this.store.dispatch(o.b8({domainId:e}))}setDomains(e,t){const n=e.filter(e=>""!==e.parentDomainId),i=e.find(e=>""===e.parentDomainId),r=n.sort((e,t)=>(0,s.D)(e.name,t.name,!0,!1));this.store.dispatch(o.N_({domains:i?[i,...r]:[...r],selectedDomainId:t}))}profileFormSave(){this.store.dispatch(o.VY())}profileSettingsInitialize(e){this.profileSettingsFormInitialize(e),this.profileChangePasswordFormInitialize(),this.setSelectProfileTab(0)}profileSettingsFormInitialize(e){this.store.dispatch(new i._2(a.RC,{firstName:(null==e?void 0:e.firstName)||"",lastName:(null==e?void 0:e.lastName)||"",email:(null==e?void 0:e.email)||"",roleId:(null==e?void 0:e.roleId)||"",roleCode:(null==e?void 0:e.roleCode)||"",gender:(null==e?void 0:e.gender)||"",language:(null==e?void 0:e.language)||"",jobTitle:(null==e?void 0:e.jobTitle)||"",subscribeNotificationError:!(!e||void 0===e.subscribeNotificationError)&&e.subscribeNotificationError,showTutorialNextStart:!1})),this.profileSettingsFormActionInitialize()}profileSettingsFormActionInitialize(){this.store.dispatch(new i.rc(a.RC))}profileChangePasswordFormInitialize(){this.store.dispatch(new i._2(a.DM,{password:"",newPassword:"",confirmPassword:""})),this.store.dispatch(new i.rc(a.DM))}profileChangePasswordSave(){this.store.dispatch(o.VY())}profileChangePasswordFormActionInitialize(){this.store.dispatch(new i.rc(a.DM))}showProfile(){this.store.dispatch(o.Fq())}showTutorial(e=!0){this.store.dispatch(o.Sg({onlyFirstTime:e}))}setSelectProfileTab(e){this.store.dispatch(o.k8({index:e}))}forgotPassword(e){this.store.dispatch(o.gF({username:e}))}resetPassword(e,t){this.store.dispatch(o.c0({username:e,code:t}))}profilePhotoSave(){this.store.dispatch(o.DQ())}showAbout(){this.store.dispatch(o.d7())}}return e.\u0275fac=function(t){return new(t||e)(c.LFG(r.yh))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e})()},62772:(e,t,n)=>{"use strict";n.d(t,{Zy:()=>l,Nn:()=>c,RC:()=>u,DM:()=>d,Q4:()=>p,I6:()=>y});var i=n(47338),r=n(35241),s=n(61593),o=n(25369),a=n(89660);const l="auth",c="loginForm",u="profileSettingsForm",d="profileChangePasswordForm",h="forgotPasswordForm",p={username:"",password:"",rememberMe:!0,newPassword:"",confirmPassword:"",code:""},f={photo:(0,i.BZ)(null)},m={loginForm:(0,i.j6)(c,p),loggedUser:void 0,domains:[],userMustResetPassword:!1,code:"",selectedProfileTab:0,profileSettingsForm:(0,i.j6)(u,{firstName:"",lastName:"",email:"",roleId:"",roleCode:"",gender:"",language:"",jobTitle:"",subscribeNotificationError:!1,showTutorialNextStart:!1}),profilePhotoForm:(0,i.j6)("profilePhotoForm",f),profileChangePasswordForm:(0,i.j6)(d,{password:"",newPassword:"",confirmPassword:""}),forgotPasswordForm:(0,i.j6)(h,{username:""}),resetPasswordForm:(0,i.j6)(h,{newPassword:"",confirmPassword:""}),authError:"",resetPasswordEmailSent:!1},g=(0,i.mD)({firstName:(0,i.Gu)(r.C1),lastName:(0,i.Gu)(r.C1)}),_=(0,i.mD)({username:(0,i.Gu)(r.C1,r.Do)}),v=(0,s.Lq)(m,(0,i.c_)(),(0,s.on)(a.v7,(e,{user:t})=>Object.assign(Object.assign({},e),{loggedUser:t})),(0,s.on)(a.N_,(e,{domains:t,selectedDomainId:n})=>Object.assign(Object.assign({},e),{domains:t,currentDomainId:n||(t.length>0?t[t.length-1].id:void 0)})),(0,s.on)(a.kS,e=>Object.assign(Object.assign({},e),{loggedUser:void 0,currentDomainId:void 0,domains:[]})),(0,s.on)(a.Ub,(e,{code:t})=>Object.assign(Object.assign({},e),{code:t})),(0,s.on)(a.BG,e=>Object.assign(Object.assign({},e),{userMustResetPassword:!0})),(0,s.on)(a.he,e=>Object.assign(Object.assign({},e),{userMustResetPassword:!1,authError:""})),(0,s.on)(a.k8,(e,{index:t})=>Object.assign(Object.assign({},e),{selectedProfileTab:t})),(0,s.on)(a.UR,(e,{error:t})=>Object.assign(Object.assign({},e),{authError:t})),(0,s.on)(a.Sq,(e,{})=>Object.assign(Object.assign({},e),{resetPasswordEmailSent:!0})),(0,s.on)(a.Fo,(e,{})=>Object.assign(Object.assign({},e),{authError:""})),(0,s.on)(a.de,(e,{error:t})=>Object.assign(Object.assign({},e),{authError:t})),(0,s.on)(a.mo,e=>Object.assign(Object.assign({},e),{authError:""}))),y=(0,i.me)((0,i.me)((0,i.me)((0,i.me)((0,i.me)(v,e=>e.resetPasswordForm,e=>(0,i.mD)(e,{newPassword:(e,t)=>((e=(0,i.Gu)(e,r.C1,(0,r.Ei)(8))).isValid&&(e=(0,i.Gu)(e,(0,r.uj)(/[A-Z]/),(0,r.uj)(/[a-z]/),(0,r.uj)(/\d/),(0,r.uj)(/\W/))),e),confirmPassword:(e,t)=>(0,i.Gu)(e,(0,o.k5)(t.value.newPassword,"Confirm password","New Password"))})),e=>e.forgotPasswordForm,_),e=>e.profileChangePasswordForm,e=>(0,i.mD)(e,{password:(e,t)=>(0,i.Gu)(e,r.C1),newPassword:(e,t)=>((e=(0,i.Gu)(e,r.C1,(0,r.Ei)(8))).isValid&&(e=(0,i.Gu)(e,(0,r.uj)(/[A-Z]/),(0,r.uj)(/[a-z]/),(0,r.uj)(/\d/),(0,r.uj)(/\W/))),e),confirmPassword:(e,t)=>(0,i.Gu)(e,(0,o.k5)(t.value.newPassword,"Confirm password","New Password"))})),e=>e.profileSettingsForm,g),e=>e.loginForm,(e,t)=>(0,i.mD)(e,{username:(e,t)=>(0,i.Gu)(e,r.C1,r.Do),password:(e,t)=>(0,i.Gu)(e,r.C1),newPassword:(e,n)=>(t.userMustResetPassword&&(e=(0,i.Gu)(e,r.C1,(0,r.Ei)(8))).isValid&&(e=(0,i.Gu)(e,(0,r.uj)(/[A-Z]/),(0,r.uj)(/[a-z]/),(0,r.uj)(/\d/),(0,r.uj)(/\W/))),e),confirmPassword:(e,n)=>(t.userMustResetPassword&&(e=(0,i.Gu)(e,(0,o.k5)(n.value.newPassword,"Confirm password","New Password"))),e),code:(e,n)=>(t.userMustResetPassword&&(e=(0,i.Gu)(e,r.C1)),e)}))},36042:(e,t,n)=>{"use strict";n.d(t,{Fg:()=>a,oV:()=>l,nb:()=>c,ZD:()=>u,si:()=>d,qt:()=>h,Hn:()=>p,ex:()=>f,Zy:()=>m,A4:()=>g,h1:()=>_,rv:()=>v,Rl:()=>y,rQ:()=>b,A9:()=>w,hZ:()=>x,S7:()=>S,o2:()=>k,Hi:()=>C});var i=n(61593),r=n(6344),s=n(62772);const o=(0,i.ZF)(s.Zy),a=(0,i.P1)(o,e=>e.loginForm),l=(0,i.P1)(o,e=>e.loggedUser),c=(0,i.P1)(o,e=>e.domains),u=(0,i.P1)(o,e=>e.currentDomainId),d=(0,i.P1)(o,u,(e,t)=>e.domains.find(e=>e.id===t)),h=(0,i.P1)(o,e=>e.userMustResetPassword),p=((0,i.P1)(o,e=>e.code),(0,i.P1)(o,e=>e.authError)),f=(0,i.P1)(o,e=>e.resetPasswordEmailSent),m=(0,i.P1)(o,e=>e.profileSettingsForm),g=(0,i.P1)(o,e=>e.profilePhotoForm),_=(0,i.P1)(o,e=>e.profileChangePasswordForm),v=(0,i.P1)(o,e=>e.selectedProfileTab),y=(0,i.P1)(o,e=>e.forgotPasswordForm),b=(0,i.P1)(o,e=>e.resetPasswordForm),w=(0,i.P1)(o,e=>{var t,n,i;return(null===(t=e.profileSettingsForm)||void 0===t?void 0:t.isValid)&&!(e.profileSettingsForm.isPristine||(null===(n=e.profileSettingsForm)||void 0===n?void 0:n.isSubmitted)&&(null===(i=e.profileSettingsForm)||void 0===i?void 0:i.isValid))}),x=(0,i.P1)(o,e=>{var t,n,i;return(null===(t=e.profileChangePasswordForm)||void 0===t?void 0:t.isValid)&&!(e.profileChangePasswordForm.isPristine||(null===(n=e.profileChangePasswordForm)||void 0===n?void 0:n.isSubmitted)&&(null===(i=e.profileChangePasswordForm)||void 0===i?void 0:i.isValid))}),S=(0,i.P1)(v,w,x,(e,t,n)=>0===e?t:1===e&&n),k=(0,i.P1)(r.t$,e=>e.queryParams),C=(0,i.P1)(d,c,(e,t)=>!(null==e?void 0:e.parentDomainId)&&t.length>1)},58058:(e,t,n)=>{"use strict";n.d(t,{P:()=>f});var i=n(40878),r=n(73982),s=n(47727),o=n(66599),a=n(43835),l=n(79996),c=n(3530),u=n(71617),d=n(75383),h=n(31572),p=n(71398);let f=(()=>{class e{constructor(e,t,n){this.authFacade=e,this.authService=t,this.router=n}canActivate(){return this.authService.signedIn().pipe((0,r.zg)(e=>e?this.checkStore():this.router.navigateByUrl("/auth/login")),(0,s.K)(()=>(this.router.navigateByUrl("/auth/login"),(0,i.of)(!1))))}checkStore(){return this.authFacade.selectLoggedUser$.pipe((0,o.b)(e=>{e||this.authFacade.loadLoggedUserProfile()}),(0,a.h)(e=>!!e),(0,l.U)(e=>!!e),(0,c.P)())}}return e.\u0275fac=function(t){return new(t||e)(h.LFG(u.j),h.LFG(d.e),h.LFG(p.F0))},e.\u0275prov=h.Yz7({token:e,factory:e.\u0275fac}),e})()},38719:(e,t,n)=>{"use strict";n.d(t,{ny:()=>sa});var i=n(61511),r=n(29063),s=n(55109),o=n(71398),a=n(64897),l=n(61593),c=n(76032),u=n(25369),d=n(64448),h=n(21471),p=n(47338),f=n(40878),m=n(66599),g=n(73982),_=n(79996),v=n(3530),y=n(22728),b=n(41587),w=n(31284),x=n(21736),S=n(75383),k=n(84608),C=n(32559),M=n(31572),E=n(48160),T=n(61517);let A=(()=>{class e extends C.P{constructor(e,t,n){super(),this.dialogRef=e,this.data=t,this.version=n}ngOnInit(){}cancel(){this.dialogRef.close()}}return e.\u0275fac=function(t){return new(t||e)(M.Y36(k.so),M.Y36(k.WI),M.Y36("version"))},e.\u0275cmp=M.Xpm({type:e,selectors:[["ng-component"]],features:[M.qOj],decls:18,vars:3,consts:[[1,"flex-grow-1","d-flex","flex-column","dialog-container"],[1,"d-flex","align-items-center","dialog-header"],["translate","",1,"dialog-title"],["variant","icon",1,"ml-auto","mr-0",3,"click"],[1,"dialog-content"],["translate","",1,"mr-3"],["href","https://www.iubenda.com/privacy-policy/33316642","target","_blank","translate",""],["href","https://www.iubenda.com/termini-e-condizioni/33316642","target","_blank","translate",""]],template:function(e,t){1&e&&(M.TgZ(0,"div",0),M.TgZ(1,"div",1),M.TgZ(2,"div",2),M._uU(3,"About"),M.qZA(),M.TgZ(4,"yam-ui-button",3),M.NdJ("click",function(){return t.cancel()}),M._uU(5," close "),M.qZA(),M.qZA(),M.TgZ(6,"div",4),M.TgZ(7,"div"),M.TgZ(8,"span",5),M._uU(9,"Version:"),M.qZA(),M._uU(10),M.ALo(11,"json"),M.qZA(),M._UZ(12,"br"),M.TgZ(13,"a",6),M._uU(14,"Privacy policy"),M.qZA(),M._UZ(15,"br"),M.TgZ(16,"a",7),M._uU(17,"Terms & Conditions"),M.qZA(),M.qZA(),M.qZA()),2&e&&(M.xp6(10),M.Oqu(M.lcZ(11,1,t.version)))},directives:[E.Pi,T.r],pipes:[i.Ts],styles:[".dialog-container[_ngcontent-%COMP%]{padding:0}.dialog-header[_ngcontent-%COMP%]{box-shadow:2px 0 4px 0 rgba(0,0,0,.09);padding:0 15px 0 28px;height:55px;border-radius:0 0 6px 6px}.dialog-title[_ngcontent-%COMP%]{color:var(--grey-500);font-size:18px;font-weight:600}.dialog-content[_ngcontent-%COMP%]{overflow:hidden;height:40vh;display:flex;flex-direction:column;justify-content:center;align-items:center}.dialog-content-data[_ngcontent-%COMP%]{padding:10px 35px;overflow:hidden;overflow-y:auto}.dialog-content-title[_ngcontent-%COMP%]{color:var(--grey-300);font-size:15px;font-weight:600;margin-bottom:40px}.avatar[_ngcontent-%COMP%]{margin-bottom:35px}[_nghost-%COMP%] .mat-tab-group{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-label-active{color:var(--accent-color)}[_nghost-%COMP%] .mat-ink-bar{background-color:var(--accent-color)!important} .about-container .mat-dialog-container{padding:0}.dialog-action[_ngcontent-%COMP%]{padding:10px 35px}.password-hint[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:var(--grey-300)}"],changeDetection:0}),e})();var D=n(93706),P=n(3285),L=n(89660),O=n(71617);let I=(()=>{class e{constructor(e,t,n,i,r,s,o,l,c,u,d,h,w,x){this.actions$=e,this.authFacade=t,this.authService=n,this.router=i,this.service=r,this.noLoggedUserService=s,this.domainService=o,this.activatedRoute=l,this.sharedUsersFacade=c,this.userService=u,this.loaderFacade=d,this.dialogService=h,this.toastsService=w,this.translateService=x,this.failure$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.vo,L.Gd,L.io,L.B,L.dV),(0,m.b)(e=>this.toastsService.errorFeedback(e.error))),{dispatch:!1}),this.login$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.x4),(0,b.he)({run:e=>(this.loaderFacade.showLoader(e),e.newPassword&&e.code?this.noLoggedUserService.acceptInvitation({code:e.code,newPassword:e.newPassword,email:e.username}).pipe((0,g.VS)(()=>e.newPassword?this.authService.login(e.username,e.newPassword,e.rememberMe).pipe((0,g.VS)(()=>e.newPassword?this.service.updateMe({acceptedInvitationAt:(new Date).toISOString()}).pipe((0,_.U)(t=>(this.loaderFacade.hideLoader(e),L.he()))):(this.loaderFacade.hideLoader(e),(0,f.of)(L.he())))):(this.loaderFacade.hideLoader(e),(0,f.of)(L.he())))):this.authService.login(e.username,e.password,e.rememberMe).pipe((0,g.VS)(()=>(this.loaderFacade.hideLoader(e),(0,f.of)(L.he()))))),onError:(e,t)=>(this.loaderFacade.hideLoader(e),t===S.C.UserMustResetPassword?(this.authFacade.loginFormInitializeWithTmpPassword(e.username,e.password,e.code||""),this.router.navigateByUrl("auth/login"),L.BG()):L.UR({error:t.message?t.message:t}))}))),this.googleSignIn$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.nS),(0,m.b)(e=>{console.log("google sign in effect"),this.authService.googleSignIn(e.rememberMe)}),(0,v.P)())),this.loginSuccess$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.he),(0,m.b)(()=>{this.router.navigateByUrl("/")})),{dispatch:!1}),this.logout$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.kS),(0,m.b)(()=>{this.authService.logout(),this.sharedUsersFacade.clearUser(),this.router.navigateByUrl("/auth/login")})),{dispatch:!1}),this.loadLoggedUser$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.BW),(0,b.he)({run:e=>(this.loaderFacade.showLoader(e),this.service.domains().pipe((0,g.VS)(t=>(0,f.of)(t.domains).pipe((0,g.VS)(t=>{const n=this.authService.getDomain();return this.authFacade.setDomains(t,n),this.service.me().pipe((0,g.VS)(t=>t.acceptedInvitationAt?(this.loaderFacade.hideLoader(e),(0,f.of)(L.v7({user:Object.assign({},t)}))):this.service.updateMe({acceptedInvitationAt:(new Date).toISOString()}).pipe((0,_.U)(n=>(this.loaderFacade.hideLoader(e),L.v7({user:Object.assign({},t)}))))))}))))),onError:(e,t)=>(this.loaderFacade.hideLoader(e),console.error("Error",t),L.vo({error:t}))}))),this.loadLoggedUserFailure$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.vo),(0,_.U)(()=>L.kS()))),this.setCurrentDomain$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.b8),(0,m.b)(e=>{this.authService.setDomain(e.domainId),window.location.href=window.location.origin})),{dispatch:!1}),this.showProfile$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.Fq),(0,m.b)(e=>{this.dialogService.show(D.U,{},{width:"450px",disableClose:!0,panelClass:"profile-container"})})),{dispatch:!1}),this.showTutorial$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.Sg),(0,m.b)(e=>{let t=!1;e.onlyFirstTime&&""==this.authService.getFirstAccess()&&(t=!0,this.authService.setFirstAccess()),e.onlyFirstTime&&!t||this.dialogService.show(P.D,{},{width:"80vw",disableClose:!0,panelClass:"tutorial-container"})})),{dispatch:!1}),this.profileSettingsSave$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.VY),(0,y.M)(this.authFacade.selectLoggedUser$,this.authFacade.getSelectedProfileTab$,this.authFacade.selectProfileSettingsForm$,this.authFacade.selectProfileChangePasswordForm$),(0,_.U)(([e,t,n,i,r])=>t?0===n?(i.value.showTutorialNextStart?this.authService.resetFirstAccess():this.authService.setFirstAccess(),L.D3({profile:Object.assign(Object.assign({},t),i.value)})):1===n?L.FY(Object.assign({username:t.email},r.value)):L.Gd({error:"Invalid selected tab"}):L.Gd({error:"Loggeduser not present"})))),this.saveSuccess$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.wt,L.Az,L.Fo,L.V7),(0,m.b)(()=>this.toastsService.successFeedback(this.translateService.instant("Save completed successfully!")))),{dispatch:!1}),this.profileFormSave$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.D3),(0,b.Lh)({run:e=>(this.loaderFacade.showLoader(e),this.service.updateMe(e.profile).pipe((0,_.U)(t=>(this.loaderFacade.hideLoader(e),this.authFacade.profileSettingsFormActionInitialize(),L.wt({profile:t}))))),onError:(e,t)=>(console.error("Error",t),this.loaderFacade.hideLoader(e),L.Gd({error:t}))}))),this.profileFormSaveSuccess$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.wt),(0,_.U)(e=>L.v7({user:Object.assign({},e.profile)})))),this.profileChangePasswordFormSave$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.FY),(0,b.Lh)({run:e=>(this.loaderFacade.showLoader(e),this.service.changePassword({email:e.username,currentPassword:e.password,newPassword:e.newPassword}).pipe((0,_.U)(t=>(this.loaderFacade.hideLoader(e),this.authFacade.profileChangePasswordFormActionInitialize(),L.Az())))),onError:(e,t)=>(console.error("Error",t),this.loaderFacade.hideLoader(e),L.io(Object.assign(Object.assign({},t),{error:t.message})))}))),this.forgotPassword=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.gF),(0,b.he)({run:e=>(this.loaderFacade.showLoader(e),this.noLoggedUserService.forgotPassword(e.username).pipe((0,_.U)(t=>(this.loaderFacade.hideLoader(e),L.Sq(t.CodeDeliveryDetails))))),onError:(e,t)=>(this.loaderFacade.hideLoader(e),L.B({error:t.message?t.message:t}))}))),this.resetPassword=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.c0),(0,b.he)({run:e=>(this.loaderFacade.showLoader(e),(0,f.of)(e).pipe((0,y.M)(this.authFacade.selectResetPasswordForm$),(0,g.VS)(([e,t])=>this.noLoggedUserService.resetPassword({email:e.username,code:e.code,newPassword:t.value.newPassword}).pipe((0,_.U)(()=>(this.loaderFacade.hideLoader(e),this.router.navigateByUrl("auth/login"),L.Fo())))))),onError:(e,t)=>(this.loaderFacade.hideLoader(e),"ExpiredCodeException"===t.code&&(t.message=this.translateService.instant("Your reset password request is invalid or expired. Please reset your password again")),L.de({error:t.message?t.message:t}))}))),this.profilePhotoSave$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.DQ),(0,b.Lh)({run:e=>(this.loaderFacade.showLoader(e),(0,f.of)(e).pipe((0,y.M)(this.authFacade.selectLoggedUser$,this.authFacade.selectProfilePhotoForm$),(0,g.VS)(([e,t,n])=>{let i="";var r=(0,p.gy)(n.value.photo);r&&(i="data:"+r.contentType+";base64,"+r.content);const s=Object.assign(Object.assign({},t),{image:"",picture:i});return this.service.updateMe(s).pipe((0,_.U)(t=>(this.loaderFacade.hideLoader(e),L.V7({profile:t}))))}))),onError:(e,t)=>(console.error("Error",t),this.loaderFacade.hideLoader(e),L.dV({error:t}))}))),this.profilePhotoSaveSuccess$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.V7),(0,_.U)(e=>L.v7({user:Object.assign({},e.profile)})))),this.showAbout$=(0,a.GW)(()=>this.actions$.pipe((0,a.l4)(L.d7),(0,m.b)(e=>{this.dialogService.show(A,{},{width:"450px",disableClose:!0,panelClass:"about-container"})})),{dispatch:!1})}}return e.\u0275fac=function(t){return new(t||e)(M.LFG(a.eX),M.LFG(O.j),M.LFG(S.e),M.LFG(o.F0),M.LFG(c.Uc),M.LFG(c.do),M.LFG(c.tJ),M.LFG(o.gz),M.LFG(x.Yi),M.LFG(c.fz),M.LFG(w.L),M.LFG(h.xA),M.LFG(h.rY),M.LFG(E.sK))},e.\u0275prov=M.Yz7({token:e,factory:e.\u0275fac}),e})();var R=n(62772);class Y{}var F=n(58058),j=n(25416);function H(e,t){if(1&e){const e=M.EpF();M.TgZ(0,"div",2),M.TgZ(1,"yam-ui-button",3),M.NdJ("click",function(){return M.CHM(e),M.oxw().accept()}),M._uU(2,"Accept invitation"),M.qZA(),M.qZA()}}let N=(()=>{class e extends C.P{constructor(e,t){super(),this.authFacade=e,this.cd=t,this.queryParams$=this.authFacade.seletQueryParams$}get showAcceptButton(){return!!this.username&&!!this.tmpPassword&&!!this.code}accept(){this.username&&this.tmpPassword&&this.code&&this.authFacade.accept(this.username,this.tmpPassword,this.code)}ngOnInit(){this.queryParams$.pipe((0,v.P)(),(0,j.R)(this.ngUnsubscribe)).subscribe(e=>{if(e.data){const t=JSON.parse(atob(e.data));this.username=t.username,this.tmpPassword=t.tmpPassword,this.code=t.createdCode}else this.username=e.username,this.tmpPassword=e.tmpPassword,this.code=e.createdCode;this.accept()})}}return e.\u0275fac=function(t){return new(t||e)(M.Y36(O.j),M.Y36(M.sBO))},e.\u0275cmp=M.Xpm({type:e,selectors:[["ng-component"]],features:[M.qOj],decls:4,vars:4,consts:[[1,"login-yama","mat-title"],["class","mt-3 text-center",4,"ngIf"],[1,"mt-3","text-center"],["color","accent","translate","",1,"d-none",3,"click"]],template:function(e,t){1&e&&(M.TgZ(0,"div",0),M._uU(1),M.ALo(2,"translate"),M.qZA(),M.YNc(3,H,3,0,"div",1)),2&e&&(M.xp6(1),M.Oqu(M.lcZ(2,2,"You have been invited to Yama")),M.xp6(2),M.Q6J("ngIf",t.showAcceptButton))},directives:[i.O5,T.r,E.Pi],pipes:[E.X$],styles:["[_nghost-%COMP%]{flex-grow:1;display:flex;flex-direction:column}.login-yama[_ngcontent-%COMP%]{text-align:center;color:var(--grey-400);margin-top:20px}"],changeDetection:0}),e})();var B=n(16073),U=n(47906),z=n(4564),V=n(47939);function q(e,t){1&e&&(M.TgZ(0,"div",6),M.TgZ(1,"yam-ui-button",7),M._uU(2,"Send me instructions"),M.qZA(),M.qZA())}function W(e,t){if(1&e){const e=M.EpF();M.TgZ(0,"form",2),M.NdJ("submit",function(){const t=M.CHM(e).ngIf;return M.oxw().onSubmit(t)}),M.TgZ(1,"div"),M.TgZ(2,"div",3),M._uU(3),M.ALo(4,"translate"),M._UZ(5,"br"),M.TgZ(6,"small"),M._uU(7),M.ALo(8,"translate"),M.qZA(),M.qZA(),M.TgZ(9,"div"),M._UZ(10,"yam-ui-text-field",4),M.ALo(11,"translate"),M.ALo(12,"ngrxFormsErr"),M.ALo(13,"ngrxPush"),M.qZA(),M.qZA(),M.YNc(14,q,3,0,"div",5),M.ALo(15,"ngrxPush"),M.qZA()}if(2&e){const e=t.ngIf,n=M.oxw();M.Q6J("ngrxFormState",e),M.xp6(3),M.hij("",M.lcZ(4,9,"Forgot password?")," "),M.xp6(4),M.Oqu(M.lcZ(8,11,"Enter your email")),M.xp6(3),M.Q6J("label",M.lcZ(11,13,"Email"))("ngrxFormControlState",e.controls.username)("errors",M.lcZ(12,15,e.controls.username.errors))("shouldShowError",e.controls.username.isSubmitted)("readOnly",M.lcZ(13,17,n.resetPasswordEmailSent$)),M.xp6(4),M.Q6J("ngIf",!M.lcZ(15,19,n.resetPasswordEmailSent$))}}function $(e,t){1&e&&(M.TgZ(0,"div",8),M._uU(1),M.ALo(2,"translate"),M.qZA()),2&e&&(M.xp6(1),M.hij(" ",M.lcZ(2,1,"Check your email to reset your password"),""))}let G=(()=>{class e{constructor(e){this.authFacade=e,this.forgotPasswordForm$=this.authFacade.selectForgotPasswordForm$,this.resetPasswordEmailSent$=this.authFacade.resetPasswordEmailSent$}onSubmit(e){e.isValid&&this.authFacade.forgotPassword(e.value.username)}}return e.\u0275fac=function(t){return new(t||e)(M.Y36(O.j))},e.\u0275cmp=M.Xpm({type:e,selectors:[["ng-component"]],decls:4,vars:6,consts:[[3,"ngrxFormState","submit",4,"ngIf"],["class","login-info text-success text-right mt-3",4,"ngIf"],[3,"ngrxFormState","submit"],[1,"login-yama","mat-title"],[3,"label","ngrxFormControlState","errors","shouldShowError","readOnly"],["class","mt-3 text-right",4,"ngIf"],[1,"mt-3","text-right"],["buttonType","submit","color","accent","translate",""],[1,"login-info","text-success","text-right","mt-3"]],template:function(e,t){1&e&&(M.YNc(0,W,16,21,"form",0),M.ALo(1,"async"),M.YNc(2,$,3,3,"div",1),M.ALo(3,"ngrxPush")),2&e&&(M.Q6J("ngIf",M.lcZ(1,2,t.forgotPasswordForm$)),M.xp6(2),M.Q6J("ngIf",M.lcZ(3,4,t.resetPasswordEmailSent$)))},directives:[i.O5,B._Y,B.JL,p.Wz,p.I_,U.a,p.CR,T.r,E.Pi],pipes:[i.Ov,z.fM,E.X$,V.I],styles:["[_nghost-%COMP%]{flex-grow:1;display:flex;flex-direction:column}.login-yama[_ngcontent-%COMP%]{text-align:center;color:var(--grey-400);margin-top:20px}.login-yama[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-weight:400}.login-info[_ngcontent-%COMP%]{font-weight:700;font-size:14px}"],changeDetection:0}),e})();const Z=["img"];let K=(()=>{class e{constructor(e,t){this.authFacade=e,this.domainsService=t}getRootDomainName(){return this.domainsService.rootDomain.name}onError(){var e;null===(e=this.image)||void 0===e||e.nativeElement.setAttribute("src","/assets/img/"+this.getRootDomainName()+".png")}}return e.\u0275fac=function(t){return new(t||e)(M.Y36(O.j),M.Y36(c.tJ))},e.\u0275cmp=M.Xpm({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&M.Gf(Z,5),2&e){let e;M.iGM(e=M.CRH())&&(t.image=e.first)}},decls:7,vars:3,consts:[[1,"yama-column","d-none","d-lg-block"],[1,"col","col-lg-5","container-col"],[1,"company-logo"],[3,"src","error"],["img",""],[1,"login-wrapper"]],template:function(e,t){1&e&&(M._UZ(0,"div",0),M.TgZ(1,"div",1),M.TgZ(2,"div",2),M.TgZ(3,"img",3,4),M.NdJ("error",function(){return t.onError()}),M.qZA(),M.qZA(),M.TgZ(5,"div",5),M._UZ(6,"router-outlet"),M.qZA(),M.qZA()),2&e&&(M.Udp("background-image","url(/assets/img/bg_"+t.getRootDomainName()+"_login.jpg)"),M.xp6(3),M.Q6J("src","/assets/img/"+t.getRootDomainName()+"_login.png",M.LSH))},directives:[o.lC],styles:["[_nghost-%COMP%]{flex-grow:1;display:flex;flex-direction:row;height:100%}.yama-column[_ngcontent-%COMP%]{background-size:cover;background-position:50%;background-repeat:no-repeat;padding-left:125px;padding-right:125px;flex-grow:1}.login-wrapper[_ngcontent-%COMP%]{max-width:400px;margin:0 auto}.company-logo[_ngcontent-%COMP%]{text-align:center;margin-top:20vh}.company-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:200px;max-height:100px;width:auto}.yama-logo[_ngcontent-%COMP%]{text-align:left;margin-top:20vh}.yama-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:250px}.welcome[_ngcontent-%COMP%]{margin-top:50px;color:var(--grey-50);font-size:22px;font-weight:600}.welcome-text[_ngcontent-%COMP%]{margin-top:10px;color:var(--grey-100)}"],changeDetection:0}),e})();var Q=n(21295);function J(e,t){if(1&e&&(M.TgZ(0,"div"),M.TgZ(1,"div",7),M._uU(2),M.ALo(3,"translate"),M.qZA(),M.TgZ(4,"div"),M._UZ(5,"yam-ui-text-field",8),M.ALo(6,"translate"),M.ALo(7,"ngrxFormsErr"),M.qZA(),M.TgZ(8,"div"),M._UZ(9,"yam-ui-text-field",9),M.ALo(10,"ngrxFormsErr"),M.qZA(),M.TgZ(11,"div"),M._UZ(12,"yam-ui-checkbox",10),M.ALo(13,"translate"),M.qZA(),M.qZA()),2&e){const e=M.oxw().ngIf;M.xp6(2),M.Oqu(M.lcZ(3,13,"Login")),M.xp6(3),M.Q6J("label",M.lcZ(6,15,"Email"))("ngrxFormControlState",e.controls.username)("errors",M.lcZ(7,17,e.controls.username.errors))("shouldShowError",e.controls.username.isSubmitted),M.xp6(4),M.Q6J("label","Password")("inputType","password")("ngrxFormControlState",e.controls.password)("errors",M.lcZ(10,19,e.controls.password.errors))("shouldShowError",e.controls.password.isSubmitted),M.xp6(3),M.Q6J("label",M.lcZ(13,21,"Remember me"))("ngrxFormControlState",e.controls.rememberMe)("labelPosition","after")}}function X(e,t){if(1&e&&(M.TgZ(0,"div"),M.TgZ(1,"div",7),M._uU(2),M.ALo(3,"translate"),M.qZA(),M.TgZ(4,"div"),M._UZ(5,"yam-ui-text-field",9),M.ALo(6,"ngrxFormsErr"),M.qZA(),M.TgZ(7,"div"),M._UZ(8,"yam-ui-text-field",9),M.ALo(9,"ngrxFormsErr"),M.qZA(),M.TgZ(10,"div",11),M._uU(11," Password must be at least 8 characters long. "),M._UZ(12,"br"),M._uU(13," Must contain both uppercase and lowercase letters. "),M._UZ(14,"br"),M._uU(15," Must contain a number. "),M._UZ(16,"br"),M._uU(17," Must contain a special character. "),M.qZA(),M.TgZ(18,"div",12),M._uU(19," By signing in, I agree to the "),M.TgZ(20,"a",13),M._uU(21,"Privacy Policy"),M.qZA(),M._uU(22," and "),M.TgZ(23,"a",14),M._uU(24,"Terms of Service"),M.qZA(),M._uU(25,". "),M.qZA(),M.qZA()),2&e){const e=M.oxw().ngIf;M.xp6(2),M.hij(" ",M.lcZ(3,11,"Choose your password")," "),M.xp6(3),M.Q6J("label","Password")("inputType","password")("ngrxFormControlState",e.controls.newPassword)("errors",M.lcZ(6,13,e.controls.newPassword.errors))("shouldShowError",e.controls.newPassword.isSubmitted),M.xp6(3),M.Q6J("label","Confirm password")("inputType","password")("ngrxFormControlState",e.controls.confirmPassword)("errors",M.lcZ(9,15,e.controls.confirmPassword.errors))("shouldShowError",e.controls.confirmPassword.isSubmitted)}}const ee=function(){return["/auth/forgot-password"]};function te(e,t){1&e&&(M.TgZ(0,"div",15),M.TgZ(1,"a",16),M._uU(2,"Forgot password?"),M.qZA(),M.qZA()),2&e&&(M.xp6(1),M.Q6J("routerLink",M.DdM(1,ee)))}function ne(e,t){if(1&e){const e=M.EpF();M.TgZ(0,"form",2),M.NdJ("submit",function(){const t=M.CHM(e).ngIf;return M.oxw().onSubmit(t)}),M.YNc(1,J,14,23,"div",3),M.ALo(2,"async"),M.YNc(3,X,26,17,"div",3),M.ALo(4,"async"),M.YNc(5,te,3,2,"div",4),M.ALo(6,"async"),M.TgZ(7,"div",5),M.TgZ(8,"yam-ui-button",6),M._uU(9,"Login"),M.qZA(),M.qZA(),M.qZA()}if(2&e){const e=t.ngIf,n=M.oxw();M.Q6J("ngrxFormState",e),M.xp6(1),M.Q6J("ngIf",!M.lcZ(2,4,n.userMustResetPassword$)),M.xp6(2),M.Q6J("ngIf",M.lcZ(4,6,n.userMustResetPassword$)),M.xp6(2),M.Q6J("ngIf",!M.lcZ(6,8,n.userMustResetPassword$))}}let ie=(()=>{class e{constructor(e){this.authFacade=e,this.loginForm$=this.authFacade.selectLoginForm$,this.userMustResetPassword$=this.authFacade.selectUserMustResetPassword$,this.loginError$=this.authFacade.selectAuthError$}onSubmit(e){e.isValid&&this.authFacade.login(e.value)}googleLogin(e){this.authFacade.googleLogin(e.value.rememberMe)}}return e.\u0275fac=function(t){return new(t||e)(M.Y36(O.j))},e.\u0275cmp=M.Xpm({type:e,selectors:[["ng-component"]],decls:5,vars:6,consts:[[3,"ngrxFormState","submit",4,"ngIf"],[1,"login-error","text-error","text-right","mt-3"],[3,"ngrxFormState","submit"],[4,"ngIf"],["class","mt-2",4,"ngIf"],[1,"mt-3","text-right"],["buttonType","submit","color","accent"],[1,"login-yama","mat-title"],[3,"label","ngrxFormControlState","errors","shouldShowError"],[3,"label","inputType","ngrxFormControlState","errors","shouldShowError"],[3,"label","ngrxFormControlState","labelPosition"],["translate","",1,"password-hint"],["translate","",1,"mt-3","privacy-policy"],["href","https://www.iubenda.com/privacy-policy/33316642","target","_blank"],["href","https://www.iubenda.com/termini-e-condizioni/33316642","target","_blank"],[1,"mt-2"],["translate","",1,"forgot-link",3,"routerLink"]],template:function(e,t){1&e&&(M.YNc(0,ne,10,10,"form",0),M.ALo(1,"async"),M.TgZ(2,"div",1),M._uU(3),M.ALo(4,"ngrxPush"),M.qZA()),2&e&&(M.Q6J("ngIf",M.lcZ(1,2,t.loginForm$)),M.xp6(3),M.hij(" ",M.lcZ(4,4,t.loginError$),"\n"))},directives:[i.O5,B._Y,B.JL,p.Wz,p.I_,T.r,U.a,p.CR,Q.b,E.Pi,o.yS],pipes:[i.Ov,z.fM,E.X$,V.I],styles:["[_nghost-%COMP%]{flex-grow:1;display:flex;flex-direction:column}.login-yama[_ngcontent-%COMP%]{text-align:center;color:var(--grey-400);margin-top:20px}.forgot-link[_ngcontent-%COMP%]{font-weight:500;font-size:12px}.forgot-link[_ngcontent-%COMP%], .forgot-link[_ngcontent-%COMP%]:active, .forgot-link[_ngcontent-%COMP%]:hover{color:var(--accent-color)}.password-hint[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:var(--grey-300)}.login-error[_ngcontent-%COMP%]{font-weight:700;font-size:14px}.privacy-policy[_ngcontent-%COMP%]{font-weight:500;font-size:12px;text-align:left;color:var(--grey-300)}.privacy-policy[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--accent-color)}"],changeDetection:0}),e})(),re=(()=>{class e{constructor(e,t){this.location=e,this.router=t}ngOnInit(){this.router.navigate([""],{replaceUrl:!0,queryParams:{}})}}return e.\u0275fac=function(t){return new(t||e)(M.Y36(i.Ye),M.Y36(o.F0))},e.\u0275cmp=M.Xpm({type:e,selectors:[["ng-component"]],decls:2,vars:0,template:function(e,t){1&e&&(M.TgZ(0,"div"),M._uU(1,"Oauth page"),M.qZA())},encapsulation:2,changeDetection:0}),e})();var se=n(69141);function oe(e,t){1&e&&(M.TgZ(0,"yam-ui-button",8),M._uU(1,"Reset password"),M.qZA())}function ae(e,t){if(1&e){const e=M.EpF();M.TgZ(0,"form",2),M.NdJ("submit",function(){const t=M.CHM(e).ngIf;return M.oxw().onSubmit(t)}),M.TgZ(1,"div",3),M._uU(2),M.ALo(3,"translate"),M.qZA(),M.TgZ(4,"div"),M._UZ(5,"yam-ui-text-field",4),M.ALo(6,"translate"),M.ALo(7,"ngrxFormsErr"),M.qZA(),M.TgZ(8,"div"),M._UZ(9,"yam-ui-text-field",4),M.ALo(10,"translate"),M.ALo(11,"ngrxFormsErr"),M.qZA(),M.TgZ(12,"div",5),M._uU(13," Password must be at least 8 characters long. "),M._UZ(14,"br"),M._uU(15," Must contain both uppercase and lowercase letters. "),M._UZ(16,"br"),M._uU(17," Must contain a number. "),M._UZ(18,"br"),M._uU(19," Must contain a special character. "),M.qZA(),M.TgZ(20,"div",6),M.YNc(21,oe,2,0,"yam-ui-button",7),M.qZA(),M.qZA()}if(2&e){const e=t.ngIf,n=M.oxw();M.Q6J("ngrxFormState",e),M.xp6(2),M.Oqu(M.lcZ(3,13,"Choose your password")),M.xp6(3),M.Q6J("label",M.lcZ(6,15,"New password"))("inputType","password")("ngrxFormControlState",e.controls.newPassword)("errors",M.lcZ(7,17,e.controls.newPassword.errors))("shouldShowError",e.controls.newPassword.isSubmitted),M.xp6(4),M.Q6J("label",M.lcZ(10,19,"Confirm password"))("inputType","password")("ngrxFormControlState",e.controls.confirmPassword)("errors",M.lcZ(11,21,e.controls.confirmPassword.errors))("shouldShowError",e.controls.confirmPassword.isSubmitted),M.xp6(12),M.Q6J("ngIf",n.showResetButton)}}const le=function(){return["/auth/login"]};function ce(e,t){if(1&e){const e=M.EpF();M.TgZ(0,"div",9),M._uU(1),M._UZ(2,"br"),M._UZ(3,"br"),M.TgZ(4,"yam-ui-button",10),M.NdJ("click",function(){return M.CHM(e),M.oxw().resetAuthError()}),M._uU(5,"Back to login page"),M.qZA(),M.qZA()}if(2&e){const e=t.ngIf;M.xp6(1),M.hij(" ",e," "),M.xp6(3),M.Q6J("routerLink",M.DdM(2,le))}}let ue=(()=>{class e extends C.P{constructor(e){super(),this.authFacade=e,this.queryParams$=this.authFacade.seletQueryParams$,this.resetForm$=this.authFacade.selectResetPasswordForm$,this.authError$=this.authFacade.selectAuthError$}get showResetButton(){return!!this.username&&!!this.code}onSubmit(e){this.username&&this.code&&e.isValid&&this.authFacade.resetPassword(this.username,this.code)}ngOnInit(){this.queryParams$.pipe((0,v.P)(),(0,j.R)(this.ngUnsubscribe)).subscribe(e=>{if(e.data){const t=JSON.parse(atob(e.data));this.username=t.username,this.code=t.code}else this.username=e.username,this.code=e.code})}resetAuthError(){this.authFacade.resetAuthError()}}return e.\u0275fac=function(t){return new(t||e)(M.Y36(O.j))},e.\u0275cmp=M.Xpm({type:e,selectors:[["ng-component"]],features:[M.qOj],decls:4,vars:6,consts:[[3,"ngrxFormState","submit",4,"ngIf"],["class","login-error text-error text-right mt-3",4,"ngIf"],[3,"ngrxFormState","submit"],[1,"login-yama","mat-title"],[3,"label","inputType","ngrxFormControlState","errors","shouldShowError"],["translate","",1,"password-hint"],[1,"mt-3","text-right"],["buttonType","submit","color","accent","translate","",4,"ngIf"],["buttonType","submit","color","accent","translate",""],[1,"login-error","text-error","text-right","mt-3"],["buttonType","button","color","primary",3,"routerLink","click"]],template:function(e,t){1&e&&(M.YNc(0,ae,22,23,"form",0),M.ALo(1,"async"),M.YNc(2,ce,6,3,"div",1),M.ALo(3,"ngrxPush")),2&e&&(M.Q6J("ngIf",M.lcZ(1,2,t.resetForm$)),M.xp6(2),M.Q6J("ngIf",M.lcZ(3,4,t.authError$)))},directives:[i.O5,B._Y,B.JL,p.Wz,p.I_,U.a,p.CR,E.Pi,T.r,o.rH],pipes:[i.Ov,z.fM,E.X$,V.I],styles:["[_nghost-%COMP%]{flex-grow:1;display:flex;flex-direction:column}.login-yama[_ngcontent-%COMP%]{text-align:center;color:var(--grey-400);margin-top:20px}.password-hint[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:var(--grey-300)}.login-error[_ngcontent-%COMP%]{font-weight:700;font-size:14px}.forgot-link[_ngcontent-%COMP%]{font-weight:500;font-size:12px}.forgot-link[_ngcontent-%COMP%], .forgot-link[_ngcontent-%COMP%]:active, .forgot-link[_ngcontent-%COMP%]:hover{color:var(--accent-color)}"],changeDetection:0}),e})();var de=n(436);let he=(()=>{class e{constructor(e,t,n){this.authService=e,this.authFacade=t,this.domainsService=n}intercept(e,t){return e.headers.has("x-allow-anonymous")?t.handle(e):this.authService.getToken().pipe((0,de.b)(e=>(0,f.of)(e).pipe((0,y.M)(this.authFacade.selectCurrentDomain$))),(0,g.zg)(([n,i])=>{const s=null==i?void 0:i.id;return(e=e.clone({headers:e.headers.set("Authorization","Bearer "+n).set("x-domain",s||this.domainsService.rootDomain.id)})).url.includes("/protocol/openid-connect/token")&&(e=e.clone({headers:e.headers.delete("x-domain")})),t.handle(e).pipe((0,m.b)(()=>{},e=>{if(e instanceof r.UA){if(401!==e.status)return;this.authFacade.sessionExpired()}}))}))}}return e.\u0275fac=function(t){return new(t||e)(M.LFG(S.e),M.LFG(O.j),M.LFG(c.tJ))},e.\u0275prov=M.Yz7({token:e,factory:e.\u0275fac}),e})();var pe=n(34088),fe=n(84289),me=n(64762),ge=n(19764),_e=function(e){return e.Cognito="COGNITO",e.Google="Google",e.Facebook="Facebook",e.Amazon="LoginWithAmazon",e.Apple="SignInWithApple",e}({});function ve(e){return e&&!!["provider"].find(function(t){return e.hasOwnProperty(t)})}function ye(e){return void 0!==e.redirectSignIn}var be,we=function(e){return e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default",e}({}),xe=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},Se=function(){for(var e=[],t=0;t=s){var a=console.log.bind(console);"ERROR"===t&&console.error&&(a=console.error.bind(console)),"WARN"===t&&console.warn&&(a=console.warn.bind(console));var l="["+t+"] "+this._ts()+" "+this.name;if(1===n.length&&"string"==typeof n[0])a(l+" - "+n[0]);else if(1===n.length)a(l,n[0]);else if("string"==typeof n[0]){var c=n.slice(1);1===c.length&&(c=c[0]),a(l+" - "+n[0],c)}else a(l,n)}},e.prototype.log=function(){for(var e=[],t=0;t0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},Te=function(){for(var e=[],t=0;t-1&&(i===De||Ae.warn("WARNING: "+e+" is protected and dispatching on it can have unintended consequences"));var r={channel:e,payload:Me({},t),source:n,patternInfo:[]};try{this._toListeners(r)}catch(s){Ae.error(s)}},e.prototype.listen=function(e,t,n){var i,r=this;if(void 0===n&&(n="noname"),function(e){return void 0!==e.onHubCapsule}(t))Ae.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),i=t.onHubCapsule.bind(t);else{if("function"!=typeof t)throw new Error("No callback supplied to Hub");i=t}if(e instanceof RegExp)this.patterns.push({pattern:e,callback:i});else{var s=this.listeners[e];s||(this.listeners[e]=s=[]),s.push({name:n,callback:i})}return function(){r.remove(e,i)}},e.prototype._toListeners=function(e){var t=e.channel,n=e.payload,i=this.listeners[t];if(i&&i.forEach(function(i){Ae.debug("Dispatching to "+t+" with ",n);try{i.callback(e)}catch(r){Ae.error(r)}}),this.patterns.length>0){if(!n.message)return void Ae.warn("Cannot perform pattern matching without a message key");var r=n.message;this.patterns.forEach(function(t){var n=r.match(t.pattern);if(n){var i=Ee(n).slice(1),s=Me(Me({},e),{patternInfo:i});try{t.callback(s)}catch(o){Ae.error(o)}}})}},e}())("__default__"),Le={},Oe=function(){function e(){}return e.setItem=function(e,t){return Le[e]=t,Le[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(Le,e)?Le[e]:void 0},e.removeItem=function(e){return delete Le[e]},e.clear=function(){return Le={}},e}(),Ie=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(e){this.storageWindow=Oe}}return e.prototype.getStorage=function(){return this.storageWindow},e}(),Re=[{type:"text/plain",ext:"txt"},{type:"text/html",ext:"html"},{type:"text/javascript",ext:"js"},{type:"text/css",ext:"css"},{type:"text/csv",ext:"csv"},{type:"text/yaml",ext:"yml"},{type:"text/yaml",ext:"yaml"},{type:"text/calendar",ext:"ics"},{type:"text/calendar",ext:"ical"},{type:"image/apng",ext:"apng"},{type:"image/bmp",ext:"bmp"},{type:"image/gif",ext:"gif"},{type:"image/x-icon",ext:"ico"},{type:"image/x-icon",ext:"cur"},{type:"image/jpeg",ext:"jpg"},{type:"image/jpeg",ext:"jpeg"},{type:"image/jpeg",ext:"jfif"},{type:"image/jpeg",ext:"pjp"},{type:"image/jpeg",ext:"pjpeg"},{type:"image/png",ext:"png"},{type:"image/svg+xml",ext:"svg"},{type:"image/tiff",ext:"tif"},{type:"image/tiff",ext:"tiff"},{type:"image/webp",ext:"webp"},{type:"application/json",ext:"json"},{type:"application/xml",ext:"xml"},{type:"application/x-sh",ext:"sh"},{type:"application/zip",ext:"zip"},{type:"application/x-rar-compressed",ext:"rar"},{type:"application/x-tar",ext:"tar"},{type:"application/x-bzip",ext:"bz"},{type:"application/x-bzip2",ext:"bz2"},{type:"application/pdf",ext:"pdf"},{type:"application/java-archive",ext:"jar"},{type:"application/msword",ext:"doc"},{type:"application/vnd.ms-excel",ext:"xls"},{type:"application/vnd.ms-excel",ext:"xlsx"},{type:"message/rfc822",ext:"eml"}],Ye=function(e){return void 0===e&&(e={}),0===Object.keys(e).length},Fe=function(e,t,n){if(!e||!e.sort)return!1;var i=n&&"desc"===n?-1:1;return e.sort(function(e,n){var r=e[t],s=n[t];return void 0===s?void 0===r?0:1*i:void 0===r||rs?1*i:0}),!0},je=function(e,t){var n=Object.assign({},e);return t&&("string"==typeof t?delete n[t]:t.forEach(function(e){delete n[e]})),n},He=function(e,t){void 0===t&&(t="application/octet-stream");var n=e.toLowerCase(),i=Re.filter(function(e){return n.endsWith("."+e.ext)});return i.length>0?i[0].type:t},Ne=function(e){var t=e.toLowerCase();return!!t.startsWith("text/")||"application/json"===t||"application/xml"===t||"application/sh"===t},Be=function(){for(var e="",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n=32;n>0;n-=1)e+=t[Math.floor(Math.random()*t.length)];return e},Ue=function(e){if(e.isResolved)return e;var t=!0,n=!1,i=!1,r=e.then(function(e){return i=!0,t=!1,e},function(e){throw n=!0,t=!1,e});return r.isFullfilled=function(){return i},r.isPending=function(){return t},r.isRejected=function(){return n},r},ze=function(){if("undefined"==typeof self)return!1;var e=self;return void 0!==e.WorkerGlobalScope&&self instanceof e.WorkerGlobalScope},Ve=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:"undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node}},qe=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),!$e(e))return e;var i={};for(var r in e)e.hasOwnProperty(r)&&(i[t.includes(r)?r:r[0].toLowerCase()+r.slice(1)]=n.includes(r)?e[r]:qe(e[r],t,n));return i},We=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),!$e(e))return e;var i={};for(var r in e)e.hasOwnProperty(r)&&(i[t.includes(r)?r:r[0].toUpperCase()+r.slice(1)]=n.includes(r)?e[r]:We(e[r],t,n));return i},$e=function(e){return!(!(e instanceof Object)||e instanceof Array||e instanceof Function||e instanceof Number||e instanceof String||e instanceof Boolean)},Ge=function(){function e(){}return e.isEmpty=Ye,e.sortByField=Fe,e.objectLessAttributes=je,e.filenameToContentType=He,e.isTextFile=Ne,e.generateRandomString=Be,e.makeQuerablePromise=Ue,e.isWebWorker=ze,e.browserOrNode=Ve,e.transferKeyToLowerCase=qe,e.transferKeyToUpperCase=We,e.isStrictObject=$e,e}(),Ze=(be=function(e,t){return(be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}be(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ke=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},Qe=function(){for(var e=[],t=0;t0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}(e,2)[1];Object.keys(n).forEach(function(e){t._modules[e]&&(n[e]=t._modules[e])})}),this._components.map(function(e){e.configure(t._config)}),this._config):this._config},e.prototype.addPluggable=function(e){e&&e.getCategory&&"function"==typeof e.getCategory&&this._components.map(function(t){t.addPluggable&&"function"==typeof t.addPluggable&&t.addPluggable(e)})},e}());function vn(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(t){s(t)}}function a(e){try{l(i.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}function yn(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}var Sn=function(){function e(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.substr(-1)?e.protocol+":":e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?"/"+e.path:e.path:"/"}return e.isInstance=function(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers},e.prototype.clone=function(){var t,n=new e(wn(wn({},this),{headers:wn({},this.headers)}));return n.query&&(n.query=(t=n.query,Object.keys(t).reduce(function(e,n){var i,r=t[n];return wn(wn({},e),((i={})[n]=Array.isArray(r)?function(){for(var e=[],t=0;t=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},i=Object.keys(e.headers).find(function(e){return e.toLowerCase()==="x-amzn-errortype".toLowerCase()});return void 0!==i?n(e.headers[i]):void 0!==t.code?n(t.code):void 0!==t.__type?n(t.__type):""},Kn=function(){return(Kn=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function ri(){for(var e=[],t=0;t=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(function(){var n,i=[],s=[],o={};return e.forEach(function(e){var t=ni(ni({},e),{before:[],after:[]});t.name&&(o[t.name]=t),i.push(t)}),t.forEach(function(e){var t=ni(ni({},e),{before:[],after:[]});t.name&&(o[t.name]=t),s.push(t)}),s.forEach(function(e){if(e.toMiddleware){var t=o[e.toMiddleware];if(void 0===t)throw new Error(e.toMiddleware+" is not found when adding "+(e.name||"anonymous")+" middleware "+e.relation+" "+e.toMiddleware);"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}),(n=i,n.sort(function(e,t){return oi[t.step]-oi[e.step]||ai[t.priority||"normal"]-ai[e.priority||"normal"]})).map(r).reduce(function(e,t){return e.push.apply(e,ri(t)),e},[]).map(function(e){return e.middleware})}().reverse()),l=a.next();!l.done;l=a.next())n=(0,l.value)(n,i)}catch(c){s={error:c}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(s)throw s.error}}return n}};return s},oi={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},ai={high:3,normal:2,low:1},li=function(){function e(e){this.middlewareStack=si(),this.config=e}return e.prototype.send=function(e,t,n){var i="function"==typeof t?t:n,r=e.resolveMiddleware(this.middlewareStack,this.config,"function"!=typeof t?t:void 0);if(!i)return r(e).then(function(e){return e.output});r(e).then(function(e){return i(null,e.output)},function(e){return i(e)}).catch(function(){})},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),ci=function(){this.middlewareStack=si()},ui=function(e,t){return(ui=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function di(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function hi(){for(var e=[],t=0;t=300?[2,kn(e,t)]:[4,Gn(e.body,t)];case 1:return n=s.sent(),i=function(e,t){return{Credentials:null!=e.Credentials?Yn(e.Credentials):void 0,IdentityId:null!=e.IdentityId?e.IdentityId:void 0}}(n),r=(0,me.pi)({$metadata:Wn(e)},i),[2,Promise.resolve(r)]}})})}(e,t)},t}(ci),mi=function(e,t){return(mi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},gi=function(e){function t(t,n){void 0===n&&(n=!0);var i=e.call(this,t)||this;return i.tryNextLink=n,i}return function(e,t){function n(){this.constructor=e}mi(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function _i(e){return Promise.all(Object.keys(e).reduce(function(t,n){var i=e[n];return t.push("string"==typeof i?[n,i]:i().then(function(e){return[n,e]})),t},[])).then(function(e){return e.reduce(function(e,t){var n=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}(t,2);return e[n[0]]=n[1],e},{})})}function vi(e){var t=this;return function(){return vn(t,void 0,void 0,function(){var t,n,i,r,s,o,a,l,c,u,d,h;return yn(this,function(p){switch(p.label){case 0:return c=(l=e.client).send,u=fi.bind,h={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},e.logins?[4,_i(e.logins)]:[3,2];case 1:return d=p.sent(),[3,3];case 2:d=void 0,p.label=3;case 3:return[4,c.apply(l,[new(u.apply(fi,[void 0,(h.Logins=d,h)]))])];case 4:return t=p.sent().Credentials,n=void 0===t?function(){throw new gi("Response from Amazon Cognito contained no credentials")}():t,r=void 0===(i=n.AccessKeyId)?function(){throw new gi("Response from Amazon Cognito contained no access key ID")}():i,s=n.Expiration,a=void 0===(o=n.SecretKey)?function(){throw new gi("Response from Amazon Cognito contained no secret key")}():o,[2,{identityId:e.identityId,accessKeyId:r,secretAccessKey:a,sessionToken:n.SessionToken,expiration:s}]}})})}}var yi=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,me.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(ti(t,this.serialize,this.deserialize));var i=e.concat(this.middlewareStack),r=t.requestHandler;return i.resolve(function(e){return r.handle(e.request,n||{})},{logger:t.logger,clientName:"CognitoIdentityClient",commandName:"GetIdCommand",inputFilterSensitiveLog:Rt.filterSensitiveLog,outputFilterSensitiveLog:Yt.filterSensitiveLog})},t.prototype.serialize=function(e,t){return function(e,t){return(0,me.mG)(void 0,void 0,void 0,function(){var n,i;return(0,me.Jh)(this,function(r){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetId"},i=JSON.stringify(function(e,t){return(0,me.pi)((0,me.pi)((0,me.pi)({},null!=e.AccountId&&{AccountId:e.AccountId}),null!=e.IdentityPoolId&&{IdentityPoolId:e.IdentityPoolId}),null!=e.Logins&&{Logins:Rn(e.Logins)})}(e)),[2,$n(t,n,"/",void 0,i)]})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return(0,me.mG)(void 0,void 0,void 0,function(){var n,i,r;return(0,me.Jh)(this,function(s){switch(s.label){case 0:return e.statusCode>=300?[2,Cn(e,t)]:[4,Gn(e.body,t)];case 1:return n=s.sent(),i=function(e,t){return{IdentityId:null!=e.IdentityId?e.IdentityId:void 0}}(n),r=(0,me.pi)({$metadata:Wn(e)},i),[2,Promise.resolve(r)]}})})}(e,t)},t}(ci),bi="IdentityIds",wi=function(){function e(e){void 0===e&&(e="aws:cognito-identity-ids"),this.dbName=e}return e.prototype.getItem=function(e){return this.withObjectStore("readonly",function(t){var n=t.get(e);return new Promise(function(e){n.onerror=function(){return e(null)},n.onsuccess=function(){return e(n.result?n.result.value:null)}})}).catch(function(){return null})},e.prototype.removeItem=function(e){return this.withObjectStore("readwrite",function(t){var n=t.delete(e);return new Promise(function(e,t){n.onerror=function(){return t(n.error)},n.onsuccess=function(){return e()}})})},e.prototype.setItem=function(e,t){return this.withObjectStore("readwrite",function(n){var i=n.put({id:e,value:t});return new Promise(function(e,t){i.onerror=function(){return t(i.error)},i.onsuccess=function(){return e()}})})},e.prototype.getDb=function(){var e=self.indexedDB.open(this.dbName,1);return new Promise(function(t,n){e.onsuccess=function(){t(e.result)},e.onerror=function(){n(e.error)},e.onblocked=function(){n(new Error("Unable to access DB"))},e.onupgradeneeded=function(){var t=e.result;t.onerror=function(){n(new Error("Failed to create object store"))},t.createObjectStore(bi,{keyPath:"id"})}})},e.prototype.withObjectStore=function(e,t){return this.getDb().then(function(n){var i=n.transaction(bi,e);return i.oncomplete=function(){return n.close()},new Promise(function(e,n){i.onerror=function(){return n(i.error)},e(t(i.objectStore(bi)))}).catch(function(e){throw n.close(),e})})},e}(),xi=new(function(){function e(e){void 0===e&&(e={}),this.store=e}return e.prototype.getItem=function(e){return e in this.store?this.store[e]:null},e.prototype.removeItem=function(e){delete this.store[e]},e.prototype.setItem=function(e,t){this.store[e]=t},e}()),Si=n(81055);function ki(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(t){s(t)}}function a(e){try{l(i.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}function Ci(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.keys(e).sort()),s=r.next();!s.done;s=r.next()){var o=s.value,a=e[o];if(o=Mi(o),Array.isArray(a))for(var l=0,c=a.length;l=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(i.entries()),o=s.next();!o.done;o=s.next()){var a=o.value;r[a[0]]=a[1]}}catch(l){t={error:l}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return void 0!==e.body?{response:new bn({headers:r,statusCode:e.status,body:e.body})}:e.blob().then(function(t){return{response:new bn({headers:r,statusCode:e.status,body:t})}})}),(d=i,void 0===d&&(d=0),new Promise(function(e,t){d&&setTimeout(function(){var e=new Error("Request did not complete within "+d+" ms");e.name="TimeoutError",t(e)},d)}))];return n&&p.push(new Promise(function(e,t){n.onabort=function(){var e=new Error("Request aborted");e.name="AbortError",t(e)}})),Promise.race(p)},e}(),Ai={},Di=new Array(64),Pi=0,Li="A".charCodeAt(0),Oi="Z".charCodeAt(0);Pi+Li<=Oi;Pi++){var Ii=String.fromCharCode(Pi+Li);Ai[Ii]=Pi,Di[Pi]=Ii}for(Pi=0,Li="a".charCodeAt(0),Oi="z".charCodeAt(0);Pi+Li<=Oi;Pi++)Ii=String.fromCharCode(Pi+Li),Ai[Ii]=Ri=Pi+26,Di[Ri]=Ii;for(Pi=0;Pi<10;Pi++){var Ri;Ai[Pi.toString(10)]=Pi+52,Ii=Pi.toString(10),Ai[Ii]=Ri=Pi+52,Di[Ri]=Ii}function Yi(e){var t=e.length/4*3;"=="===e.substr(-2)?t-=2:"="===e.substr(-1)&&t--;for(var n=new ArrayBuffer(t),i=new DataView(n),r=0;r>=6;var c=r/4*3;s>>=o%8;for(var u=Math.floor(o/8),d=0;d>h)}}return new Uint8Array(n)}function Fi(e){return new Promise(function(t,n){var i=new FileReader;i.onloadend=function(){var e;if(2!==i.readyState)return n(new Error("Reader aborted too early"));var r=null!==(e=i.result)&&void 0!==e?e:"",s=r.indexOf(",");t(r.substring(s>-1?s+1:r.length))},i.onabort=function(){return n(new Error("Read aborted"))},i.onerror=function(){return n(i.error)},i.readAsDataURL(e)})}Ai["+"]=62,Di[62]="+",Ai["/"]=63,Di[63]="/";var ji=function(){return(ji=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}var Ui={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},zi=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],Vi=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],qi=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],Wi=[500,502,503,504],$i=function(e){var t,n;return 429===(null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||Vi.includes(e.name)||1==(null===(n=e.$retryable)||void 0===n?void 0:n.throttling)},Gi=n(79031),Zi=function(e,t){return Math.floor(Math.min(2e4,Math.random()*Math.pow(2,t)*e))},Ki=function(e){return!!e&&(function(e){return void 0!==e.$retryable}(e)||function(e){return zi.includes(e.name)}(e)||$i(e)||function(e){var t;return qi.includes(e.name)||Wi.includes((null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||0)}(e))},Qi=function(){function e(e,t){var n,i,r,s,o,a;this.maxAttemptsProvider=e,this.mode="standard",this.retryDecider=null!==(n=null==t?void 0:t.retryDecider)&&void 0!==n?n:Ki,this.delayDecider=null!==(i=null==t?void 0:t.delayDecider)&&void 0!==i?i:Zi,this.retryQuota=null!==(r=null==t?void 0:t.retryQuota)&&void 0!==r?r:(500,s=500,o=function(e){return"TimeoutError"===e.name?10:5},a=function(e){return o(e)<=s},Object.freeze({hasRetryTokens:a,retrieveRetryTokens:function(e){if(!a(e))throw new Error("No retry token available");var t=o(e);return s-=t,t},releaseRetryTokens:function(e){s+=null!=e?e:1,s=Math.min(s,500)}}))}return e.prototype.shouldRetry=function(e,t,n){return t0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}var ar,lr,cr,ur={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,t){var n=void 0;switch(e){case"ap-northeast-1":n={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":n={hostname:"cognito-identity.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":n={hostname:"cognito-identity.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-east-1":n={hostname:"cognito-identity-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-east-2":n={hostname:"cognito-identity-fips.us-east-2.amazonaws.com",partition:"aws",signingRegion:"us-east-2"};break;case"fips-us-gov-west-1":n={hostname:"cognito-identity-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":n={hostname:"cognito-identity-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"sa-east-1":n={hostname:"cognito-identity.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-west-1":n={hostname:"cognito-identity.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-west-1":n={hostname:"cognito-identity.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:tr.has(e)&&(n={hostname:er.replace("{region}",e),partition:"aws"}),nr.has(e)&&(n={hostname:"cognito-identity.{region}.amazonaws.com.cn".replace("{region}",e),partition:"aws-cn"}),ir.has(e)&&(n={hostname:"cognito-identity.{region}.c2s.ic.gov".replace("{region}",e),partition:"aws-iso"}),rr.has(e)&&(n={hostname:"cognito-identity.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),sr.has(e)&&(n={hostname:"cognito-identity.{region}.amazonaws.com".replace("{region}",e),partition:"aws-us-gov"}),void 0===n&&(n={hostname:er.replace("{region}",e),partition:"aws"})}return Promise.resolve((0,me.pi)({signingService:"cognito-identity"},n))},serviceId:"Cognito Identity",urlParser:function(e){var t,n=new URL(e),i=n.hostname,r=n.pathname,s=n.port,o=n.protocol,a=n.search;return a&&(t=function(e){var t,n,i={};if(e=e.replace(/^\?/,""))try{for(var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e.split("&")),s=r.next();!s.done;s=r.next()){var o=or(s.value.split("="),2),a=o[0],l=o[1],c=void 0===l?null:l;a=decodeURIComponent(a),c&&(c=decodeURIComponent(c)),a in i?Array.isArray(i[a])?i[a].push(c):i[a]=[i[a],c]:i[a]=c}}catch(u){t={error:u}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return i}(a)),{hostname:i,port:s?parseInt(s):void 0,protocol:o,path:r,query:t}}},dr=(0,me.pi)((0,me.pi)({},ur),{runtime:"browser",base64Decoder:Yi,base64Encoder:function(e){for(var t="",n=0;n>c]}t+="==".slice(0,4-a)}return t},bodyLengthChecker:function(e){if("string"==typeof e){for(var t=e.length,n=t-1;n>=0;n--){var i=e.charCodeAt(n);i>127&&i<=2047?t++:i>2047&&i<=65535&&(t+=2)}return t}return"number"==typeof e.byteLength?e.byteLength:"number"==typeof e.size?e.size:void 0},credentialDefaultProvider:function(e){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:(ar={serviceId:ur.serviceId,clientVersion:"3.6.1"},lr=ar.serviceId,cr=ar.clientVersion,function(){return void 0,void 0,t=function(){var e,t,n,i,r,s,o,a,l;return function(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]>6|192,63&r|128);else if(n+1>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}else t.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(t)}(e)},utf8Encoder:function(e){return"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var t="",n=0,i=e.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function kr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}for(var Cr={},Mr={},Er=0;Er<256;Er++){var Tr=Er.toString(16).toLowerCase();1===Tr.length&&(Tr="0"+Tr),Cr[Er]=Tr,Mr[Tr]=Er}function Ar(e){for(var t="",n=0;n-1&&delete e.headers[s]}}catch(o){t={error:o}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return e}var Jr=function(){function e(e){var t=e.applyChecksum,n=e.credentials,i=e.region,r=e.sha256,s=e.uriEscapePath,o=void 0===s||s;this.service=e.service,this.sha256=r,this.uriEscapePath=o,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=ts(i),this.credentialProvider=ns(n)}return e.prototype.presign=function(e,t){return void 0===t&&(t={}),wr(this,void 0,void 0,function(){var n,i,r,s,o,a,l,c,u,d,h,p,f,m,g,_,v,y,b,w,x,S,k,C;return xr(this,function(M){switch(M.label){case 0:return i=void 0===(n=t.signingDate)?new Date:n,s=void 0===(r=t.expiresIn)?3600:r,o=t.unsignableHeaders,a=t.unhoistableHeaders,l=t.signableHeaders,c=t.signingRegion,u=t.signingService,[4,this.credentialProvider()];case 1:return d=M.sent(),null==c?[3,2]:(p=c,[3,4]);case 2:return[4,this.regionProvider()];case 3:p=M.sent(),M.label=4;case 4:return h=p,f=Xr(i),m=f.longDate,g=f.shortDate,s>604800?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(_=qr(g,h,null!=u?u:this.service),v=function(e,t){var n,i,r;void 0===t&&(t={});var s="function"==typeof e.clone?e.clone():Zr(e),o=s.headers,a=s.query,l=void 0===a?{}:a;try{for(var c=Sr(Object.keys(o)),u=c.next();!u.done;u=c.next()){var d=u.value,h=d.toLowerCase();"x-amz-"!==h.substr(0,6)||(null===(r=t.unhoistableHeaders)||void 0===r?void 0:r.has(h))||(l[d]=o[d],delete o[d])}}catch(p){n={error:p}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return br(br({},e),{headers:o,query:l})}(Qr(e),{unhoistableHeaders:a}),d.sessionToken&&(v.query[Pr]=d.sessionToken),v.query["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",v.query["X-Amz-Credential"]=d.accessKeyId+"/"+_,v.query["X-Amz-Date"]=m,v.query["X-Amz-Expires"]=s.toString(10),y=$r(v,o,l),v.query["X-Amz-SignedHeaders"]=es(y),b=v.query,w=Dr,x=this.getSignature,S=[m,_,this.getSigningKey(d,h,g,u)],k=this.createCanonicalRequest,C=[v,y],[4,Gr(e,this.sha256)]);case 5:return[4,x.apply(this,S.concat([k.apply(this,C.concat([M.sent()]))]))];case 6:return b[w]=M.sent(),[2,v]}})})},e.prototype.sign=function(e,t){return wr(this,void 0,void 0,function(){return xr(this,function(n){return"string"==typeof e?[2,this.signString(e,t)]:e.headers&&e.payload?[2,this.signEvent(e,t)]:[2,this.signRequest(e,t)]})})},e.prototype.signEvent=function(e,t){var n=e.headers,i=e.payload,r=t.signingDate,s=void 0===r?new Date:r,o=t.priorSignature,a=t.signingRegion,l=t.signingService;return wr(this,void 0,void 0,function(){var e,t,r,c,u,d,h,p,f,m;return xr(this,function(g){switch(g.label){case 0:return null==a?[3,1]:(t=a,[3,3]);case 1:return[4,this.regionProvider()];case 2:t=g.sent(),g.label=3;case 3:return e=t,r=Xr(s),c=r.longDate,u=qr(r.shortDate,e,null!=l?l:this.service),[4,Gr({headers:{},body:i},this.sha256)];case 4:return d=g.sent(),(h=new this.sha256).update(n),f=Ar,[4,h.digest()];case 5:return p=f.apply(void 0,[g.sent()]),m=[Br,c,u,o,p,d].join("\n"),[2,this.signString(m,{signingDate:s,signingRegion:e,signingService:l})]}})})},e.prototype.signString=function(e,t){var n=void 0===t?{}:t,i=n.signingDate,r=void 0===i?new Date:i,s=n.signingRegion,o=n.signingService;return wr(this,void 0,void 0,function(){var t,n,i,a,l,c,u,d;return xr(this,function(h){switch(h.label){case 0:return[4,this.credentialProvider()];case 1:return t=h.sent(),null==s?[3,2]:(i=s,[3,4]);case 2:return[4,this.regionProvider()];case 3:i=h.sent(),h.label=4;case 4:return n=i,a=Xr(r).shortDate,u=(c=this.sha256).bind,[4,this.getSigningKey(t,n,a,o)];case 5:return(l=new(u.apply(c,[void 0,h.sent()]))).update(e),d=Ar,[4,l.digest()];case 6:return[2,d.apply(void 0,[h.sent()])]}})})},e.prototype.signRequest=function(e,t){var n=void 0===t?{}:t,i=n.signingDate,r=void 0===i?new Date:i,s=n.signableHeaders,o=n.unsignableHeaders,a=n.signingRegion,l=n.signingService;return wr(this,void 0,void 0,function(){var t,n,i,c,u,d,h,p,f,m,g;return xr(this,function(_){switch(_.label){case 0:return[4,this.credentialProvider()];case 1:return t=_.sent(),null==a?[3,2]:(i=a,[3,4]);case 2:return[4,this.regionProvider()];case 3:i=_.sent(),_.label=4;case 4:return n=i,c=Qr(e),u=Xr(r),d=u.longDate,p=qr(h=u.shortDate,n,null!=l?l:this.service),c.headers[Or]=d,t.sessionToken&&(c.headers[Fr]=t.sessionToken),[4,Gr(c,this.sha256)];case 5:return f=_.sent(),!function(e,t){var n,i;e=e.toLowerCase();try{for(var r=Sr(Object.keys(t)),s=r.next();!s.done;s=r.next())if(e===s.value.toLowerCase())return!0}catch(o){n={error:o}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return!1}(Yr,c.headers)&&this.applyChecksum&&(c.headers[Yr]=f),m=$r(c,o,s),[4,this.getSignature(d,p,this.getSigningKey(t,n,h,l),this.createCanonicalRequest(c,m,f))];case 6:return g=_.sent(),c.headers[Lr]="AWS4-HMAC-SHA256 Credential="+t.accessKeyId+"/"+p+", SignedHeaders="+es(m)+", Signature="+g,[2,c]}})})},e.prototype.createCanonicalRequest=function(e,t,n){var i=Object.keys(t).sort();return e.method+"\n"+this.getCanonicalPath(e)+"\n"+function(e){var t,n,i=e.query,r=void 0===i?{}:i,s=[],o={},a=function(e){if(e.toLowerCase()===Rr)return"continue";s.push(e);var t=r[e];"string"==typeof t?o[e]=Mi(e)+"="+Mi(t):Array.isArray(t)&&(o[e]=t.slice(0).sort().reduce(function(t,n){return t.concat([Mi(e)+"="+Mi(n)])},[]).join("&"))};try{for(var l=Sr(Object.keys(r).sort()),c=l.next();!c.done;c=l.next())a(c.value)}catch(u){t={error:u}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return s.map(function(e){return o[e]}).filter(function(e){return e}).join("&")}(e)+"\n"+i.map(function(e){return e+":"+t[e]}).join("\n")+"\n\n"+i.join(";")+"\n"+n},e.prototype.createStringToSign=function(e,t,n){return wr(this,void 0,void 0,function(){var i,r;return xr(this,function(s){switch(s.label){case 0:return(i=new this.sha256).update(n),[4,i.digest()];case 1:return r=s.sent(),[2,"AWS4-HMAC-SHA256\n"+e+"\n"+t+"\n"+Ar(r)]}})})},e.prototype.getCanonicalPath=function(e){var t=e.path;return this.uriEscapePath?"/"+encodeURIComponent(t.replace(/^\//,"")).replace(/%2F/g,"/"):t},e.prototype.getSignature=function(e,t,n,i){return wr(this,void 0,void 0,function(){var r,s,o,a,l;return xr(this,function(c){switch(c.label){case 0:return[4,this.createStringToSign(e,t,i)];case 1:return r=c.sent(),a=(o=this.sha256).bind,[4,n];case 2:return(s=new(a.apply(o,[void 0,c.sent()]))).update(r),l=Ar,[4,s.digest()];case 3:return[2,l.apply(void 0,[c.sent()])]}})})},e.prototype.getSigningKey=function(e,t,n,i){return function(e,t,n,i,r){return wr(void 0,void 0,void 0,function(){var s,o,a,l,c,u,d,h;return xr(this,function(p){switch(p.label){case 0:return[4,Wr(e,t.secretAccessKey,t.accessKeyId)];case 1:if(s=p.sent(),(o=n+":"+i+":"+r+":"+Ar(s)+":"+t.sessionToken)in zr)return[2,zr[o]];for(Vr.push(o);Vr.length>50;)delete zr[Vr.shift()];a="AWS4"+t.secretAccessKey,p.label=2;case 2:p.trys.push([2,7,8,9]),l=Sr([n,i,r,Ur]),c=l.next(),p.label=3;case 3:return c.done?[3,6]:[4,Wr(e,a,c.value)];case 4:a=p.sent(),p.label=5;case 5:return c=l.next(),[3,3];case 6:return[3,9];case 7:return u=p.sent(),d={error:u},[3,9];case 8:try{c&&!c.done&&(h=l.return)&&h.call(l)}finally{if(d)throw d.error}return[7];case 9:return[2,zr[o]=a]}})})}(this.sha256,e,n,t,i||this.service)},e}(),Xr=function(e){var t,n=(t=e,function(e){return"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e}(t).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");return{longDate:n,shortDate:n.substr(0,8)}},es=function(e){return Object.keys(e).sort().join(";")},ts=function(e){if("string"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e},ns=function(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e};function is(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}var rs=function(){return(rs=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function os(){for(var e=[],t=0;t0}).map(function(e){return null==e?void 0:e.replace(ls,"_")}).join("/")},us={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},ds=function(e){function t(t){var n,i,r,s,o=this,a=function(e){var t,n=this,i=is(e.credentials||e.credentialDefaultProvider(e)),r=e.signingEscapePath,s=void 0===r||r,o=e.systemClockOffset,a=void 0===o?e.systemClockOffset||0:o,l=e.sha256;return t=e.signer?is(e.signer):function(){return is(e.region)().then(function(t){return i=n,void 0,s=function(){return function(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}(t,2),r=n[0],o=r.signingService;return e.signingRegion=e.signingRegion||r.signingRegion||n[1],e.signingName=e.signingName||o||e.serviceId,new Jr({credentials:i,region:e.signingRegion,service:e.signingName,sha256:l,uriEscapePath:s})})},yr(yr({},e),{systemClockOffset:a,signingEscapePath:s,credentials:i,signer:t})}(function(e){var t;return hr(hr({},e),{tls:null===(t=e.tls)||void 0===t||t,endpoint:e.endpoint?pr(e):function(){return function(e){return n=function(){var t,n,i,r,s;return function(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=0&&!i.headers[":authority"]?(delete i.headers.host,i.headers[":authority"]=""):i.headers.host||(i.headers.host=i.hostname),[2,t(n)]):[2,t(n)]})},new((i=void 0)||(i=Promise))(function(e,t){function n(e){try{o(r.next(e))}catch(n){t(n)}}function s(e){try{o(r.throw(e))}catch(n){t(n)}}function o(t){var r;t.done?e(t.value):(r=t.value,r instanceof i?r:new i(function(e){e(r)})).then(n,s)}o((r=r.apply(void 0,[])).next())});var i,r}}}(e),_r)}}}(o.config)),o.middlewareStack.use({applyToStack:function(e){e.add(function(e,t){return function(n){return r=function(){var i,r,s,o,a,l,c,u,d;return function(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1](new Date).getTime()?(ms.debug("token not expired"),this._setCredentialsFromFederation({provider:t,token:i,user:n,identity_id:r,expires_at:s})):o._refreshHandlers[t]&&"function"==typeof o._refreshHandlers[t]?(ms.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:o._refreshHandlers[t],provider:t,user:n})):(ms.debug("no refresh handler for provider:",t),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(e){var t,n,i,r=this,s=e.provider,o=e.user;return(t=e.refreshHandler,n=[],i=1e4,void 0===i&&(i=3e5),et(t,n,function(e){return function(t){var n=100*Math.pow(2,t)+100*Math.random();return!(n>e)&&n}}(i))).then(function(e){return ms.debug("refresh federated token sucessfully",e),r._setCredentialsFromFederation({provider:s,token:e.token,user:o,identity_id:e.identity_id,expires_at:e.expires_at})}).catch(function(e){return"string"==typeof e&&0===e.toLowerCase().lastIndexOf("network error",e.length)||r.clear(),ms.debug("refresh federated token failed",e),Promise.reject("refreshing federation token failed: "+e)})},e.prototype._isExpired=function(e){if(!e)return ms.debug("no credentials for expiration check"),!0;ms.debug("are these credentials expired?",e);var t=Date.now();return e.expiration.getTime()<=t},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){return ps(this,void 0,void 0,function(){var e,t,n,i,r,s,o,a=this;return fs(this,function(l){switch(l.label){case 0:if(ms.debug("setting credentials for guest"),t=(e=this._config).identityPoolId,n=e.region,e.mandatorySignIn)return[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")];if(!t)return ms.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")];if(!n)return ms.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")];i=void 0,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this._storageSync];case 2:return l.sent(),i=this._storage.getItem("CognitoIdentityId-"+t),this._identityId=i,[3,4];case 3:return r=l.sent(),ms.debug("Failed to get the cached identityId",r),[3,4];case 4:return s=new ds({region:n,customUserAgent:mn()}),o=void 0,o=i?vi({identityId:i,client:s})():ps(a,void 0,void 0,function(){var e;return fs(this,function(n){switch(n.label){case 0:return[4,s.send(new yi({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,vi({client:s,identityId:e})()]}})}).catch(function(e){return ps(a,void 0,void 0,function(){return fs(this,function(t){throw e})})}),[2,this._loadCredentials(o,"guest",!1,null).then(function(e){return e}).catch(function(e){return ps(a,void 0,void 0,function(){var n=this;return fs(this,function(r){return"ResourceNotFoundException"===e.name&&e.message==="Identity '"+i+"' not found."?(ms.debug("Failed to load guest credentials"),this._storage.removeItem("CognitoIdentityId-"+t),o=ps(n,void 0,void 0,function(){var e;return fs(this,function(n){switch(n.label){case 0:return[4,s.send(new yi({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,vi({client:s,identityId:e})()]}})}).catch(function(e){return ps(n,void 0,void 0,function(){return fs(this,function(t){throw e})})}),[2,this._loadCredentials(o,"guest",!1,null)]):[2,e]})})})]}})})},e.prototype._setCredentialsFromFederation=function(e){var t=e.provider,n=e.token,i=e.identity_id,r={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[t]||t;if(!r)return Promise.reject("You must specify a federated provider");var s={};s[r]=n;var o=this._config,a=o.identityPoolId,l=o.region;if(!a)return ms.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!l)return ms.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var c,u=new ds({region:l,customUserAgent:mn()});return c=i?vi({identityId:i,logins:s,client:u})():function(e){var t=this,n=e.accountId,i=e.cache,r=void 0===i?"object"==typeof self&&self.indexedDB?new wi:"object"==typeof window&&window.localStorage?window.localStorage:xi:i,s=e.client,o=e.customRoleArn,a=e.identityPoolId,l=e.logins,c=e.userIdentifier,u=void 0===c?l&&0!==Object.keys(l).length?void 0:"ANONYMOUS":c,d=u?"aws:cognito-identity-credentials:"+a+":"+u:void 0,h=function(){return vn(t,void 0,void 0,function(){var e,t,i,c,u,p,f,m,g;return yn(this,function(_){switch(_.label){case 0:return(t=d)?[4,r.getItem(d)]:[3,2];case 1:t=_.sent(),_.label=2;case 2:return(e=t)?[3,7]:(p=(u=s).send,f=yi.bind,g={AccountId:n,IdentityPoolId:a},l?[4,_i(l)]:[3,4]);case 3:return m=_.sent(),[3,5];case 4:m=void 0,_.label=5;case 5:return[4,p.apply(u,[new(f.apply(yi,[void 0,(g.Logins=m,g)]))])];case 6:i=_.sent().IdentityId,c=void 0===i?function(){throw new gi("Response from Amazon Cognito contained no identity ID")}():i,e=c,d&&Promise.resolve(r.setItem(d,e)).catch(function(){}),_.label=7;case 7:return[2,(h=vi({client:s,customRoleArn:o,logins:l,identityId:e}))()]}})})};return function(){return h().catch(function(e){return vn(t,void 0,void 0,function(){return yn(this,function(t){throw d&&Promise.resolve(r.removeItem(d)).catch(function(){}),e})})})}}({logins:s,identityPoolId:a,client:u})(),this._loadCredentials(c,"federated",!0,e)},e.prototype._setCredentialsFromSession=function(e){var t=this;ms.debug("set credentials from session");var n=e.getIdToken().getJwtToken(),i=this._config,r=i.region,s=i.userPoolId,o=i.identityPoolId;if(!o)return ms.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!r)return ms.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var a={};a["cognito-idp."+r+".amazonaws.com/"+s]=n;var l=new ds({region:r,customUserAgent:mn()}),c=ps(t,void 0,void 0,function(){var e;return fs(this,function(t){switch(t.label){case 0:return[4,l.send(new yi({IdentityPoolId:o,Logins:a}))];case 1:return e=t.sent().IdentityId,this._identityId=e,[2,vi({client:l,logins:a,identityId:e})()]}})}).catch(function(e){return ps(t,void 0,void 0,function(){return fs(this,function(t){throw e})})});return this._loadCredentials(c,"userPool",!0,null)},e.prototype._loadCredentials=function(e,t,n,i){var r=this,s=this,o=this._config.identityPoolId;return new Promise(function(a,l){e.then(function(e){return ps(r,void 0,void 0,function(){var r,l,c,u,d,h;return fs(this,function(p){switch(p.label){case 0:if(ms.debug("Load credentials successfully",e),this._identityId&&!e.identityId&&(e.identityId=this._identityId),s._credentials=e,s._credentials.authenticated=n,s._credentials_source=t,s._nextCredentialsRefresh=(new Date).getTime()+3e6,"federated"===t){r=Object.assign({id:this._credentials.identityId},i.user),l=i.provider,c=i.token,u=i.expires_at,d=i.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:l,token:c,user:r,expires_at:u,identity_id:d}))}catch(f){ms.debug("Failed to put federated info into auth storage",f)}}if("guest"!==t)return[3,4];p.label=1;case 1:return p.trys.push([1,3,,4]),[4,this._storageSync];case 2:return p.sent(),this._storage.setItem("CognitoIdentityId-"+o,e.identityId),[3,4];case 3:return h=p.sent(),ms.debug("Failed to cache identityId",h),[3,4];case 4:return a(s._credentials),[2]}})})}).catch(function(t){if(t)return ms.debug("Failed to load credentials",e),ms.debug("Error loading credentials",t),void l(t)})})},e.prototype.set=function(e,t){return"session"===t?this._setCredentialsFromSession(e):"federation"===t?this._setCredentialsFromFederation(e):"guest"===t?this._setCredentialsForGuest():(ms.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return ps(this,void 0,void 0,function(){return fs(this,function(e){return this._credentials=null,this._credentials_source=null,ms.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]})})},e.prototype.shear=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e}())(null);_n.register(gs);var _s=new Ce("Parser"),vs=function(e){var t,n={};return e.aws_mobile_analytics_app_id&&(n.Analytics={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}}),(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(n.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_region,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:"enable"===e.aws_mandatory_sign_in}),t=e.aws_user_files_s3_bucket?{AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:e?e.Storage||e:{},n.Analytics=Object.assign({},n.Analytics,e.Analytics),n.Auth=Object.assign({},n.Auth,e.Auth),n.Storage=Object.assign({},t),_s.debug("parse config",e,"to amplifyconfig",n),n},ys=function(){function e(){}return e.parseMobilehubConfig=vs,e}(),bs=n(26857);function ws(e,t){void 0===t&&(t={});var n=function(e){return e&&"j"===e[0]&&":"===e[1]?e.substr(2):e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(i){}return e}var xs=function(){return(xs=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0&&this.changeListeners.splice(t,1)},e}();var ks,Cs=Ve().isBrowser,Ms=function(){function e(e){void 0===e&&(e={}),this.cookies=new Ss,this.store=Cs?window.localStorage:Object.create(null),this.cookies=e.req?new Ss(e.req.headers.cookie):new Ss,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var e=this;Array.from(new Array(this.length)).map(function(t,n){return e.key(n)}).forEach(function(t){return e.removeItem(t)})},e.prototype.getItem=function(e){return this.getLocalItem(e)},e.prototype.getLocalItem=function(e){return Object.prototype.hasOwnProperty.call(this.store,e)?this.store[e]:null},e.prototype.getUniversalItem=function(e){return this.cookies.get(e)},e.prototype.key=function(e){return Object.keys(this.store)[e]},e.prototype.removeItem=function(e){this.removeLocalItem(e),this.removeUniversalItem(e)},e.prototype.removeLocalItem=function(e){delete this.store[e]},e.prototype.removeUniversalItem=function(e){this.cookies.remove(e,{path:"/"})},e.prototype.setItem=function(e,t){switch(this.setLocalItem(e,t),e.split(".").pop()){case"LastAuthUser":case"accessToken":case"idToken":this.setUniversalItem(e,t)}},e.prototype.setLocalItem=function(e,t){this.store[e]=t},e.prototype.setUniversalItem=function(e,t){this.cookies.set(e,t,{path:"/",sameSite:!0,secure:"localhost"!==window.location.hostname})},e}(),Es=function(){function e(e){var t=e||{},n=t.Username,i=t.Password,r=t.AuthParameters,s=t.ClientMetadata;this.validationData=t.ValidationData||{},this.authParameters=r||{},this.clientMetadata=s||{},this.username=n,this.password=i}var t=e.prototype;return t.getUsername=function(){return this.username},t.getPassword=function(){return this.password},t.getValidationData=function(){return this.validationData},t.getAuthParameters=function(){return this.authParameters},t.getClientMetadata=function(){return this.clientMetadata},e}(),Ts=n(23833),As=n(83790),Ds=n.n(As),Ps=(n(55817),n(47355)),Ls=n.n(Ps),Os=n(1709),Is=n.n(Os);if("undefined"!=typeof window&&window.crypto&&(ks=window.crypto),!ks&&"undefined"!=typeof window&&window.msCrypto&&(ks=window.msCrypto),!ks&&"undefined"!=typeof global&&global.crypto&&(ks=global.crypto),!ks)try{ks=n(56249)}catch(oa){}function Rs(){if(ks){if("function"==typeof ks.getRandomValues)try{return ks.getRandomValues(new Uint32Array(1))[0]}catch(oa){}if("function"==typeof ks.randomBytes)try{return ks.randomBytes(4).readInt32LE()}catch(oa){}}throw new Error("Native crypto module could not be used to get secure random number.")}var Ys=function(){function e(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length}var t=e.prototype;return t.random=function(t){for(var n=[],i=0;i>>2]>>>24-r%4*8&255;i.push((s>>>4).toString(16)),i.push((15&s).toString(16))}return i.join("")}(this)},e}();const Fs=js;function js(e,t){null!=e&&this.fromString(e,t)}function Hs(){return new js(null)}var Ns,Bs="undefined"!=typeof navigator;Bs&&"Microsoft Internet Explorer"==navigator.appName?(js.prototype.am=function(e,t,n,i,r,s){for(var o=32767&t,a=t>>15;--s>=0;){var l=32767&this[e],c=this[e++]>>15,u=a*l+c*o;r=((l=o*l+((32767&u)<<15)+n[i]+(1073741823&r))>>>30)+(u>>>15)+a*c+(r>>>30),n[i++]=1073741823&l}return r},Ns=30):Bs&&"Netscape"!=navigator.appName?(js.prototype.am=function(e,t,n,i,r,s){for(;--s>=0;){var o=t*this[e++]+n[i]+r;r=Math.floor(o/67108864),n[i++]=67108863&o}return r},Ns=26):(js.prototype.am=function(e,t,n,i,r,s){for(var o=16383&t,a=t>>14;--s>=0;){var l=16383&this[e],c=this[e++]>>14,u=a*l+c*o;r=((l=o*l+((16383&u)<<14)+n[i]+r)>>28)+(u>>14)+a*c,n[i++]=268435455&l}return r},Ns=28),js.prototype.DB=Ns,js.prototype.DM=(1<>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function Zs(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t},Zs.prototype.revert=function(e){var t=Hs();return e.copyTo(t),this.reduce(t),t},Zs.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,i,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},Zs.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},Zs.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},js.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},js.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},js.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");n=2}this.t=0,this.s=0;for(var i=e.length,r=!1,s=0;--i>=0;){var o=Ws(e,i);o<0?"-"==e.charAt(i)&&(r=!0):(r=!1,0==s?this[this.t++]=o:s+n>this.DB?(this[this.t-1]|=(o&(1<>this.DB-s):this[this.t-1]|=o<=this.DB&&(s-=this.DB))}this.clamp(),r&&js.ZERO.subTo(this,this)},js.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},js.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},js.prototype.drShiftTo=function(e,t){for(var n=e;n=0;--n)t[n+o+1]=this[n]>>r|a,a=(this[n]&s)<=0;--n)t[n]=0;t[o]=a,t.t=this.t+o+1,t.s=this.s,t.clamp()},js.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var i=e%this.DB,r=this.DB-i,s=(1<>i;for(var o=n+1;o>i;i>0&&(t[this.t-n-1]|=(this.s&s)<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i-=e.s}t.s=i<0?-1:0,i<-1?t[n++]=this.DV+i:i>0&&(t[n++]=i),t.t=n,t.clamp()},js.prototype.multiplyTo=function(e,t){var n=this.abs(),i=e.abs(),r=n.t;for(t.t=r+i.t;--r>=0;)t[r]=0;for(r=0;r=0;)e[n]=0;for(n=0;n=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},js.prototype.divRemTo=function(e,t,n){var i=e.abs();if(!(i.t<=0)){var r=this.abs();if(r.t0?(i.lShiftTo(l,s),r.lShiftTo(l,n)):(i.copyTo(s),r.copyTo(n));var c=s.t,u=s[c-1];if(0!=u){var d=u*(1<1?s[c-2]>>this.F2:0),h=this.FV/d,p=(1<=0&&(n[n.t++]=1,n.subTo(_,n)),js.ONE.dlShiftTo(c,_),_.subTo(s,s);s.t=0;){var v=n[--m]==u?this.DM:Math.floor(n[m]*h+(n[m-1]+f)*p);if((n[m]+=s.am(0,v,n,g,0,c))0&&n.rShiftTo(l,n),o<0&&js.ZERO.subTo(n,n)}}},js.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},js.prototype.addTo=function(e,t){for(var n=0,i=0,r=Math.min(e.t,this.t);n>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i+=e.s}t.s=i<0?-1:0,i>0?t[n++]=i:i<-1&&(t[n++]=this.DV+i),t.t=n,t.clamp()},js.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");t=2}var n,i=(1<0)for(a>a)>0&&(r=!0,s=qs(n));o>=0;)a>(a+=this.DB-t)):(n=this[o]>>(a-=t)&i,a<=0&&(a+=this.DB,--o)),n>0&&(r=!0),r&&(s+=qs(n));return r?s:"0"},js.prototype.negate=function(){var e=Hs();return js.ZERO.subTo(this,e),e},js.prototype.abs=function(){return this.s<0?this.negate():this},js.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},js.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+Gs(this[this.t-1]^this.s&this.DM)},js.prototype.mod=function(e){var t=Hs();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(js.ZERO)>0&&e.subTo(t,t),t},js.prototype.equals=function(e){return 0==this.compareTo(e)},js.prototype.add=function(e){var t=Hs();return this.addTo(e,t),t},js.prototype.subtract=function(e){var t=Hs();return this.subTo(e,t),t},js.prototype.multiply=function(e){var t=Hs();return this.multiplyTo(e,t),t},js.prototype.divide=function(e){var t=Hs();return this.divRemTo(e,t,null),t},js.prototype.modPow=function(e,t,n){var i,r=e.bitLength(),s=$s(1),o=new Zs(t);if(r<=0)return s;i=r<18?1:r<48?3:r<144?4:r<768?5:6;var a=new Array,l=3,c=i-1,u=(1<1){var d=Hs();for(o.sqrTo(a[1],d);l<=u;)a[l]=Hs(),o.mulTo(d,a[l-2],a[l]),l+=2}var h,p,f=e.t-1,m=!0,g=Hs();for(r=Gs(e[f])-1;f>=0;){for(r>=c?h=e[f]>>r-c&u:(h=(e[f]&(1<0&&(h|=e[f-1]>>this.DB+r-c)),l=i;0==(1&h);)h>>=1,--l;if((r-=l)<0&&(r+=this.DB,--f),m)a[h].copyTo(s),m=!1;else{for(;l>1;)o.sqrTo(s,g),o.sqrTo(g,s),l-=2;l>0?o.sqrTo(s,g):(p=s,s=g,g=p),o.mulTo(g,a[h],s)}for(;f>=0&&0==(e[f]&1<0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},Yo="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Fo=function(e,t,n){Pe.dispatch("auth",{event:e,data:t,message:n},"Auth",Yo)},jo=new Ce("OAuth");const Ho=function(){function e(e){var t=e.config,n=e.cognitoClientId,i=e.scopes,r=void 0===i?[]:i;if(this._urlOpener=t.urlOpener||Po,this._config=t,this._cognitoClientId=n,!this.isValidScopes(r))throw Error("scopes must be a String Array");this._scopes=r}return e.prototype.isValidScopes=function(e){return Array.isArray(e)&&e.every(function(e){return"string"==typeof e})},e.prototype.oauthSignIn=function(e,t,n,i,r,s){void 0===e&&(e="code"),void 0===r&&(r=_e.Cognito);var o=this._generateState(32),a=s?o+"-"+s.split("").map(function(e){return e.charCodeAt(0).toString(16).padStart(2,"0")}).join(""):o;!function(e){window.sessionStorage.setItem("oauth_state",e)}(a);var l=this._generateRandom(128);window.sessionStorage.setItem("ouath_pkce_key",l);var c=this._generateChallenge(l),u=this._scopes.join(" "),d="https://"+t+"/oauth2/authorize?"+Object.entries(Lo(Lo({redirect_uri:n,response_type:e,client_id:i,identity_provider:r,scope:u,state:a},"code"===e?{code_challenge:c}:{}),"code"===e?{code_challenge_method:"S256"}:{})).map(function(e){var t=Ro(e,2),n=t[1];return encodeURIComponent(t[0])+"="+encodeURIComponent(n)}).join("&");jo.debug("Redirecting to "+d),this._urlOpener(d,n)},e.prototype._handleCodeFlow=function(e){return Oo(this,void 0,void 0,function(){var t,n,i,r,s,o,a,l,c,u,d,h;return Io(this,function(p){switch(p.label){case 0:return(t=((0,Do.Qc)(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n,i=Ro(t,2),r=i[0],s=i[1];return Lo(Lo({},e),((n={})[r]=s,n))},{code:void 0}).code)&&(0,Do.Qc)(e).pathname===(0,Do.Qc)(this._config.redirectSignIn).pathname?(Fo("codeFlow",{},"Retrieving tokens from "+(n="https://"+this._config.domain+"/oauth2/token")),i=ye(this._config)?this._cognitoClientId:this._config.clientID,r=ye(this._config)?this._config.redirectSignIn:this._config.redirectUri,f=window.sessionStorage.getItem("ouath_pkce_key"),window.sessionStorage.removeItem("ouath_pkce_key"),o=Lo({grant_type:"authorization_code",code:t,client_id:i,redirect_uri:r},(s=f)?{code_verifier:s}:{}),jo.debug("Calling token endpoint: "+n+" with",o),a=Object.entries(o).map(function(e){var t=Ro(e,2),n=t[1];return encodeURIComponent(t[0])+"="+encodeURIComponent(n)}).join("&"),[4,fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:a})]):[2];case 1:return[4,p.sent().json()];case 2:if(l=p.sent(),c=l.access_token,u=l.refresh_token,d=l.id_token,h=l.error)throw new Error(h);return[2,{accessToken:c,refreshToken:u,idToken:d}]}var f})})},e.prototype._handleImplicitFlow=function(e){return Oo(this,void 0,void 0,function(){var t,n,i;return Io(this,function(r){return t=((0,Do.Qc)(e).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n,i=Ro(t,2),r=i[0],s=i[1];return Lo(Lo({},e),((n={})[r]=s,n))},{id_token:void 0,access_token:void 0}),n=t.id_token,i=t.access_token,Fo("implicitFlow",{},"Got tokens from "+e),jo.debug("Retrieving implicit tokens from "+e+" with"),[2,{accessToken:i,idToken:n,refreshToken:null}]})})},e.prototype.handleAuthResponse=function(e){return Oo(this,void 0,void 0,function(){var t,n,i,r,s,o;return Io(this,function(a){switch(a.label){case 0:if(a.trys.push([0,5,,6]),t=e?Lo(Lo({},((0,Do.Qc)(e).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n=Ro(t,2);return e[n[0]]=n[1],e},{})),((0,Do.Qc)(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n=Ro(t,2);return e[n[0]]=n[1],e},{})):{},n=t.error_description,t.error)throw new Error(n);return i=this._validateState(t),jo.debug("Starting "+this._config.responseType+" flow with "+e),"code"!==this._config.responseType?[3,2]:(r=[{}],[4,this._handleCodeFlow(e)]);case 1:return[2,Lo.apply(void 0,[Lo.apply(void 0,r.concat([a.sent()])),{state:i}])];case 2:return s=[{}],[4,this._handleImplicitFlow(e)];case 3:return[2,Lo.apply(void 0,[Lo.apply(void 0,s.concat([a.sent()])),{state:i}])];case 4:return[3,6];case 5:throw o=a.sent(),jo.error("Error handling auth response.",o),o;case 6:return[2]}})})},e.prototype._validateState=function(e){if(e){var t,n=(t=window.sessionStorage.getItem("oauth_state"),window.sessionStorage.removeItem("oauth_state"),t),i=e.state;if(n&&n!==i)throw new Error("Invalid state in OAuth flow");return i}},e.prototype.signOut=function(){return Oo(this,void 0,void 0,function(){var e,t,n;return Io(this,function(i){return e="https://"+this._config.domain+"/logout?",t=ye(this._config)?this._cognitoClientId:this._config.oauth.clientID,n=ye(this._config)?this._config.redirectSignOut:this._config.returnTo,e+=Object.entries({client_id:t,logout_uri:encodeURIComponent(n)}).map(function(e){var t=Ro(e,2);return t[0]+"="+t[1]}).join("&"),Fo("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+e),jo.debug("Signing out from "+e),[2,this._urlOpener(e)]})})},e.prototype._generateState=function(e){for(var t="",n=e,i="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";n>0;--n)t+=i[Math.round(Math.random()*(i.length-1))];return t},e.prototype._generateChallenge=function(e){return this._base64URL(Ls()(e))},e.prototype._base64URL=function(e){return e.toString(oo()).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(e){var t=new Uint8Array(e);if("undefined"!=typeof window&&window.crypto)window.crypto.getRandomValues(t);else for(var n=0;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},Ko=new Ce("AuthClass"),Qo="aws.cognito.signin.user.admin",Jo="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Xo=function(e,t,n){Pe.dispatch("auth",{event:e,data:t,message:n},"Auth",Jo)},ea=new(function(){function e(e){var t=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.Credentials=gs,this.wrapRefreshSessionCallback=function(e){return function(t,n){return n?Xo("tokenRefresh",void 0,"New token retrieved"):Xo("tokenRefresh_failure",t,"Failed to retrieve new token"),e(t,n)}},this.configure(e),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),Pe.listen("auth",function(e){switch(e.payload.event){case"signIn":t._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":t._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":t._storage.setItem("amplify-signin-with-hostedUI","true")}})}return e.prototype.getModuleName=function(){return"Auth"},e.prototype.configure=function(e){var t=this;if(!e)return this._config||{};Ko.debug("configure Auth");var n=Object.assign({},this._config,ys.parseMobilehubConfig(e).Auth,e);this._config=n;var i=this._config,r=i.userPoolId,s=i.userPoolWebClientId,o=i.cookieStorage,a=i.oauth,l=i.region,c=i.identityPoolId,u=i.mandatorySignIn,d=i.refreshHandlers,h=i.identityPoolRegion,p=i.clientMetadata,f=i.endpoint;if(this._config.storage){if(!this._isValidAuthStorage(this._config.storage))throw Ko.error("The storage in the Auth config is not valid!"),new Error("Empty storage object");this._storage=this._config.storage}else this._storage=o?new Ao(o):e.ssr?new Ms:(new Ie).getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),r){var m={UserPoolId:r,ClientId:s,endpoint:f};m.Storage=this._storage,this.userPool=new Eo(m,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:u,region:h||l,userPoolId:r,identityPoolId:c,refreshHandlers:d,storage:this._storage});var g=a?ye(this._config.oauth)?a:a.awsCognito:void 0;if(g){var _=Object.assign({cognitoClientId:s,UserPoolId:r,domain:g.domain,scopes:g.scope,redirectSignIn:g.redirectSignIn,redirectSignOut:g.redirectSignOut,responseType:g.responseType,Storage:this._storage,urlOpener:g.urlOpener,clientMetadata:p},g.options);this._oAuthHandler=new Ho({scopes:_.scopes,config:_,cognitoClientId:_.cognitoClientId});var v={};!function(e){if(Ge.browserOrNode().isBrowser&&window.location)!function(e){var n={url:window.location.href}.url;v[n]||(v[n]=!0,t._handleAuthResponse(n))}();else if(!Ge.browserOrNode().isNode)throw new Error("Not supported")}()}return Xo("configured",null,"The Auth category has been configured successfully"),this._config},e.prototype.signUp=function(e){for(var t=this,n=[],i=1;i{class e extends S.e{constructor(e,t,n){super(),this.domainsService=e,this.oauthService=t,this.config=n,this.oauthService.events.subscribe(e=>{"token_expires"===e.type&&this.oauthService.refreshToken().then(()=>{this.oauthService.hasValidAccessToken()&&console.log("Token refreshed successfully")}).catch(e=>{console.error("Error refreshing token",e)})})}login(e,t,n,i,r){return(0,ge.D)(this.internalLogin(e,t,n,i,r))}logout(){return(0,ge.D)(this.internalLogout())}signedIn(){return(0,ge.D)(this.internalSignedIn())}getToken(){return(0,ge.D)(this.internalGetToken())}googleSignIn(e){return localStorage.setItem("oauth_remember_me",!0+""),(0,ge.D)(ea.federatedSignIn({provider:"Google"}))}forgotPassword(e){return(0,ge.D)(ea.forgotPassword(e,{"x-domain":this.domainsService.rootDomain.id}))}resetPassword(e,t,n){return(0,ge.D)(ea.forgotPasswordSubmit(e,t,n))}internalLogout(){return(0,me.mG)(this,void 0,void 0,function*(){try{this.oauthService.logOut()}catch(e){console.log("error signing out",e)}})}internalLogin(e,t,n,i,r){return(0,me.mG)(this,void 0,void 0,function*(){try{return yield this.oauthService.fetchTokenUsingPasswordFlow(e,t),this.oauthService.getIdentityClaims()}catch(n){if(n.includes("400"))throw S.C.UserMustResetPassword;throw new Error("Login Failed")}})}internalSignedIn(){return(0,me.mG)(this,void 0,void 0,function*(){return this.oauthService.hasValidAccessToken()})}internalGetToken(){return(0,me.mG)(this,void 0,void 0,function*(){return this.oauthService.getAccessToken()})}}return e.\u0275fac=function(t){return new(t||e)(M.LFG(c.tJ),M.LFG(ta.Ct),M.LFG(ta.Tg))},e.\u0275prov=M.Yz7({token:e,factory:e.\u0275fac}),e})();function ia(e){return{tokenEndpoint:e.idpUrl,clientId:e.idpClientId,scope:"openid profile email",oidc:!1,skipIssuerCheck:!0,requireHttps:!1,showDebugInformation:!0}}pe.ZP.use([pe.tl,pe.W_]);const ra=[{path:"auth",component:K,children:[{path:"login",pathMatch:"full",component:ie},{path:"accept-invitation",pathMatch:"full",component:N},{path:"forgot-password",pathMatch:"full",component:G},{path:"reset-password",pathMatch:"full",component:ue}]},{path:"oauth",pathMatch:"full",component:re}];let sa=(()=>{class e{constructor(e){if(e)throw new Error("AuthModule is already loaded. Import only in AppModule")}static forRoot(t){return{ngModule:e,providers:[I,F.P,O.j,he,{provide:r.TP,useClass:he,multi:!0},{provide:S.e,useClass:na},{provide:Y,useValue:t},{provide:ta.Tg,useFactory:ia,deps:[Y]},se.a,c.do]}}}return e.\u0275fac=function(t){return new(t||e)(M.LFG(e,12))},e.\u0275mod=M.oAB({type:e}),e.\u0275inj=M.cJS({imports:[[i.ez,o.Bz.forChild(ra),u.u5,d.Ne,r.JF,ta.zr.forRoot(),h.n6,l.Aw.forFeature(R.Zy,R.I6),a.sQ.forFeature([I]),s.Nh,fe.kz]]}),e})()},75383:(e,t,n)=>{"use strict";n.d(t,{C:()=>r,e:()=>s});var i=n(31572),r=function(e){return e[e.LoginFailed=0]="LoginFailed",e[e.UserMustResetPassword=1]="UserMustResetPassword",e}({});let s=(()=>{class e{constructor(){this.domainKey="domain",this.firstAccessKey="fa"}static configureAuth(){}setDomain(e){localStorage.setItem(this.domainKey,e)}getDomain(){return localStorage.getItem(this.domainKey)||""}setFirstAccess(){localStorage.setItem(this.firstAccessKey,"Y")}getFirstAccess(){return localStorage.getItem(this.firstAccessKey)||""}resetFirstAccess(){localStorage.removeItem(this.firstAccessKey)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},93706:(e,t,n)=>{"use strict";n.d(t,{U:()=>R});var i=n(31305),r=n(90611),s=n(25416),o=n(84608),a=(n(78127),n(64448)),l=n(21471),c=n(32559),u=n(71617),d=n(31572),h=n(48160),p=n(61517),f=n(55109),m=n(61511),g=n(16073),_=n(47338),v=n(64762),y=n(80198);let b=(()=>{class e{constructor(){this.cnvDest=document.createElement("canvas"),this.pica=new y}resizeManualToDataURL(e,t,n){return(0,v.mG)(this,void 0,void 0,function*(){return(yield this.getPicaCanvas(e,t,n)).toDataURL()})}resizeManualToBlob(e,t,n,i){return(0,v.mG)(this,void 0,void 0,function*(){const r=yield this.getPicaCanvas(e,t,n);return yield this.pica.toBlob(r,i)})}getImageSize(e,t){let n,i;return e.width>e.height?(n=t,i=t*e.height/e.width):(i=t,n=t*e.width/e.height),{width:n,height:i}}getPicaCanvas(e,t,n){return(0,v.mG)(this,void 0,void 0,function*(){return this.cnvDest.height=t,this.cnvDest.width=n,yield this.pica.resize(e,this.cnvDest,{alpha:!0})})}resizeToDataURL(e,t){return(0,v.mG)(this,void 0,void 0,function*(){const n=this.getImageSize(e,t);return yield this.resizeManualToDataURL(e,n.height,n.width)})}resizeToBlob(e,t,n){return(0,v.mG)(this,void 0,void 0,function*(){const i=this.getImageSize(e,t);return yield this.resizeManualToBlob(e,i.height,i.width,n)})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var w=n(63286),x=n(86741),S=n(43691);const k=["input"];function C(e,t){if(1&e){const e=d.EpF();d.TgZ(0,"mat-icon",7),d.NdJ("click",function(){return d.CHM(e),d.oxw().clear()}),d._uU(1," remove_circle_outline "),d.qZA()}}function M(e,t){if(1&e){const e=d.EpF();d.TgZ(0,"span",8),d.NdJ("click",function(){return d.CHM(e),d.oxw().clear()}),d._uU(1),d.qZA()}if(2&e){const e=d.oxw();d.xp6(1),d.hij(" ",e.removeDescription,"")}}let E=(()=>{class e{constructor(e,t,n,i){this.cd=e,this.confirmDialogService=t,this.translateService=n,this.imageService=i,this.accept="*",this.maximumSizeMB=5,this.canUpload=!0,this.uploadDescription=this.translateService.instant("Upload photo"),this.removeDescription=this.translateService.instant("Remove photo"),this.fileChange=new d.vpe,this.value=null,this.isValid=!0,this.photoPreview=null,this.previewUser={firstName:"",lastName:"",picture:""},this.targetSize=150,this.propagateChange=e=>{},this.onTouched=()=>{},this.validateFn=()=>{},this.toBase64=e=>new Promise((t,n)=>{const i=new FileReader;i.readAsDataURL(e),i.onload=()=>t(i.result),i.onerror=e=>n(e)})}get filename(){return this.value&&this.value.name?this.value.name:""}writeValue(e){e&&(this.value=e)}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.onTouched=e}validate(e){const t=this.validateFn(e);return this.isValid=null==t,t}ngOnInit(){this.loggedUser&&(this.previewUser=Object.assign({},this.loggedUser))}ngOnDestroy(){this.cd.detach()}ngOnChanges(e){this.loggedUser&&(this.previewUser=Object.assign({},this.loggedUser))}onSelectFile(e){return(0,v.mG)(this,void 0,void 0,function*(){if(e.target.files&&e.target.files.length){const t=e.target.files[0];if(t.size>1024*this.maximumSizeMB*1024)this.confirmDialogService.confirm("",this.translateService.instant("La dimensione massima consentita \xe8 di "+this.maximumSizeMB+"MB.")),this.input&&(this.input.nativeElement.value=null);else{const e=new FileReader,n=new Image;e.readAsDataURL(t),e.onload=()=>(0,v.mG)(this,void 0,void 0,function*(){n.src=e.result,n.onload=()=>(0,v.mG)(this,void 0,void 0,function*(){let e="";e=n.height>this.targetSize||n.width>this.targetSize?yield this.imageService.resizeToDataURL(n,this.targetSize):yield this.imageService.resizeManualToDataURL(n,n.height,n.width);const i=e.split(",");this.photoPreview=i,this.previewUser=Object.assign(Object.assign({},this.previewUser),{picture:i.join()});const r=i[0].match(/[^:\s*]\w+\/[\w-+\d.]+(?=[;| ])/);r&&(this.value={content:i[1],name:t.name,contentType:r[0]},this.onChange(),this.onTouched()),this.input&&(this.input.nativeElement.value=null)})})}}})}clear(){this.value=null,this.photoPreview=null,!this.loggedUser||(this.previewUser=Object.assign(Object.assign({},this.loggedUser),{picture:""})),this.onChange()}onChange(){this.propagateChange(this.value),this.cd.detectChanges(),this.onTouched(),this.fileChange.emit()}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(d.sBO),d.Y36(w.D),d.Y36(h.sK),d.Y36(b))},e.\u0275cmp=d.Xpm({type:e,selectors:[["yam-ui-photo-reader"]],viewQuery:function(e,t){if(1&e&&d.Gf(k,7),2&e){let e;d.iGM(e=d.CRH())&&(t.input=e.first)}},inputs:{accept:"accept",maximumSizeMB:"maximumSizeMB",canUpload:"canUpload",uploadDescription:"uploadDescription",removeDescription:"removeDescription",loggedUser:"loggedUser"},outputs:{fileChange:"fileChange"},features:[d._Bn([{provide:g.JU,useExisting:(0,d.Gpc)(()=>e),multi:!0},{provide:g.Cf,useExisting:(0,d.Gpc)(()=>e),multi:!0}]),d.TTD],decls:9,vars:5,consts:[["size","big",1,"profile-avatar",3,"loggedUser"],["type","file",2,"display","none",3,"accept","change"],["input",""],[1,"upload-icon",3,"click"],[1,"upload-description",3,"click"],["color","accent","class","remove-icon",3,"click",4,"ngIf"],["class","remove-description",3,"click",4,"ngIf"],["color","accent",1,"remove-icon",3,"click"],[1,"remove-description",3,"click"]],template:function(e,t){if(1&e){const e=d.EpF();d._UZ(0,"yam-ui-avatar",0),d.TgZ(1,"input",1,2),d.NdJ("change",function(e){return t.onSelectFile(e)}),d.qZA(),d.TgZ(3,"mat-icon",3),d.NdJ("click",function(){return d.CHM(e),d.MAs(2).click()}),d._uU(4," file_upload "),d.qZA(),d.TgZ(5,"span",4),d.NdJ("click",function(){return d.CHM(e),d.MAs(2).click()}),d._uU(6),d.qZA(),d.YNc(7,C,2,0,"mat-icon",5),d.YNc(8,M,2,1,"span",6)}2&e&&(d.Q6J("loggedUser",t.previewUser),d.xp6(1),d.Q6J("accept",t.accept),d.xp6(5),d.hij(" ",t.uploadDescription,""),d.xp6(1),d.Q6J("ngIf",t.previewUser.picture),d.xp6(1),d.Q6J("ngIf",t.previewUser.picture))},directives:[x.A,S.Hw,m.O5],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row;align-items:center;flex-grow:1;justify-content:flex-start}[_nghost-%COMP%] .upload-icon[_ngcontent-%COMP%]{margin-left:10px;color:var(--grey-400);cursor:pointer}[_nghost-%COMP%] .upload-description[_ngcontent-%COMP%]{font-weight:600;font-size:13px;color:var(--grey-400);margin-right:35px;margin-left:5px;cursor:pointer}[_nghost-%COMP%] .remove-icon[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] .remove-description[_ngcontent-%COMP%]{font-weight:400;font-size:13px;color:var(--accent-color);margin-left:5px;cursor:pointer}"],changeDetection:0}),e})();var T=n(47906),A=n(55395),D=n(45317),P=n(47939);function L(e,t){if(1&e){const e=d.EpF();d.ynx(0),d.TgZ(1,"form",13),d.TgZ(2,"div",14),d.TgZ(3,"yam-ui-photo-reader",15),d.NdJ("fileChange",function(){return d.CHM(e),d.oxw().onFileChange()}),d.qZA(),d.qZA(),d.qZA(),d.BQk()}if(2&e){const e=t.ngIf,n=d.oxw();d.xp6(1),d.Q6J("ngrxFormState",e),d.xp6(2),d.Q6J("ngrxFormControlState",e.controls.photo)("loggedUser",n.loggedUser)}}function O(e,t){if(1&e&&(d.ynx(0),d.TgZ(1,"form",13),d.TgZ(2,"div",16),d._UZ(3,"yam-ui-text-field",17),d.ALo(4,"translate"),d.ALo(5,"ngrxFormsErr"),d._UZ(6,"yam-ui-text-field",17),d.ALo(7,"translate"),d.ALo(8,"ngrxFormsErr"),d._UZ(9,"yam-ui-select",18),d.ALo(10,"translate"),d.ALo(11,"ngrxFormsErr"),d._UZ(12,"yam-ui-text-field",19),d.ALo(13,"translate"),d.ALo(14,"ngrxFormsErr"),d._UZ(15,"yam-ui-text-field",19),d.ALo(16,"translate"),d.ALo(17,"ngrxFormsErr"),d._UZ(18,"yam-ui-select",18),d.ALo(19,"translate"),d.ALo(20,"ngrxFormsErr"),d._UZ(21,"yam-ui-text-field",17),d.ALo(22,"translate"),d.ALo(23,"ngrxFormsErr"),d._UZ(24,"yam-ui-slide-toggle",20),d.ALo(25,"translate"),d._UZ(26,"yam-ui-slide-toggle",20),d.ALo(27,"translate"),d.qZA(),d.qZA(),d.BQk()),2&e){const e=t.ngIf,n=d.oxw();d.xp6(1),d.Q6J("ngrxFormState",e),d.xp6(2),d.Q6J("label",d.lcZ(4,39,"First Name"))("ngrxFormControlState",e.controls.firstName)("errors",d.lcZ(5,41,e.controls.firstName.errors))("shouldShowError",e.controls.firstName.isSubmitted),d.xp6(3),d.Q6J("label",d.lcZ(7,43,"Last Name"))("ngrxFormControlState",e.controls.lastName)("errors",d.lcZ(8,45,e.controls.lastName.errors))("shouldShowError",e.controls.lastName.isSubmitted),d.xp6(3),d.Q6J("label",d.lcZ(10,47,"Gender"))("items",n.genders)("ngrxFormControlState",e.controls.gender)("errors",d.lcZ(11,49,e.controls.gender.errors))("shouldShowError",e.controls.gender.isSubmitted),d.xp6(3),d.Q6J("label",d.lcZ(13,51,"Email"))("inputType","email")("ngrxFormControlState",e.controls.email)("errors",d.lcZ(14,53,e.controls.email.errors))("shouldShowError",e.controls.email.isSubmitted)("readOnly",!n.canModify("email")),d.xp6(3),d.Q6J("label",d.lcZ(16,55,"Role"))("inputType","text")("ngrxFormControlState",e.controls.roleCode)("errors",d.lcZ(17,57,e.controls.roleCode.errors))("shouldShowError",e.controls.roleCode.isSubmitted)("readOnly",!n.canModify("role")),d.xp6(3),d.Q6J("label",d.lcZ(19,59,"Language"))("items",n.languages)("ngrxFormControlState",e.controls.language)("errors",d.lcZ(20,61,e.controls.language.errors))("shouldShowError",e.controls.language.isSubmitted),d.xp6(3),d.Q6J("label",d.lcZ(22,63,"Job Title"))("ngrxFormControlState",e.controls.jobTitle)("errors",d.lcZ(23,65,e.controls.jobTitle.errors))("shouldShowError",e.controls.jobTitle.isSubmitted),d.xp6(3),d.Q6J("label",d.lcZ(25,67,"Subscribe notification error"))("ngrxFormControlState",e.controls.subscribeNotificationError),d.xp6(2),d.Q6J("label",d.lcZ(27,69,"Make tutorial visible at next start"))("ngrxFormControlState",e.controls.showTutorialNextStart)}}function I(e,t){if(1&e&&(d.TgZ(0,"div",7),d.TgZ(1,"form",13),d.TgZ(2,"div",21),d._uU(3,"Change password"),d.qZA(),d.TgZ(4,"div",16),d._UZ(5,"yam-ui-text-field",22),d.ALo(6,"translate"),d.ALo(7,"ngrxFormsErr"),d.ALo(8,"translate"),d._UZ(9,"yam-ui-text-field",22),d.ALo(10,"translate"),d.ALo(11,"ngrxFormsErr"),d.ALo(12,"translate"),d._UZ(13,"yam-ui-text-field",22),d.ALo(14,"translate"),d.ALo(15,"ngrxFormsErr"),d.ALo(16,"translate"),d.TgZ(17,"div",23),d._uU(18," Password must be at least 8 characters long. "),d._UZ(19,"br"),d._uU(20," Must contain both uppercase and lowercase letters. "),d._UZ(21,"br"),d._uU(22," Must contain a number. "),d._UZ(23,"br"),d._uU(24," Must contain a special character. "),d.qZA(),d.qZA(),d.qZA(),d.qZA()),2&e){const e=t.ngIf;d.xp6(1),d.Q6J("ngrxFormState",e),d.xp6(4),d.Q6J("inputType","password")("label",d.lcZ(6,19,"Current password"))("ngrxFormControlState",e.controls.password)("errors",d.lcZ(7,21,e.controls.password.errors))("shouldShowError",!e.controls.password.isPristine&&!e.controls.password.isValid)("placeholder",d.lcZ(8,23,"insert password")),d.xp6(4),d.Q6J("inputType","password")("label",d.lcZ(10,25,"New password"))("ngrxFormControlState",e.controls.newPassword)("errors",d.lcZ(11,27,e.controls.newPassword.errors))("shouldShowError",!e.controls.newPassword.isPristine&&!e.controls.newPassword.isValid)("placeholder",d.lcZ(12,29,"insert new password")),d.xp6(4),d.Q6J("inputType","password")("label",d.lcZ(14,31,"Confirm password"))("ngrxFormControlState",e.controls.confirmPassword)("errors",d.lcZ(15,33,e.controls.confirmPassword.errors))("shouldShowError",!e.controls.confirmPassword.isPristine&&!e.controls.confirmPassword.isValid)("placeholder",d.lcZ(16,35,"insert confirm password"))}}let R=(()=>{class e extends c.P{constructor(e,t,n,i,r){super(),this.dialogRef=e,this.data=t,this.authFacade=n,this.translateService=i,this.confirmService=r,this.settingsFormState$=this.authFacade.selectProfileSettingsForm$,this.settingsPhotoForm$=this.authFacade.selectProfilePhotoForm$,this.changePasswordFormState$=this.authFacade.selectProfileChangePasswordForm$,this.canSaveProfile$=this.authFacade.selectCanSaveProfile$,this.forgotPasswordFormState$=this.authFacade.selectForgotPasswordForm$,this.genders=[{value:"F",description:this.translateService.instant("Female")},{value:"M",description:this.translateService.instant("Male")}],this.languages=a.E7.map(e=>({value:e,description:this.translateService.instant(e)})),this.canSaveProfileSettingsOrChangePassword=!1,this.canSaveProfile=!1}ngOnInit(){this.authFacade.selectLoggedUser$.pipe((0,r.q)(1)).subscribe(e=>{this.loggedUser=e,this.authFacade.profileSettingsInitialize(e)}),this.canSaveProfile$.pipe((0,s.R)(this.ngUnsubscribe)).subscribe(e=>{this.canSaveProfile=e}),(0,i.aj)([this.authFacade.selectCanSaveProfileSettings$,this.authFacade.selectCanSaveProfileChangePassword$]).pipe((0,s.R)(this.ngUnsubscribe)).subscribe(([e,t])=>this.canSaveProfileSettingsOrChangePassword=e||t)}canModify(e){return!1}cancel(){if(this.canSaveProfileSettingsOrChangePassword){const e=this.translateService.instant("Attention!"),t=this.translateService.instant("There are unsaved changes, proceed anyway?");this.confirmService.confirm(e,t,this.translateService.instant("Back"),this.translateService.instant("Exit")).then(e=>!0===e?this.dialogRef.close():null)}else this.dialogRef.close()}save(){this.authFacade.profileFormSave()}onselectedIndexChange(e){this.authFacade.setSelectProfileTab(e)}onFileChange(){this.loggedUser&&this.authFacade.profilePhotoSave()}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(o.so),d.Y36(o.WI),d.Y36(u.j),d.Y36(h.sK),d.Y36(l.DN))},e.\u0275cmp=d.Xpm({type:e,selectors:[["ng-component"]],features:[d.qOj],decls:24,vars:18,consts:[[1,"flex-grow-1","d-flex","flex-column","dialog-container"],[1,"d-flex","align-items-center","dialog-header"],["translate","",1,"dialog-title"],["variant","icon",1,"ml-auto","mr-0",3,"click"],[1,"dialog-content"],["mat-stretch-tabs","",3,"selectedIndexChange"],[3,"label"],[1,"dialog-content-data"],[4,"ngIf"],["class","dialog-content-data",4,"ngIf"],[1,"dialog-action","d-flex","mt-auto"],[1,"ml-auto"],["color","accent","translate","",3,"disabled","click"],[1,"flex-grow-1","d-flex","flex-column",3,"ngrxFormState"],[1,"avatar"],[3,"ngrxFormControlState","loggedUser","fileChange"],[1,"flex-grow-1"],[3,"label","ngrxFormControlState","errors","shouldShowError"],[3,"label","items","ngrxFormControlState","errors","shouldShowError"],[3,"label","inputType","ngrxFormControlState","errors","shouldShowError","readOnly"],[3,"label","ngrxFormControlState"],["translate","",1,"dialog-content-title"],[3,"inputType","label","ngrxFormControlState","errors","shouldShowError","placeholder"],["translate","",1,"password-hint"]],template:function(e,t){1&e&&(d.TgZ(0,"div",0),d.TgZ(1,"div",1),d.TgZ(2,"div",2),d._uU(3,"Profile settings"),d.qZA(),d.TgZ(4,"yam-ui-button",3),d.NdJ("click",function(){return t.cancel()}),d._uU(5," close "),d.qZA(),d.qZA(),d.TgZ(6,"div",4),d.TgZ(7,"mat-tab-group",5),d.NdJ("selectedIndexChange",function(e){return t.onselectedIndexChange(e)}),d.TgZ(8,"mat-tab",6),d.ALo(9,"translate"),d.TgZ(10,"div",7),d.YNc(11,L,4,3,"ng-container",8),d.ALo(12,"async"),d.YNc(13,O,28,71,"ng-container",8),d.ALo(14,"async"),d.qZA(),d.qZA(),d.TgZ(15,"mat-tab",6),d.ALo(16,"translate"),d.YNc(17,I,25,37,"div",9),d.ALo(18,"async"),d.qZA(),d.qZA(),d.TgZ(19,"div",10),d.TgZ(20,"div",11),d.TgZ(21,"yam-ui-button",12),d.NdJ("click",function(){return t.save()}),d.ALo(22,"async"),d._uU(23,"Save "),d.qZA(),d.qZA(),d.qZA(),d.qZA(),d.qZA()),2&e&&(d.xp6(8),d.Q6J("label",d.lcZ(9,6,"Profile")),d.xp6(3),d.Q6J("ngIf",d.lcZ(12,8,t.settingsPhotoForm$)),d.xp6(2),d.Q6J("ngIf",d.lcZ(14,10,t.settingsFormState$)),d.xp6(2),d.Q6J("label",d.lcZ(16,12,"Password")),d.xp6(2),d.Q6J("ngIf",d.lcZ(18,14,t.changePasswordFormState$)),d.xp6(4),d.Q6J("disabled",!d.lcZ(22,16,t.canSaveProfile$)))},directives:[h.Pi,p.r,f.SP,f.uX,m.O5,g._Y,g.JL,_.Wz,_.I_,E,_.CR,T.a,A.H,D.w],pipes:[h.X$,m.Ov,P.I],styles:[".dialog-container[_ngcontent-%COMP%]{padding:0}.dialog-header[_ngcontent-%COMP%]{box-shadow:2px 0 4px 0 rgba(0,0,0,.09);padding:0 15px 0 28px;height:55px;border-radius:0 0 6px 6px}.dialog-title[_ngcontent-%COMP%]{color:var(--grey-500);font-size:18px;font-weight:600}.dialog-content[_ngcontent-%COMP%]{overflow:hidden;height:80vh;display:flex;flex-direction:column}.dialog-content-data[_ngcontent-%COMP%]{padding:10px 35px;overflow:hidden;overflow-y:auto}.dialog-content-title[_ngcontent-%COMP%]{color:var(--grey-300);font-size:15px;font-weight:600;margin-bottom:40px}.avatar[_ngcontent-%COMP%]{margin-bottom:35px}[_nghost-%COMP%] .mat-tab-group{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-label-active{color:var(--accent-color)}[_nghost-%COMP%] .mat-ink-bar{background-color:var(--accent-color)!important} .profile-container .mat-dialog-container{padding:0}.dialog-action[_ngcontent-%COMP%]{padding:10px 35px}.password-hint[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:var(--grey-300)}"],changeDetection:0}),e})()},69141:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var i=n(79996),r=n(71617),s=n(31572);let o=(()=>{class e{constructor(e){this.authFacade=e}canActivate(e){return this.authFacade.selectLoggedUser$.pipe((0,i.U)(e=>(this.authFacade.profileSettingsInitialize(e),!0)))}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.j))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})()},3285:(e,t,n)=>{"use strict";n.d(t,{D:()=>m});var i=n(84608),r=n(34088),s=n(76032),o=n(32559),a=n(31572),l=n(48160),c=n(61517),u=n(84289),d=n(61511);const h=["swiper"];function p(e,t){if(1&e&&a._UZ(0,"img",16),2&e){const e=a.oxw().$implicit;a.Q6J("src",e,a.LSH)}}function f(e,t){1&e&&a.YNc(0,p,1,1,"ng-template",15)}r.ZP.use([r.W_,r.Qr]);let m=(()=>{class e extends o.P{constructor(e,t,n,i){super(),this.dialogRef=e,this.cd=t,this.translateService=n,this.domainsService=i,this.currentIndex=1,this.images=["/assets/img/tutorial/login.png","/assets/img/tutorial/device_list.png","/assets/img/tutorial/device_detail.png","/assets/img/tutorial/analytics.png"]}ngOnInit(){"radoff"===this.domainsService.rootDomain.name.toLowerCase()&&(this.images=this.getRadoffSlides())}cancel(){this.dialogRef.close()}skip(){this.dialogRef.close()}slideNext(){var e;this.currentIndex++,this.swiper&&(this.swiper.swiperRef.allowSlideNext=!0,null===(e=this.swiper)||void 0===e||e.swiperRef.slideNext(100),this.swiper.swiperRef.allowSlideNext=!1)}slidePrev(){var e;this.currentIndex>1&&this.swiper&&(this.currentIndex--,this.swiper.swiperRef.allowSlidePrev=!0,null===(e=this.swiper)||void 0===e||e.swiperRef.slidePrev(100),this.swiper.swiperRef.allowSlidePrev=!1)}get title(){var e;return this.translateService.instant("Tutorial {{ img }} of {{ total }}",{img:this.currentIndex,total:(null===(e=this.images)||void 0===e?void 0:e.length)||""})}getRadoffSlides(){const e="/assets/img/tutorial/radoff",t=[];for(let n=0;n<37;n++)t.push(`${e}/${n}.jpg`);t.push(`${e}/36_1.jpg`);for(let n=37;n<43;n++)t.push(`${e}/${n}.jpg`);return t.push(`${e}/fine.jpg`),t}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(i.so),a.Y36(i.WI),a.Y36(l.sK),a.Y36(s.tJ))},e.\u0275cmp=a.Xpm({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&a.Gf(h,5),2&e){let e;a.iGM(e=a.CRH())&&(t.swiper=e.first)}},features:[a.qOj],decls:21,vars:8,consts:[[1,"flex-grow-1","d-flex","flex-column","dialog-container"],[1,"d-flex","align-items-center","dialog-header"],[1,"dialog-title",3,"innerHTML"],["variant","icon",1,"ml-auto","mr-0",3,"click"],[1,"dialog-content"],[1,"flex-grow-1","p-2",2,"overflow","hidden"],[1,"w-100",3,"slidesPerView","allowSlideNext","allowSlidePrev"],["swiper",""],[4,"ngFor","ngForOf"],[1,"dialog-action","d-flex","mt-auto"],[1,"mr-auto"],["color","accent","translate","",1,"mr-auto","skip",3,"click"],[1,"ml-auto"],["color","accent","translate","",1,"swiper-navigation-prev","btn","ml-2",3,"disabled","click"],["color","accent","translate","",1,"swiper-navigation-next","ml-2",3,"hidden","click"],["swiperSlide",""],[3,"src"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"div",1),a._UZ(2,"div",2),a.TgZ(3,"yam-ui-button",3),a.NdJ("click",function(){return t.cancel()}),a._uU(4," close "),a.qZA(),a.qZA(),a.TgZ(5,"div",4),a.TgZ(6,"div",5),a.TgZ(7,"swiper",6,7),a.YNc(9,f,1,0,void 0,8),a.qZA(),a.qZA(),a.TgZ(10,"div",9),a.TgZ(11,"div",10),a.TgZ(12,"yam-ui-button",11),a.NdJ("click",function(){return t.skip()}),a._uU(13,"Salta "),a.qZA(),a.qZA(),a.TgZ(14,"div",12),a.TgZ(15,"yam-ui-button",13),a.NdJ("click",function(){return t.slidePrev()}),a._uU(16,"Indietro "),a.qZA(),a.TgZ(17,"yam-ui-button",14),a.NdJ("click",function(){return t.slideNext()}),a._uU(18,"Avanti "),a.qZA(),a.TgZ(19,"yam-ui-button",14),a.NdJ("click",function(){return t.skip()}),a._uU(20,"Fine "),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(2),a.Q6J("innerHTML",t.title,a.oJD),a.xp6(5),a.Q6J("slidesPerView",1)("allowSlideNext",!1)("allowSlidePrev",!1),a.xp6(2),a.Q6J("ngForOf",t.images),a.xp6(6),a.Q6J("disabled",t.currentIndex<=1),a.xp6(2),a.Q6J("hidden",t.currentIndex>=t.images.length),a.xp6(2),a.Q6J("hidden",t.currentIndex{"use strict";n.d(t,{sq:()=>h,iL:()=>S,u5:()=>c,xE:()=>D,Tj:()=>A,k5:()=>P,AV:()=>E,Mv:()=>T});var i=n(61511),r=n(16073),s=n(4564),o=n(64448),a=n(47338),l=n(31572);let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({imports:[[i.ez,a.j9,o.Ne,s.WG,r.UX],a.j9,s.WG,r.UX]}),e})();var u=n(40878),d=n(32559);class h extends d.P{constructor(e){super(),this.router=e,this.formState$=(0,u.of)(null),this.forceCanDeactivate=!1}navigateForward(e){this.forceCanDeactivate=!0,this.router.navigate(e)}canDeactivate(){return(0,u.of)(!0)}}var p=n(19764),f=n(436),m=n(22728),g=n(73982),_=n(66599),v=n(79996),y=n(3530),b=n(21471),w=n(71398),x=n(48160);let S=(()=>{class e{constructor(e,t,n,i){this.confirmService=e,this.router=t,this.location=n,this.translateService=i}canDeactivate(e,t){if(e.forceCanDeactivate)return(0,u.of)(!0);const n=this.translateService.instant("Attention!"),i=this.translateService.instant("There are unsaved changes, proceed anyway?");return e.canDeactivate().pipe((0,f.b)(t=>(0,u.of)(t).pipe((0,m.M)(e.formState$))),(0,g.VS)(([e,r])=>e&&((null==r?void 0:r.isPristine)||(null==r?void 0:r.isSubmitted)&&(null==r?void 0:r.isValid))?(0,u.of)(!0):(0,p.D)(this.confirmService.confirm(n,i,this.translateService.instant("Back"),this.translateService.instant("Exit"))).pipe((0,_.b)(e=>{if(!e){const e=this.router.createUrlTree([],Object.assign(Object.assign({},t),{fragment:t.fragment?t.fragment:void 0})).toString();this.location.go(e)}}),(0,v.U)(e=>!!e))),(0,y.P)())}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(b.DN),l.LFG(w.F0),l.LFG(i.Ye),l.LFG(x.sK))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var k=n(31435),C=n(29609),M=n(35241);function E(e){let t=!0;if(e)try{JSON.parse(e)}catch(n){t=!1}return t?{}:{json:!0}}function T(e,t){let n=!0;if(e)try{const i=JSON.parse(e);t&&(n=new k({allErrors:!0,verbose:!0}).compile(t)(i))}catch(i){n=!1}return n?{}:{jsonSchema:!0}}function A(e,t=!1,n="L"){return i=>{const r={dateLessThan:{comparand:C(e).format(n),actual:C(i).format(n),allowEqual:t}};let s=!0;if(i&&e){const n=C(i).startOf("d").diff(C(e).startOf("d"));s=n<0||0===n&&t}return s?{}:r}}function D(e,t=!1,n="L"){return i=>{const r={dateGreaterThan:{comparand:C(e).format(n),actual:C(i).format(n),allowEqual:t}};let s=!0;if(i&&e){const n=C(i).startOf("d").diff(C(e).startOf("d"));s=n>0||0===n&&t}return s?{}:r}}function P(e,t,n){return i=>{const r=(0,M.EW)(e)(i);return r&&r.equalTo?{fieldEqualTo:Object.assign(Object.assign({},r.equalTo),{field:t,compareField:n})}:{}}}},47939:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var i=n(31572),r=n(48160);let s=(()=>{class e{constructor(e){this.translateService=e,this.defaultValidationMessages={required:"mandatory field",min:"minimum value is _min",max:"maximum value is _max",pattern:"invalid format",email:"invalid email format",maxLength:"character limit is _maxLength",minLength:"the minimum number of characters is _minLength",equalTo:"{{field}} must be equal to {{compareField}}",fieldEqualTo:"{{field}} must be equal to {{compareField}}",notEqualTo:"{{field}} must be different to {{compareField}}",json:"invalid JSON",jsonSchema:"invalid JSON schema",dateLessThan:e=>`La data deve essere precedente ${e.allowEqual?"o uguale":""} a ${e.comparand}`,dateGreaterThan:e=>`La data deve essere successiva ${e.allowEqual?"o uguale":""} a ${e.comparand}`}}getMessage(e,t){let n=this.defaultValidationMessages[e]||"";if("string"==typeof n){const e={};Object.keys(t).forEach(n=>{t[n]&&"string"==typeof t[n]&&(e[n]=this.translateService.instant(t[n]))}),Object.keys(e).length>0&&(n=this.translateService.instant(n,e)),n.indexOf("_")>-1&&t&&Object.keys(t).forEach(e=>{n=n.replace("_"+e,t[e])})}else n=n(t);return n?this.translateService.instant(n):""}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.sK))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),o=(()=>{class e{constructor(e){this.validationMessageProvider=e}transform(e){const t=[];return Object.keys(e).forEach(n=>{t.push(this.validationMessageProvider.getMessage(n,e[n]))}),t}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(s,16))},e.\u0275pipe=i.Yjl({name:"ngrxFormsErr",type:e,pure:!0}),e})()},64448:(e,t,n)=>{"use strict";n.d(t,{Ne:()=>i.Ne,E7:()=>r.E});var i=n(97582),r=n(93580)},13391:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});class i{constructor(){this.jsonPath="/assets/i18n/",this.fallbackCulture="en-US"}}},97582:(e,t,n)=>{"use strict";n.d(t,{Ne:()=>y});var i=n(61511),r=n(29063),s=n(31572),o=n(64897),a=n(61593),l=n(48160);class c{constructor(e,t="/assets/i18n/",n=".json"){this.http=e,this.prefix=t,this.suffix=n}getTranslation(e){return this.http.get(`${this.prefix}${e}${this.suffix}`)}}var u=n(66599),d=n(93580);const h=(0,a.PH)("[Localize] Change language",(0,a.Ky)());let p=(()=>{class e{constructor(e,t){this.actions$=e,this.localizeService=t,this.changeLanguage$=(0,o.GW)(()=>this.actions$.pipe((0,o.l4)(h),(0,u.b)(e=>{this.localizeService.setCurrentLocale(e.lang)})),{dispatch:!1})}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(o.eX),s.LFG(d.y))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();const f=(0,a.Lq)({currentLanguage:""},(0,a.on)(h,(e,{lang:t})=>Object.assign(Object.assign({},e),{currentLanguage:t})));var m=n(13391);function g(e){return()=>e.initLocalization()}function _(e){return e.getCurrentLocale()}function v(e,t){return new c(e,t.jsonPath,".json")}let y=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:m.l,useValue:t},d.y,...l.aw.forRoot({loader:{provide:l.Zw,useFactory:v,deps:[r.eN,m.l]}}).providers||[],{provide:s.soG,useFactory:_,deps:[d.y]},{provide:s.ip1,useFactory:g,deps:[d.y],multi:!0}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[i.ez,l.aw,a.Aw.forFeature("localize",f),o.sQ.forFeature([p])],l.aw]}),e})()},93580:(e,t,n)=>{"use strict";n.d(t,{E:()=>h,y:()=>p});var i=n(61511),r=n(59827),s=n.n(r),o=n(97357),a=n.n(o),l=n(29609),c=n(31572),u=n(13391),d=n(48160);const h=["en-US"];let p=(()=>{class e{constructor(e,t){this.config=e,this.translateService=t,this.STORAGE_LANG_KEY="userSelectedLang"}getCurrentLocale(){let e=localStorage.getItem(this.STORAGE_LANG_KEY);if(!e||h.indexOf(e)<0){const t=navigator.language;e=h.indexOf(t)>=0?t:this.config.fallbackCulture}return e}setCurrentLocale(e){h.indexOf(e)>=0&&(localStorage.setItem(this.STORAGE_LANG_KEY,e),window.location.reload())}initLocalization(){const e=this.getCurrentLocale();this.translateService.use(e),l.locale(e),(0,i.qS)(a()),(0,i.qS)(s())}}return e.\u0275fac=function(t){return new(t||e)(c.LFG(u.l),c.LFG(d.sK))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e})()},29625:(e,t,n)=>{"use strict";n.d(t,{dH:()=>i.d,iz:()=>r.i});var i=n(96514),r=n(91320)},98938:(e,t,n)=>{"use strict";n.d(t,{i:()=>r,H:()=>s});var i=n(61593);const r=(0,i.PH)("[Ngrx/Error] Add Error",(0,i.Ky)()),s=(0,i.PH)("[Ngrx/Error] Add API Error",(0,i.Ky)())},53389:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var i=n(98938),r=n(31572),s=n(61593);let o=(()=>{class e{constructor(e){this.store=e}addError(e){this.store.dispatch(i.i({error:e}))}addApiErrorMessage(e,t){this.store.dispatch(i.H({errorMessage:e,errorStatusCode:t}))}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.yh))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},96514:(e,t,n)=>{"use strict";n.d(t,{d:()=>a,n:()=>l});var i=n(31225),r=n(47727),s=n(53389),o=n(31572);const a="skip-intercept-on-error";let l=(()=>{class e{constructor(e){this.facade=e}intercept(e,t){if(null!=e.headers.get(a)){const n=e.headers.delete(a),i=e.clone({headers:n});return t.handle(i)}return t.handle(e).pipe((0,r.K)(e=>{let t="";return console.log(e.message),e.message.includes("Error Code: 401")||e.message.includes("Error Code: 400")?e.error instanceof ErrorEvent?(t=`Error: ${e.error.message}`,this.facade.addError(e.error.error)):"string"==typeof e.error?(t=`${e.error}`,this.facade.addApiErrorMessage(t,e.status)):(t=e.error.message?e.error.message:0===e.status?"Network error, check your internet connection.":`Error Code: ${e.status}\nMessage: ${e.message}`,this.facade.addApiErrorMessage(t,e.status)):t=`Error: ${e.message}`,(0,i._)(t)}))}}return e.\u0275fac=function(t){return new(t||e)(o.LFG(s.s))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e})()},91320:(e,t,n)=>{"use strict";n.d(t,{i:()=>_});var i=n(61511),r=n(29063),s=n(31572),o=n(64897),a=n(61593),l=n(66599),c=n(21471),u=n(98938),d=n(48160);let h=(()=>{class e{constructor(e,t,n){this.actions$=e,this.toastsService=t,this.translateService=n,this.apiError$=(0,o.GW)(()=>this.actions$.pipe((0,o.l4)(u.H),(0,l.b)(e=>{e.errorMessage&&this.toastsService.errorFeedback(this.translateService.instant(e.errorMessage)),console.error(e.errorMessage)})),{dispatch:!1}),this.error$=(0,o.GW)(()=>this.actions$.pipe((0,o.l4)(u.i),(0,l.b)(e=>{console.error("uncaught error ",e.error)})),{dispatch:!1})}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(o.eX),s.LFG(c.rY),s.LFG(d.sK))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();var p=n(53389);const f=(0,a.Lq)({errors:[],lastApiErrorMessage:""},(0,a.on)(u.i,(e,{error:t})=>Object.assign(Object.assign({},e),{errors:[...e.errors,t]})),(0,a.on)(u.H,(e,{errorMessage:t})=>Object.assign(Object.assign({},e),{lastApiErrorMessage:t})));let m=(()=>{class e{constructor(e,t){this.injector=e,this.zone=t}handleError(e){const t=this.injector.get(p.s);this.zone.run(()=>t.addError(e))}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(s.zs3),s.LFG(s.R0b))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();var g=n(96514);let _=(()=>{class e{constructor(e){if(e)throw new Error("NgrxErrorModule is already loaded. Import only in AppModule")}static forRoot(){return{ngModule:e,providers:[p.s,{provide:s.qLn,useClass:m},{provide:r.TP,useClass:g.n,multi:!0}]}}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(e,12))},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[i.ez,a.Aw.forFeature("error",f),o.sQ.forFeature([h])]]}),e})()},31284:(e,t,n)=>{"use strict";n.d(t,{L:()=>h,a:()=>g});var i=n(61593);const r=(0,i.PH)("[Ngrx/Loader] Show Loader",(0,i.Ky)()),s=(0,i.PH)("[Ngrx/Loader] Hide Loader",(0,i.Ky)()),o=(0,i.PH)("[Ngrx/Loader] Force Hide Loader"),a="loader",l=(0,i.Lq)({active:0,actionsInProgress:[]},(0,i.on)(r,(e,{actionType:t})=>{if(e.actionsInProgress.filter(e=>e===t).length)return e;const n=[...e.actionsInProgress,t];return{active:n.length,actionsInProgress:n}}),(0,i.on)(s,(e,{actionType:t})=>{const n=t?e.actionsInProgress.filter(e=>e!==t):e.actionsInProgress;return{actionsInProgress:n,active:e.active>0?n.length:0}}),(0,i.on)(o,()=>({actionsInProgress:[],active:0}))),c=(0,i.ZF)(a),u=(0,i.P1)(c,e=>e.active>0);var d=n(31572);let h=(()=>{class e{constructor(e){this.store=e,this.isLoaderVisible$=this.store.pipe((0,i.Ys)(u))}showLoader(e){this.store.dispatch(r({actionType:e.type}))}hideLoader(e){this.store.dispatch(s({actionType:e.type}))}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(i.yh))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var p=n(61511),f=n(64897);let m=(()=>{class e{constructor(e){this.actions$=e}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(f.eX))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac}),e})(),g=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({providers:[],imports:[[p.ez,i.Aw.forFeature(a,l),f.sQ.forFeature([m])]]}),e})()},6344:(e,t,n)=>{"use strict";n.d(t,{yy:()=>M,t$:()=>T});var i=n(61511),r=n(61593),s=n(31572),o=n(71398),a=n(22728);const l="@ngrx/router-store/request",c=((0,r.PH)(l,(0,r.Ky)()),"@ngrx/router-store/navigation"),u=((0,r.PH)(c,(0,r.Ky)()),"@ngrx/router-store/cancel"),d=((0,r.PH)(u,(0,r.Ky)()),"@ngrx/router-store/error"),h=((0,r.PH)(d,(0,r.Ky)()),"@ngrx/router-store/navigated");function p(e,t){const n=t;switch(n.type){case c:case d:case u:return{state:n.payload.routerState,navigationId:n.payload.event.id};default:return e}}(0,r.PH)(h,(0,r.Ky)());class f{}class m{serialize(e){return{root:this.serializeRoute(e.root),url:e.url}}serializeRoute(e){const t=e.children.map(e=>this.serializeRoute(e));return{params:e.params,paramMap:e.paramMap,data:e.data,url:e.url,outlet:e.outlet,routeConfig:e.routeConfig?{component:e.routeConfig.component,path:e.routeConfig.path,pathMatch:e.routeConfig.pathMatch,redirectTo:e.routeConfig.redirectTo,outlet:e.routeConfig.outlet}:null,queryParams:e.queryParams,queryParamMap:e.queryParamMap,fragment:e.fragment,component:e.routeConfig?e.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:t[0],pathFromRoot:void 0,children:t}}}class g{serialize(e){return{root:this.serializeRoute(e.root),url:e.url}}serializeRoute(e){const t=e.children.map(e=>this.serializeRoute(e));return{params:e.params,data:e.data,url:e.url,outlet:e.outlet,routeConfig:e.routeConfig?{path:e.routeConfig.path,pathMatch:e.routeConfig.pathMatch,redirectTo:e.routeConfig.redirectTo,outlet:e.routeConfig.outlet}:null,queryParams:e.queryParams,fragment:e.fragment,firstChild:t[0],children:t}}}var _=function(e){return e[e.PreActivation=1]="PreActivation",e[e.PostActivation=2]="PostActivation",e}({});const v=new s.OlP("@ngrx/router-store Internal Configuration"),y=new s.OlP("@ngrx/router-store Configuration");function b(e){return Object.assign({stateKey:"router",serializer:g,navigationActionTiming:_.PreActivation},e)}var w=function(e){return e[e.NONE=1]="NONE",e[e.ROUTER=2]="ROUTER",e[e.STORE=3]="STORE",e}({});let x=(()=>{class e{constructor(e,t,n,i,o,a){this.store=e,this.router=t,this.serializer=n,this.errorHandler=i,this.config=o,this.activeRuntimeChecks=a,this.lastEvent=null,this.routerState=null,this.trigger=w.NONE,this.stateKey=this.config.stateKey,!(0,r.rM)()&&(0,s.X6Q)()&&((null==a?void 0:a.strictActionSerializability)||(null==a?void 0:a.strictStateSerializability))&&this.serializer instanceof m&&console.warn("@ngrx/router-store: The serializability runtime checks cannot be enabled with the DefaultRouterStateSerializer. The default serializer has an unserializable router state and actions that are not serializable. To use the serializability runtime checks either use the MinimalRouterStateSerializer or implement a custom router state serializer. This also applies to Ivy with immutability runtime checks."),this.setUpStoreStateListener(),this.setUpRouterEventsListener()}static forRoot(t={}){return{ngModule:e,providers:[{provide:v,useValue:t},{provide:y,useFactory:b,deps:[v]},{provide:f,useClass:t.serializer?t.serializer:0===t.routerState?m:g}]}}setUpStoreStateListener(){this.store.pipe((0,r.Ys)(this.stateKey),(0,a.M)(this.store)).subscribe(([e,t])=>{this.navigateIfNeeded(e,t)})}navigateIfNeeded(e,t){if(!e||!e.state)return;if(this.trigger===w.ROUTER)return;if(this.lastEvent instanceof o.OD)return;const n=e.state.url;var i;i=n,S(this.router.url)!==S(i)&&(this.storeState=t,this.trigger=w.STORE,this.router.navigateByUrl(n).catch(e=>{this.errorHandler.handleError(e)}))}setUpRouterEventsListener(){const e=this.config.navigationActionTiming===_.PostActivation;let t;this.router.events.pipe((0,a.M)(this.store)).subscribe(([n,i])=>{this.lastEvent=n,n instanceof o.OD?(this.routerState=this.serializer.serialize(this.router.routerState.snapshot),this.trigger!==w.STORE&&(this.storeState=i,this.dispatchRouterRequest(n))):n instanceof o.R9?(t=n,e||this.trigger===w.STORE||this.dispatchRouterNavigation(n)):n instanceof o.gk?(this.dispatchRouterCancel(n),this.reset()):n instanceof o.Q3?(this.dispatchRouterError(n),this.reset()):n instanceof o.m2&&(this.trigger!==w.STORE&&(e&&this.dispatchRouterNavigation(t),this.dispatchRouterNavigated(n)),this.reset())})}dispatchRouterRequest(e){this.dispatchRouterAction(l,{event:e})}dispatchRouterNavigation(e){const t=this.serializer.serialize(e.state);this.dispatchRouterAction(c,{routerState:t,event:new o.R9(e.id,e.url,e.urlAfterRedirects,t)})}dispatchRouterCancel(e){this.dispatchRouterAction(u,{storeState:this.storeState,event:e})}dispatchRouterError(e){this.dispatchRouterAction(d,{storeState:this.storeState,event:new o.Q3(e.id,e.url,`${e}`)})}dispatchRouterNavigated(e){const t=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction(h,{event:e,routerState:t})}dispatchRouterAction(e,t){this.trigger=w.ROUTER;try{this.store.dispatch({type:e,payload:Object.assign(Object.assign({routerState:this.routerState},t),{event:0===this.config.routerState?t.event:{id:t.event.id,url:t.event.url,urlAfterRedirects:t.event.urlAfterRedirects}})})}finally{this.trigger=w.NONE}}reset(){this.trigger=w.NONE,this.storeState=null,this.routerState=null}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.yh),s.LFG(o.F0),s.LFG(f),s.LFG(s.qLn),s.LFG(y),s.LFG(r.hg))},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({}),e})();function S(e){return e.length>0&&"/"===e[e.length-1]?e.substring(0,e.length-1):e}let k=(()=>{class e{serialize(e){let t=e.root;for(;t.firstChild;)t=t.firstChild;const{url:n,root:{queryParams:i}}=e,{params:r}=t;return{url:n,params:r,queryParams:i}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();const C="router";let M=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[i.ez,r.Aw.forFeature(C,p),x.forRoot({stateKey:C,serializer:k})]]}),e})();const E=(0,r.ZF)("router"),T=(0,r.P1)(E,e=>null==e?void 0:e.state)},21736:(e,t,n)=>{"use strict";n.d(t,{oI:()=>G,Yi:()=>H,bi:()=>m,pH:()=>y,UU:()=>v,js:()=>w,qB:()=>h});var i=n(61593);const r=(0,i.PH)("[Shared/Users] Clear Users"),s=(0,i.PH)("[Shared/Users] Load Users",(0,i.Ky)()),o=(0,i.PH)("[Shared/Users] Load Users Success",(0,i.Ky)()),a=(0,i.PH)("[Shared/Users] Load Users Failure",(0,i.Ky)()),l=(0,i.PH)("[Shared/Users] Load Single User",(0,i.Ky)()),c=(0,i.PH)("[Shared/Users] Load Single User Success",(0,i.Ky)()),u=(0,i.PH)("[Shared/Users] Load Single User Failure",(0,i.Ky)()),d=(0,i.PH)("[Shared/Users] Update User",(0,i.Ky)()),h=(0,i.PH)("[Shared/Users] Update User Success",(0,i.Ky)()),p=(0,i.PH)("[Shared/Users] Update User Failure",(0,i.Ky)()),f=(0,i.PH)("[Shared/Users] Add User",(0,i.Ky)()),m=(0,i.PH)("[Shared/Users] Add User Success",(0,i.Ky)()),g=(0,i.PH)("[Shared/Users] Add User Failure",(0,i.Ky)()),_=(0,i.PH)("[Shared/Users] Delete User",(0,i.Ky)()),v=(0,i.PH)("[Shared/Users] Delete User Success",(0,i.Ky)()),y=(0,i.PH)("[Shared/Users] Delete User Failure",(0,i.Ky)()),b=(0,i.PH)("[Shared/Users] Reinvite user",(0,i.Ky)()),w=(0,i.PH)("[Shared/Users] Reinvite user success",(0,i.Ky)()),x=(0,i.PH)("[Shared/Users] Reinvite user failure",(0,i.Ky)());var S=n(49708);const k="users",C=(0,S.H)(),M=C.getInitialState({loaded:!1}),E=(0,i.Lq)(M,(0,i.on)(s,e=>Object.assign(Object.assign({},e),{loaded:!1,error:null})),(0,i.on)(o,(e,{users:t})=>C.setAll(t,Object.assign(Object.assign({},e),{loaded:!0}))),(0,i.on)(c,(e,{user:t})=>C.setOne(t,e)),(0,i.on)(h,(e,t)=>C.updateOne({id:t.user.id,changes:t.user},e)),(0,i.on)(m,(e,t)=>C.addOne(t.user,e)),(0,i.on)(w,(e,t)=>C.addOne(t.user,e)),(0,i.on)(v,(e,t)=>C.removeOne(t.id,e)),(0,i.on)(r,e=>Object.assign(Object.assign({},C.removeAll(e)),{loaded:!1,error:null})));function T(e,t){return E(e,t)}var A=n(36960);const D=(0,i.ZF)(k),{selectAll:P,selectEntities:L}=C.getSelectors(),O=(0,i.P1)(D,e=>e.loaded),I=(0,i.P1)(D,e=>P(e).sort((e,t)=>{let n=(0,A.D)(e.lastName,t.lastName);return 0===n&&(n=(0,A.D)(e.firstName,t.firstName)),n})),R=(0,i.P1)(D,e=>L(e)),Y=(0,i.P1)(D,e=>e.selectedId),F=(0,i.P1)(R,Y,(e,t)=>t&&e[t]);var j=n(31572);let H=(()=>{class e{constructor(e){this.store=e,this.loaded$=this.store.pipe((0,i.Ys)(O)),this.allUsers$=this.store.pipe((0,i.Ys)(I)),this.selectedUser$=this.store.pipe((0,i.Ys)(F))}loadUsers(e){this.store.dispatch(s({loggedUserId:e}))}addUser(e){this.store.dispatch(f({user:e}))}deleteUser(e){this.store.dispatch(_({id:e}))}updateUser(e,t){this.store.dispatch(d({update:{id:e,changes:t}}))}reinviteUser(e){this.store.dispatch(b({user:e}))}clearUser(){this.store.dispatch(r())}}return e.\u0275fac=function(t){return new(t||e)(j.LFG(i.yh))},e.\u0275prov=j.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var N=n(61511),B=n(64897),U=n(79996),z=n(73982),V=n(41587),q=n(76032),W=n(31284);let $=(()=>{class e{constructor(e,t,n,i){this.actions$=e,this.service=t,this.loaderFacade=n,this.store=i,this.loadAll$=(0,B.GW)(()=>this.actions$.pipe((0,B.l4)(s),(0,B.l4)(s),(0,V.he)({run:e=>(this.loaderFacade.showLoader(e),this.service.getAll().pipe((0,U.U)(t=>(this.loaderFacade.hideLoader(e),o({users:t.users.filter(t=>t.id!==e.loggedUserId)}))))),onError:(e,t)=>(this.loaderFacade.hideLoader(e),a({error:t}))}))),this.loadById$=(0,B.GW)(()=>this.actions$.pipe((0,B.l4)(l),(0,V.he)({id:e=>e.id,run:e=>this.service.getById(e.id).pipe((0,U.U)(e=>c({user:e}))),onError:(e,t)=>u({error:t})}))),this.updateUser$=(0,B.GW)(()=>this.actions$.pipe((0,B.l4)(d),(0,V.Lh)({run:e=>this.service.update(e.update).pipe((0,U.U)(t=>(this.loaderFacade.hideLoader(e),h({user:t})))),onError:(e,t)=>(this.loaderFacade.hideLoader(e),p({error:t}))}))),this.addUser$=(0,B.GW)(()=>this.actions$.pipe((0,B.l4)(f),(0,V.Lh)({run:e=>(this.loaderFacade.showLoader(e),this.service.add(e.user).pipe((0,U.U)(t=>(this.loaderFacade.hideLoader(e),m({user:t}))))),onError:(e,t)=>(this.loaderFacade.hideLoader(e),g({error:t}))}))),this.deleteUser$=(0,B.GW)(()=>this.actions$.pipe((0,B.l4)(_),(0,V.Lh)({run:e=>(this.loaderFacade.showLoader(e),this.service.delete(e.id).pipe((0,U.U)(()=>(this.loaderFacade.hideLoader(e),v({id:e.id,notify:!0}))))),onError:(e,t)=>(this.loaderFacade.hideLoader(e),g({error:t}))}))),this.reinviteUser$=(0,B.GW)(()=>this.actions$.pipe((0,B.l4)(b),(0,V.Lh)({run:e=>(this.loaderFacade.showLoader(e),this.service.delete(e.user.id).pipe((0,z.VS)(()=>(this.store.dispatch(v({id:e.user.id,notify:!1})),this.service.add(e.user))),(0,U.U)(t=>(this.loaderFacade.hideLoader(e),w({user:t}))))),onError:(e,t)=>(this.loaderFacade.hideLoader(e),x({error:t}))})))}}return e.\u0275fac=function(t){return new(t||e)(j.LFG(B.eX),j.LFG(q.fz),j.LFG(W.L),j.LFG(i.yh))},e.\u0275prov=j.Yz7({token:e,factory:e.\u0275fac}),e})(),G=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=j.oAB({type:e}),e.\u0275inj=j.cJS({providers:[],imports:[[N.ez,i.Aw.forFeature(k,T),B.sQ.forFeature([$])]]}),e})()},34370:(e,t,n)=>{"use strict";n.d(t,{n:()=>b,p:()=>I});var i=n(61593);const r=(0,i.PH)("[Shared/Notifications] Clear Notifications"),s=(0,i.PH)("[Shared/Notifications] Load recent Notifications"),o=(0,i.PH)("[Shared/Notifications] Load recent Notifications Success",(0,i.Ky)()),a=(0,i.PH)("[Shared/Notifications] Load recent Notifications Failure",(0,i.Ky)());var l=n(49708);const c="notifications",u=(0,l.H)(),d=u.getInitialState({recentLoaded:!1}),h=(0,i.Lq)(d,(0,i.on)(s,e=>Object.assign(Object.assign({},e),{recentLoaded:!1,error:null})),(0,i.on)(o,(e,{notifications:t})=>u.setAll(t,Object.assign(Object.assign({},e),{recentLoaded:!0}))),(0,i.on)(r,e=>u.removeAll(e)));function p(e,t){return h(e,t)}const f=(0,i.ZF)(c),{selectAll:m,selectEntities:g}=u.getSelectors(),_=(0,i.P1)(f,e=>e.recentLoaded),v=(0,i.P1)(f,e=>m(e));(0,i.P1)(f,e=>g(e));var y=n(31572);let b=(()=>{class e{constructor(e){this.store=e,this.loadedRecent$=this.store.pipe((0,i.Ys)(_)),this.recentNotifications$=this.store.pipe((0,i.Ys)(v))}loadNotifications(){this.store.dispatch(s())}getCssClass(e){return"ERROR"===e?"bg-error":"INFO"===e?"bg-success":"WARNING"===e?"bg-warning":""}}return e.\u0275fac=function(t){return new(t||e)(y.LFG(i.yh))},e.\u0275prov=y.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var w=n(61511),x=n(64897),S=n(79996),k=n(41587),C=n(76032);let M=(()=>{class e{constructor(e,t){this.actions$=e,this.service=t,this.loadRecent$=(0,x.GW)(()=>this.actions$.pipe((0,x.l4)(s),(0,k.he)({run:()=>this.service.recent().pipe((0,S.U)(e=>o({notifications:e.notifications}))),onError:(e,t)=>(console.error("Error",t),a({error:t}))})))}}return e.\u0275fac=function(t){return new(t||e)(y.LFG(x.eX),y.LFG(C.TF))},e.\u0275prov=y.Yz7({token:e,factory:e.\u0275fac}),e})();var E=n(40878),T=n(44689),A=n(47727),D=n(66599),P=n(43835),L=n(3530);let O=(()=>{class e{constructor(e){this.sharedNotificationsFacade=e}canActivate(){return this.checkNotificationsLoaded().pipe((0,T.w)(()=>(0,E.of)(!0)),(0,A.K)(()=>(0,E.of)(!1)))}checkNotificationsLoaded(){return this.sharedNotificationsFacade.loadedRecent$.pipe((0,D.b)(e=>{e||this.sharedNotificationsFacade.loadNotifications()}),(0,P.h)(e=>e),(0,L.P)())}}return e.\u0275fac=function(t){return new(t||e)(y.LFG(b))},e.\u0275prov=y.Yz7({token:e,factory:e.\u0275fac}),e})(),I=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=y.oAB({type:e}),e.\u0275inj=y.cJS({providers:[O],imports:[[w.ez,i.Aw.forFeature(c,p),x.sQ.forFeature([M])]]}),e})()},21471:(e,t,n)=>{"use strict";n.d(t,{dx:()=>x.d,DN:()=>i.D,xA:()=>c.x,$$:()=>r.$,XJ:()=>w,hU:()=>l.h,fY:()=>s.f,rY:()=>o.r,n6:()=>a.n});var i=n(63286),r=n(22553),s=n(73070),o=n(39658),a=n(21989),l=n(71789),c=n(45411),u=n(26899),d=n(31572),h=n(55959),p=n(43835);class f{constructor(e,t,n){this.overlayRef=e,this.positionStrategy=t,this.config=n,this.afterClosedSubject=new h.xQ,n.disableClose||(this.overlayRef.backdropClick().subscribe(()=>{this.close()}),this.overlayRef.keydownEvents().pipe((0,p.h)(e=>"Escape"===e.key)).subscribe(()=>{this.close()}))}close(e){this.afterClosedSubject.next(e),this.afterClosedSubject.complete(),this.overlayRef.dispose()}afterClosed(){return this.afterClosedSubject.asObservable()}positionChanges(){return this.positionStrategy.positionChanges}}var m=n(87570);let g=(()=>{class e{constructor(e,t){this.popoverRef=e,this.cd=t,this.subscription=new m.w,this.arrowSize=e.config.arrowSize,this.subscription=e.positionChanges().subscribe(e=>{const{offsetX:t,offsetY:n}=e.connectionPair;this.offsetTop=n&&n>=0?-1*n:void 0,this.offsetLeft=t&&t<0?-1*t:void 0,this.offsetBottom=n&&n<0?n:void 0,this.offsetRight=t&&t>=0?t:void 0,this.cd.detectChanges()})}ngOnDestroy(){this.subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(f),d.Y36(d.sBO))},e.\u0275dir=d.lG2({type:e,selectors:[["","popoverArrow",""]],hostVars:12,hostBindings:function(e,t){2&e&&d.Udp("width",t.arrowSize,"px")("height",t.arrowSize,"px")("top",t.offsetTop,"px")("right",t.offsetRight,"px")("bottom",t.offsetBottom,"px")("left",t.offsetLeft,"px")}}),e})(),_=(()=>{class e extends u.en{attachComponentPortal(e){return this.portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this.portalOutlet.attachTemplatePortal(e)}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=d.n5z(e)))(n||e)}}(),e.\u0275cmp=d.Xpm({type:e,selectors:[["p1-popover"]],viewQuery:function(e,t){if(1&e&&d.Gf(u.Pl,7),2&e){let e;d.iGM(e=d.CRH())&&(t.portalOutlet=e.first)}},features:[d.qOj],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["popoverArrow","",1,"arrow"]],template:function(e,t){1&e&&(d.GkF(0,0),d._UZ(1,"div",1))},directives:[u.Pl,g],styles:["[_nghost-%COMP%]{position:relative;background:#fff;border-radius:8px;padding:1rem;max-width:300px;box-shadow:0 0 8px 4px rgba(0,0,0,.1)}.arrow[_ngcontent-%COMP%]{position:absolute;background:inherit}.center[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .center [_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{left:50%}.top.left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .top.left [_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .top.center[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .top.center [_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{transform-origin:top left;transform:rotate(45deg)}.top.right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .top.right [_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{transform-origin:top right;transform:rotate(-45deg)}.bottom.left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bottom.left [_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bottom.center[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bottom.center [_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{transform-origin:bottom left;transform:rotate(-45deg)}.bottom.right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bottom.right [_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{transform-origin:bottom right;transform:rotate(45deg)}"]}),e})();var v=n(2522);const y=new d.OlP("popover.data"),b={backdropClass:"",disableClose:!1,panelClass:"",arrowOffset:30,arrowSize:20};let w=(()=>{class e{constructor(e,t,n){this.overlay=e,this.injector=t,this.appRef=n}open(e,t,n={}){const i=Object.assign({},b,n),r=i.arrowOffset,s=i.arrowSize/2,o=[{overlayX:"center",overlayY:"bottom",originX:"center",originY:"top",panelClass:["bottom","center"],offsetY:-1*s},{overlayX:"start",overlayY:"bottom",originX:"center",originY:"top",panelClass:["bottom","left"],offsetX:-1*r,offsetY:-1*s},{overlayX:"end",overlayY:"bottom",originX:"center",originY:"top",panelClass:["bottom","right"],offsetX:r,offsetY:-1*s},{overlayX:"center",overlayY:"top",originX:"center",originY:"bottom",panelClass:["top","center"],offsetY:s},{overlayX:"start",overlayY:"top",originX:"center",originY:"bottom",panelClass:["top","left"],offsetX:-1*r,offsetY:s},{overlayX:"end",overlayY:"top",originX:"center",originY:"bottom",panelClass:["top","right"],offsetX:r,offsetY:s}],a=this.overlay.position().flexibleConnectedTo(t).withPush(!1).withFlexibleDimensions(!1).withPositions(o),l=this.overlay.create({hasBackdrop:!0,backdropClass:n.backdropClass,panelClass:n.panelClass,positionStrategy:a,scrollStrategy:this.overlay.scrollStrategies.reposition()}),c=new f(l,a,i),h=l.attach(new u.C5(_,null,new u.nK(this.injector,new WeakMap([[f,c]])))).instance;return e instanceof d.Rgc?h.attachTemplatePortal(new u.UE(e,this.appRef.components[0].instance,{$implicit:n.data,popover:c})):h.attachComponentPortal(new u.C5(e,null,new u.nK(this.injector,new WeakMap([[y,n.data],[f,c]])))),c}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(v.aV),d.LFG(d.zs3),d.LFG(d.z2F))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac}),e})();var x=n(3680)},86741:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(31572),r=n(61511);function s(e,t){if(1&e&&(i.TgZ(0,"div",3),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.ekj("avatar-small","small"===e.size)("avatar-big","big"===e.size),i.xp6(1),i.hij(" ",e.capitalLetters()," ")}}function o(e,t){if(1&e&&i._UZ(0,"img",4),2&e){const e=i.oxw();i.ekj("avatar-small","small"===e.size)("avatar-big","big"===e.size),i.Q6J("src",null==e.loggedUser?null:e.loggedUser.picture,i.LSH)("alt",e.capitalLetters())}}let a=(()=>{class e{constructor(){this.size="small",this.class="",this.profileSettings=new i.vpe}capitalLetters(){var e,t,n,i;let r="";return(null===(e=this.loggedUser)||void 0===e?void 0:e.firstName)&&(r+=null===(t=this.loggedUser)||void 0===t?void 0:t.firstName[0]),(null===(n=this.loggedUser)||void 0===n?void 0:n.lastName)&&(r+=null===(i=this.loggedUser)||void 0===i?void 0:i.lastName[0]),r.toUpperCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["yam-ui-avatar"]],inputs:{loggedUser:"loggedUser",size:"size",class:"class"},outputs:{profileSettings:"profileSettings"},decls:3,vars:4,consts:[[1,"container","text-center"],["class","avatar-letters rounded-circle",3,"avatar-small","avatar-big",4,"ngIf"],["class","avatar rounded-circle",3,"avatar-small","avatar-big","src","alt",4,"ngIf"],[1,"avatar-letters","rounded-circle"],[1,"avatar","rounded-circle",3,"src","alt"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,s,2,5,"div",1),i.YNc(2,o,1,6,"img",2),i.qZA()),2&e&&(i.Tol(t.class),i.xp6(1),i.Q6J("ngIf",!(null!=t.loggedUser&&t.loggedUser.picture)),i.xp6(1),i.Q6J("ngIf",null==t.loggedUser?null:t.loggedUser.picture))},directives:[r.O5],styles:[".avatar[_ngcontent-%COMP%]{background-color:#fff;border:2px solid #fff}.avatar-letters[_ngcontent-%COMP%]{background-color:var(--accent-color);color:var(--grey-50);font-size:16px;font-weight:600}.avatar-small[_ngcontent-%COMP%]{width:40px;height:40px;line-height:40px}.avatar-big[_ngcontent-%COMP%]{width:70px;height:70px;line-height:70px;font-size:20px}.container[_ngcontent-%COMP%]{border:none;background-color:transparent;padding:0}"],changeDetection:0}),e})()},3680:(e,t,n)=>{"use strict";n.d(t,{d:()=>y});var i=n(29609),r=n.n(i),s=n(87065);const o={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};s._adapters._date.override("function"==typeof r()?{_id:"moment",formats:function(){return o},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=r()(e,t):e instanceof r()||(e=r()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return r()(e).format(t)},add:function(e,t,n){return r()(e).add(t,n).valueOf()},diff:function(e,t,n){return r()(e).diff(r()(t),n)},startOf:function(e,t,n){return e=r()(e),"isoWeek"===t?(n=Math.trunc(Math.min(Math.max(0,n),6)),e.isoWeekday(n).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return r()(e).endOf(t).valueOf()}}:{});var a=n(31572),l=n(81940),c=n.n(l),u=n(21471),d=n(61511),h=n(74301);const p=["ref"],f=["tipdiv"];function m(e,t){if(1&e&&a._UZ(0,"yam-ui-ranges-legend",9),2&e){const e=a.oxw(2);a.Q6J("ranges",e.ranges)("showRangeNameAsValue",e.showRangeNameAsValue)}}function g(e,t){if(1&e&&a.YNc(0,m,1,2,"yam-ui-ranges-legend",8),2&e){const e=a.oxw();a.Q6J("ngIf",e.ranges)}}function _(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",10),a.TgZ(1,"span",11),a.NdJ("click",function(t){a.CHM(e);const n=a.oxw(),i=a.MAs(1);return n.showPopover(i,t.target)}),a.TgZ(2,"span",12),a._uU(3," article "),a.qZA(),a.TgZ(4,"span",13),a._uU(5,"Legend"),a.qZA(),a.qZA(),a.qZA()}}function v(e,t){if(1&e&&(a.TgZ(0,"div",14),a._uU(1),a.ALo(2,"json"),a.qZA()),2&e){const e=a.oxw();a.xp6(1),a.hij(" ",a.lcZ(2,1,e.tooltip)," ")}}let y=(()=>{class e{constructor(e,t){this.zone=e,this.injector=t,this._defaultOptions={responsive:!0,interaction:{mode:"point"},maintainAspectRatio:!1,plugins:{tooltip:{mode:"point",intersect:!1,position:"nearest"},legend:{display:!0,align:"end",position:"top"}},datasets:{line:{borderWidth:1.6,tension:.5,pointRadius:2.2}}},this.chartClick=new a.vpe,this.mouseMove=new a.vpe,this.datasetKeyProvider=e=>e.label}get ranges(){if(this.options&&this.options.plugins){const e=this.options.plugins.yAxisRanges;if(e)return e.ranges}return null}get showRangeNameAsValue(){if(this.options&&this.options.plugins){const e=this.options.plugins.yAxisRanges;if(e)return!!e.showRangeNameAsValue}return!1}showPopover(e,t){this.injector.get(u.XJ).open(e,t)}ngAfterViewInit(){this.renderChart()}ngOnChanges(e){if(this.chartInstance&&(this.redraw||e.options))return this.chartInstance.destroy(),void this.renderChart();if(e.data&&this.updateChart(),e.tooltip&&this.tooltip){const e=10;this.tipDiv&&(this.tipDiv.nativeElement.style.left=(this.ref.nativeElement.offsetLeft+this.tooltip.event.offsetX+e).toString()+"px",this.tipDiv.nativeElement.style.top=(this.ref.nativeElement.offsetTop+this.tooltip.event.offsetY+e).toString()+"px")}}renderChart(){const e=this.ref.nativeElement,{Chart:t}=n(87065);this.zone.runOutsideAngular(()=>{this.chartInstance=new t(e,{type:this.type,data:this.data,options:c()(this._defaultOptions,this.options),plugins:this.plugins})})}addData(e,t,n,i){var r,s;null===(r=this.data.datasets.find(e=>this.datasetKeyProvider(e)===n))||void 0===r||r.data.push(e),null===(s=this.data.labels)||void 0===s||s.push(t),this.chartInstance.update(i)}updateChart(){if(!this.chartInstance)return;const e=this.chartInstance.data&&this.chartInstance.data.datasets||[],t={};e.forEach(e=>{t[this.datasetKeyProvider(e)]=e}),this.data.datasets.forEach(n=>{const i=t[this.datasetKeyProvider(n)];if(i&&i.type===n.type){for(const t of Object.keys(n))"data"!==t&&(i[t]=n[t]);for(const t of Object.keys(i))n.hasOwnProperty(t)||delete i[t];const e=i.data;e.length=0,e.push(...n.data)}else e.push(n)}),this.chartInstance.data.datasets.filter(e=>!this.data.datasets.find(t=>t.label===e.label)).map(e=>e.label).forEach(e=>this.chartInstance.data.datasets.splice(this.chartInstance.data.datasets.findIndex(t=>t.label===e),1)),this.chartInstance.data.labels=this.data.labels,this.chartInstance.update(this.updateMode)}handleOnClick(e){this.chartClick.emit({elements:this.chartInstance.getElementsAtEventForMode(e,"index",{intersect:!0},!1),element:this.chartInstance.getElementsAtEventForMode(e,"nearest",{intersect:!0},!1),dataset:this.chartInstance.getElementsAtEventForMode(e,"dataset",{intersect:!0},!1),$event:e})}handleMouseMove(e){}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.R0b),a.Y36(a.zs3))},e.\u0275cmp=a.Xpm({type:e,selectors:[["yam-ui-chart-js"]],viewQuery:function(e,t){if(1&e&&(a.Gf(p,5),a.Gf(f,7)),2&e){let e;a.iGM(e=a.CRH())&&(t.ref=e.first),a.iGM(e=a.CRH())&&(t.tipDiv=e.first)}},inputs:{type:"type",data:"data",options:"options",plugins:"plugins",redraw:"redraw",updateMode:"updateMode",tooltip:"tooltip",datasetKeyProvider:"datasetKeyProvider"},outputs:{chartClick:"chartClick",mouseMove:"mouseMove"},features:[a.TTD],decls:9,vars:2,consts:[["template",""],["class","text-right pr-1",4,"ngIf"],[1,"chart-container"],[3,"click","mousemove"],["ref",""],[1,"canvas-tooltip"],["tipdiv",""],["class","canvas-tooltip-content",4,"ngIf"],[3,"ranges","showRangeNameAsValue",4,"ngIf"],[3,"ranges","showRangeNameAsValue"],[1,"text-right","pr-1"],[1,"legend-button","cursor-pointer","d-inline-flex","align-items-center","justify-content-end",3,"click"],[1,"mr-2","cursor-pointer","material-icons-outlined"],["translate",""],[1,"canvas-tooltip-content"]],template:function(e,t){1&e&&(a.YNc(0,g,1,1,"ng-template",null,0,a.W1O),a.YNc(2,_,6,0,"div",1),a.TgZ(3,"div",2),a.TgZ(4,"canvas",3,4),a.NdJ("click",function(e){return t.handleOnClick(e)})("mousemove",function(e){return t.handleMouseMove(e)}),a.qZA(),a.TgZ(6,"div",5,6),a.YNc(8,v,3,3,"div",7),a.qZA(),a.qZA()),2&e&&(a.xp6(2),a.Q6J("ngIf",t.ranges),a.xp6(6),a.Q6J("ngIf",t.tooltip))},directives:[d.O5,h.D],pipes:[d.Ts],styles:["[_nghost-%COMP%]{display:block;width:100%;display:flex;flex-direction:column;flex-grow:1}.chart-container[_ngcontent-%COMP%]{position:relative;flex-grow:1;height:0;flex-basis:0}.legend-button[_ngcontent-%COMP%]{font-weight:600;font-size:14px;color:var(--accent-color)}"],changeDetection:0}),e})()},63286:(e,t,n)=>{"use strict";n.d(t,{D:()=>d});var i=n(45411),r=n(84608),s=n(31572),o=n(61511),a=n(15980);function l(e,t){if(1&e&&(s.TgZ(0,"h2",4),s._uU(1),s.qZA()),2&e){const e=s.oxw();s.xp6(1),s.Oqu(e.data.title)}}let c=(()=>{class e{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(r.so),s.Y36(r.WI))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-confirm-dialog"]],decls:9,vars:5,consts:[["mat-dialog-title","",4,"ngIf"],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"],["mat-dialog-title",""]],template:function(e,t){1&e&&(s.YNc(0,l,2,1,"h2",0),s.TgZ(1,"mat-dialog-content"),s.TgZ(2,"p"),s._uU(3),s.qZA(),s.qZA(),s.TgZ(4,"mat-dialog-actions",1),s.TgZ(5,"button",2),s._uU(6),s.qZA(),s.TgZ(7,"button",3),s._uU(8),s.qZA(),s.qZA()),2&e&&(s.Q6J("ngIf",t.data.title),s.xp6(3),s.Oqu(t.data.message),s.xp6(3),s.Oqu(t.data.cancelText),s.xp6(1),s.Q6J("mat-dialog-close",!0),s.xp6(1),s.Oqu(t.data.okText))},directives:[o.O5,r.xY,r.H8,a.lW,r.ZT,r.uh],encapsulation:2}),e})();var u=n(48160);let d=(()=>{class e extends i.x{constructor(e,t){super(t),this.translateService=e,this.dialog=t}confirm(e="",t="",n="",i="",r=!0){return n||(n=this.translateService.instant("Cancel")),r||(n=""),i||(i=this.translateService.instant("Ok")),this.show(c,{title:t,message:e,okText:i,cancelText:n},{width:"320px"}).afterClosed().toPromise()}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(u.sK),s.LFG(r.uw))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},61517:(e,t,n)=>{"use strict";n.d(t,{r:()=>k});var i=n(31572),r=n(61511),s=n(8055),o=n(15980),a=n(43691);function l(e,t){1&e&&i.Hsn(0)}function c(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){const t=i.CHM(e).$implicit;return i.oxw(2).onMenuItemClick(t.handler)}),i._uU(1),i.qZA()}if(2&e){const e=t.$implicit;i.xp6(1),i.hij(" ",e.label," ")}}function u(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"span"),i.TgZ(1,"mat-menu",null,3),i.YNc(3,c,2,1,"button",4),i.qZA(),i.TgZ(4,"span",5),i.NdJ("click",function(t){return i.CHM(e),i.oxw().openMenu(t)}),i.GkF(5,6),i.qZA(),i.qZA()}if(2&e){const e=i.MAs(2),t=i.oxw(),n=i.MAs(4);i.xp6(3),i.Q6J("ngForOf",t.menuItems),i.xp6(1),i.Q6J("matMenuTriggerFor",e),i.xp6(1),i.Q6J("ngTemplateOutlet",n)}}function d(e,t){1&e&&i.GkF(0)}function h(e,t){if(1&e&&(i.TgZ(0,"button",13),i.YNc(1,d,1,0,"ng-container",14),i.qZA()),2&e){const e=i.oxw(2),t=i.MAs(1);i.Q6J("color",e.getColor())("type",e.buttonType)("disabled",e.disabled),i.xp6(1),i.Q6J("ngTemplateOutlet",t)}}function p(e,t){1&e&&i.GkF(0)}function f(e,t){if(1&e&&(i.TgZ(0,"button",15),i.YNc(1,p,1,0,"ng-container",14),i.qZA()),2&e){const e=i.oxw(2),t=i.MAs(1);i.Q6J("color",e.getColor())("type",e.buttonType)("disabled",e.disabled),i.xp6(1),i.Q6J("ngTemplateOutlet",t)}}function m(e,t){1&e&&i.GkF(0)}function g(e,t){if(1&e&&(i.TgZ(0,"button",16),i.YNc(1,m,1,0,"ng-container",14),i.qZA()),2&e){const e=i.oxw(2),t=i.MAs(1);i.Q6J("color",e.getColor())("type",e.buttonType)("disabled",e.disabled),i.xp6(1),i.Q6J("ngTemplateOutlet",t)}}function _(e,t){1&e&&i.GkF(0)}function v(e,t){if(1&e&&(i.TgZ(0,"mat-icon"),i.YNc(1,_,1,0,"ng-container",14),i.qZA()),2&e){i.oxw(3);const e=i.MAs(1);i.xp6(1),i.Q6J("ngTemplateOutlet",e)}}function y(e,t){}function b(e,t){1&e&&i.YNc(0,y,0,0,"ng-template",null,19,i.W1O)}function w(e,t){if(1&e&&(i.TgZ(0,"button",17),i.YNc(1,v,2,1,"mat-icon",18),i.YNc(2,b,2,0,void 0,14),i.qZA()),2&e){const e=i.oxw(2),t=i.MAs(1);i.Q6J("color",e.getColor())("type",e.buttonType)("disabled",e.disabled),i.xp6(1),i.Q6J("ngIf",!e.customIcon),i.xp6(1),i.Q6J("ngTemplateOutlet",t)}}function x(e,t){if(1&e&&(i.TgZ(0,"span",8),i.YNc(1,h,2,4,"button",9),i.YNc(2,f,2,4,"button",10),i.YNc(3,g,2,4,"button",11),i.YNc(4,w,3,5,"button",12),i.qZA()),2&e){const e=i.oxw();i.Q6J("ngSwitch",e.variant),i.xp6(1),i.Q6J("ngSwitchCase","flat"),i.xp6(1),i.Q6J("ngSwitchCase","stroked"),i.xp6(1),i.Q6J("ngSwitchCase","basic"),i.xp6(1),i.Q6J("ngSwitchCase","icon")}}const S=["*"];let k=(()=>{class e{constructor(){this.variant="flat",this.buttonType="button",this.menuItems=[],this.color="basic",this.customIcon=!1,this.disabled=!1}getColor(){return this.color}onMenuItemClick(e){e()}openMenu(e){e.stopImmediatePropagation()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["yam-ui-button"]],inputs:{variant:"variant",buttonType:"buttonType",badge:"badge",menuItems:"menuItems",color:"color",customIcon:"customIcon",disabled:"disabled"},ngContentSelectors:S,decls:5,vars:2,consts:[["contentTpl",""],[4,"ngIf","ngIfElse"],["buttonTpl",""],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],[3,"matMenuTriggerFor","click"],[3,"ngTemplateOutlet"],["mat-menu-item","",3,"click"],[3,"ngSwitch"],["mat-flat-button","",3,"color","type","disabled",4,"ngSwitchCase"],["mat-stroked-button","",3,"color","type","disabled",4,"ngSwitchCase"],["mat-button","",3,"color","type","disabled",4,"ngSwitchCase"],["mat-icon-button","",3,"color","type","disabled",4,"ngSwitchCase"],["mat-flat-button","",3,"color","type","disabled"],[4,"ngTemplateOutlet"],["mat-stroked-button","",3,"color","type","disabled"],["mat-button","",3,"color","type","disabled"],["mat-icon-button","",3,"color","type","disabled"],[4,"ngIfCustomIcon","ngIf"],["custom_icon",""]],template:function(e,t){if(1&e&&(i.F$t(),i.YNc(0,l,1,0,"ng-template",null,0,i.W1O),i.YNc(2,u,6,3,"span",1),i.YNc(3,x,5,5,"ng-template",null,2,i.W1O)),2&e){const e=i.MAs(4);i.xp6(2),i.Q6J("ngIf",t.menuItems.length>0)("ngIfElse",e)}},directives:[r.O5,s.VK,r.sg,s.p6,r.tP,s.OP,r.RF,r.n9,o.lW,a.Hw],styles:[""],changeDetection:0}),e})()},21295:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var i=n(31572),r=n(16073),s=n(29236);let o=(()=>{class e{constructor(){this.label="",this.labelPosition="before",this.disabled=!1,this.color="accent",this.value=!1,this.valueChanged=new i.vpe,this.propagateChange=e=>{},this.onTouched=()=>{}}onChange(){this.propagateChange(this.value),this.onTouched(),this.valueChanged.emit(this.value)}writeValue(e){this.value=e}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["yam-ui-checkbox"]],inputs:{label:"label",labelPosition:"labelPosition",disabled:"disabled",color:"color",value:"value"},outputs:{valueChanged:"valueChanged"},features:[i._Bn([{provide:r.JU,useExisting:(0,i.Gpc)(()=>e),multi:!0}])],decls:2,vars:4,consts:[[1,"example-margin",3,"ngModel","labelPosition","disabled","ngModelChange"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-checkbox",0),i.NdJ("ngModelChange",function(e){return t.value=e})("ngModelChange",function(){return t.onChange()}),i._uU(1),i.qZA()),2&e&&(i.Q6J("ngModel",t.value)("labelPosition",t.labelPosition)("disabled",t.disabled),i.xp6(1),i.Oqu(t.label))},directives:[s.oG,r.JJ,r.On],styles:[".mat-checkbox-label{font-size:12px;color:#605d66;font-weight:500}"],changeDetection:0}),e})()},55395:(e,t,n)=>{"use strict";n.d(t,{H:()=>p});var i=n(31572),r=n(16073),s=n(96661),o=n(66283),a=n(4786),l=n(61511),c=n(71522);function u(e,t){if(1&e&&(i.TgZ(0,"mat-option",5),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.Q6J("value",null),i.xp6(1),i.Oqu(e.nullDescription)}}function d(e,t){if(1&e&&(i.TgZ(0,"mat-option",5),i._uU(1),i.qZA()),2&e){const e=t.$implicit;i.Q6J("value",e.value),i.xp6(1),i.hij(" ",e.description," ")}}function h(e,t){if(1&e&&(i.TgZ(0,"mat-error"),i._uU(1),i.qZA()),2&e){const e=t.$implicit;i.xp6(1),i.Oqu(e)}}let p=(()=>{class e{constructor(e){this.cd=e,this.label="",this.placeholder="",this.items=[],this.allowNull=!1,this.nullDescription="None",this.disabled=!1,this.multiple=!1,this.value="",this.panelClass="",this.errors=[],this.readOnly=!1,this.matcher=new s.o(this),this.onValueChanged=new i.vpe,this.onTouched=()=>{}}onChange(){this.propagateChange&&this.propagateChange(this.value),this.onValueChanged.emit(this.value),this.onTouched()}writeValue(e){this.value=e,this.cd.detectChanges()}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.sBO))},e.\u0275cmp=i.Xpm({type:e,selectors:[["yam-ui-select"]],inputs:{label:"label",placeholder:"placeholder",items:"items",allowNull:"allowNull",nullDescription:"nullDescription",disabled:"disabled",multiple:"multiple",value:"value",panelClass:"panelClass",errors:"errors",shouldShowError:"shouldShowError",readOnly:"readOnly"},outputs:{onValueChanged:"onValueChanged"},features:[i._Bn([{provide:r.JU,useExisting:(0,i.Gpc)(()=>e),multi:!0}])],decls:7,vars:10,consts:[["appearance","outline"],[3,"ngModel","disabled","placeholder","errorStateMatcher","panelClass","multiple","ngModelChange"],[3,"value",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.TgZ(1,"mat-label"),i._uU(2),i.qZA(),i.TgZ(3,"mat-select",1),i.NdJ("ngModelChange",function(e){return t.value=e})("ngModelChange",function(){return t.onChange()}),i.YNc(4,u,2,2,"mat-option",2),i.YNc(5,d,2,2,"mat-option",3),i.qZA(),i.YNc(6,h,2,1,"mat-error",4),i.qZA()),2&e&&(i.xp6(2),i.Oqu(t.label),i.xp6(1),i.Q6J("ngModel",t.value)("disabled",t.disabled||t.readOnly)("placeholder",t.placeholder)("errorStateMatcher",t.matcher)("panelClass",t.panelClass)("multiple",t.multiple),i.xp6(1),i.Q6J("ngIf",t.allowNull),i.xp6(1),i.Q6J("ngForOf",t.items),i.xp6(1),i.Q6J("ngForOf",t.errors))},directives:[o.KE,o.hX,a.gD,r.JJ,r.On,l.O5,l.sg,c.ey,o.TO],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mat-form-field-hide-placeholder .mat-select-placeholder{color:inherit;-webkit-text-fill-color:inherit;opacity:.5;font-size:12px}"],changeDetection:0}),e})()},96661:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});class i{constructor(e){this.cmp=e}isErrorState(e){return null!=this.cmp.shouldShowError?this.cmp.shouldShowError&&!!this.cmp.errors.length:e.touched&&!!this.cmp.errors.length}}},45317:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var i=n(31572),r=n(16073),s=n(27521);let o=(()=>{class e{constructor(){this.label="",this.labelPosition="before",this.disabled=!1,this.color="accent",this.value=!1,this.propagateChange=e=>{},this.onTouched=()=>{}}onChange(){this.propagateChange(this.value),this.onTouched()}writeValue(e){this.value=e}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["yam-ui-slide-toggle"]],inputs:{label:"label",labelPosition:"labelPosition",disabled:"disabled",color:"color",value:"value"},features:[i._Bn([{provide:r.JU,useExisting:(0,i.Gpc)(()=>e),multi:!0}])],decls:3,vars:5,consts:[[3,"labelPosition","disabled","color","ngModel","ngModelChange"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-slide-toggle",0),i.NdJ("ngModelChange",function(e){return t.value=e})("ngModelChange",function(){return t.onChange()}),i.TgZ(1,"span"),i._uU(2),i.qZA(),i.qZA()),2&e&&(i.Q6J("labelPosition",t.labelPosition)("disabled",t.disabled)("color",t.color)("ngModel",t.value),i.xp6(2),i.Oqu(t.label))},directives:[s.Rr,r.JJ,r.On],styles:["span[_ngcontent-%COMP%]{font-size:12px}"],changeDetection:0}),e})()},47906:(e,t,n)=>{"use strict";n.d(t,{a:()=>f});var i=n(31572),r=n(16073),s=n(96661),o=n(66283),a=n(26756),l=n(61511),c=n(43691);function u(e,t){if(1&e&&(i.TgZ(0,"mat-icon",6),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.xp6(1),i.Oqu(e.icon)}}function d(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"mat-icon",7),i.NdJ("click",function(){i.CHM(e);const t=i.oxw();return t.hide=!t.hide}),i._uU(1),i.qZA()}if(2&e){const e=i.oxw();i.xp6(1),i.Oqu(e.hide?"visibility_off":"visibility")}}function h(e,t){if(1&e&&(i.TgZ(0,"mat-hint"),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.xp6(1),i.Oqu(e.hint)}}function p(e,t){if(1&e&&(i.TgZ(0,"mat-error"),i._uU(1),i.qZA()),2&e){const e=t.$implicit;i.xp6(1),i.Oqu(e)}}let f=(()=>{class e{constructor(){this.type="flat",this.inputType="text",this.label="",this.placeholder="",this.icon="",this.errors=[],this.readOnly=!1,this.value="",this.disabled=!1,this.matcher=new s.o(this),this.blur=new i.vpe,this.propagateChange=e=>{},this.onTouched=()=>{},this.hide=!0}get isPassword(){return"password"===this.inputType}get internalInputType(){return this.isPassword?this.hide?"password":"text":this.inputType}onChange(){this.propagateChange(this.value),this.onTouched()}writeValue(e){this.value=e}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}onBlur(){this.blur.emit()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["yam-ui-text-field"]],inputs:{type:"type",inputType:"inputType",label:"label",placeholder:"placeholder",icon:"icon",errors:"errors",shouldShowError:"shouldShowError",readOnly:"readOnly",disabled:"disabled",hint:"hint"},outputs:{blur:"blur"},features:[i._Bn([{provide:r.JU,useExisting:(0,i.Gpc)(()=>e),multi:!0}])],decls:8,vars:10,consts:[["appearance","outline"],["ngDefaultControl","","matInput","",1,"mat-input",3,"type","placeholder","ngModel","disabled","errorStateMatcher","ngModelChange","blur"],["class","material-icons-outlined","matSuffix","",4,"ngIf"],["matSuffix","","class","material-icons-outlined cursor-pointer",3,"click",4,"ngIf"],[4,"ngIf"],[4,"ngFor","ngForOf"],["matSuffix","",1,"material-icons-outlined"],["matSuffix","",1,"material-icons-outlined","cursor-pointer",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.TgZ(1,"mat-label"),i._uU(2),i.qZA(),i.TgZ(3,"input",1),i.NdJ("ngModelChange",function(e){return t.value=e})("ngModelChange",function(){return t.onChange()})("blur",function(){return t.onBlur()}),i.qZA(),i.YNc(4,u,2,1,"mat-icon",2),i.YNc(5,d,2,1,"mat-icon",3),i.YNc(6,h,2,1,"mat-hint",4),i.YNc(7,p,2,1,"mat-error",5),i.qZA()),2&e&&(i.xp6(2),i.Oqu(t.label),i.xp6(1),i.Q6J("type",t.internalInputType)("placeholder",t.placeholder)("ngModel",t.value)("disabled",t.disabled||t.readOnly)("errorStateMatcher",t.matcher),i.xp6(1),i.Q6J("ngIf",t.icon),i.xp6(1),i.Q6J("ngIf",t.isPassword),i.xp6(1),i.Q6J("ngIf",t.hint),i.xp6(1),i.Q6J("ngForOf",t.errors))},directives:[o.KE,o.hX,a.Nt,r.Fj,r.JJ,r.On,l.O5,l.sg,c.Hw,o.R9,o.bx,o.TO],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%} .mat-form-field-appearance-outline .mat-form-field-flex{margin-top:0!important}"],changeDetection:0}),e})()},45411:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var i=n(31572),r=n(84608);let s=(()=>{class e{constructor(e){this.dialog=e}show(e,t,n={}){return this.dialog.open(e,Object.assign(Object.assign({},n),{data:t}))}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.uw))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},22553:(e,t,n)=>{"use strict";n.d(t,{$:()=>l});var i=n(31572),r=n(72),s=n(85425);const o=[[["","sidebar",""]],[["","header",""]],"*"],a=["[sidebar]","[header]","*"];let l=(()=>{class e{constructor(e,t,n){this.breakpointObserver=e,this.cd=t,this.zone=n,this._opened=!0,this._isMobile=!1}get isMobile(){return this._isMobile}get opened(){return!this._isMobile||this._opened}get mode(){return this._isMobile?"over":"side"}ngOnInit(){this._subscription=this.breakpointObserver.observe("(min-width: 992px)").subscribe(e=>{!e.matches!==this._isMobile&&(this._isMobile=!e.matches,this._opened=!this._isMobile,this.cd.detectChanges())})}ngOnDestroy(){var e;null===(e=this._subscription)||void 0===e||e.unsubscribe()}setOpened(e){this._opened=e,this.cd.detectChanges()}backdropClick(){this._opened=!1,this.cd.detectChanges()}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(r.Yg),i.Y36(i.sBO),i.Y36(i.R0b))},e.\u0275cmp=i.Xpm({type:e,selectors:[["yam-ui-layout"]],ngContentSelectors:a,decls:9,vars:3,consts:[[1,"sidenav-container",3,"hasBackdrop","backdropClick"],["color","primary",1,"sidenav",3,"mode","opened"],["sidenav",""],[1,"sidenav-content"],[1,"scroll-wrapper"],[1,"content-wrapper"]],template:function(e,t){1&e&&(i.F$t(o),i.TgZ(0,"mat-sidenav-container",0),i.NdJ("backdropClick",function(){return t.backdropClick()}),i.TgZ(1,"mat-sidenav",1,2),i.Hsn(3),i.qZA(),i.TgZ(4,"mat-sidenav-content",3),i.Hsn(5,1),i.TgZ(6,"div",4),i.TgZ(7,"div",5),i.Hsn(8,2),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("hasBackdrop",t.isMobile),i.xp6(1),i.Q6J("mode",t.mode)("opened",t.opened))},directives:[s.TM,s.JX,s.Rh],styles:[".sidenav-container[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;width:100%}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{width:230px;box-shadow:2px 0 4px 0 rgba(0,0,0,.2);z-index:4}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow:hidden}.sidenav-container[_ngcontent-%COMP%] .scroll-wrapper[_ngcontent-%COMP%]{overflow:auto;display:flex;flex-direction:column;flex-grow:1}.sidenav-container[_ngcontent-%COMP%] .scroll-wrapper[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-grow:1;min-height:400px}"],changeDetection:0}),e})()},74301:(e,t,n)=>{"use strict";n.d(t,{D:()=>a});var i=n(31572),r=n(61511);function s(e,t){if(1&e&&(i.TgZ(0,"span",3),i._uU(1),i.qZA()),2&e){const e=i.oxw().$implicit,t=i.oxw();i.xp6(1),i.Oqu(t.getRangeDescription(e))}}function o(e,t){if(1&e&&(i.TgZ(0,"div"),i._UZ(1,"span",1),i.YNc(2,s,2,1,"span",2),i.TgZ(3,"span"),i._uU(4),i.qZA(),i.qZA()),2&e){const e=t.$implicit,n=t.index,r=i.oxw();i.ekj("semibold",r.isCurrentRange(n)),i.xp6(1),i.Udp("background-color",e.color),i.xp6(1),i.Q6J("ngIf",!r.showRangeNameAsValue),i.xp6(2),i.Oqu(e.status)}}let a=(()=>{class e{isCurrentRange(e){if(null!=this.value){const t=this.value;return e===this.ranges.findIndex(e=>(e.min||0)<=t&&t<(e.max||Number.MAX_VALUE))}return!1}getRangeDescription(e){return null!=e.max&&null!=e.min?`${e.min} - ${e.max}`:null==e.max?`>= ${e.min}`:null==e.min?`< ${e.max}`:""}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["yam-ui-ranges-legend"]],inputs:{ranges:"ranges",showRangeNameAsValue:"showRangeNameAsValue",value:"value"},decls:1,vars:1,consts:[[3,"semibold",4,"ngFor","ngForOf"],[1,"mr-2","range-color"],["class","mr-2",4,"ngIf"],[1,"mr-2"]],template:function(e,t){1&e&&i.YNc(0,o,5,6,"div",0),2&e&&i.Q6J("ngForOf",t.ranges)},directives:[r.sg,r.O5],styles:[".range-color[_ngcontent-%COMP%]{display:inline-block;height:1rem;width:1rem}.semibold[_ngcontent-%COMP%]{font-weight:600}"],changeDetection:0}),e})()},71789:(e,t,n)=>{"use strict";n.d(t,{h:()=>p});var i=n(10709),r=n(73070),s=n(31572),o=n(72),a=n(61511),l=n(61517);function c(e,t){if(1&e&&(s.TgZ(0,"div",9),s._uU(1),s.qZA()),2&e){const e=s.oxw(2);s.xp6(1),s.hij(" ",e.title," ")}}function u(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"div",5),s.YNc(1,c,2,1,"div",6),s.TgZ(2,"div",7),s.TgZ(3,"yam-ui-button",8),s.NdJ("click",function(){return s.CHM(e),s.oxw().toggle()}),s._uU(4),s.qZA(),s.qZA(),s.qZA()}if(2&e){const e=s.oxw();s.xp6(1),s.Q6J("ngIf",!e.collapsed&&e.title),s.xp6(1),s.ekj("text-right",!e.isRight),s.xp6(2),s.Oqu(e.collapsed?"menu":"menu_open")}}function d(e,t){1&e&&s.Hsn(0,0,["*ngIf","!isCollapsed || isClosing"])}const h=["*"];let p=(()=>{class e{constructor(e,t,n,i,r){this.eRef=e,this.breakpointObserver=t,this.cd=n,this.zone=i,this.themeService=r,this.title="",this.showTitle=!0,this.collapsed=!1,this.panelWidth=320,this.isRight=!1,this.allowCollapse=!0,this.isMobile=!1,this.isOpening=!1,this.isClosing=!1,this.subscriptions=[]}toggle(){this.collapsed=!this.collapsed}open(){this.collapsed=!1,this.cd.detectChanges()}close(){this.collapsed=!0,this.cd.detectChanges()}getTheme(){return this.themeService.isDark(document.documentElement.style.getPropertyValue("--theme-toolbar-1-bg"))?"dark-theme":"light-theme"}get isCollapsed(){return this.collapsed}clickout(e){this.eRef.nativeElement.contains(e.target)||this.isMobile&&(this.collapsed=!0)}ngOnInit(){this.subscriptions.push(this.breakpointObserver.observe("(min-width: 992px)").subscribe(e=>{!e.matches!==this.isMobile&&(this.isMobile=!e.matches,this.isMobile?this.collapsed=!0:this.allowCollapse||(this.collapsed=!1),this.cd.detectChanges())}))}onStart(e){"false"===e.toState?this.isOpening=!0:this.isClosing=!0}onDone(e){"false"===e.toState?this.isOpening=!1:this.isClosing=!1}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe())}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(o.Yg),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(r.f))},e.\u0275cmp=s.Xpm({type:e,selectors:[["yam-ui-side-panel"]],hostBindings:function(e,t){1&e&&s.NdJ("click",function(e){return t.clickout(e)},!1,s.evT)},inputs:{title:"title",showTitle:"showTitle",collapsed:"collapsed",panelWidth:"panelWidth",isRight:"isRight",allowCollapse:"allowCollapse"},ngContentSelectors:h,decls:5,vars:8,consts:[[1,"h-100",3,"ngClass"],[1,"panel-wrapper"],["class","panel-header d-flex align-items-center mat-title mt-3 mb-0",4,"ngIf"],[1,"panel-content","fading"],[4,"ngIf"],[1,"panel-header","d-flex","align-items-center","mat-title","mt-3","mb-0"],["class","fading title mx-3",4,"ngIf"],[1,"ml-auto","flex-grow-1"],["variant","icon",1,"icon",3,"click"],[1,"fading","title","mx-3"]],template:function(e,t){1&e&&(s.F$t(),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.NdJ("@collapse.start",function(e){return t.onStart(e)})("@collapse.done",function(e){return t.onDone(e)}),s.YNc(2,u,5,4,"div",2),s.TgZ(3,"div",3),s.YNc(4,d,1,0,"ng-content",4),s.qZA(),s.qZA(),s.qZA()),2&e&&(s.Q6J("ngClass",t.getTheme()),s.xp6(1),s.ekj("is-right",t.isRight),s.Q6J("@collapse",t.isCollapsed),s.xp6(1),s.Q6J("ngIf",t.allowCollapse||t.isMobile),s.xp6(1),s.Udp("width",t.panelWidth,"px"),s.xp6(1),s.Q6J("ngIf",!t.isCollapsed||t.isClosing))},directives:[a.mk,a.O5,l.r],styles:["[_nghost-%COMP%]{position:relative}@media screen and (max-width:992px){[_nghost-%COMP%]{width:40px;flex-shrink:0}}.panel-wrapper[_ngcontent-%COMP%]{background-color:var(--theme-toolbar-1-bg);z-index:10;display:flex;height:100%;flex-direction:column;box-shadow:2px 0 4px 0 rgba(0,0,0,.2);overflow:hidden}@media screen and (max-width:992px){.panel-wrapper[_ngcontent-%COMP%]{position:absolute}.panel-wrapper.is-right[_ngcontent-%COMP%]{right:0}}.panel-wrapper[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%]{flex-grow:1;overflow:hidden;display:flex;flex-direction:column}.is-right[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] .mat-icon{transform:rotate(180deg)}"],data:{animation:[(0,i.X$)("collapse",[(0,i.SB)("false",(0,i.oB)({width:i.l3})),(0,i.SB)("true",(0,i.oB)({width:"40px"})),(0,i.eR)("false => true",[(0,i.ru)([(0,i.IO)(".fading",(0,i.jt)("300ms ease",(0,i.oB)({opacity:0}))),(0,i.IO)(":self",(0,i.jt)("300ms ease-in",(0,i.oB)({width:"40px"})))])]),(0,i.eR)("true => false",[(0,i.ru)([(0,i.IO)(".fading",(0,i.jt)("300ms ease",(0,i.oB)({opacity:1}))),(0,i.IO)(":self",(0,i.jt)("300ms ease-out",(0,i.oB)({width:i.l3})))])])])]},changeDetection:0}),e})()},73070:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var i=n(55959),r=n(33569),s=n(31572);let o=(()=>{class e{constructor(){this._lightTheme=new i.xQ,this.colors=["#F46565","#83BBFF","#8BDD7C","#FFC765","#BF83F4","#FFE583","#C2C2C4","#9A999C"],this.measureColors=["#000000","#46DCCF","#7209B7","#3FB0E7","#FF41F0","#1D47FF","#A300FF","#FF932B","#AA2600","#ABABAB"],this.isLightTheme=this._lightTheme.asObservable(),this.multiply=(e,t)=>(e.b=Math.floor(e.b*t.b/255),e.g=Math.floor(e.g*t.g/255),e.r=Math.floor(e.r*t.r/255),r("rgb "+e.r+" "+e.g+" "+e.b))}setLightTheme(e){this._lightTheme.next(e)}getRandomColor(){return this.colors[Math.round(Math.random()*(this.colors.length-1))]}setTheme(e,t){const n=this.computeColors(t),i=r(t).toRgb();document.documentElement.style.setProperty("--theme-primary-rgb",`${i.r}, ${i.g}, ${i.b}`);for(const r of n){const e=`--theme-primary-contrast-${r.name}`,t=r.darkContrast?"#202121":"white";document.documentElement.style.setProperty(`--theme-primary-${r.name}`,r.hex),document.documentElement.style.setProperty(e,t)}const s=this.computeColors(e),o=r(e).toRgb();document.documentElement.style.setProperty("--theme-accent-rgb",`${o.r}, ${o.g}, ${o.b}`);for(const r of s){const e=`--theme-accent-contrast-${r.name}`,t=r.darkContrast?"#202121":"white";document.documentElement.style.setProperty(`--theme-accent-${r.name}`,r.hex),document.documentElement.style.setProperty(e,t)}}getColorObject(e,t){const n=r(e);return{name:t,hex:n.toHexString(),darkContrast:n.getBrightness()>=145}}isDark(e){return r(e).getBrightness()<=145}computeColors(e){const t=r("#ffffff"),n=this.multiply(r(e).toRgb(),r(e).toRgb()),i=r(e).tetrad();return[this.getColorObject(r.mix(t,e,12),"50"),this.getColorObject(r.mix(t,e,30),"100"),this.getColorObject(r.mix(t,e,50),"200"),this.getColorObject(r.mix(t,e,70),"300"),this.getColorObject(r.mix(t,e,85),"400"),this.getColorObject(r.mix(t,e,100),"500"),this.getColorObject(r.mix(n,e,87),"600"),this.getColorObject(r.mix(n,e,70),"700"),this.getColorObject(r.mix(n,e,54),"800"),this.getColorObject(r.mix(n,e,25),"900"),this.getColorObject(r.mix(n,i[3],15).saturate(80).lighten(65),"A100"),this.getColorObject(r.mix(n,i[3],15).saturate(80).lighten(55),"A200"),this.getColorObject(r.mix(n,i[3],15).saturate(100).lighten(45),"A400"),this.getColorObject(r.mix(n,i[3],15).saturate(100).lighten(40),"A700")]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})()},39658:(e,t,n)=>{"use strict";n.d(t,{r:()=>m});var i=n(38961),r=n.n(i),s=n(25181),o=n(31572),a=n(61511);function l(e,t){if(1&e&&(o.TgZ(0,"div"),o._uU(1),o.qZA()),2&e){const e=o.oxw();o.Tol(e.options.titleClass),o.uIk("aria-label",e.title),o.xp6(1),o.hij(" ",e.title," ")}}function c(e,t){if(1&e&&o._UZ(0,"div",8),2&e){const e=o.oxw();o.Tol(e.options.messageClass),o.Q6J("innerHTML",e.message,o.oJD)}}function u(e,t){if(1&e&&(o.TgZ(0,"div",9),o._uU(1),o.qZA()),2&e){const e=o.oxw();o.Tol(e.options.messageClass),o.uIk("aria-label",e.message),o.xp6(1),o.hij(" ",e.message," ")}}function d(e,t){if(1&e){const e=o.EpF();o.TgZ(0,"span",10),o.NdJ("click",function(){return o.CHM(e),o.oxw().remove()}),o._uU(1,"close"),o.qZA()}}function h(e,t){if(1&e&&(o.TgZ(0,"div"),o._UZ(1,"div",11),o.qZA()),2&e){const e=o.oxw();o.xp6(1),o.Udp("width",e.width+"%")}}let p=(()=>{class e extends s.FN{constructor(e,t){super(e,t),this.toastrService=e,this.toastPackage=t}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(s._W),o.Y36(s.PR))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ng-component"]],features:[o.qOj],decls:8,vars:7,consts:[[1,"d-flex","flex-grow-1"],[1,"flex-grow-1","d-flex","flex-column","justify-content-center"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[1,"text-right"],["class","material-icons-outlined cursor-pointer",3,"click",4,"ngIf"],[4,"ngIf"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"material-icons-outlined","cursor-pointer",3,"click"],[1,"toast-progress"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"div",1),o.YNc(2,l,2,4,"div",2),o.YNc(3,c,1,3,"div",3),o.YNc(4,u,2,4,"div",4),o.qZA(),o.TgZ(5,"div",5),o.YNc(6,d,2,0,"span",6),o.qZA(),o.qZA(),o.YNc(7,h,2,2,"div",7)),2&e&&(o.Udp("display","inactive"===t.state.value?"none":""),o.xp6(2),o.Q6J("ngIf",t.title),o.xp6(1),o.Q6J("ngIf",t.message&&t.options.enableHtml),o.xp6(1),o.Q6J("ngIf",t.message&&!t.options.enableHtml),o.xp6(2),o.Q6J("ngIf",t.options.closeButton),o.xp6(1),o.Q6J("ngIf",t.options.progressBar))},directives:[a.O5],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;position:relative;overflow:hidden}"]}),e})();var f=n(71403);let m=(()=>{class e{constructor(e,t,n){this.snackBar=e,this.zone=t,this.toastr=n}errorFeedback(e,t,n=!0){this.toastr.error(t,e,this.buildFeedbackOptions(n,"toast-error"))}successFeedback(e,t,n=!0){this.toastr.success(t,e,this.buildFeedbackOptions(n,"toast-success"))}warnNotification(e,t,n=!0){this.toastr.warning(t,e,this.buildNotificationOptions(n,"toast-warning"))}errorNotification(e,t,n=!0){this.toastr.error(t,e,this.buildNotificationOptions(n,"toast-error"))}buildFeedbackOptions(e,t){const n=this.buildOptions(e,t);return n.positionClass="toast-bottom-left",n}buildNotificationOptions(e=!1,t){const n=this.buildOptions(e,t);return n.positionClass="toast-top-right",n}buildOptions(e=!1,t){const n=r()(this.toastr.toastrConfig);return n.toastComponent=p,n.autoDismiss=e,n.disableTimeOut=!e,n.tapToDismiss=!1,n.progressBar=e,n.closeButton=!e,n}}return e.\u0275fac=function(t){return new(t||e)(o.LFG(f.ux),o.LFG(o.R0b),o.LFG(s._W))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},36382:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var i=n(46828),r=n(31572);let s=(()=>{class e{constructor(e){this.tooltip=e,this.tooltip.tooltipClass="custom-tooltip"}get yamUiTooltip(){return this.tooltip.message}set yamUiTooltip(e){this.tooltip.message=e}mouseenter(){this.tooltip.show()}mouseleave(){this.tooltip.hide()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(i.gM))},e.\u0275dir=r.lG2({type:e,selectors:[["","yamUiTooltip",""]],hostBindings:function(e,t){1&e&&r.NdJ("mouseenter",function(){return t.mouseenter()})("mouseleave",function(){return t.mouseleave()})},inputs:{yamUiTooltip:"yamUiTooltip"},features:[r._Bn([i.gM])]}),e})()},21989:(e,t,n)=>{"use strict";n.d(t,{n:()=>nt});var i=n(64762),r=n(86250),s=n(72),o=n(2522),a=n(61511),l=n(29063),c=n(31572),u=n(16073),d=n(50121),h=n(40084),p=n(71522),f=n(24621);n(19861),n(43490);let m=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[f.rt,p.BQ],p.BQ]}),e})();var g=n(15980),_=n(27439),v=n(29236),y=n(10033),b=n(15812),w=n(84608),x=n(45001),S=n(66283),k=n(43691),C=n(26756),M=n(85250),E=n(8055);n(11353);let T=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[p.BQ,a.ez],p.BQ]}),e})();var A=n(4786),D=n(85425),P=n(27521),L=n(46594),O=n(71403),I=n(55109),R=n(33104),Y=n(46828),F=n(71398),j=n(87065),H=n(25233);function N(e,t,n){return Math.min(Math.max(e,t),n)}function B(e,t){return(0,H.v)(e.options.realtime[t],e.chart.options.plugins.streaming[t])}function U(e,{x:t,y:n},{xAxisID:i,yAxisID:r}){const s={};return(0,H.D)(t,e=>{s[e]={axisId:i}}),(0,H.D)(n,e=>{s[e]={axisId:r}}),s}const z="undefined"==typeof window?H.ax:window.cancelAnimationFrame;function V(e){const t=e.frameRequestID;t&&(z.call(window,t),delete e.frameRequestID)}function q(e){const t=e.refreshTimerID;t&&(clearInterval(t),delete e.refreshTimerID,delete e.refreshInterval)}function W(e,t,n){e.refreshTimerID||(e.refreshTimerID=setInterval(()=>{const n=(0,H.N)(t);e.refreshInterval===n||isNaN(n)||(q(e),W(e,t,n))},n||0),e.refreshInterval=n||0)}function $(e,t,n){return t="number"==typeof t?t:e.parse(t),(0,H.g)(t)?{value:e.getPixelForValue(t),transitionable:!0}:{value:n}}const G={x:["x","caretX"],y:["y","caretY"]};function Z(...e){const t=this,n=t.getActiveElements()[0];if(n){const e=t._chart.getDatasetMeta(n.datasetIndex);t.$streaming=U(0,G,e)}else t.$streaming={};t.constructor.prototype.update.call(t,...e)}const K=new WeakMap;function Q(e){const{originalScaleOptions:t}=function(e){let t=K.get(e);return t||(t={originalScaleOptions:{}},K.set(e,t)),t}(e),n=e.scales;return(0,H.D)(n,e=>{const n=e.id;t[n]||(t[n]={duration:B(e,"duration"),delay:B(e,"delay")})}),(0,H.D)(t,(e,i)=>{n[i]||delete t[i]}),t}function J(e,t,n,i){const{chart:r,axis:s}=e,{minDuration:o=0,maxDuration:a=1/0,minDelay:l=-1/0,maxDelay:c=1/0}=i&&i[s]||{},u=e.options.realtime,d=B(e,"duration"),h=B(e,"delay"),p=N(d*(2-t),o,a);let f,m;return Q(r),f=e.isHorizontal()?(e.right-n.x)/(e.right-e.left):(e.bottom-n.y)/(e.bottom-e.top),m=h+f*(d-p),u.duration=p,u.delay=N(m,l,c),p!==e.max-e.min}function X(e,t,n){const{chart:i,axis:r}=e,{minDelay:s=-1/0,maxDelay:o=1/0}=n&&n[r]||{},a=B(e,"delay")+(e.getValueForPixel(t)-e.getValueForPixel(0));return Q(i),e.options.realtime.delay=N(a,s,o),!0}const ee={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,15,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,15,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},te=Object.keys(ee);function ne(e,t,n){if(n){if(n.length){const{lo:i,hi:r}=(0,H.aG)(n,t);e[n[i]>=t?n[i]:n[r]]=!0}}else e[t]=!0}const ie=["pointBackgroundColor","pointBorderColor","pointBorderWidth","pointRadius","pointRotation","pointStyle","pointHitRadius","pointHoverBackgroundColor","pointHoverBorderColor","pointHoverBorderWidth","pointHoverRadius","backgroundColor","borderColor","borderSkipped","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","radius","rotation"];function re(e,t,n){const i=e.$animations||{};(0,H.D)(e.$streaming,(r,s)=>{if(r.axisId===t){const t=r.reverse?-n:n,o=i[s];(0,H.g)(e[s])&&(e[s]-=t),o&&(o._from-=t,o._to-=t)}})}class se extends j.TimeScale{constructor(e){super(e),this.$realtime=this.$realtime||{}}init(e,t){const n=this;super.init(e,t),W(n.$realtime,()=>{const e=n.chart,t=B(n,"onRefresh");return(0,H.N)(t,[e],n),function(e){const{chart:t,id:n,max:i}=e,r=B(e,"duration"),s=B(e,"delay"),o=B(e,"ttl"),a=B(e,"pause"),l=Date.now()-(isNaN(o)?r+s:o);let c,u,d,h;(0,H.D)(t.data.datasets,(e,r)=>{const s=t.getDatasetMeta(r),p=n===s.xAxisID?"x":n===s.yAxisID&&"y";if(p){const n=s.controller,f=e.data,m=f.length;if(a){for(c=0;c{(0,H.b)(e[t])&&e[t].splice(u,d)}),(0,H.D)(e.datalabels,e=>{(0,H.b)(e)&&e.splice(u,d)}),"object"!=typeof f[0]&&(h={start:u,count:d}),(0,H.D)(t._active,(e,n)=>{e.datasetIndex===r&&e.index>=u&&(e.index>=u+d?e.index-=d:t._active.splice(n,1))},null,!0)}}),h&&t.data.labels.splice(h.start,h.count)}(n),e.update("quiet"),B(n,"refresh")})}update(e,t,n){const i=this,{$realtime:r,options:s}=i,{bounds:o,offset:a,ticks:l}=s,{autoSkip:c,source:u,major:d}=l,h=d.enabled;B(i,"pause")?V(r):(r.frameRequestID||(r.head=Date.now()),function(e,t){if(!e.frameRequestID){const n=()=>{const i=e.nextRefresh||0,r=Date.now();if(i<=r){const n=(0,H.N)(t),i=1e3/(Math.max(n,0)||30),s=e.nextRefresh+i||0;e.nextRefresh=s>r?s:r+i}e.frameRequestID=H.r.call(window,n)};e.frameRequestID=H.r.call(window,n)}}(r,()=>{const e=i.chart,t=e.$streaming;return function(e){const{chart:t,id:n,$realtime:i}=e,r=B(e,"duration"),s=B(e,"delay"),o=e.isHorizontal(),a=o?e.width:e.height,l=Date.now(),c=t.tooltip,u=function(e){const t=e.$streaming.annotationPlugin;if(t){const n=t._getState(e);return n&&n.elements||[]}return[]}(t);let d=a*(l-i.head)/r;o===!!e.options.reverse&&(d=-d),(0,H.D)(t.data.datasets,(e,i)=>{const r=t.getDatasetMeta(i),{data:s=[],dataset:o}=r;for(let t=0,a=s.length;to.shift(),set:H.ax}),Object.defineProperty(e,"max",{get:()=>s.shift(),set:H.ax});const a=super.buildTicks();return delete e.min,delete e.max,e.min=r,e.max=i,a}calculateLabelRotation(){const e=this.options.ticks,t=e.maxRotation;e.maxRotation=e.minRotation||0,super.calculateLabelRotation(),e.maxRotation=t}fit(){const e=this,t=e.options;super.fit(),t.ticks.display&&t.display&&e.isHorizontal()&&(e.paddingLeft=3,e.paddingRight=3,e._handleMargins())}draw(e){const t=this,{chart:n,ctx:i}=t,r=t.isHorizontal()?{left:e.left,top:0,right:e.right,bottom:n.height}:{left:0,top:e.top,right:n.width,bottom:e.bottom};t._gridLineItems=null,t._labelItems=null,(0,H.k)(i,r),super.draw(e),(0,H.m)(i)}destroy(){const e=this.$realtime;V(e),q(e)}_generate(){const e=this,t=e._adapter,n=B(e,"duration"),i=B(e,"delay"),r=B(e,"refresh"),s=e.$realtime.head-i,o=s-n,a=e._getLabelCapacity(o),{time:l,ticks:c}=e.options,u=l.unit||function(e,t,n,i){const r=n-t,s=te.length;for(let o=te.indexOf(e);o1e5*h)throw new Error(o+" and "+s+" are too far apart with stepSize of "+h+" "+u);v=b,f&&d&&!m&&!l.round&&(v=+t.startOf(v,d),v=+t.add(v,~~((b-v)/(g.size*h))*h,u));const w="data"===c.source&&e.getDataTimestamps();for(y=0;ve-t).map(e=>+e)}}se.id="realtime",se.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},realtime:{},ticks:{autoSkip:!1,source:"auto",major:{enabled:!0}}},j.defaults.describe("scale.realtime",{_scriptable:e=>"onRefresh"!==e}),j.defaults.set("transitions",{quiet:{animation:{duration:0}}});const oe={x:["x","cp1x","cp2x"],y:["y","cp1y","cp2y"]};function ae(e){const t=this;"quiet"===e&&(0,H.D)(t.data.datasets,(e,n)=>{t.getDatasetMeta(n).controller._setStyle=function(e,t,n,i){j.DatasetController.prototype._setStyle.call(this,e,t,"quiet",i)}}),j.Chart.prototype.update.call(t,e),"quiet"===e&&(0,H.D)(t.data.datasets,(e,n)=>{delete t.getDatasetMeta(n).controller._setStyle})}function le(e){const t=e.$streaming;e.render(),t.lastMouseEvent&&setTimeout(()=>{const n=t.lastMouseEvent;n&&e._eventHandler(n)},0)}const ce=[{id:"streaming",version:"2.0.0",beforeInit(e){const t=e.$streaming=e.$streaming||{render:le},n=t.canvas=e.canvas,i=t.mouseEventListener=n=>{const i=(0,H.z)(n,e);t.lastMouseEvent={type:"mousemove",chart:e,native:n,x:i.x,y:i.y}};n.addEventListener("mousedown",i),n.addEventListener("mouseup",i)},afterInit(e){e.update=ae},beforeUpdate(e){const{scales:t,elements:n}=e.options,i=e.tooltip;(0,H.D)(t,({type:e})=>{"realtime"===e&&(n.line.capBezierPoints=!1)}),i&&(i.update=Z);try{!function(e,t){const n=t.$streaming;if(n.annotationPlugin!==e){const t=e.afterUpdate;(function(){const e=j.registry.getElement("boxAnnotation"),t=j.registry.getElement("lineAnnotation"),n=j.registry.getElement("pointAnnotation"),i=e.prototype.resolveElementProperties,r=t.prototype.resolveElementProperties,s=n.prototype.resolveElementProperties;e.prototype.resolveElementProperties=function(e,t){return function(e,t,n){const{scales:i,chartArea:r}=t,{xScaleID:s,yScaleID:o,xMin:a,xMax:l,yMin:c,yMax:u}=n,d=i[s],h=i[o],{top:p,left:f,bottom:m,right:g}=r,_=e.$streaming={};if(d){const e=$(d,a,f),t=$(d,l,g),n=e.value>t.value;e.transitionable&&(_[n?"x2":"x"]={axisId:s}),t.transitionable&&(_[n?"x":"x2"]={axisId:s}),e.transitionable!==t.transitionable&&(_.width={axisId:s,reverse:e.transitionable})}if(h){const e=$(h,c,p),t=$(h,u,m),n=e.value>t.value;e.transitionable&&(_[n?"y2":"y"]={axisId:o}),t.transitionable&&(_[n?"y":"y2"]={axisId:o}),e.transitionable!==t.transitionable&&(_.height={axisId:o,reverse:e.transitionable})}}(this,e,t),i.call(this,e,t)},t.prototype.resolveElementProperties=function(e,t){const n=e.chartArea;e.chartArea=function(e,t,n){const{scales:i,chartArea:r}=t,{scaleID:s,value:o}=n,a=i[s],{top:l,left:c,bottom:u,right:d}=r,h=e.$streaming={};if(a){const e=a.isHorizontal();return $(a,o).transitionable&&(h[e?"x":"y"]={axisId:s},h[e?"x2":"y2"]={axisId:s}),e?{top:l,bottom:u}:{left:c,right:d}}const{xScaleID:p,yScaleID:f,xMin:m,xMax:g,yMin:_,yMax:v}=n,y=i[p],b=i[f],w={};if(y){const e=$(y,m),t=$(y,g);e.transitionable?h.x={axisId:p}:w.left=c,t.transitionable?h.x2={axisId:p}:w.right=d}if(b){const e=$(b,_),t=$(b,v);e.transitionable?h.y={axisId:f}:w.top=l,t.transitionable?h.y2={axisId:f}:w.bottom=u}return w}(this,e,t);const i=r.call(this,e,t);return e.chartArea=n,i},n.prototype.resolveElementProperties=function(e,t){return function(e,t,n){const i=t.scales,{xScaleID:r,yScaleID:s,xValue:o,yValue:a}=n,l=i[r],c=i[s],u=e.$streaming={};l&&$(l,o).transitionable&&(u.x={axisId:r}),c&&$(c,a).transitionable&&(u.y={axisId:s})}(this,e,t),s.call(this,e,t)}})(),n.annotationPlugin=e,e.afterUpdate=(e,n,i)=>{const r=n.mode,s=i.animation;"quiet"===r&&(i.animation=!1),t.call(this,e,n,i),"quiet"===r&&(i.animation=s)}}}(j.registry.getPlugin("annotation"),e)}catch(r){!function(e){delete e.$streaming.annotationPlugin}(e)}try{!function(e,t){const n=t.$streaming;if(n.zoomPlugin!==e){const i=n.resetZoom=t.resetZoom;!function(e){e.zoomFunctions.realtime=J,e.panFunctions.realtime=X}(e),t.resetZoom=e=>{!function(e){const t=Q(e);(0,H.D)(e.scales,e=>{const n=e.options.realtime;if(n){const i=t[e.id];i?(n.duration=i.duration,n.delay=i.delay):(delete n.duration,delete n.delay)}})}(t),i(e)},n.zoomPlugin=e}}(j.registry.getPlugin("zoom"),e)}catch(r){!function(e){const t=e.$streaming;t.zoomPlugin&&(e.resetZoom=t.resetZoom,function(e){K.delete(e)}(e),delete t.resetZoom,delete t.zoomPlugin)}(e)}},beforeDatasetUpdate(e,t){const{meta:n,mode:i}=t;if("quiet"===i){const{controller:e,$animations:t}=n;t&&t.visible&&t.visible._active&&(e.updateElement=H.ax,e.updateSharedOptions=H.ax)}},afterDatasetUpdate(e,t){const{meta:n,mode:i}=t,{data:r=[],dataset:s,controller:o}=n;for(let a=0,l=r.length;a{e instanceof se&&e.destroy()})},defaults:{duration:1e4,delay:0,frameRate:30,refresh:1e3,onRefresh:null,pause:!1,ttl:void 0},descriptors:{_scriptable:e=>"onRefresh"!==e}},se];var ue=n(34890),de=n.n(ue);const he=e=>e&&e.enabled&&e.modifierKey,pe=(e,t)=>e&&t[e+"Key"],fe=(e,t)=>e&&!t[e+"Key"];function me(e,t,n){return void 0===e||("string"==typeof e?-1!==e.indexOf(t):"function"==typeof e&&-1!==e({chart:n}).indexOf(t))}function ge(e,t,n){const i=function({x:e,y:t},n){const i=n.scales,r=Object.keys(i);for(let s=0;s=n.top&&t<=n.bottom&&e>=n.left&&e<=n.right)return n}return null}(t,n);if(i&&me(e,i.axis,n))return[i];const r=[];return(0,H.D)(n.scales,function(t){me(e,t.axis,n)||r.push(t)}),r}const _e=new WeakMap;function ve(e){let t=_e.get(e);return t||(t={originalScaleLimits:{},updatedScaleLimits:{},handlers:{},panDelta:{}},_e.set(e,t)),t}function ye(e,t,n){const i=e.max-e.min,r=i*(t-1),s=e.isHorizontal()?n.x:n.y,o=(e.getValueForPixel(s)-e.min)/i||0;return{min:r*o,max:r*(1-o)}}function be(e,t,n,i,r){let s=n[i];if("original"===s){const n=e.originalScaleLimits[t.id][i];s=(0,H.v)(n.options,n.scale)}return(0,H.v)(s,r)}function we(e,{min:t,max:n},i,r=!1){const s=ve(e.chart),{id:o,axis:a,options:l}=e,c=i&&(i[o]||i[a])||{},{minRange:u=0}=c,d=be(s,e,c,"min",-1/0),h=be(s,e,c,"max",1/0),p=Math.max(t,d),f=Math.min(n,h),m=r?Math.max(f-p,u):e.max-e.min;if(f-p!==m)if(d>f-m)t=p,n=p+m;else if(h0===e||isNaN(e)?0:e<0?Math.min(Math.round(e),-1):Math.max(Math.round(e),1),Se={second:500,minute:3e4,hour:18e5,day:432e5,week:3024e5,month:1296e6,quarter:5184e6,year:157248e5};function ke(e,t,n,i=!1){const{min:r,max:s,options:o}=e,a=Se[o.time&&o.time.round]||0,l=e.getValueForPixel(e.getPixelForValue(r+a)-t),c=e.getValueForPixel(e.getPixelForValue(s+a)-t),{min:u=-1/0,max:d=1/0}=i&&n&&n[e.axis]||{};return!!(isNaN(l)||isNaN(c)||ld)||we(e,{min:l,max:c},n,i)}function Ce(e,t,n){return ke(e,t,n,!0)}const Me={category:function(e,t,n,i){const r=ye(e,t,n);return e.min===e.max&&t<1&&function(e){const t=e.getLabels().length-1;e.min>0&&(e.min-=1),e.maxa&&(r=Math.max(0,r-l),s=1===o?r:r+o,c=0===r),we(e,{min:r,max:s},n)||c},default:ke,logarithmic:Ce,timeseries:Ce};function Te(e,t){(0,H.D)(e,(n,i)=>{t[i]||delete e[i]})}function Ae(e,t){const{scales:n}=e,{originalScaleLimits:i,updatedScaleLimits:r}=t;return(0,H.D)(n,function(e){(function(e,t,n){const{id:i,options:{min:r,max:s}}=e;if(!t[i]||!n[i])return!0;const o=n[i];return o.min!==r||o.max!==s})(e,i,r)&&(i[e.id]={min:{scale:e.min,options:e.options.min},max:{scale:e.max,options:e.options.max}})}),Te(i,n),Te(r,n),i}function De(e,t,n,i){(0,H.N)(Me[e.type]||Me.default,[e,t,n,i])}function Pe(e){const t=e.chartArea;return{x:(t.left+t.right)/2,y:(t.top+t.bottom)/2}}function Le(e,t,n="none"){const{x:i=1,y:r=1,focalPoint:s=Pe(e)}="number"==typeof t?{x:t,y:t}:t,o=ve(e),{options:{limits:a,zoom:l}}=o,{mode:c="xy",overScaleMode:u}=l||{};Ae(e,o);const d=1!==i&&me(c,"x",e),h=1!==r&&me(c,"y",e),p=u&&ge(u,s,e);(0,H.D)(p||e.scales,function(e){e.isHorizontal()&&d?De(e,i,s,a):!e.isHorizontal()&&h&&De(e,r,s,a)}),e.update(n),(0,H.N)(l.onZoom,[{chart:e}])}function Oe(e,t,n){const i=e.getValueForPixel(t),r=e.getValueForPixel(n);return{min:Math.min(i,r),max:Math.max(i,r)}}function Ie(e,t,n,i){const{panDelta:r}=i,s=r[e.id]||0;(0,H.s)(s)===(0,H.s)(t)&&(t+=s),r[e.id]=(0,H.N)(Ee[e.type]||Ee.default,[e,t,n])?0:t}function Re(e,t,n,i="none"){const{x:r=0,y:s=0}="number"==typeof t?{x:t,y:t}:t,o=ve(e),{options:{pan:a,limits:l}}=o,{mode:c="xy",onPan:u}=a||{};Ae(e,o);const d=0!==r&&me(c,"x",e),h=0!==s&&me(c,"y",e);(0,H.D)(n||e.scales,function(e){e.isHorizontal()&&d?Ie(e,r,l,o):!e.isHorizontal()&&h&&Ie(e,s,l,o)}),e.update(i),(0,H.N)(u,[{chart:e}])}function Ye(e,t){const{handlers:n}=ve(e),i=n[t];i&&i.target&&(i.target.removeEventListener(t,i),delete n[t])}function Fe(e,t,n,i){const{handlers:r,options:s}=ve(e);Ye(e,n),r[n]=t=>i(e,t,s),r[n].target=t,t.addEventListener(n,r[n])}function je(e,t){const n=ve(e);n.dragStart&&(n.dragging=!0,n.dragEnd=t,e.update("none"))}function He(e,t,n){const{onZoomStart:i,onZoomRejected:r}=n;if(i){const{left:n,top:s}=t.target.getBoundingClientRect();if(!1===(0,H.N)(i,[{chart:e,event:t,point:{x:t.clientX-n,y:t.clientY-s}}]))return(0,H.N)(r,[{chart:e,event:t}]),!1}}function Ne(e,t){const n=ve(e),{pan:i,zoom:r={}}=n.options;if(pe(he(i),t)||fe(he(r.drag),t))return(0,H.N)(r.onZoomRejected,[{chart:e,event:t}]);!1!==He(e,t,r)&&(n.dragStart=t,Fe(e,e.canvas,"mousemove",je))}function Be(e,t,n,i){const{left:r,top:s}=n.target.getBoundingClientRect(),o=me(t,"x",e),a=me(t,"y",e);let{top:l,left:c,right:u,bottom:d,width:h,height:p}=e.chartArea;o&&(c=Math.min(n.clientX,i.clientX)-r,u=Math.max(n.clientX,i.clientX)-r),a&&(l=Math.min(n.clientY,i.clientY)-s,d=Math.max(n.clientY,i.clientY)-s);const f=u-c,m=d-l;return{left:c,top:l,right:u,bottom:d,width:f,height:m,zoomX:o&&f?1+(h-f)/h:1,zoomY:a&&m?1+(p-m)/p:1}}function Ue(e,t){const n=ve(e);if(!n.dragStart)return;Ye(e,"mousemove");const{mode:i,onZoomComplete:r,drag:{threshold:s=0}}=n.options.zoom,o=Be(e,i,n.dragStart,t),a=me(i,"x",e)?o.width:0,l=me(i,"y",e)?o.height:0,c=Math.sqrt(a*a+l*l);if(n.dragStart=n.dragEnd=null,c<=s)return n.dragging=!1,void e.update("none");!function(e,t,n,i="none"){const r=ve(e),{options:{limits:s,zoom:o}}=r,{mode:a="xy"}=o;Ae(e,r);const l=me(a,"x",e),c=me(a,"y",e);(0,H.D)(e.scales,function(e){e.isHorizontal()&&l?we(e,Oe(e,t.x,n.x),s,!0):!e.isHorizontal()&&c&&we(e,Oe(e,t.y,n.y),s,!0)}),e.update(i),(0,H.N)(o.onZoom,[{chart:e}])}(e,{x:o.left,y:o.top},{x:o.right,y:o.bottom},"zoom"),setTimeout(()=>n.dragging=!1,500),(0,H.N)(r,[{chart:e}])}function ze(e,t){const{handlers:{onZoomComplete:n},options:{zoom:i}}=ve(e);if(!function(e,t,n){if(fe(he(n.wheel),t))(0,H.N)(n.onZoomRejected,[{chart:e,event:t}]);else if(!1!==He(e,t,n)&&(t.cancelable&&t.preventDefault(),void 0!==t.deltaY))return!0}(e,t,i))return;const r=t.target.getBoundingClientRect(),s=1+(t.deltaY>=0?-i.wheel.speed:i.wheel.speed);Le(e,{x:s,y:s,focalPoint:{x:t.clientX-r.left,y:t.clientY-r.top}}),n&&n()}function Ve(e,t){return function(n,i){const{pan:r,zoom:s={}}=t.options;if(!r||!r.enabled)return!1;const o=i&&i.srcEvent;return!(o&&!t.panning&&"mouse"===i.pointerType&&(fe(he(r),o)||pe(he(s.drag),o))&&((0,H.N)(r.onPanRejected,[{chart:e,event:i}]),1))}}function qe(e,t,n){if(t.scale){const{center:i,pointers:r}=n,s=1/t.scale*n.scale,o=n.target.getBoundingClientRect(),a=function(e,t){const n=Math.abs(e.clientX-t.clientX),i=Math.abs(e.clientY-t.clientY),r=n/i;let s,o;return r>.3&&r<1.7?s=o=!0:n>i?s=!0:o=!0,{x:s,y:o}}(r[0],r[1]),l=t.options.zoom.mode;Le(e,{x:a.x&&me(l,"x",e)?s:1,y:a.y&&me(l,"y",e)?s:1,focalPoint:{x:i.x-o.left,y:i.y-o.top}}),t.scale=n.scale}}function We(e,t,n){const i=t.delta;i&&(t.panning=!0,Re(e,{x:n.deltaX-i.x,y:n.deltaY-i.y},t.panScales),t.delta={x:n.deltaX,y:n.deltaY})}const $e=new WeakMap,Ge={id:"zoom",version:"1.1.1",defaults:{pan:{enabled:!1,mode:"xy",threshold:10,modifierKey:null},zoom:{wheel:{enabled:!1,speed:.1,modifierKey:null},drag:{enabled:!1,modifierKey:null},pinch:{enabled:!1},mode:"xy"}},start:function(e,t,n){ve(e).options=n,Object.prototype.hasOwnProperty.call(n.zoom,"enabled")&&console.warn("The option `zoom.enabled` is no longer supported. Please use `zoom.wheel.enabled`, `zoom.drag.enabled`, or `zoom.pinch.enabled`."),de()&&function(e,t){const n=ve(e),i=e.canvas,{pan:r,zoom:s}=t,o=new(de().Manager)(i);s&&s.pinch.enabled&&(o.add(new(de().Pinch)),o.on("pinchstart",()=>function(e,t){t.options.zoom.pinch.enabled&&(t.scale=1)}(0,n)),o.on("pinch",t=>qe(e,n,t)),o.on("pinchend",t=>function(e,t,n){t.scale&&(qe(e,t,n),t.scale=null,(0,H.N)(t.options.zoom.onZoomComplete,[{chart:e}]))}(e,n,t))),r&&r.enabled&&(o.add(new(de().Pan)({threshold:r.threshold,enable:Ve(e,n)})),o.on("panstart",t=>function(e,t,n){const{enabled:i,overScaleMode:r,onPanStart:s,onPanRejected:o}=t.options.pan;if(!i)return;const a=n.target.getBoundingClientRect(),l={x:n.center.x-a.left,y:n.center.y-a.top};if(!1===(0,H.N)(s,[{chart:e,event:n,point:l}]))return(0,H.N)(o,[{chart:e,event:n}]);t.panScales=r&&ge(r,l,e),t.delta={x:0,y:0},clearTimeout(t.panEndTimeout),We(e,t,n)}(e,n,t)),o.on("panmove",t=>We(e,n,t)),o.on("panend",()=>function(e,t){t.delta=null,t.panning&&(t.panEndTimeout=setTimeout(()=>t.panning=!1,500),(0,H.N)(t.options.pan.onPanComplete,[{chart:e}]))}(e,n))),$e.set(e,o)}(e,n),e.pan=(t,n,i)=>Re(e,t,n,i),e.zoom=(t,n)=>Le(e,t,n),e.zoomScale=(t,n,i)=>function(e,t,n,i="none"){Ae(e,ve(e)),we(e.scales[t],n,void 0,!0),e.update(i)}(e,t,n,i),e.resetZoom=t=>function(e,t="default"){const n=ve(e),i=Ae(e,n);(0,H.D)(e.scales,function(e){const t=e.options;i[e.id]?(t.min=i[e.id].min.options,t.max=i[e.id].max.options):(delete t.min,delete t.max)}),e.update(t),(0,H.N)(n.options.zoom.onZoomComplete,[{chart:e}])}(e,t),e.getZoomLevel=()=>function(e){const t=ve(e);let n=1,i=1;return(0,H.D)(e.scales,function(e){const r=function(e,t){const n=e.originalScaleLimits[t];if(!n)return;const{min:i,max:r}=n;return(0,H.v)(r.options,r.scale)-(0,H.v)(i.options,i.scale)}(t,e.id);if(r){const t=Math.round(r/(e.max-e.min)*100)/100;n=Math.min(n,t),i=Math.max(i,t)}}),n<1?n:i}(e)},beforeEvent(e){const t=ve(e);if(t.panning||t.dragging)return!1},beforeUpdate:function(e,t,n){ve(e).options=n,function(e,t){const n=e.canvas,{wheel:i,drag:r,onZoomComplete:s}=t.zoom;i.enabled?(Fe(e,n,"wheel",ze),function(e,t,n,i){n&&(ve(e).handlers.onZoomComplete=function(e,t){let n;return function(){return clearTimeout(n),n=setTimeout(e,250),250}}(()=>(0,H.N)(n,[{chart:e}])))}(e,0,s)):Ye(e,"wheel"),r.enabled?(Fe(e,n,"mousedown",Ne),Fe(e,n.ownerDocument,"mouseup",Ue)):(Ye(e,"mousedown"),Ye(e,"mousemove"),Ye(e,"mouseup"))}(e,n)},beforeDatasetsDraw:function(e,t,n){const{dragStart:i,dragEnd:r}=ve(e);if(r){const{left:t,top:s,width:o,height:a}=Be(e,n.zoom.mode,i,r),l=n.zoom.drag,c=e.ctx;c.save(),c.beginPath(),c.fillStyle=l.backgroundColor||"rgba(225,225,225,0.3)",c.fillRect(t,s,o,a),l.borderWidth>0&&(c.lineWidth=l.borderWidth,c.strokeStyle=l.borderColor||"rgba(225,225,225)",c.strokeRect(t,s,o,a)),c.restore()}},stop:function(e){!function(e){Ye(e,"mousedown"),Ye(e,"mousemove"),Ye(e,"mouseup"),Ye(e,"wheel"),Ye(e,"click")}(e),de()&&function(e){const t=$e.get(e);t&&(t.remove("pinchstart"),t.remove("pinch"),t.remove("pinchend"),t.remove("panstart"),t.remove("pan"),t.remove("panend"),t.destroy(),$e.delete(e))}(e),function(e){_e.delete(e)}(e)},panFunctions:Ee,zoomFunctions:Me};var Ze=n(25181),Ke=n(21471);const Qe={id:"yAxisRanges",beforeDraw(e,t,n){const{ctx:i,chartArea:{left:r,right:s},scales:{y:o}}=e;if(n.ranges){i.save();for(let e=0;eo.min)){const e=t.min&&t.min>o.min?t.min:o.min,a=!t.max||t.max>o.max?o.max:t.max;i.fillStyle=t.color,i.fillRect(r,o.getPixelForValue(e),n.width,o.getPixelForValue(a)-o.getPixelForValue(e)),i.fillRect(s-n.width,o.getPixelForValue(e),n.width,o.getPixelForValue(a)-o.getPixelForValue(e))}}i.restore()}}};var Je=n(26899);let Xe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[a.ez,o.U8,Je.eL]]}),e})();var et=n(73070);function tt(e,t){return()=>(0,i.mG)(this,void 0,void 0,function*(){const n=yield e.get("/assets/themes/"+document.location.host.split(".")[0]+".json").toPromise();t.setTheme(n.accent,n.primary)})}let nt=(()=>{class e{constructor(e){j.Chart.register(j.ArcElement,j.LineElement,j.BarElement,j.PointElement,j.BarController,j.DoughnutController,j.LineController,j.CategoryScale,j.LinearScale,j.TimeScale,j.Legend,j.Tooltip,Qe,ce,Ge)}static forRoot(){return{ngModule:e,providers:[et.f,Ke.XJ,{provide:c.ip1,useFactory:tt,deps:[l.eN,et.f],multi:!0}]}}}return e.\u0275fac=function(t){return new(t||e)(c.LFG(et.f))},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[a.ez,u.u5,u.UX,g.ot,D.SJ,M.ie,R.g0,k.Ps,E.Tx,m,S.lN,C.c,F.Bz,r._t,P.rP,v.p9,A.LD,p.si,O.ZX,T,x.To,_.QW,y.Hi,b.FA,d.Yd,h.Bb,w.Is,Y.AV,I.Nh,s.xu,L.KP,Ze.Rh.forRoot({positionClass:"toast-top-right",tapToDismiss:!0}),o.U8,Xe]]}),e})()},32559:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var i=n(55959),r=n(31572);let s=(()=>{class e{constructor(){this.ngUnsubscribe=new i.xQ}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})()},84607:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var i=n(36541),r=n(43835);function s(){return(0,i.z)((0,r.h)(e=>null!=e))}},36960:(e,t,n)=>{"use strict";function i(e,t,n=!0,i=!1){return(e=i?e:e.toLowerCase())===(t=i?t:t.toLowerCase())?0:n?ei,Q:()=>r})},10709:(e,t,n)=>{"use strict";n.d(t,{l3:()=>s,_j:()=>i,LC:()=>r,ZN:()=>_,jt:()=>a,pV:()=>f,ru:()=>l,F4:()=>h,IO:()=>m,vP:()=>c,SB:()=>d,oB:()=>u,eR:()=>p,X$:()=>o,ZE:()=>v,k1:()=>y});class i{}class r{}const s="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function l(e,t=null){return{type:3,steps:e,options:t}}function c(e,t=null){return{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function d(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e){return{type:5,steps:e}}function p(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function f(e=null){return{type:9,options:e}}function m(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function g(e){Promise.resolve(null).then(e)}class _{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){g(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class v{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,i=0;const r=this.players.length;0==r?g(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++n==r&&this._onDestroy()}),e.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const y="!"},24621:(e,t,n)=>{"use strict";n.d(t,{rt:()=>K,s1:()=>E,$s:()=>S,Qr:()=>j,kH:()=>q,mK:()=>I,Em:()=>T,tE:()=>z,qV:()=>O,qm:()=>Z,Kd:()=>F,X6:()=>H,yG:()=>N});var i=n(61511),r=n(31572),s=n(55959),o=n(87570),a=n(40878),l=n(75842),c=n(66599),u=n(47701),d=n(43835),h=n(79996),p=n(90611),f=n(19861),m=n(11353),g=n(36337);function _(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}const v="cdk-describedby-message-container",y="cdk-describedby-host";let b=0;const w=new Map;let x=null,S=(()=>{class e{constructor(e){this._document=e}describe(e,t,n){if(!this._canBeDescribed(e,t))return;const i=k(t,n);"string"!=typeof t?(C(t),w.set(i,{messageElement:t,referenceCount:0})):w.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}removeDescription(e,t,n){if(!t||!this._isElementNode(e))return;const i=k(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const e=w.get(i);e&&0===e.referenceCount&&this._deleteMessageElement(i)}x&&0===x.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const n=w.get(t);!function(e,t,n){const i=_(e,t);i.some(e=>e.trim()==n.trim())||(i.push(n.trim()),e.setAttribute(t,i.join(" ")))}(e,"aria-describedby",n.messageElement.id),e.setAttribute(y,""),n.referenceCount++}_removeMessageReference(e,t){const n=w.get(t);n.referenceCount--,function(e,t,n){const i=_(e,t).filter(e=>e!=n.trim());i.length?e.setAttribute(t,i.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",n.messageElement.id),e.removeAttribute(y)}_isElementDescribedByMessage(e,t){const n=_(e,"aria-describedby"),i=w.get(t),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const n=null==t?"":`${t}`.trim(),i=e.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(i.K0))},token:e,providedIn:"root"}),e})();function k(e,t){return"string"==typeof e?`${t||""}/${e}`:e}function C(e){e.id||(e.id="cdk-describedby-message-"+b++)}class M{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.xQ,this._typeaheadSubscription=o.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new s.xQ,this.change=new s.xQ,e instanceof r.n_E&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,c.b)(e=>this._pressedLetters.push(e)),(0,u.b)(e),(0,d.h)(()=>this._pressedLetters.length>0),(0,h.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case l.Mf:return void this.tabOut.next();case l.JH:if(this._vertical&&n){this.setNextItemActive();break}return;case l.LH:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.SV:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.oh:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.Sd:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case l.uR:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||(0,l.Vb)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=l.A&&t<=l.Z||t>=l.xE&&t<=l.aO)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof r.n_E?this._items.toArray():this._items}}class E extends M{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class T extends M{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let A=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(t){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===P(t))return!1;if(!this.isVisible(t))return!1}let i=e.nodeName.toLowerCase(),r=P(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||D(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(m.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(m.t4))},token:e,providedIn:"root"}),e})();function D(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function P(e){if(!D(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class L{constructor(e,t,n,i,r=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(e)}}let O=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new L(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(A),r.LFG(r.R0b),r.LFG(i.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(A),r.LFG(r.R0b),r.LFG(i.K0))},token:e,providedIn:"root"}),e})(),I=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=(0,f.Ig)(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=(0,f.Ig)(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,m.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(O),r.Y36(i.K0))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.TTD]}),e})();"undefined"!=typeof Element&∈const R=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Y=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let F=(()=>{class e{constructor(e,t,n,i){this._ngZone=t,this._defaultOptions=i,this._document=n,this._liveElement=e||this._createLiveElement()}announce(e,...t){const n=this._defaultOptions;let i,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[i,r]=t,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),n=this._document.createElement("div");for(let i=0;i{class e{constructor(e,t,n,i){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(F),r.Y36(g.yq),r.Y36(r.R0b))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e})();function H(e){return 0===e.buttons}function N(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const B=new r.OlP("cdk-focus-monitor-default-options"),U=(0,m.i$)({passive:!0,capture:!0});let z=(()=>{class e{constructor(e,t,n,i){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=H(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{N(e)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=V(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=V(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let i=t;i;i=i.parentElement)n.call(this,e,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const n=(0,f.fI)(e);if(!this._platform.isBrowser||1!==n.nodeType)return(0,a.of)(null);const i=(0,m.kV)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;const o={checkChildren:t,subject:new s.xQ,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(e){const t=(0,f.fI)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const i=(0,f.fI)(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([e,n])=>this._originChanged(e,t,n)):(this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=V(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);n&&(n.checkChildren||t===V(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,U),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,U)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,U),e.addEventListener("mousedown",this._documentMousedownListener,U),e.addEventListener("touchstart",this._documentTouchstartListener,U),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,U),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,U),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,U),e.removeEventListener("mousedown",this._documentMousedownListener,U),e.removeEventListener("touchstart",this._documentTouchstartListener,U),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((n,i)=>{(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(m.t4),r.LFG(i.K0,8),r.LFG(B,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(m.t4),r.LFG(i.K0,8),r.LFG(B,8))},token:e,providedIn:"root"}),e})();function V(e){return e.composedPath?e.composedPath()[0]:e.target}let q=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new r.vpe}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(z))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})();const W="cdk-high-contrast-black-on-white",$="cdk-high-contrast-white-on-black",G="cdk-high-contrast-active";let Z=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(G),e.remove(W),e.remove($),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(G),e.add(W)):2===t&&(e.add(G),e.add($))}}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(m.t4),r.LFG(i.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(m.t4),r.LFG(i.K0))},token:e,providedIn:"root"}),e})(),K=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(Z))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[m.ud,g.Q8]]}),e})()},22526:(e,t,n)=>{"use strict";n.d(t,{vT:()=>a,Is:()=>o});var i=n(31572),r=n(61511);const s=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(r.K0)}});let o=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(s,8))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(s,8))},token:e,providedIn:"root"}),e})(),a=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})()},19861:(e,t,n)=>{"use strict";n.d(t,{Eq:()=>o,Ig:()=>r,HM:()=>a,fI:()=>l,su:()=>s,du:()=>c});var i=n(31572);function r(e){return null!=e&&"false"!=`${e}`}function s(e,t=0){return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function o(e){return Array.isArray(e)?e:[e]}function a(e){return null==e?"":"string"==typeof e?e:`${e}px`}function l(e){return e instanceof i.SBq?e.nativeElement:e}function c(e,t=/\s+/){const n=[];if(null!=e){const i=Array.isArray(e)?e:`${e}`.split(t);for(const e of i){const t=`${e}`.trim();t&&n.push(t)}}return n}},4230:(e,t,n)=>{"use strict";n.d(t,{P3:()=>l,Ov:()=>u,A8:()=>d,eX:()=>c,k:()=>h,Z9:()=>a});var i=n(4710),r=n(40878),s=n(55959),o=n(31572);function a(e){return e&&"function"==typeof e.connect}class l extends class{}{constructor(e){super(),this._data=e}connect(){return(0,i.b)(this._data)?this._data:(0,r.of)(this._data)}disconnect(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,t,n,i,r){e.forEachOperation((e,s,o)=>{let a,l;null==e.previousIndex?(a=this._insertView(()=>n(e,s,o),o,t,i(e)),l=a?1:0):null==o?(this._detachAndCacheView(s,t),l=3):(a=this._moveView(s,o,t,i(e)),l=2),r&&r({context:null==a?void 0:a.context,operation:l,record:e})})}detach(){for(const e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,n,i){const r=this._insertViewFromCache(t,n);if(r)return void(r.context.$implicit=i);const s=e();return n.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(e,t){const n=t.detach(e);this._maybeCacheView(n,t)}_moveView(e,t,n,i){const r=n.get(e);return n.move(r,t),r.context.$implicit=i,r}_maybeCacheView(e,t){if(this._viewCache.lengththis._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){}}let d=(()=>{class e{constructor(){this._listeners=[]}notify(e,t){for(let n of this._listeners)n(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e})();const h=new o.OlP("_ViewRepeater")},86250:(e,t,n)=>{"use strict";n.d(t,{Zt:()=>fe,Wj:()=>ue,_t:()=>ge});var i=n(31572),r=n(61511),s=n(4253),o=n(11353),a=n(19861),l=n(71784),c=n(48569),u=n(62293);function d(e){const{subscriber:t,counter:n,period:i}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}var h=n(55959),p=n(87570),f=n(91741),m=n(31906),g=n(25416),_=n(56238),v=n(79996),y=n(90611),b=n(66599),w=n(44689),x=n(22526);function S(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function k(e,t){const n=t?"":"none";S(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function C(e,t){const n=e.style;n.position=t?"":"fixed",n.top=n.opacity=t?"":"0",n.left=t?"":"-999em"}function M(e,t){return t?e+" "+t:e}function E(e){const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function T(e,t){return e.getPropertyValue(t).split(",").map(e=>e.trim())}function A(e){const t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function D(e,t,n){const{top:i,bottom:r,left:s,right:o}=e;return n>=i&&n<=r&&t>=s&&t<=o}function P(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function L(e,t,n,i){const{top:r,right:s,bottom:o,left:a,width:l,height:c}=e,u=l*t,d=c*t;return i>r-d&&ia-u&&n{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:A(e)})})}handleScroll(e){const t=e.target,n=this.positions.get(t);if(!n)return null;const i=t===this._document?t.documentElement:t,r=n.scrollPosition;let s,o;if(t===this._document){const e=this._viewportRuler.getViewportScrollPosition();s=e.top,o=e.left}else s=t.scrollTop,o=t.scrollLeft;const a=r.top-s,l=r.left-o;return this.positions.forEach((e,n)=>{e.clientRect&&t!==n&&i.contains(n)&&P(e.clientRect,a,l)}),r.top=s,r.left=o,{top:a,left:l}}}function I(e){const t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),i=e.nodeName.toLowerCase();t.removeAttribute("id");for(let r=0;r{if(this.beforeStarted.next(),this._handles.length){const t=this._handles.find(t=>{const n=e.target;return!!n&&(n===t||t.contains(n))});!t||this._disabledHandles.has(t)||this.disabled||this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)},this._pointerMove=e=>{const t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging){if(Math.abs(t.x-this._pickupPositionOnPage.x)+Math.abs(t.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const t=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),n=this._dropContainer;if(!t)return void this._endDragSequence(e);n&&(n.isDragging()||n.isReceiving())||(e.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(e)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),e.preventDefault();const n=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(n),this._dropContainer)this._updateActiveDropContainer(n,t);else{const e=this._activeTransform;e.x=n.x-this._pickupPositionOnPage.x+this._passiveTransform.x,e.y=n.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(e.x,e.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${e.x} ${e.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:n,event:e,distance:this._getDragDistance(n),delta:this._pointerDirectionDelta})})},this._pointerUp=e=>{this._endDragSequence(e)},this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new O(n,r),s.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){const t=(0,a.Ig)(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(e=>k(e,t)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(e=>(0,a.fI)(e)),this._handles.forEach(e=>k(e,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(e=>{this._handles.indexOf(e)>-1&&t.add(e)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=(0,a.fI)(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,N),t.addEventListener("touchstart",this._pointerDown,H)}),this._initialTransform=void 0,this._rootElement=t),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?(0,a.fI)(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&V(this._rootElement),V(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),k(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),k(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){const e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&V(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&V(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const t=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){q(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const e=this._rootElement,n=e.parentNode,i=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),s=this._getShadowRoot();n.insertBefore(r,e),this._initialTransform=e.style.transform||"",this._preview=this._createPreviewElement(),C(e,!1),this._document.body.appendChild(n.replaceChild(i,e)),this._getPreviewInsertionPoint(n,s).appendChild(this._preview),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();const n=this.isDragging(),i=q(t),r=!i&&0!==t.button,s=this._rootElement,o=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),n||r||o)return;this._handles.length&&(this._rootElementTapHighlight=s.style.webkitTapHighlightColor||"",s.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(e=>{this._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=A(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);const l=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:l.x,y:l.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){C(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const t=this._dropContainer,n=t.getItemIndex(this),i=this._getPointerPositionOnPage(e),r=this._getDragDistance(i),s=t._isOverContainer(i.x,i.y);this.ended.next({source:this,distance:r,dropPoint:i}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:r,dropPoint:i}),t.drop(this,n,this._initialIndex,this._initialContainer,s,r,i),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:n,y:i}){let r=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=r,this._dropContainer.enter(this,e,t,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(n,i),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this._applyPreviewTransform(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y)}_createPreviewElement(){const e=this._previewTemplate,t=this.previewClass,n=e?e.template:null;let i;if(n&&e){const t=e.matchSize?this._rootElement.getBoundingClientRect():null,r=e.viewContainer.createEmbeddedView(n,e.context);r.detectChanges(),i=W(r,this._document),this._previewRef=r,e.matchSize?$(i,t):i.style.transform=U(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const e=this._rootElement;i=I(e),$(i,e.getBoundingClientRect()),this._initialTransform&&(i.style.transform=this._initialTransform)}return S(i.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:`${this._config.zIndex||1e3}`}),k(i,!1),i.classList.add("cdk-drag-preview"),i.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(e=>i.classList.add(e)):i.classList.add(t)),i}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);const t=function(e){const t=getComputedStyle(e),n=T(t,"transition-property"),i=n.find(e=>"transform"===e||"all"===e);if(!i)return 0;const r=n.indexOf(i),s=T(t,"transition-duration"),o=T(t,"transition-delay");return E(s[r])+E(o[r])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(e=>{const n=t=>{(!t||t.target===this._preview&&"transform"===t.propertyName)&&(this._preview.removeEventListener("transitionend",n),e(),clearTimeout(i))},i=setTimeout(n,1.5*t);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let n;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),n=W(this._placeholderRef,this._document)):n=I(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(e,t){const n=this._rootElement.getBoundingClientRect(),i=e===this._rootElement?null:e,r=i?i.getBoundingClientRect():n,s=q(t)?t.targetTouches[0]:t,o=this._getViewportScrollPosition();return{x:r.left-n.left+(s.pageX-r.left-o.left),y:r.top-n.top+(s.pageY-r.top-o.top)}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),n=q(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=n.pageX-t.left,r=n.pageY-t.top;if(this._ownerSVGElement){const e=this._ownerSVGElement.getScreenCTM();if(e){const t=this._ownerSVGElement.createSVGPoint();return t.x=i,t.y=r,t.matrixTransform(e.inverse())}}return{x:i,y:r}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:n,y:i}=this.constrainPosition?this.constrainPosition(e,this):e;if("x"===this.lockAxis||"x"===t?i=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(n=this._pickupPositionOnPage.x),this._boundaryRect){const{x:e,y:t}=this._pickupPositionInElement,r=this._boundaryRect,s=this._previewRect,o=r.top+t,a=r.bottom-(s.height-t);n=z(n,r.left+e,r.right-(s.width-e)),i=z(i,o,a)}return{x:n,y:i}}_updatePointerDirectionDelta(e){const{x:t,y:n}=e,i=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,s=Math.abs(t-r.x),o=Math.abs(n-r.y);return s>this._config.pointerDirectionChangeThreshold&&(i.x=t>r.x?1:-1,r.x=t),o>this._config.pointerDirectionChangeThreshold&&(i.y=n>r.y?1:-1,r.y=n),i}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,k(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,N),e.removeEventListener("touchstart",this._pointerDown,H)}_applyRootElementTransform(e,t){const n=U(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=M(n,this._initialTransform)}_applyPreviewTransform(e,t){var n;const i=(null===(n=this._previewTemplate)||void 0===n?void 0:n.template)?void 0:this._initialTransform,r=U(e,t);this._preview.style.transform=M(r,i)}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),i=this._rootElement.getBoundingClientRect();if(0===n.width&&0===n.height||0===i.width&&0===i.height)return;const r=n.left-i.left,s=i.right-n.right,o=n.top-i.top,a=i.bottom-n.bottom;n.width>i.width?(r>0&&(e+=r),s>0&&(e-=s)):e=0,n.height>i.height?(o>0&&(t+=o),a>0&&(t-=a)):t=0,e===this._passiveTransform.x&&t===this._passiveTransform.y||this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:q(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const n=e.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&P(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,o.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){const n=this._previewContainer||"global";if("parent"===n)return e;if("global"===n){const e=this._document;return t||e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body}return(0,a.fI)(n)}}function U(e,t){return`translate3d(${Math.round(e)}px, ${Math.round(t)}px, 0)`}function z(e,t,n){return Math.max(t,Math.min(n,e))}function V(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function q(e){return"t"===e.type[0]}function W(e,t){const n=e.rootNodes;if(1===n.length&&n[0].nodeType===t.ELEMENT_NODE)return n[0];const i=t.createElement("div");return n.forEach(e=>i.appendChild(e)),i}function $(e,t){e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.style.transform=U(t.left,t.top)}function G(e,t){return Math.max(0,Math.min(t,e))}class Z{constructor(e,t,n,i,r){this._dragDropRegistry=t,this._ngZone=i,this._viewportRuler=r,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new h.xQ,this.entered=new h.xQ,this.exited=new h.xQ,this.dropped=new h.xQ,this.sorted=new h.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=p.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new h.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(e=0,t=c.P){return(!(0,u.k)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=c.P),new l.y(n=>(n.add(t.schedule(d,e,{subscriber:n,counter:0,period:e})),n))}(0,f.Z).pipe((0,g.R)(this._stopScrollTimers)).subscribe(()=>{const e=this._scrollNode,t=this.autoScrollStep;1===this._verticalScrollDirection?Q(e,-t):2===this._verticalScrollDirection&&Q(e,t),1===this._horizontalScrollDirection?J(e,-t):2===this._horizontalScrollDirection&&J(e,t)})},this.element=(0,a.fI)(e),this._document=n,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new O(n,r)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,n,i){let r;this._draggingStarted(),null==i?(r=this.sortingDisabled?this._draggables.indexOf(e):-1,-1===r&&(r=this._getItemIndexFromPointerPosition(e,t,n))):r=i;const s=this._activeDraggables,o=s.indexOf(e),l=e.getPlaceholderElement();let c=s[r];if(c===e&&(c=s[r+1]),o>-1&&s.splice(o,1),c&&!this._dragDropRegistry.isDragging(c)){const t=c.getRootElement();t.parentElement.insertBefore(l,t),s.splice(r,0,e)}else if(this._shouldEnterAsFirstChild(t,n)){const t=s[0].getRootElement();t.parentNode.insertBefore(l,t),s.unshift(e)}else(0,a.fI)(this.element).appendChild(l),s.push(e);l.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,n,i,r,s,o){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:r,distance:s,dropPoint:o})}withItems(e){const t=this._draggables;return this._draggables=e,e.forEach(e=>e._withDropContainer(this)),this.isDragging()&&(t.filter(e=>e.isDragging()).every(t=>-1===e.indexOf(t))?this._reset():this._cacheItems()),this}withDirection(e){return this._direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._orientation=e,this}withScrollableParents(e){const t=(0,a.fI)(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?K("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,t=>t.drag===e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,n,i){if(this.sortingDisabled||!this._clientRect||!L(this._clientRect,.05,t,n))return;const r=this._itemPositions,s=this._getItemIndexFromPointerPosition(e,t,n,i);if(-1===s&&r.length>0)return;const o="horizontal"===this._orientation,a=K(r,t=>t.drag===e),l=r[s],c=l.clientRect,u=a>s?1:-1,d=this._getItemOffsetPx(r[a].clientRect,c,u),h=this._getSiblingOffsetPx(a,r,u),p=r.slice();!function(e,t,n){const i=G(t,e.length-1),r=G(n,e.length-1);if(i===r)return;const s=e[i],o=r{if(p[n]===t)return;const i=t.drag===e,r=i?d:h,s=i?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=r,o?(s.style.transform=M(`translate3d(${Math.round(t.offset)}px, 0, 0)`,t.initialTransform),P(t.clientRect,0,r)):(s.style.transform=M(`translate3d(0, ${Math.round(t.offset)}px, 0)`,t.initialTransform),P(t.clientRect,r,0))}),this._previousSwap.overlaps=D(c,t,n),this._previousSwap.drag=l.drag,this._previousSwap.delta=o?i.x:i.y}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let n,i=0,r=0;if(this._parentPositions.positions.forEach((s,o)=>{o!==this._document&&s.clientRect&&!n&&L(s.clientRect,.05,e,t)&&([i,r]=function(e,t,n,i){const r=X(t,i),s=ee(t,n);let o=0,a=0;if(r){const t=e.scrollTop;1===r?t>0&&(o=1):e.scrollHeight-t>e.clientHeight&&(o=2)}if(s){const t=e.scrollLeft;1===s?t>0&&(a=1):e.scrollWidth-t>e.clientWidth&&(a=2)}return[o,a]}(o,s.clientRect,e,t),(i||r)&&(n=o))}),!i&&!r){const{width:s,height:o}=this._viewportRuler.getViewportSize(),a={width:s,height:o,top:0,right:s,bottom:o,left:0};i=X(a,t),r=ee(a,e),n=window}!n||i===this._verticalScrollDirection&&r===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=i,this._horizontalScrollDirection=r,this._scrollNode=n,(i||r)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const e=(0,a.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const e=(0,a.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}_cacheItemPositions(){const e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:A(t)}}).sort((t,n)=>e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1;const e=(0,a.fI)(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const n=e.getRootElement();if(n){const i=null===(t=this._itemPositions.find(t=>t.drag===e))||void 0===t?void 0:t.initialTransform;n.style.transform=i||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(e,t,n){const i="horizontal"===this._orientation,r=t[e].clientRect,s=t[e+-1*n];let o=r[i?"width":"height"]*n;if(s){const e=i?"left":"top",t=i?"right":"bottom";-1===n?o-=s.clientRect[e]-r[t]:o+=r[e]-s.clientRect[t]}return o}_getItemOffsetPx(e,t,n){const i="horizontal"===this._orientation;let r=i?t.left-e.left:t.top-e.top;return-1===n&&(r+=i?t.width-e.width:t.height-e.height),r}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){const r=n[n.length-1].clientRect;return i?e>=r.right:t>=r.bottom}{const r=n[0].clientRect;return i?e<=r.left:t<=r.top}}_getItemIndexFromPointerPosition(e,t,n,i){const r="horizontal"===this._orientation,s=K(this._itemPositions,({drag:s,clientRect:o},a,l)=>{if(s===e)return l.length<2;if(i){const e=r?i.x:i.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&e===this._previousSwap.delta)return!1}return r?t>=Math.floor(o.left)&&t=Math.floor(o.top)&&ni._canReceive(e,t,n))}_canReceive(e,t,n){if(!this._clientRect||!D(this._clientRect,t,n)||!this.enterPredicate(e,this))return!1;const i=this._getShadowRoot().elementFromPoint(t,n);if(!i)return!1;const r=(0,a.fI)(this.element);return i===r||r.contains(i)}_startReceiving(e,t){const n=this._activeSiblings;!n.has(e)&&t.every(e=>this.enterPredicate(e,this)||this._draggables.indexOf(e)>-1)&&(n.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&(this._itemPositions.forEach(({clientRect:e})=>{P(e,t.top,t.left)}),this._itemPositions.forEach(({drag:e})=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const e=(0,o.kV)((0,a.fI)(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const e=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}}function K(e,t){for(let n=0;n=n-s&&t<=n+s?1:t>=i-s&&t<=i+s?2:0}function ee(e,t){const{left:n,right:i,width:r}=e,s=.05*r;return t>=n-s&&t<=n+s?1:t>=i-s&&t<=i+s?2:0}const te=(0,o.i$)({passive:!1,capture:!0});let ne=(()=>{class e{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=e=>e.isDragging(),this.pointerMove=new h.xQ,this.pointerUp=new h.xQ,this.scroll=new h.xQ,this._preventDefaultWhileDragging=e=>{this._activeDragInstances.length>0&&e.preventDefault()},this._persistentTouchmoveListener=e=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,te)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,te)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const e=t.type.startsWith("touch");this._globalListeners.set(e?"touchend":"mouseup",{handler:e=>this.pointerUp.next(e),options:!0}).set("scroll",{handler:e=>this.scroll.next(e),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:te}),e||this._globalListeners.set("mousemove",{handler:e=>this.pointerMove.next(e),options:te}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((e,t)=>{this._document.addEventListener(t,e.handler,e.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.R0b),i.LFG(r.K0))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(i.R0b),i.LFG(r.K0))},token:e,providedIn:"root"}),e})();const ie={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let re=(()=>{class e{constructor(e,t,n,i){this._document=e,this._ngZone=t,this._viewportRuler=n,this._dragDropRegistry=i}createDrag(e,t=ie){return new B(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new Z(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.K0),i.LFG(i.R0b),i.LFG(s.rL),i.LFG(ne))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(r.K0),i.LFG(i.R0b),i.LFG(s.rL),i.LFG(ne))},token:e,providedIn:"root"}),e})();const se=new i.OlP("CDK_DRAG_PARENT"),oe=new i.OlP("CdkDropListGroup"),ae=new i.OlP("CDK_DRAG_CONFIG");let le=0;const ce=new i.OlP("CdkDropList");let ue=(()=>{class e{constructor(t,n,r,s,o,a,l){this.element=t,this._changeDetectorRef=r,this._scrollDispatcher=s,this._dir=o,this._group=a,this._destroyed=new h.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+le++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.sorted=new i.vpe,this._unsortedItems=new Set,this._dropListRef=n.createDropList(t),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=(e,t)=>this.enterPredicate(e.data,t.data),this._dropListRef.sortPredicate=(e,t,n)=>this.sortPredicate(e,t.data,n.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),e._dropLists.push(this),a&&a._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=(0,a.Ig)(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const t=e._dropLists.indexOf(this);t>-1&&e._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe((0,_.O)(this._dir.value),(0,g.R)(this._destroyed)).subscribe(e=>t.withDirection(e)),t.beforeStarted.subscribe(()=>{const n=(0,a.Eq)(this.connectedTo).map(t=>"string"==typeof t?e._dropLists.find(e=>e.id===t):t);if(this._group&&this._group._items.forEach(e=>{-1===n.indexOf(e)&&n.push(e)}),!this._scrollableParentsResolved){const e=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(e=>e.getElementRef().nativeElement);this._dropListRef.withScrollableParents(e),this._scrollableParentsResolved=!0}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=(0,a.Ig)(this.sortingDisabled),t.autoScrollDisabled=(0,a.Ig)(this.autoScrollDisabled),t.autoScrollStep=(0,a.su)(this.autoScrollStep,2),t.connectedTo(n.filter(e=>e&&e!==this).map(e=>e._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(e=>{this.entered.emit({container:this,item:e.item.data,currentIndex:e.currentIndex})}),e.exited.subscribe(e=>{this.exited.emit({container:this,item:e.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(e=>{this.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:this,item:e.item.data})}),e.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer,distance:e.distance,dropPoint:e.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(e){const{lockAxis:t,draggingDisabled:n,sortingDisabled:i,listAutoScrollDisabled:r,listOrientation:s}=e;this.disabled=null!=n&&n,this.sortingDisabled=null!=i&&i,this.autoScrollDisabled=null!=r&&r,this.orientation=s||"vertical",t&&(this.lockAxis=t)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(re),i.Y36(i.sBO),i.Y36(s.mF),i.Y36(x.Is,8),i.Y36(oe,12),i.Y36(ae,8))},e.\u0275dir=i.lG2({type:e,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id),i.ekj("cdk-drop-list-disabled",t.disabled)("cdk-drop-list-dragging",t._dropListRef.isDragging())("cdk-drop-list-receiving",t._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[i._Bn([{provide:oe,useValue:void 0},{provide:ce,useExisting:e}])]}),e._dropLists=[],e})();const de=new i.OlP("CdkDragHandle"),he=new i.OlP("CdkDragPlaceholder"),pe=new i.OlP("CdkDragPreview");let fe=(()=>{class e{constructor(t,n,r,s,o,a,c,u,d,p,f){this.element=t,this.dropContainer=n,this._ngZone=s,this._viewContainerRef=o,this._dir=c,this._changeDetectorRef=d,this._selfHandle=p,this._parentDrag=f,this._destroyed=new h.xQ,this.started=new i.vpe,this.released=new i.vpe,this.ended=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.dropped=new i.vpe,this.moved=new l.y(e=>{const t=this._dragRef.moved.pipe((0,v.U)(e=>({source:this,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}))).subscribe(e);return()=>{t.unsubscribe()}}),this._dragRef=u.createDrag(t,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:null==a?void 0:a.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),a&&this._assignDefaults(a),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=(0,a.Ig)(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.pipe((0,y.q)(1),(0,g.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe((0,_.O)(this._handles),(0,b.b)(e=>{const t=e.filter(e=>e._parentDrag===this).map(e=>e.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),(0,w.w)(e=>(0,m.T)(...e.map(e=>e._stateChanges.pipe((0,_.O)(e))))),(0,g.R)(this._destroyed)).subscribe(e=>{const t=this._dragRef,n=e.element.nativeElement;e.disabled?t.disableHandle(n):t.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(e){const t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const e=this.element.nativeElement,t=this.rootElementSelector?me(e,this.rootElementSelector):e;this._dragRef.withRootElement(t||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?me(this.element.nativeElement,e):(0,a.fI)(e):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,n=this.dragStartDelay,i=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,r=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof n&&n?n:(0,a.su)(n),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(r).withPreviewContainer(this.previewContainer||"global"),e&&t.withDirection(e.value)}}),t.beforeStarted.pipe((0,y.q)(1)).subscribe(()=>{var n,i;if(this._parentDrag)return void t.withParent(this._parentDrag._dragRef);let r=this.element.nativeElement.parentElement;for(;r;){if(null===(n=r.classList)||void 0===n?void 0:n.contains("cdk-drag")){t.withParent((null===(i=e._dragInstances.find(e=>e.element.nativeElement===r))||void 0===i?void 0:i._dragRef)||null);break}r=r.parentElement}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(e=>{this.ended.emit({source:this,distance:e.distance,dropPoint:e.dropPoint}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(e=>{this.entered.emit({container:e.container.data,item:this,currentIndex:e.currentIndex})}),e.exited.subscribe(e=>{this.exited.emit({container:e.container.data,item:this})}),e.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:this,distance:e.distance,dropPoint:e.dropPoint})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:n,constrainPosition:i,previewClass:r,boundaryElement:s,draggingDisabled:o,rootElementSelector:a,previewContainer:l}=e;this.disabled=null!=o&&o,this.dragStartDelay=n||0,t&&(this.lockAxis=t),i&&(this.constrainPosition=i),r&&(this.previewClass=r),s&&(this.boundaryElement=s),a&&(this.rootElementSelector=a),l&&(this.previewContainer=l)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(ce,12),i.Y36(r.K0),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(ae,8),i.Y36(x.Is,8),i.Y36(re),i.Y36(i.sBO),i.Y36(de,10),i.Y36(se,12))},e.\u0275dir=i.lG2({type:e,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){if(1&e&&(i.Suo(n,pe,5),i.Suo(n,he,5),i.Suo(n,de,5)),2&e){let e;i.iGM(e=i.CRH())&&(t._previewTemplate=e.first),i.iGM(e=i.CRH())&&(t._placeholderTemplate=e.first),i.iGM(e=i.CRH())&&(t._handles=e)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[i._Bn([{provide:se,useExisting:e}]),i.TTD]}),e._dragInstances=[],e})();function me(e,t){let n=e.parentElement;for(;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}let ge=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[re],imports:[s.ZD]}),e})()},75842:(e,t,n)=>{"use strict";n.d(t,{A:()=>y,ZH:()=>i,yY:()=>g,JH:()=>m,uR:()=>u,K5:()=>s,hY:()=>o,Sd:()=>d,oh:()=>h,aO:()=>v,VM:()=>c,Ku:()=>l,SV:()=>f,L_:()=>a,Mf:()=>r,LH:()=>p,Z:()=>b,xE:()=>_,Vb:()=>w});const i=8,r=9,s=13,o=27,a=32,l=33,c=34,u=35,d=36,h=37,p=38,f=39,m=40,g=46,_=48,v=57,y=65,b=90;function w(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},72:(e,t,n)=>{"use strict";n.d(t,{Yg:()=>w,u3:()=>S,xu:()=>g});var i=n(31572),r=n(19861),s=n(55959),o=n(31305),a=n(47930),l=n(71784),c=n(90611),u=n(84698),d=n(47701),h=n(79996),p=n(56238),f=n(25416),m=n(11353);let g=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})();const _=new Set;let v,y=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):b}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!_.has(e))try{v||(v=document.createElement("style"),v.setAttribute("type","text/css"),document.head.appendChild(v)),v.sheet&&(v.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),_.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(m.t4))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(m.t4))},token:e,providedIn:"root"}),e})();function b(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let w=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new s.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return x((0,r.Eq)(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){const t=x((0,r.Eq)(e)).map(e=>this._registerQuery(e).observable);let n=(0,o.aj)(t);return n=(0,a.z)(n.pipe((0,c.q)(1)),n.pipe((0,u.T)(1),(0,d.b)(0))),n.pipe((0,h.U)(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(({matches:e,query:n})=>{t.matches=t.matches||e,t.breakpoints[n]=e}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),n={observable:new l.y(e=>{const n=t=>this._zone.run(()=>e.next(t));return t.addListener(n),()=>{t.removeListener(n)}}).pipe((0,p.O)(t),(0,h.U)(({matches:t})=>({query:e,matches:t})),(0,f.R)(this._destroySubject)),mql:t};return this._queries.set(e,n),n}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(y),i.LFG(i.R0b))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(y),i.LFG(i.R0b))},token:e,providedIn:"root"}),e})();function x(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const S={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},36337:(e,t,n)=>{"use strict";n.d(t,{wD:()=>u,yq:()=>c,Q8:()=>d});var i=n(19861),r=n(31572),s=n(71784),o=n(55959),a=n(47701);let l=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e})(),c=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=(0,i.fI)(e);return new s.y(e=>{const n=this._observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new o.xQ,n=this._mutationObserverFactory.create(e=>t.next(e));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:n}=this._observedElements.get(e);t&&t.disconnect(),n.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(l))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(l))},token:e,providedIn:"root"}),e})(),u=(()=>{class e{constructor(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new r.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=(0,i.Ig)(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=(0,i.su)(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,a.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(c),r.Y36(r.SBq),r.Y36(r.R0b))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[l]}),e})()},2522:(e,t,n)=>{"use strict";n.d(t,{pI:()=>Q,xu:()=>K,_G:()=>j,aV:()=>$,X_:()=>E,Xj:()=>I,U8:()=>X});var i=n(4253),r=n(31572),s=n(11353),o=n(22526),a=n(61511),l=n(19861),c=n(26899),u=n(55959),d=n(87570),h=n(31906),p=n(96673);class f{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new m(e,this.predicate,this.inclusive))}}class m extends p.L{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}var g=n(90611),_=n(25416),v=n(75842);const y=(0,s.Mq)();class b{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=(0,l.HM)(-this._previousScrollPosition.left),e.style.top=(0,l.HM)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),y&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),y&&(t.scrollBehavior=i,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class w{constructor(e,t,n,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class x{enable(){}disable(){}attach(){}}function S(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function k(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class C{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();S(e,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let M=(()=>{class e{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new x,this.close=e=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new b(this._viewportRuler,this._document),this.reposition=e=>new C(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=i}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.mF),r.LFG(i.rL),r.LFG(r.R0b),r.LFG(a.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(i.mF),r.LFG(i.rL),r.LFG(r.R0b),r.LFG(a.K0))},token:e,providedIn:"root"}),e})();class E{constructor(e){if(this.scrollStrategy=new x,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class T{constructor(e,t,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class A{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let D=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(a.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(a.K0))},token:e,providedIn:"root"}),e})(),P=(()=>{class e extends D{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(a.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(a.K0))},token:e,providedIn:"root"}),e})(),L=(()=>{class e extends D{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const r=n[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(t))break;r._outsidePointerEvents.next(e)}}}}add(e){if(super.add(e),!this._isAttached){const e=this._document.body;e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(a.K0),r.LFG(s.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(a.K0),r.LFG(s.t4))},token:e,providedIn:"root"}),e})();const O=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let I=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||O){const t=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let e=0;ethis._backdropClick.next(e),this._keydownEvents=new u.xQ,this._outsidePointerEvents=new u.xQ,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=(0,l.HM)(this._config.width),e.height=(0,l.HM)(this._config.height),e.minWidth=(0,l.HM)(this._config.minWidth),e.minHeight=(0,l.HM)(this._config.minHeight),e.maxWidth=(0,l.HM)(this._config.maxWidth),e.maxHeight=(0,l.HM)(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const i=e.classList;(0,l.Eq)(t).forEach(e=>{e&&(n?i.add(e):i.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe((0,_.R)((0,h.T)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const Y="cdk-overlay-connected-position-bounding-box",F=/([A-Za-z%]+)$/;class j{constructor(e,t,n,i,r){this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.xQ,this._resizeSubscription=d.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(Y),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,i=[];let r;for(let s of this._preferredPositions){let o=this._getOriginPoint(e,s),a=this._getOverlayPoint(o,t,s),l=this._getOverlayFit(a,t,n,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:s,origin:o,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!r||r.overlayFit.visibleAreat&&(t=i,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&H(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Y),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,i;if("center"==t.originX)n=e.left+e.width/2;else{const i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return i="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:i}}_getOverlayPoint(e,t,n){let i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}_getOverlayFit(e,t,n,i){const r=B(t);let{x:s,y:o}=e,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(s+=a),l&&(o+=l);let c=0-o,u=o+r.height-n.height,d=this._subtractOverflows(r.width,0-s,s+r.width-n.width),h=this._subtractOverflows(r.height,c,u),p=d*h;return{visibleArea:p,isCompletelyWithinViewport:r.width*r.height===p,fitsInViewportVertically:h===r.height,fitsInViewportHorizontally:d==r.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const i=n.bottom-t.y,r=n.right-t.x,s=N(this._overlayRef.getConfig().minHeight),o=N(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportHorizontally||null!=o&&o<=r;return(e.fitsInViewportVertically||null!=s&&s<=i)&&a}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const i=B(t),r=this._viewportRect,s=Math.max(e.x+i.width-r.width,0),o=Math.max(e.y+i.height-r.height,0),a=Math.max(r.top-n.top-e.y,0),l=Math.max(r.left-n.left-e.x,0);let c=0,u=0;return c=i.width<=r.width?l||-s:e.xi&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-i/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)c=n.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)l=e.x,a=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),i=this._lastBoundingBoxSize.width;a=2*t,l=e.x-t,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-i/2)}return{top:s,left:l,bottom:o,right:c,width:a,height:r}}_setBoundingBoxStyles(e,t){const n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=(0,l.HM)(n.height),i.top=(0,l.HM)(n.top),i.bottom=(0,l.HM)(n.bottom),i.width=(0,l.HM)(n.width),i.left=(0,l.HM)(n.left),i.right=(0,l.HM)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(i.maxHeight=(0,l.HM)(e)),r&&(i.maxWidth=(0,l.HM)(r))}this._lastBoundingBoxSize=n,H(this._boundingBox.style,i)}_resetBoundingBoxStyles(){H(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){H(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();H(n,this._getExactOverlayY(t,e,i)),H(n,this._getExactOverlayX(t,e,i))}else n.position="static";let o="",a=this._getOffset(t,"x"),c=this._getOffset(t,"y");a&&(o+=`translateX(${a}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),s.maxHeight&&(i?n.maxHeight=(0,l.HM)(s.maxHeight):r&&(n.maxHeight="")),s.maxWidth&&(i?n.maxWidth=(0,l.HM)(s.maxWidth):r&&(n.maxWidth="")),H(this._pane.style,n)}_getExactOverlayY(e,t,n){let i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=(0,l.HM)(r.y),i}_getExactOverlayX(e,t,n){let i,r={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n)),i=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=(0,l.HM)(s.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:k(e,n),isOriginOutsideView:S(e,n),isOverlayClipped:k(t,n),isOverlayOutsideView:S(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&(0,l.Eq)(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof r.SBq)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}function H(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function N(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(F);return n&&"px"!==n?null:parseFloat(t)}return e||null}function B(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}class U{constructor(e,t,n,i,r,s,o){this._preferredPositions=[],this._positionStrategy=new j(n,i,r,s,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,i){const r=new T(e,t,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}const z="cdk-global-overlay-wrapper";class V{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(z),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:s,maxHeight:o}=n,a=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(z),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let q=(()=>{class e{constructor(e,t,n,i){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=i}global(){return new V}connectedTo(e,t,n){return new U(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new j(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.rL),r.LFG(a.K0),r.LFG(s.t4),r.LFG(I))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(i.rL),r.LFG(a.K0),r.LFG(s.t4),r.LFG(I))},token:e,providedIn:"root"}),e})(),W=0,$=(()=>{class e{constructor(e,t,n,i,r,s,o,a,l,c,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=o,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new E(e);return r.direction=r.direction||this._directionality.value,new R(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+W++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(r.z2F)),new c.u0(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(M),r.LFG(I),r.LFG(r._Vd),r.LFG(q),r.LFG(P),r.LFG(r.zs3),r.LFG(r.R0b),r.LFG(a.K0),r.LFG(o.Is),r.LFG(a.Ye),r.LFG(L))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();const G=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Z=new r.OlP("cdk-connected-overlay-scroll-strategy");let K=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),Q=(()=>{class e{constructor(e,t,n,i,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.w.EMPTY,this._attachSubscription=d.w.EMPTY,this._detachSubscription=d.w.EMPTY,this._positionSubscription=d.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.vpe,this.positionChange=new r.vpe,this.attach=new r.vpe,this.detach=new r.vpe,this.overlayKeydown=new r.vpe,this.overlayOutsideClick=new r.vpe,this._templatePortal=new c.UE(t,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=(0,l.Ig)(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=(0,l.Ig)(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=(0,l.Ig)(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=(0,l.Ig)(e)}get push(){return this._push}set push(e){this._push=(0,l.Ig)(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=G);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode!==v.hY||this.disableClose||(0,v.Vb)(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new E({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e,t=!1){return n=>n.lift(new f(e,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36($),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(Z),r.Y36(o.Is,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.TTD]}),e})();const J={provide:Z,deps:[$],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let X=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[$,J],imports:[[o.vT,c.eL,i.Cl],i.Cl]}),e})()},11353:(e,t,n)=>{"use strict";n.d(t,{t4:()=>a,ud:()=>l,ht:()=>y,kV:()=>v,_i:()=>_,qK:()=>u,i$:()=>m,Mq:()=>g});var i=n(31572),r=n(61511);let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){s=!1}let o,a=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,r.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!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.LFG(i.Lbi))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(i.Lbi))},token:e,providedIn:"root"}),e})(),l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let e=document.createElement("input");return o=new Set(c.filter(t=>(e.setAttribute("type",t),e.type===t))),o}let d,h,p,f;function m(e){return function(){if(null==d&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?e:!!e.capture}function g(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const e=Element.prototype.scrollTo;p=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return p}function _(){if("object"!=typeof document||!document)return 0;if(null==h){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),h=0,0===e.scrollLeft&&(e.scrollLeft=1,h=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return h}function v(e){if(function(){if(null==f){const e="undefined"!=typeof document?document.head:null;f=!(!e||!e.createShadowRoot&&!e.attachShadow)}return f}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function y(){let e="undefined"!=typeof document&&document?document.activeElement:null;for(;e&&e.shadowRoot;){const t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}},26899:(e,t,n)=>{"use strict";n.d(t,{en:()=>c,ig:()=>d,Pl:()=>h,C5:()=>o,u0:()=>u,nK:()=>f,eL:()=>p,UE:()=>a});var i=n(31572),r=n(61511);class s{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class o extends s{constructor(e,t,n,i){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=i}}class a extends s{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class l extends s{constructor(e){super(),this.element=e instanceof i.SBq?e.nativeElement:e}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof o?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof a?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof l?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends c{constructor(e,t,n,i,r){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=r}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),this._attachedPortal=e,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let d=(()=>{class e extends a{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Rgc),i.Y36(i.s_b))},e.\u0275dir=i.lG2({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.qOj]}),e})(),h=(()=>{class e extends c{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(r.K0))},e.\u0275dir=i.lG2({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),e})(),p=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})();class f{constructor(e,t){this._parentInjector=e,this._customTokens=t}get(e,t){const n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)}}},4253:(e,t,n)=>{"use strict";n.d(t,{PQ:()=>g,ZD:()=>v,mF:()=>m,Cl:()=>y,rL:()=>_});var i=n(19861),r=n(31572),s=n(55959),o=n(40878),a=n(71784),l=n(87254);n(91741),n(92709),n(87570),n(4710),n(96673),n(98720);var c=n(30810),u=n(43835),d=n(25416),h=(n(56238),n(44689),n(68303),n(11353)),p=n(61511),f=n(22526);n(4230);let m=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new s.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new a.y(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe((0,c.e)(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,o.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,u.h)(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,e)&&t.push(i)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=(0,i.fI)(t),r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const e=this._getWindow();return(0,l.R)(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(h.t4),r.LFG(p.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(h.t4),r.LFG(p.K0,8))},token:e,providedIn:"root"}),e})(),g=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=i,this._destroyed=new s.xQ,this._elementScrolled=new a.y(e=>this.ngZone.runOutsideAngular(()=>(0,l.R)(this.elementRef.nativeElement,"scroll").pipe((0,d.R)(this._destroyed)).subscribe(e)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=(0,h._i)()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==(0,h._i)()?e.left=e.right:1==(0,h._i)()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;(0,h.Mq)()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",n="right",i=this.elementRef.nativeElement;if("top"==e)return i.scrollTop;if("bottom"==e)return i.scrollHeight-i.clientHeight-i.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?n:t:"end"==e&&(e=r?t:n),r&&2==(0,h._i)()?e==t?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:r&&1==(0,h._i)()?e==t?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:e==t?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(m),r.Y36(r.R0b),r.Y36(f.Is,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e})(),_=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new s.xQ,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe((0,c.e)(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(h.t4),r.LFG(r.R0b),r.LFG(p.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(h.t4),r.LFG(r.R0b),r.LFG(p.K0,8))},token:e,providedIn:"root"}),e})(),v=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e})(),y=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[f.vT,h.ud,v],f.vT,v]}),e})()},61511:(e,t,n)=>{"use strict";n.d(t,{mr:()=>b,Ov:()=>Z,ez:()=>Q,K0:()=>l,Do:()=>x,Ts:()=>K,V_:()=>d,Ye:()=>S,S$:()=>v,mk:()=>L,sg:()=>I,O5:()=>Y,PC:()=>z,RF:()=>N,n9:()=>B,ED:()=>U,tP:()=>V,b0:()=>w,lw:()=>c,EM:()=>ee,JF:()=>ie,NF:()=>X,qS:()=>D,w_:()=>a,bD:()=>J,q:()=>s,Mx:()=>P,HT:()=>o});var i=n(31572);let r=null;function s(){return r}function o(e){r||(r=e)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{class e{historyGo(e){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:u,token:e,providedIn:"platform"}),e})();function u(){return(0,i.LFG)(h)}const d=new i.OlP("Location Initialized");let h=(()=>{class e extends c{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(e){const t=s().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=s().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(l))},e.\u0275prov=(0,i.Yz7)({factory:f,token:e,providedIn:"platform"}),e})();function p(){return!!window.history.pushState}function f(){return new h((0,i.LFG)(l))}function m(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 g(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 _(e){return e&&"?"!==e[0]?"?"+e:e}let v=(()=>{class e{historyGo(e){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:y,token:e,providedIn:"root"}),e})();function y(e){const t=(0,i.LFG)(l).location;return new w((0,i.LFG)(c),t&&t.origin||"")}const b=new i.OlP("appBaseHref");let w=(()=>{class e extends v{constructor(e,t){if(super(),this._platformLocation=e,this._removeListenerFns=[],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}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+_(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+_(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(c),i.LFG(b,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),x=(()=>{class e extends v{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(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=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let r=this.prepareExternalUrl(n+_(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){let r=this.prepareExternalUrl(n+_(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(c),i.LFG(b,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),S=(()=>{class e{constructor(e,t){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(C(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+_(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,C(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+_(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformStrategy).historyGo)||void 0===n||n.call(t,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=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.LFG(v),i.LFG(c))},e.normalizeQueryParams=_,e.joinWithSlash=m,e.stripTrailingSlash=g,e.\u0275prov=(0,i.Yz7)({factory:k,token:e,providedIn:"root"}),e})();function k(){return new S((0,i.LFG)(v),(0,i.LFG)(c))}function C(e){return e.replace(/\/index.html$/,"")}var M=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});const E=i.kL8;class T{}let A=(()=>{class e extends T{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(E(t||this.locale)(e)){case M.Zero:return"zero";case M.One:return"one";case M.Two:return"two";case M.Few:return"few";case M.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.soG))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();function D(e,t,n){return(0,i.dwT)(e,t,n)}function P(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 L=(()=>{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&&((0,i.sIi)(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 ${(0,i.AaK)(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=>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.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class O{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 I=(()=>{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){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 O(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new R(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 R(e,r);t.push(s)}});for(let n=0;n{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.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class R{constructor(e,t){this.record=e,this.view=t}}let Y=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new F,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){j("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){j("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.Y36(i.s_b),i.Y36(i.Rgc))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class F{constructor(){this.$implicit=null,this.ngIf=null}}function j(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${(0,i.AaK)(t)}'.`)}class H{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 N=(()=>{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{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new H(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(N,9))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),U=(()=>{class e{constructor(e,t,n){n._addDefault(new H(e,t))}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(N,9))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),z=(()=>{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.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),V=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(e.ngTemplateOutlet){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&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.s_b))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),e})();class q{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class W{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const $=new W,G=new q;let Z=(()=>{class e{constructor(e){this._ref=e,this._latestValue=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)):this._latestValue:(e&&this._subscribe(e),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((0,i.QGY)(t))return $;if((0,i.F4k)(t))return G;throw Error(`InvalidPipeArgument: '${t}' for pipe '${(0,i.AaK)(e)}'`)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=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.Y36(i.sBO,16))},e.\u0275pipe=i.Yjl({name:"async",type:e,pure:!1}),e})(),K=(()=>{class e{transform(e){return JSON.stringify(e,null,2)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Yjl({name:"json",type:e,pure:!1}),e})(),Q=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[{provide:T,useClass:A}]}),e})();const J="browser";function X(e){return e===J}let ee=(()=>{class e{}return e.\u0275prov=(0,i.Yz7)({token:e,providedIn:"root",factory:()=>new te((0,i.LFG)(l),window)}),e})();class te{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const e=i.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(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])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=ne(this.window.history)||ne(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function ne(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class ie{}},29063:(e,t,n)=>{"use strict";n.d(t,{TP:()=>D,eN:()=>T,JF:()=>B,UA:()=>M,WM:()=>h,LE:()=>g});var i=n(61511),r=n(31572),s=n(40878),o=n(71784),a=n(436),l=n(43835),c=n(79996);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,"/")}function m(e){return`${e}`}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.replace(/^\?/,"").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}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const i=e[n];Array.isArray(i)?i.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}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(m(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(m(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)}}class _{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}keys(){return this.map.keys()}}function v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(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.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new h),this.context||(this.context=new _),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":nt.set(n,e.setHeaders[n]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),c)),new w(n,i,s,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:o})}}var x=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class S{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 k extends S{constructor(e={}){super(e),this.type=x.ResponseHeader}clone(e={}){return new k({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 C extends S{constructor(e={}){super(e),this.type=x.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new C({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 M extends S{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 E(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let T=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof w)i=e;else{let r,s;r=n.headers instanceof h?n.headers:new h(n.headers),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,context:n.context,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=(0,s.of)(i).pipe((0,a.b)(e=>this.handler.handle(e)));if(e instanceof w||"events"===n.observe)return r;const o=r.pipe((0,l.h)(e=>e instanceof C));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe((0,c.U)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return o.pipe((0,c.U)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return o.pipe((0,c.U)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return o.pipe((0,c.U)(e=>e.body))}case"response":return o;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,E(n,t))}post(e,t,n={}){return this.request("POST",e,E(n,t))}put(e,t,n={}){return this.request("PUT",e,E(n,t))}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(u))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();class A{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const D=new r.OlP("HTTP_INTERCEPTORS");let P=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();const L=/^\)\]\}',?\n/;let O=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((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 k({headers:s,status:t,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:a}=s(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(L,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new C({body:l,headers:i,status:r,statusText:o,url:a||void 0})),t.complete()):t.error(new M({error:l,headers:i,status:r,statusText:o,url:a||void 0}))},a=e=>{const{url:i}=s(),r=new M({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});t.error(r)};let l=!1;const c=i=>{l||(t.next(s()),l=!0);let r={type:x.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:x.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),t.next({type:x.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.JF))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();const I=new r.OlP("XSRF_COOKIE_NAME"),R=new r.OlP("XSRF_HEADER_NAME");class Y{}let F=(()=>{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=(0,i.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(I))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})(),j=(()=>{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)(r.LFG(Y),r.LFG(R))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})(),H=(()=>{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(D,[]);this.chain=e.reduceRight((e,t)=>new A(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(d),r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})(),N=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:j,useClass:P}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:I,useValue:t.cookieName}:[],t.headerName?{provide:R,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[j,{provide:D,useExisting:j,multi:!0},{provide:Y,useClass:F},{provide:I,useValue:"XSRF-TOKEN"},{provide:R,useValue:"X-XSRF-TOKEN"}]}),e})(),B=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[T,{provide:u,useClass:H},O,{provide:d,useExisting:O}],imports:[[N.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},59827:(e,t,n)=>{var i,r,s;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(s="function"==typeof(i=o)?i.apply(t,r):i)||(e.exports=s)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["en-GB",[["a","p"],["am","pm"],n],[["am","pm"],n,n],[["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"]],n,[["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"]],n,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} 'at' {0}",n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"GBP","\xa3","British Pound",{JPY:["JP\xa5","\xa5"],USD:["US$","$"]},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]})},97357:(e,t,n)=>{var i,r,s;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(s="function"==typeof(i=o)?i.apply(t,r):i)||(e.exports=s)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["it",[["m.","p."],["AM","PM"],n],n,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xec","marted\xec","mercoled\xec","gioved\xec","venerd\xec","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],n,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],n,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{BRL:[n,"R$"],BYN:[n,"Br"],EGP:[n,"\xa3E"],HKD:[n,"$"],JPY:[n,"\xa5"],KRW:[n,"\u20a9"],MXN:[n,"$"],NOK:[n,"NKr"],THB:["\u0e3f"],TWD:[n,"NT$"],USD:[n,"$"]},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]})},31572:(e,t,n)=>{"use strict";n.d(t,{deG:()=>Cn,tb:()=>Pp,AFp:()=>Mp,ip1:()=>kp,CZH:()=>Cp,hGG:()=>Cf,z2F:()=>mf,n4l:()=>R,sBO:()=>Md,Sil:()=>Up,wA2:()=>gp,_Vd:()=>Ku,AcB:()=>En,EJc:()=>Ip,Xek:()=>mp,SBq:()=>ed,qLn:()=>kr,vpe:()=>Ch,AA_:()=>ci,pfw:()=>yp,gxx:()=>Ao,tBr:()=>si,XFs:()=>D,OlP:()=>kn,zs3:()=>Vo,IIB:()=>_p,ZZ4:()=>yd,aQg:()=>wd,soG:()=>Op,LVF:()=>xp,YKP:()=>Yd,v3s:()=>_f,h0i:()=>Rd,PXZ:()=>uf,R0b:()=>qp,FiY:()=>oi,r_U:()=>vp,Lbi:()=>Dp,g9A:()=>Ap,n_E:()=>Eh,Qsj:()=>id,FYo:()=>nd,JOm:()=>Lr,Tiy:()=>sd,q3G:()=>cr,PiD:()=>ai,tp0:()=>li,EAV:()=>bf,Rgc:()=>Pd,dDg:()=>Jp,DyG:()=>Dn,GfV:()=>od,i9L:()=>Tn,s_b:()=>jd,ifc:()=>Y,eFA:()=>df,G48:()=>lf,Gpc:()=>p,f3M:()=>ni,X6Q:()=>af,_c5:()=>Sf,VLi:()=>tf,c2e:()=>Lp,zSh:()=>Po,wAp:()=>Oc,vHH:()=>g,EiD:()=>ar,mCW:()=>zi,qzn:()=>Pi,JVY:()=>Oi,pB0:()=>Fi,eBb:()=>Ri,L6k:()=>Ii,LAX:()=>Yi,cg1:()=>Dc,Tjo:()=>xf,kL8:()=>Pc,yhl:()=>Li,dqk:()=>B,sIi:()=>ra,CqO:()=>Wa,QGY:()=>Va,F4k:()=>qa,dwT:()=>Ac,zlt:()=>Kd,RDi:()=>De,AaK:()=>u,z3N:()=>Di,qOj:()=>$o,TTD:()=>xe,_Bn:()=>$u,xp6:()=>Ts,uIk:()=>ha,Tol:()=>El,Gre:()=>Ql,ekj:()=>kl,Suo:()=>Hh,Xpm:()=>J,lG2:()=>oe,Yz7:()=>w,cJS:()=>x,oAB:()=>ie,Yjl:()=>ae,Y36:()=>Oa,_UZ:()=>Ha,GkF:()=>Ua,BQk:()=>Ba,ynx:()=>Na,qZA:()=>ja,TgZ:()=>Fa,EpF:()=>za,n5z:()=>pn,Ikx:()=>kc,LFG:()=>ei,$8M:()=>mn,NdJ:()=>$a,CRH:()=>Nh,kcU:()=>Dt,O4$:()=>Tt,oxw:()=>Ja,ALo:()=>gh,lcZ:()=>_h,Hsn:()=>tl,F$t:()=>el,Q6J:()=>Ra,s9C:()=>nl,DdM:()=>eh,VKq:()=>th,WLB:()=>nh,kEZ:()=>ih,iGM:()=>Fh,MAs:()=>La,pYS:()=>Dr,evT:()=>Ar,Jf7:()=>Tr,CHM:()=>Qe,oJD:()=>ur,LSH:()=>hr,kYT:()=>re,Akn:()=>Cl,Udp:()=>Sl,WFA:()=>Ga,d8E:()=>Cc,YNc:()=>Pa,W1O:()=>Vh,_uU:()=>Nl,Oqu:()=>Bl,hij:()=>Ul,AsE:()=>zl,Gf:()=>jh});var i=n(55959),r=n(87570),s=n(71784),o=n(31906),a=n(1055);function l(e){for(let t in e)if(e[t]===l)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function u(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(u).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 d(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const h=l({__forward_ref__:l});function p(e){return e.__forward_ref__=p,e.toString=function(){return u(this())},e}function f(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(h)&&e.__forward_ref__===p}class g extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function _(e){return"string"==typeof e?e:null==e?"":String(e)}function v(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():_(e)}function y(e,t){const n=t?` in ${t}`:"";throw new g("201",`No provider for ${v(e)} found${n}`)}function b(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function x(e){return{providers:e.providers||[],imports:e.imports||[]}}function S(e){return k(e,M)||k(e,T)}function k(e,t){return e.hasOwnProperty(t)?e[t]:null}function C(e){return e&&(e.hasOwnProperty(E)||e.hasOwnProperty(A))?e[E]:null}const M=l({"\u0275prov":l}),E=l({"\u0275inj":l}),T=l({ngInjectableDef:l}),A=l({ngInjectorDef:l});var D=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}({});let P;function L(e){const t=P;return P=e,t}function O(e,t,n){const i=S(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&D.Optional?null:void 0!==t?t:void y(u(e),"Injector")}function I(e){return{toString:e}.toString()}var R=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Y=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const F="undefined"!=typeof globalThis&&globalThis,j="undefined"!=typeof window&&window,H="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,N="undefined"!=typeof global&&global,B=F||N||j||H,U={},z=[],V=l({"\u0275cmp":l}),q=l({"\u0275dir":l}),W=l({"\u0275pipe":l}),$=l({"\u0275mod":l}),G=l({"\u0275loc":l}),Z=l({"\u0275fac":l}),K=l({__NG_ELEMENT_ID__:l});let Q=0;function J(e){return I(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===R.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Y.Emulated,id:"c",styles:e.styles||z,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,s=e.pipes;return n.id+=Q++,n.inputs=se(e.inputs,t),n.outputs=se(e.outputs),r&&r.forEach(e=>e(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(ee):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(te):null,n})}function X(e,t,n){const i=e.\u0275cmp;i.directiveDefs=()=>t.map(ee),i.pipeDefs=()=>n.map(te)}function ee(e){return le(e)||ce(e)}function te(e){return ue(e)}const ne={};function ie(e){const t={type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&I(()=>{ne[e.id]=e.type}),t}function re(e,t){return I(()=>{const n=de(e,!0);n.declarations=t.declarations||z,n.imports=t.imports||z,n.exports=t.exports||z})}function se(e,t){if(null==e)return U;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 oe=J;function ae(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function le(e){return e[V]||null}function ce(e){return e[q]||null}function ue(e){return e[W]||null}function de(e,t){const n=e[$]||null;if(!n&&!0===t)throw new Error(`Type ${u(e)} does not have '\u0275mod' property.`);return n}const he=20,pe=10;function fe(e){return Array.isArray(e)&&"object"==typeof e[1]}function me(e){return Array.isArray(e)&&!0===e[1]}function ge(e){return 0!=(8&e.flags)}function _e(e){return 2==(2&e.flags)}function ve(e){return 1==(1&e.flags)}function ye(e){return null!==e.template}function be(e,t){return e.hasOwnProperty(Z)?e[Z]:null}class we{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function xe(){return Se}function Se(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ce),ke}function ke(){const e=Me(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===U)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Ce(e,t,n,i){const r=Me(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:U,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],l=o[a];s[a]=new we(l&&l.currentValue,t,o===U),e[i]=t}function Me(e){return e.__ngSimpleChanges__||null}xe.ngInherit=!0;const Ee="http://www.w3.org/2000/svg",Te="http://www.w3.org/1998/MathML/";let Ae;function De(e){Ae=e}function Pe(){return void 0!==Ae?Ae:"undefined"!=typeof document?document:void 0}function Le(e){return!!e.listen}const Oe={createRenderer:(e,t)=>Pe()};function Ie(e){for(;Array.isArray(e);)e=e[0];return e}function Re(e,t){return Ie(t[e])}function Ye(e,t){return Ie(t[e.index])}function Fe(e,t){return e.data[t]}function je(e,t){return e[t]}function He(e,t){const n=t[e];return fe(n)?n:n[0]}function Ne(e){return 4==(4&e[2])}function Be(e){return 128==(128&e[2])}function Ue(e,t){return null==t?null:e[t]}function ze(e){e[18]=0}function Ve(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 qe={lFrame:wt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function We(){return qe.bindingsEnabled}function $e(){qe.bindingsEnabled=!0}function Ge(){qe.bindingsEnabled=!1}function Ze(){return qe.lFrame.lView}function Ke(){return qe.lFrame.tView}function Qe(e){return qe.lFrame.contextLView=e,e[8]}function Je(){let e=Xe();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xe(){return qe.lFrame.currentTNode}function et(){const e=qe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function tt(e,t){const n=qe.lFrame;n.currentTNode=e,n.isParent=t}function nt(){return qe.lFrame.isParent}function it(){qe.lFrame.isParent=!1}function rt(){return qe.isInCheckNoChangesMode}function st(e){qe.isInCheckNoChangesMode=e}function ot(){const e=qe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function at(){return qe.lFrame.bindingIndex}function lt(e){return qe.lFrame.bindingIndex=e}function ct(){return qe.lFrame.bindingIndex++}function ut(e){const t=qe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function dt(e){qe.lFrame.inI18n=e}function ht(e,t){const n=qe.lFrame;n.bindingIndex=n.bindingRootIndex=e,pt(t)}function pt(e){qe.lFrame.currentDirectiveIndex=e}function ft(e){const t=qe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function mt(){return qe.lFrame.currentQueryIndex}function gt(e){qe.lFrame.currentQueryIndex=e}function _t(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function vt(e,t,n){if(n&D.SkipSelf){let i=t,r=e;for(;i=i.parent,!(null!==i||n&D.Host||(i=_t(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}const i=qe.lFrame=bt();return i.currentTNode=t,i.lView=e,!0}function yt(e){const t=bt(),n=e[1];qe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function bt(){const e=qe.lFrame,t=null===e?null:e.child;return null===t?wt(e):t}function wt(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function xt(){const e=qe.lFrame;return qe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const St=xt;function kt(){const e=xt();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ct(){return qe.lFrame.selectedIndex}function Mt(e){qe.lFrame.selectedIndex=e}function Et(){const e=qe.lFrame;return Fe(e.tView,e.selectedIndex)}function Tt(){qe.lFrame.currentNamespace=Ee}function At(){qe.lFrame.currentNamespace=Te}function Dt(){qe.lFrame.currentNamespace=null}function Pt(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[a]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t){e[2]+=2048;try{s.call(o)}finally{}}}else try{s.call(o)}finally{}}const Ft=-1;class jt{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Ht(e,t,n){const i=Le(e);let r=0;for(;rt){o=s-1;break}}}for(;s>16,i=t;for(;n>0;)i=i[15],n--;return i}let $t=!0;function Gt(e){const t=$t;return $t=e,t}let Zt=0;function Kt(e,t){const n=Jt(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Qt(i.data,e),Qt(t,null),Qt(i.blueprint,null));const r=Xt(e,t),s=e.injectorIndex;if(Vt(r)){const e=qt(r),n=Wt(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 Qt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Jt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Xt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){const e=r[1],t=e.type;if(i=2===t?e.declTNode:1===t?r[6]:null,null===i)return Ft;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Ft}function en(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(K)&&(i=n[K]),null==i&&(i=n[K]=Zt++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:on:t}(n);if("function"==typeof s){if(!vt(t,e,i))return i&D.Host?tn(r,n,i):nn(t,n,i,r);try{const e=s(i);if(null!=e||i&D.Optional)return e;y(n)}finally{St()}}else if("number"==typeof s){let r=null,o=Jt(e,t),a=Ft,l=i&D.Host?t[16][6]:null;for((-1===o||i&D.SkipSelf)&&(a=-1===o?Xt(e,t):t[o+8],a!==Ft&&dn(i,!1)?(r=t[1],o=qt(a),t=Wt(a,t)):o=-1);-1!==o;){const e=t[1];if(un(s,o,e.data)){const e=an(o,t,n,r,i,l);if(e!==sn)return e}a=t[o+8],a!==Ft&&dn(i,t[1].data[o+8]===l)&&un(s,o,t)?(r=e,o=qt(a),t=Wt(a,t)):o=-1}}}return nn(t,n,i,r)}const sn={};function on(){return new hn(Je(),Ze())}function an(e,t,n,i,r,s){const o=t[1],a=o.data[e+8],l=ln(a,o,n,null==i?_e(a)&&$t:i!=o&&0!=(3&a.type),r&D.Host&&s===a);return null!==l?cn(t,o,l,a):sn}function ln(e,t,n,i,r){const s=e.providerIndexes,o=t.data,a=1048575&s,l=e.directiveStart,c=s>>20,u=r?a+c:e.directiveEnd;for(let d=i?a:a+c;d=l&&e.type===n)return d}if(r){const e=o[l];if(e&&ye(e)&&e.type===n)return l}return null}function cn(e,t,n,i){let r=e[n];const s=t.data;if(r instanceof jt){const o=r;o.resolving&&function(e,t){throw new g("200",`Circular dependency in DI detected for ${e}`)}(v(s[n]));const a=Gt(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?L(o.injectImpl):null;vt(e,i,D.Default);try{r=e[n]=o.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const i=Se(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==l&&L(l),Gt(a),o.resolving=!1,St()}}return r}function un(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Z]||fn(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const e=r[Z]||fn(r);if(e&&e!==n)return e;r=Object.getPrototypeOf(r)}return e=>new e})}function fn(e){return m(e)?()=>{const t=fn(f(e));return t&&t()}:be(e)}function mn(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{const s=bn(t);function o(...e){if(this instanceof o)return s.call(this,...e),this;const t=new o(...e);return function(n){return r&&r(n,...e),(n.hasOwnProperty(gn)?n[gn]:Object.defineProperty(n,gn,{value:[]})[gn]).push(t),i&&i(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function bn(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function wn(e,t,n){return I(()=>{const i=bn(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(_n)?e[_n]:Object.defineProperty(e,_n,{value:[]})[_n];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})}function xn(e,t,n,i){return I(()=>{const r=bn(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return function(n,r){const s=n.constructor,o=s.hasOwnProperty(vn)?s[vn]:Object.defineProperty(s,vn,{value:{}})[vn];o[r]=o.hasOwnProperty(r)&&o[r]||[],o[r].unshift(t),i&&i(n,r,...e)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const Sn=function(){return wn("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>mn(e)}))}();class kn{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=w({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Cn=new kn("AnalyzeForEntryComponents");class Mn{}const En=xn("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),Mn),Tn=xn("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Mn);function An(){const e=B.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}const Dn=Function;function Pn(e){return"function"==typeof e}function Ln(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(e)?On(e,t):t(e))}function In(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Yn(e,t){const n=[];for(let i=0;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 jn(e,t){const n=Hn(e,t);if(n>=0)return e[1|n]}function Hn(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 Nn=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\))\)/,Bn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Un=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,zn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class Vn{constructor(e){this._reflect=e||B.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Yn(void 0===e?t.length:e.length);for(let i=0;ie&&e.type),n=e.map(e=>e&&qn(e.decorators));return this._zipTypesAndAnnotations(t,n)}const r=e.hasOwnProperty(_n)&&e[_n],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||r?this._zipTypesAndAnnotations(s,r):Yn(e.length)}parameters(e){if(!Pn(e))return[];const t=Wn(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?qn(e.decorators):e.hasOwnProperty(gn)?e[gn]:null}annotations(e){if(!Pn(e))return[];const t=Wn(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={};return Object.keys(t).forEach(e=>{n[e]=qn(t[e])}),n}return e.hasOwnProperty(vn)?e[vn]:null}propMetadata(e){if(!Pn(e))return{};const t=Wn(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 Pn(e)&&this._ownPropMetadata(e,Wn(e))||{}}hasLifecycleHook(e,t){return e instanceof Dn&&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:`./${u(e)}`}resourceUri(e){return`./${u(e)}`}resolveIdentifier(e,t,n,i){return i}resolveEnum(e,t){return e[t]}}function qn(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Wn(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const $n={},Gn=/\n/gm,Zn="__source",Kn=l({provide:String,useValue:l});let Qn;function Jn(e){const t=Qn;return Qn=e,t}function Xn(e,t=D.Default){if(void 0===Qn)throw new Error("inject() must be called from an injection context");return null===Qn?O(e,void 0,t):Qn.get(e,t&D.Optional?null:void 0,t)}function ei(e,t=D.Default){return(P||Xn)(f(e),t)}function ti(e){throw new Error("invalid")}const ni=ei;function ii(e){const t=[];for(let n=0;n({token:e})),-1),oi=ri(wn("Optional"),8),ai=ri(wn("Self"),2),li=ri(wn("SkipSelf"),4),ci=ri(wn("Host"),1);let ui=null;function di(){return ui=ui||new Vn}function hi(e){return di().parameters(e).map(e=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;ne,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return gi}function yi(e){var t;return(null===(t=vi())||void 0===t?void 0:t.createHTML(e))||e}function bi(){if(void 0===_i&&(_i=null,B.trustedTypes))try{_i=B.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return _i}function wi(e){var t;return(null===(t=bi())||void 0===t?void 0:t.createHTML(e))||e}function xi(e){var t;return(null===(t=bi())||void 0===t?void 0:t.createScript(e))||e}function Si(e){var t;return(null===(t=bi())||void 0===t?void 0:t.createScriptURL(e))||e}class ki{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Ci extends ki{getTypeName(){return"HTML"}}class Mi extends ki{getTypeName(){return"Style"}}class Ei extends ki{getTypeName(){return"Script"}}class Ti extends ki{getTypeName(){return"URL"}}class Ai extends ki{getTypeName(){return"ResourceURL"}}function Di(e){return e instanceof ki?e.changingThisBreaksApplicationSecurity:e}function Pi(e,t){const n=Li(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Li(e){return e instanceof ki&&e.getTypeName()||null}function Oi(e){return new Ci(e)}function Ii(e){return new Mi(e)}function Ri(e){return new Ei(e)}function Yi(e){return new Ti(e)}function Fi(e){return new Ai(e)}function ji(e){const t=new Ni(e);return function(){try{return!!(new window.DOMParser).parseFromString(yi(""),"text/html")}catch(e){return!1}}()?new Hi(t):t}class Hi{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(yi(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class Ni{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=yi(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=yi(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0zi(e.trim())).join(", ")}function qi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Wi(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const $i=qi("area,br,col,hr,img,wbr"),Gi=qi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Zi=qi("rp,rt"),Ki=Wi(Zi,Gi),Qi=Wi($i,Wi(Gi,qi("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")),Wi(Zi,qi("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")),Ki),Ji=qi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xi=qi("srcset"),er=Wi(Ji,Xi,qi("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"),qi("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")),tr=qi("script,style,template");class nr{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(!Qi.hasOwnProperty(t))return this.sanitizedSomething=!0,!tr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let i=0;i"),!0}endElement(e){const t=e.nodeName.toLowerCase();Qi.hasOwnProperty(t)&&!$i.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(sr(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 ir=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rr=/([^\#-~ |!])/g;function sr(e){return e.replace(/&/g,"&").replace(ir,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(rr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let or;function ar(e,t){let n=null;try{or=or||ji(e);let i=t?String(t):"";n=or.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=or.getInertBodyElement(i)}while(i!==s);return yi((new nr).sanitizeChildren(lr(n)||n))}finally{if(n){const e=lr(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function lr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var cr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function ur(e){const t=vr();return t?wi(t.sanitize(cr.HTML,e)||""):Pi(e,"HTML")?wi(Di(e)):ar(Pe(),_(e))}function dr(e){const t=vr();return t?t.sanitize(cr.STYLE,e)||"":Pi(e,"Style")?Di(e):_(e)}function hr(e){const t=vr();return t?t.sanitize(cr.URL,e)||"":Pi(e,"URL")?Di(e):zi(_(e))}function pr(e){const t=vr();if(t)return Si(t.sanitize(cr.RESOURCE_URL,e)||"");if(Pi(e,"ResourceURL"))return Si(Di(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function fr(e){const t=vr();if(t)return xi(t.sanitize(cr.SCRIPT,e)||"");if(Pi(e,"Script"))return xi(Di(e));throw new Error("unsafe value used in a script context")}function mr(e){return yi(e[0])}function gr(e){return function(e){var t;return(null===(t=vi())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function _r(e,t,n){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?pr:hr}(t,n)(e)}function vr(){const e=Ze();return e&&e[12]}function yr(e,t){e.__ngContext__=t}function br(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function wr(e){return e.ngDebugContext}function xr(e){return e.ngOriginalError}function Sr(e,...t){e.error(...t)}class kr{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||Sr}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?wr(e)?wr(e):this._findContext(xr(e)):null}_findOriginalError(e){let t=xr(e);for(;t&&xr(t);)t=xr(t);return t}}const Cr=/^>|^->||--!>|)/,Er=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(B))();function Tr(e){return e.ownerDocument.defaultView}function Ar(e){return e.ownerDocument}function Dr(e){return e.ownerDocument.body}function Pr(e){return e instanceof Function?e():e}var Lr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let Or;function Ir(e,t){return Or(e,t)}function Rr(e){const t=e[3];return me(t)?t[3]:t}function Yr(e){return jr(e[13])}function Fr(e){return jr(e[4])}function jr(e){for(;null!==e&&!me(e);)e=e[4];return e}function Hr(e,t,n,i,r){if(null!=i){let s,o=!1;me(i)?s=i:fe(i)&&(o=!0,i=i[0]);const a=Ie(i);0===e&&null!==n?null==r?Qr(t,n,a):Kr(t,n,a,r||null,!0):1===e&&null!==n?Kr(t,n,a,r||null,!0):2===e?cs(t,a,o):3===e&&t.destroyNode(a),null!=s&&function(e,t,n,i,r){const s=n[7];s!==Ie(n)&&Hr(t,e,i,s,r);for(let o=pe;oe.replace(Mr,"\u200b$1\u200b"))}(t))}function zr(e,t,n){return Le(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Vr(e,t){const n=e[9],i=n.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,Ve(r,-1)),n.splice(i,1)}function qr(e,t){if(e.length<=pe)return;const n=pe+t,i=e[n];if(i){const s=i[17];null!==s&&s!==e&&Vr(s,i),t>0&&(e[n-1][4]=i[4]);const o=Rn(e,pe+t);ds(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function Wr(e,t){if(!(256&t[2])){const n=t[11];Le(n)&&n.destroyNode&&ds(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return $r(e[1],e);for(;t;){let n=null;if(fe(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)fe(t)&&$r(t[1],t),t=t[3];null===t&&(t=e),fe(t)&&$r(t[1],t),n=t&&t[4]}t=n}}(t)}}function $r(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=0?i[r=l]():i[r=-l].unsubscribe(),s+=2}else{const e=i[r=n[s+1]];n[s].call(e)}if(null!==i){for(let e=r+1;es?"":r[u+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==ms(t,c,0)||2&i&&c!==e){if(ws(i))return!1;o=!0}}}}else{if(!o&&!ws(i)&&!ws(l))return!1;if(o&&ws(l))continue;o=!1,i=l|1&i}}return ws(i)||o}function ws(e){return 0==(1&e)}function xs(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||ws(o)||(t+=Cs(s,r),r=""),i=o,s=s||!ws(i);n++}return""!==r&&(t+=Cs(s,r)),t}const Es={};function Ts(e){As(Ke(),Ze(),Ct()+e,rt())}function As(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Lt(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ot(t,i,0,n)}Mt(n)}function Ds(e,t){return e<<17|t<<2}function Ps(e){return e>>17&32767}function Ls(e){return 2|e}function Os(e){return(131068&e)>>2}function Is(e,t){return-131069&e|t<<2}function Rs(e){return 1|e}function Ys(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;ihe&&As(e,t,he,rt()),n(i,r)}finally{Mt(s)}}function qs(e,t,n){if(ge(t)){const i=t.directiveEnd;for(let r=t.directiveStart;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(i,r,o)}}function to(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function no(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function io(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&fo(n)}}function fo(e){for(let n=Yr(e);null!==n;n=Fr(n))for(let e=pe;e0&&fo(t)}const t=e[1].components;if(null!==t)for(let n=0;n0&&fo(i)}}function mo(e,t){const n=He(t,e),i=n[1];!function(e,t){for(let n=t.length;nPromise.resolve(null))();function xo(e){return e[7]||(e[7]=[])}function So(e){return e.cleanup||(e.cleanup=[])}function ko(e,t,n){return(null===e||ye(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Co(e,t){const n=e[9],i=n?n.get(kr,null):null;i&&i.handleError(t)}function Mo(e,t,n,i,r){for(let s=0;sthis.processProvider(n,e,t)),On([e],e=>this.processInjectorType(e,[],r)),this.records.set(Ao,No(void 0,this));const s=this.records.get(Po);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof e?null:u(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=$n,n=D.Default){this.assertNotDestroyed();const i=Jn(this);try{if(!(n&D.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof kn)&&S(e);t=n&&this.injectableDefInScope(n)?No(jo(e),Lo):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&D.Self?Ro():this.parent).get(e,t=n&D.Optional&&t===$n?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(u(e)),i)throw s;return function(e,t,n,i){const r=e.ngTempTokenPath;throw t[Zn]&&r.unshift(t[Zn]),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=u(t);if(Array.isArray(t))r=t.map(u).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):u(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Gn,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{Jn(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(u(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=f(e)))return!1;let i=C(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=C(r)),null==i)return!1;if(null!=i.imports&&!o){let e;n.push(s);try{On(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,i||z))}}this.injectorDefTypes.add(s);const a=be(s)||(()=>new s);this.records.set(s,No(a,Lo));const l=i.providers;if(null!=l&&!o){const t=e;On(l,e=>this.processProvider(e,t,l))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=Uo(e=f(e))?e:f(e&&e.provide);const r=function(e,t,n){return Bo(e)?No(void 0,e.useValue):No(Ho(e),Lo)}(e);if(Uo(e)||!0!==e.multi)this.records.get(i);else{let t=this.records.get(i);t||(t=No(void 0,Lo,!0),t.factory=()=>ii(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===Lo&&(t.value=Oo,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){if(!e.providedIn)return!1;const t=f(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function jo(e){const t=S(e),n=null!==t?t.factory:be(e);if(null!==n)return n;if(e instanceof kn)throw new Error(`Token ${u(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Yn(t,"?");throw new Error(`Can't resolve all parameters for ${u(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[M]||e[T]);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 a future version of Angular. 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 Ho(e,t,n){let i;if(Uo(e)){const t=f(e);return be(t)||jo(t)}if(Bo(e))i=()=>f(e.useValue);else if((r=e)&&r.useFactory)i=()=>e.useFactory(...ii(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>ei(f(e.useExisting));else{const t=f(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return be(t)||jo(t);i=()=>new t(...ii(e.deps))}var r;return i}function No(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Bo(e){return null!==e&&"object"==typeof e&&Kn in e}function Uo(e){return"function"==typeof e}const zo=function(e,t,n){return function(e,t=null,n=null,i){const r=Yo(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let Vo=(()=>{class e{static create(e,t){return Array.isArray(e)?zo(e,t,""):zo(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=$n,e.NULL=new Do,e.\u0275prov=w({token:e,providedIn:"any",factory:()=>ei(Ao)}),e.__NG_ELEMENT_ID__=-1,e})();function qo(e,t){Pt(br(e)[1],Je())}function Wo(e){return Object.getPrototypeOf(e.prototype).constructor}function $o(e){let t=Wo(e.type),n=!0;const i=[e];for(;t;){let r;if(ye(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=Go(e.inputs),t.declaredInputs=Go(e.declaredInputs),t.outputs=Go(e.outputs);const n=r.hostBindings;n&&Qo(e,n);const s=r.viewQuery,o=r.contentQueries;if(s&&Zo(e,s),o&&Ko(e,o),c(e.inputs,r.inputs),c(e.declaredInputs,r.declaredInputs),c(e.outputs,r.outputs),ye(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}}const t=r.features;if(t)for(let i=0;i=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Ut(r.hostAttrs,n=Ut(n,r.hostAttrs))}}(i)}function Go(e){return e===U?{}:e===z?[]:e}function Zo(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function Ko(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function Qo(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}const Jo=["providersResolver"],Xo=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function ea(e){let t,n=Wo(e.type);t=ye(e)?n.\u0275cmp:n.\u0275dir;const i=e;for(const r of Jo)i[r]=t[r];if(ye(t))for(const r of Xo)i[r]=t[r]}let ta=null;function na(){if(!ta){const e=B.Symbol;if(e&&e.iterator)ta=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;ta(Ie(e[i.index])):i.index;if(Le(n)){let o=null;if(!a&&l&&(o=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;sn?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=Qa(i,t,0,s,!1);const e=n.listen(p,r,s);u.push(s,e),c&&c.push(r,m,f,f+1)}}else s=Qa(i,t,0,s,!0),p.addEventListener(r,s,o),u.push(s),c&&c.push(r,m,f,o)}else s=Qa(i,t,0,s,!1);const h=i.outputs;let p;if(d&&null!==h&&(p=h[r])){const e=p.length;if(e)for(let n=0;n0;)t=t[15],e--;return t}(e,qe.lFrame.contextLView))[8]}(e)}function Xa(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=0}const fl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ml(e){return e.substring(fl.key,fl.keyEnd)}function gl(e){return e.substring(fl.value,fl.valueEnd)}function _l(e,t){const n=fl.textEnd;return n===t?-1:(t=fl.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,fl.key=t,n),bl(e,t,n))}function vl(e,t){const n=fl.textEnd;let i=fl.key=bl(e,t,n);return n===i?-1:(i=fl.keyEnd=function(e,t,n){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=wl(e,i,n),i=fl.value=bl(e,i,n),i=fl.valueEnd=function(e,t,n){let i=-1,r=-1,s=-1,o=t,a=o;for(;o32&&(a=o),s=r,r=i,i=-33&l}return a}(e,i,n),wl(e,i,n))}function yl(e){fl.key=0,fl.keyEnd=0,fl.value=0,fl.valueEnd=0,fl.textEnd=e.length}function bl(e,t,n){for(;t=0;n=vl(t,n))Rl(e,ml(t),gl(t))}function El(e){Dl(Fn,Tl,e,!0)}function Tl(e,t){for(let n=function(e){return yl(e),_l(e,bl(e,0,fl.textEnd))}(t);n>=0;n=_l(t,n))Fn(e,ml(t),!0)}function Al(e,t,n,i){const r=Ze(),s=Ke(),o=ut(2);s.firstUpdatePass&&Ll(s,e,o,i),t!==Es&&la(r,o,t)&&Yl(s,s.data[Ct()],r,r[11],e,r[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=u(Di(e)))),e}(t,n),i,o)}function Dl(e,t,n,i){const r=Ke(),s=ut(2);r.firstUpdatePass&&Ll(r,null,s,i);const o=Ze();if(n!==Es&&la(o,s,n)){const a=r.data[Ct()];if(Hl(a,i)&&!Pl(r,s)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=d(e,n||"")),Ya(r,a,o,n,i)}else!function(e,t,n,i,r,s,o,a){r===Es&&(r=z);let l=0,c=0,u=0=e.expandoStartIndex}function Ll(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[Ct()],o=Pl(e,n);Hl(s,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){const r=ft(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Il(n=Ol(null,e,t,n,i),t.attrs,i),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=Ol(r,e,t,n,i),null===s){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Os(i))return e[Ps(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=Ol(null,e,t,n[1],i),n=Il(n,t.attrs,i),function(e,t,n,i){e[Ps(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else s=function(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(u=!0)}else c=n;if(r)if(0!==l){const t=Ps(e[a+1]);e[i+1]=Ds(t,a),0!==t&&(e[t+1]=Is(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=Ds(a,0),0!==a&&(e[a+1]=Is(e[a+1],i)),a=i;else e[i+1]=Ds(l,0),0===a?a=i:e[l+1]=Is(e[l+1],i),l=i;u&&(e[i+1]=Ls(e[i+1])),hl(e,c,i,!0),hl(e,c,i,!1),function(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Hn(s,t)>=0&&(n[i+1]=Rs(n[i+1]))}(t,c,e,i,s),o=Ds(a,l),s?t.classBindings=o:t.styleBindings=o}(r,s,t,n,o,i)}}function Ol(e,t,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const t=e[r],s=Array.isArray(t),l=s?t[1]:t,c=null===l;let u=n[r+1];u===Es&&(u=c?z:void 0);let d=c?jn(u,i):l===i?u:void 0;if(s&&!jl(d)&&(d=jn(t,i)),jl(d)&&(a=d,o))return a;const h=e[r+1];r=o?Ps(h):Os(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=jn(e,i))}return a}function jl(e){return void 0!==e}function Hl(e,t){return 0!=(e.flags&(t?16:32))}function Nl(e,t=""){const n=Ze(),i=Ke(),r=e+he,s=i.firstCreatePass?js(i,r,1,t,null):i.data[r],o=n[r]=Nr(n[11],t);ss(i,n,o,s),tt(s,!1)}function Bl(e){return Ul("",e,""),Bl}function Ul(e,t,n){const i=Ze(),r=fa(i,e,t,n);return r!==Es&&Eo(i,Ct(),r),Ul}function zl(e,t,n,i,r){const s=Ze(),o=ma(s,e,t,n,i,r);return o!==Es&&Eo(s,Ct(),o),zl}function Vl(e,t,n,i,r,s,o){const a=Ze(),l=ga(a,e,t,n,i,r,s,o);return l!==Es&&Eo(a,Ct(),l),Vl}function ql(e,t,n,i,r,s,o,a,l){const c=Ze(),u=_a(c,e,t,n,i,r,s,o,a,l);return u!==Es&&Eo(c,Ct(),u),ql}function Wl(e,t,n,i,r,s,o,a,l,c,u){const d=Ze(),h=va(d,e,t,n,i,r,s,o,a,l,c,u);return h!==Es&&Eo(d,Ct(),h),Wl}function $l(e,t,n,i,r,s,o,a,l,c,u,d,h){const p=Ze(),f=ya(p,e,t,n,i,r,s,o,a,l,c,u,d,h);return f!==Es&&Eo(p,Ct(),f),$l}function Gl(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){const m=Ze(),g=ba(m,e,t,n,i,r,s,o,a,l,c,u,d,h,p,f);return g!==Es&&Eo(m,Ct(),g),Gl}function Zl(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g){const _=Ze(),v=wa(_,e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g);return v!==Es&&Eo(_,Ct(),v),Zl}function Kl(e){const t=Ze(),n=pa(t,e);return n!==Es&&Eo(t,Ct(),n),Kl}function Ql(e,t,n){Dl(Fn,Tl,fa(Ze(),e,t,n),!0)}function Jl(e,t,n,i,r){Dl(Fn,Tl,ma(Ze(),e,t,n,i,r),!0)}function Xl(e,t,n,i,r,s,o){Dl(Fn,Tl,ga(Ze(),e,t,n,i,r,s,o),!0)}function ec(e,t,n,i,r,s,o,a,l){Dl(Fn,Tl,_a(Ze(),e,t,n,i,r,s,o,a,l),!0)}function tc(e,t,n,i,r,s,o,a,l,c,u){Dl(Fn,Tl,va(Ze(),e,t,n,i,r,s,o,a,l,c,u),!0)}function nc(e,t,n,i,r,s,o,a,l,c,u,d,h){Dl(Fn,Tl,ya(Ze(),e,t,n,i,r,s,o,a,l,c,u,d,h),!0)}function ic(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){Dl(Fn,Tl,ba(Ze(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f),!0)}function rc(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g){Dl(Fn,Tl,wa(Ze(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g),!0)}function sc(e){Dl(Fn,Tl,pa(Ze(),e),!0)}function oc(e,t,n){Cl(fa(Ze(),e,t,n))}function ac(e,t,n,i,r){Cl(ma(Ze(),e,t,n,i,r))}function lc(e,t,n,i,r,s,o){Cl(ga(Ze(),e,t,n,i,r,s,o))}function cc(e,t,n,i,r,s,o,a,l){Cl(_a(Ze(),e,t,n,i,r,s,o,a,l))}function uc(e,t,n,i,r,s,o,a,l,c,u){Cl(va(Ze(),e,t,n,i,r,s,o,a,l,c,u))}function dc(e,t,n,i,r,s,o,a,l,c,u,d,h){Cl(ya(Ze(),e,t,n,i,r,s,o,a,l,c,u,d,h))}function hc(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){Cl(ba(Ze(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f))}function pc(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g){Cl(wa(Ze(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g))}function fc(e){Cl(pa(Ze(),e))}function mc(e,t,n,i,r){return Al(e,fa(Ze(),t,n,i),r,!1),mc}function gc(e,t,n,i,r,s,o){return Al(e,ma(Ze(),t,n,i,r,s),o,!1),gc}function _c(e,t,n,i,r,s,o,a,l){return Al(e,ga(Ze(),t,n,i,r,s,o,a),l,!1),_c}function vc(e,t,n,i,r,s,o,a,l,c,u){return Al(e,_a(Ze(),t,n,i,r,s,o,a,l,c),u,!1),vc}function yc(e,t,n,i,r,s,o,a,l,c,u,d,h){return Al(e,va(Ze(),t,n,i,r,s,o,a,l,c,u,d),h,!1),yc}function bc(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){return Al(e,ya(Ze(),t,n,i,r,s,o,a,l,c,u,d,h,p),f,!1),bc}function wc(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g){return Al(e,ba(Ze(),t,n,i,r,s,o,a,l,c,u,d,h,p,f,m),g,!1),wc}function xc(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g,_,v){return Al(e,wa(Ze(),t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g,_),v,!1),xc}function Sc(e,t,n){return Al(e,pa(Ze(),t),n,!1),Sc}function kc(e,t,n){const i=Ze();return la(i,ct(),t)&&Js(Ke(),Et(),i,e,t,i[11],n,!0),kc}function Cc(e,t,n){const i=Ze();if(la(i,ct(),t)){const r=Ke(),s=Et();Js(r,s,i,e,t,ko(ft(r.data),s,i),n,!0)}return Cc}const Mc=void 0;var Ec=["en",[["a","p"],["AM","PM"],Mc],[["AM","PM"],Mc,Mc],[["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"]],Mc,[["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"]],Mc,[["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}",Mc,"{1} 'at' {0}",Mc],[".",",",";","%","+","-","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 Tc={};function Ac(e,t,n){"string"!=typeof t&&(n=t,t=e[Oc.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Tc[t]=e,n&&(Tc[t][Oc.ExtraData]=n)}function Dc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Lc(t);if(n)return n;const i=t.split("-")[0];if(n=Lc(i),n)return n;if("en"===i)return Ec;throw new Error(`Missing locale data for the locale "${e}".`)}function Pc(e){return Dc(e)[Oc.PluralCase]}function Lc(e){return e in Tc||(Tc[e]=B.ng&&B.ng.common&&B.ng.common.locales&&B.ng.common.locales[e]),Tc[e]}var Oc=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Ic=["zero","one","two","few","many"],Rc="en-US",Yc={marker:"element"},Fc={marker:"ICU"};var jc=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}({});let Hc=Rc;function Nc(e){var t;null==(t=e)&&b("Expected localeId to be defined",t,null,"!="),"string"==typeof e&&(Hc=e.toLowerCase().replace(/_/g,"-"))}function Bc(e,t,n){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?ts(e,0,n):Ie(n[r])}function Uc(e,t,n,i,r){const s=t.insertBeforeIndex;if(Array.isArray(s)){let o=i,a=null;if(3&t.type||(a=o,o=r),null!==o&&0==(2&t.flags))for(let t=1;t1)for(let n=e.length-2;n>=0;n--){const i=e[n];Vc(i)||qc(i,t)&&null===Wc(i)&&$c(i,t.index)}}function Vc(e){return!(64&e.type)}function qc(e,t){return Vc(t)||e.index>t.index}function Wc(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function $c(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(rs(Bc,Uc),e.insertBeforeIndex=t)}function Gc(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Zc(e,t,n){const i=Hs(e,n,64,null,null);return zc(t,i),i}function Kc(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}let Qc=0,Jc=0;function Xc(e,t,n,i){const r=n[11];let s,o=null;for(let a=0;a>>17;let u,d;if(null===o&&(o=c,s=Xr(r,i)),c===o?(u=i,d=s):(u=null,d=Ie(n[c])),null!==d){const t=(131070&l)>>>1;Kr(r,d,n[t],u,!1);const i=Gc(e,t);if(null!==i&&"object"==typeof i){const t=Kc(i,n);null!==t&&Xc(e,i.create[t],n,n[i.anchorIdx])}}break;case 1:const h=t[++a],p=t[++a];lo(r,Re(l>>>1,n),null,null,h,p,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case Fc:const e=t[++a],i=t[++a];null===n[i]&&yr(n[i]=Ur(r,e),n);break;case Yc:const s=t[++a],o=t[++a];null===n[o]&&yr(n[o]=zr(r,s,null),n)}}}function eu(e,t,n,i,r){for(let s=0;s>>2;switch(3&s){case 1:const s=n[++o],l=n[++o],c=e.data[a];"string"==typeof c?lo(t[11],t[a],null,c,s,r,l):Js(e,c,t,s,r,t[11],l,!1);break;case 0:const u=t[a];null!==u&&Br(t[11],u,r);break;case 2:nu(e,Gc(e,a),t,r);break;case 3:tu(e,Gc(e,a),i,t)}}}}else{const r=n[s+1];if(r>0&&3==(3&r)){const n=Gc(e,r>>>2);t[n.currentCaseLViewIndex]<0&&tu(e,n,i,t)}}s+=a}}function tu(e,t,n,i){let r=i[t.currentCaseLViewIndex];if(null!==r){let s=Qc;r<0&&(r=i[t.currentCaseLViewIndex]=~r,s=-1),eu(e,i,t.update[r],n,s)}}function nu(e,t,n,i){const r=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){const n=Pc(t)(parseInt(e,10)),i=Ic[n];return void 0!==i?i:"other"}(t,Hc);n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,i);if(Kc(t,n)!==r&&(iu(e,t,n),n[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const i=n[t.anchorIdx];i&&Xc(e,t.create[r],n,i)}}function iu(e,t,n){let i=Kc(t,n);if(null!==i){const r=t.remove[i];for(let t=0;t0){const e=Re(i,n);null!==e&&cs(n[11],e)}else iu(e,Gc(e,~i),n)}}}const ru=/\ufffd(\d+):?\d*\ufffd/gi,su=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,ou=/\ufffd(\d+)\ufffd/,au=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,lu=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,cu=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,uu=/\uE500/g;function du(e,t,n,i,r,s,o){const a=Ns(e,i,1,null);let l=a<0?t[o]:(e.push(i,n),r(t[1].data[~o],t),s())}return 0===e.length?null:(n=e.pop(),i=e.pop(),s())}return function(n,i){for(t=i;e.length;)e.pop();return r(n.value,i),s}}())),r.push(l,null===s?"":s);const u=Hs(e,a,o?32:1,null===s?"":s,null);zc(n,u);const d=u.index;return tt(u,!1),null!==c&&t!==c&&function(e,t){let n=e.insertBeforeIndex;var i;null===n?(rs(Bc,Uc),n=e.insertBeforeIndex=[null,t]):("Expecting array here",(i=Array.isArray(n))!=!0&&b("Expecting array here",i,true,"=="),n.push(t))}(c,d),u}function hu(e,t,n,i,r,s,o){const a=o.match(ru),l=du(e,t,n,s,i,a?null:o,!1);a&&pu(r,o,l.index,null,0,null)}function pu(e,t,n,i,r,s){const o=e.length,a=o+1;e.push(null,null);const l=o+2,c=t.split(ru);let u=0;for(let d=0;dn.length&&n.push(r)}return{type:i,mainBinding:r,cases:t,values:n}}function yu(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);au.test(n)?i.push(vu(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 bu(e,t,n,i,r,s,o,a){const l=[],c=[],u=[];t.cases.push(s),t.create.push(l),t.remove.push(c),t.update.push(u);const d=ji(Pe()).getInertBodyElement(o),h=lr(d)||d;return h?wu(e,t,n,i,l,c,u,h,r,a,0):0}function wu(e,t,n,i,r,s,o,a,l,c,u){let d=0,h=a.firstChild;for(;h;){const a=Ns(e,n,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const p=h,f=p.tagName.toLowerCase();if(Qi.hasOwnProperty(f)){ku(r,Yc,f,l,a),e.data[a]=f;const m=p.attributes;for(let e=0;e>>jc.SHIFT;let d=e[u];null===d&&(d=e[u]=l?r.createComment(a):Nr(r,a)),c&&null!==n&&Kr(r,n,d,i,!1)}}(r,l.create,c,a&&8&a.type?r[a.index]:null),dt(!0)}function Iu(){dt(!1)}function Ru(e,t,n){Ou(e,t,n),Iu()}function Yu(e,t){const n=Ke(),i=Ue(n.consts,t);!function(e,t,n){const i=Je().index,r=[];if(e.firstCreatePass&&null===e.data[t]){for(let e=0;e0){const i=e.data[n];eu(e,t,Array.isArray(i)?i:i.update,at()-Jc-1,Qc)}Qc=0,Jc=0}(Ke(),Ze(),e+he)}function Hu(e,t={}){return function(e,t={}){let n=e;if(Mu.test(e)){const e={},t=[0];n=n.replace(Eu,(n,i,r)=>{const s=i||r,o=e[s]||[];if(o.length||(s.split("|").forEach(e=>{const t=e.match(Lu),n=t?parseInt(t[1],10):0,i=Pu.test(e);o.push([n,i,e])}),e[s]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${s}`);const a=t[t.length-1];let l=0;for(let e=0;et.hasOwnProperty(i)?`${n}${t[i]}${o}`:e),n=n.replace(Au,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(Du,(e,n)=>{if(t.hasOwnProperty(n)){const i=t[n];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return i.shift()}return e}),n):n}(e,t)}function Nu(e,t,n,i,r){if(e=f(e),Array.isArray(e))for(let s=0;s>20;if(Uo(e)||!e.multi){const i=new jt(l,r,Oa),p=zu(a,t,r?u:u+h,d);-1===p?(en(Kt(c,o),s,a),Bu(s,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=zu(a,t,u+h,d),f=zu(a,t,u,u+h),m=p>=0&&n[p],g=f>=0&&n[f];if(r&&!g||!r&&!m){en(Kt(c,o),s,a);const u=function(e,t,n,i,r){const s=new jt(e,n,Oa);return s.multi=[],s.index=t,s.componentProviders=0,Uu(s,r,i&&!n),s}(r?qu:Vu,n.length,r,i,l);!r&&g&&(n[f].providerFactory=u),Bu(s,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Bu(s,e,p>-1?p:f,Uu(n[r?f:p],l,!r&&i));!r&&i&&g&&n[f].componentProviders++}}}function Bu(e,t,n,i){const r=Uo(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 Uu(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function zu(e,t,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(e,t,n){const i=Ke();if(i.firstCreatePass){const r=ye(e);Nu(n,i.data,i.blueprint,r,!0),Nu(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}class Gu{}class Zu{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${u(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Ku=(()=>{class e{}return e.NULL=new Zu,e})();function Qu(...e){}function Ju(e,t){return new ed(Ye(e,t))}const Xu=function(){return Ju(Je(),Ze())};let ed=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=Xu,e})();function td(e){return e instanceof ed?e.nativeElement:e}class nd{}let id=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>rd(),e})();const rd=function(){const e=Ze(),t=He(Je().index,e);return function(e){return e[11]}(fe(t)?t:e)};let sd=(()=>{class e{}return e.\u0275prov=w({token:e,providedIn:"root",factory:()=>null}),e})();class od{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const ad=new od("12.0.0");class ld{constructor(){}supports(e){return ra(e)}create(e){return new ud(e)}}const cd=(e,t)=>t;class ud{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||cd}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{i=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,e,i,t)),Object.is(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;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):e=this._addAfter(new dd(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 pd),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 pd),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 dd{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 hd{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)&&Object.is(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 pd{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new hd,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 fd(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{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 _d(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){Object.is(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 _d{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}}function vd(){return new yd([new ld])}let yd=(()=>{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=>e.create(t,n||vd()),deps:[[e,new li,new oi]]}}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=w({token:e,providedIn:"root",factory:vd}),e})();function bd(){return new wd([new md])}let wd=(()=>{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=>e.create(t,n||bd()),deps:[[e,new li,new oi]]}}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=w({token:e,providedIn:"root",factory:bd}),e})();function xd(e,t,n,i,r=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&i.push(Ie(s)),me(s))for(let e=pe;e-1&&(qr(e,n),Rn(t,n))}this._attachedToViewContainer=!1}Wr(this._lView[1],this._lView)}onDestroy(e){Ks(this._lView[1],this._lView,null,e)}markForCheck(){_o(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){vo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){st(!0);try{vo(e,t,n)}finally{st(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,ds(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class kd extends Sd{constructor(e){super(e),this._view=e}detectChanges(){yo(this._view)}checkNoChanges(){!function(e){st(!0);try{yo(e)}finally{st(!1)}}(this._view)}get context(){return null}}const Cd=function(e){return function(e,t,n){if(_e(e)&&!n){const n=He(e.index,t);return new Sd(n,n)}return 47&e.type?new Sd(t[16],t):null}(Je(),Ze(),16==(16&e))};let Md=(()=>{class e{}return e.__NG_ELEMENT_ID__=Cd,e})();const Ed=[new md],Td=new yd([new ld]),Ad=new wd(Ed),Dd=function(){return Id(Je(),Ze())};let Pd=(()=>{class e{}return e.__NG_ELEMENT_ID__=Dd,e})();const Ld=Pd,Od=class extends Ld{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Fs(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Bs(t,n,e),new Sd(n)}};function Id(e,t){return 4&e.type?new Od(t,e,Ju(e,t)):null}class Rd{}class Yd{}const Fd=function(){return zd(Je(),Ze())};let jd=(()=>{class e{}return e.__NG_ELEMENT_ID__=Fd,e})();const Hd=jd,Nd=class extends Hd{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Ju(this._hostTNode,this._hostLView)}get injector(){return new hn(this._hostTNode,this._hostLView)}get parentInjector(){const e=Xt(this._hostTNode,this._hostLView);if(Vt(e)){const t=Wt(e,this._hostLView),n=qt(e);return new hn(t[1].data[n+8],t)}return new hn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Bd(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-pe}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(Rd,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(me(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new Nd(t,t[6],t[3]);i.detach(i.indexOf(e))}}const r=this._adjustIndex(t),s=this._lContainer;!function(e,t,n,i){const r=pe+i,s=n.length;i>0&&(n[r-1][4]=t),iEr});class Gd extends Gu{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Ms).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Wd(this.componentDef.inputs)}get outputs(){return Wd(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,Vd,r);return s!==Vd||i===Vd?s:t.get(n,i,r)}}}(e,i.injector):e,s=r.get(nd,Oe),o=r.get(sd,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(Le(e))return e.selectRootElement(t,n===Y.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(a,n,this.componentDef.encapsulation):zr(s.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?Ee:"math"===t?Te:null}(l)),u=this.componentDef.onPush?576:528,d={components:[],scheduler:Er,clean:wo,playerHandler:null,flags:0},h=Zs(0,null,null,1,0,null,null,null,null,null),p=Fs(null,h,d,u,null,null,s,a,o,r);let f,m;yt(p);try{const e=function(e,t,n,i,r,s){const o=n[1];n[20]=e;const a=js(o,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(To(a,l,!0),null!==e&&(Ht(r,e,l),null!==a.classes&&fs(r,e,a.classes),null!==a.styles&&ps(r,e,a.styles)));const c=i.createRenderer(e,t),u=Fs(n,Gs(t),null,t.onPush?64:16,n[20],a,i,c,null,null);return o.firstCreatePass&&(en(Kt(a,n),o,t.type),no(o,a),ro(a,n.length,1)),go(n,u),n[20]=u}(c,this.componentDef,p,s,a);if(c)if(n)Ht(a,c,["ng-version",ad.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,r=2;for(;i0&&fs(a,c,t.join(" "))}if(m=Fe(h,he),void 0!==t){const e=m.projection=[];for(let n=0;ne(o,t)),t.contentQueries){const e=Je();t.contentQueries(1,o,e.directiveStart)}const a=Je();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Mt(a.index),eo(n[1],a,0,a.directiveStart,a.directiveEnd,t),to(t,o)),o}(e,this.componentDef,p,d,[qo]),Bs(h,p,null)}finally{kt()}return new Zd(this.componentType,f,Ju(m,p),p,m)}}class Zd extends class{}{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=t,this.hostView=this.changeDetectorRef=new kd(i),this.componentType=e}get injector(){return new hn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}function Kd(e,t,n,i){return I(()=>{const r=e;null!==t&&(r.hasOwnProperty("decorators")&&void 0!==r.decorators?r.decorators.push(...t):r.decorators=t),null!==n&&(r.ctorParameters=n),null!==i&&(r.propDecorators=r.hasOwnProperty("propDecorators")&&void 0!==r.propDecorators?Object.assign(Object.assign({},r.propDecorators),i):i)})}const Qd=new Map;class Jd extends Rd{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new qd(this);const n=de(e),i=e[G]||null;i&&Nc(i),this._bootstrapComponents=Pr(n.bootstrap),this._r3Injector=Yo(e,t,[{provide:Rd,useValue:this},{provide:Ku,useValue:this.componentFactoryResolver}],u(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Vo.THROW_IF_NOT_FOUND,n=D.Default){return e===Vo||e===Rd||e===Ao?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Xd extends Yd{constructor(e){super(),this.moduleType=e,null!==de(e)&&function(e){const t=new Set;!function e(n){const i=de(n,!0),r=i.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${u(t)} vs ${u(t.name)}`)}(r,Qd.get(r),n),Qd.set(r,n));const s=Pr(i.imports);for(const o of s)t.has(o)||(t.add(o),e(o))}(e)}(e)}create(e){return new Jd(this.moduleType,e)}}function eh(e,t,n){const i=ot()+e,r=Ze();return r[i]===Es?oa(r,i,n?t.call(n):t()):aa(r,i)}function th(e,t,n,i){return dh(Ze(),ot(),e,t,n,i)}function nh(e,t,n,i,r){return hh(Ze(),ot(),e,t,n,i,r)}function ih(e,t,n,i,r,s){return ph(Ze(),ot(),e,t,n,i,r,s)}function rh(e,t,n,i,r,s,o){return fh(Ze(),ot(),e,t,n,i,r,s,o)}function sh(e,t,n,i,r,s,o,a){const l=ot()+e,c=Ze(),u=da(c,l,n,i,r,s);return la(c,l+4,o)||u?oa(c,l+5,a?t.call(a,n,i,r,s,o):t(n,i,r,s,o)):aa(c,l+5)}function oh(e,t,n,i,r,s,o,a,l){const c=ot()+e,u=Ze(),d=da(u,c,n,i,r,s);return ca(u,c+4,o,a)||d?oa(u,c+6,l?t.call(l,n,i,r,s,o,a):t(n,i,r,s,o,a)):aa(u,c+6)}function ah(e,t,n,i,r,s,o,a,l,c){const u=ot()+e,d=Ze();let h=da(d,u,n,i,r,s);return ua(d,u+4,o,a,l)||h?oa(d,u+7,c?t.call(c,n,i,r,s,o,a,l):t(n,i,r,s,o,a,l)):aa(d,u+7)}function lh(e,t,n,i,r,s,o,a,l,c,u){const d=ot()+e,h=Ze(),p=da(h,d,n,i,r,s);return da(h,d+4,o,a,l,c)||p?oa(h,d+8,u?t.call(u,n,i,r,s,o,a,l,c):t(n,i,r,s,o,a,l,c)):aa(h,d+8)}function ch(e,t,n,i){return mh(Ze(),ot(),e,t,n,i)}function uh(e,t){const n=e[t];return n===Es?void 0:n}function dh(e,t,n,i,r,s){const o=t+n;return la(e,o,r)?oa(e,o+1,s?i.call(s,r):i(r)):uh(e,o+1)}function hh(e,t,n,i,r,s,o){const a=t+n;return ca(e,a,r,s)?oa(e,a+2,o?i.call(o,r,s):i(r,s)):uh(e,a+2)}function ph(e,t,n,i,r,s,o,a){const l=t+n;return ua(e,l,r,s,o)?oa(e,l+3,a?i.call(a,r,s,o):i(r,s,o)):uh(e,l+3)}function fh(e,t,n,i,r,s,o,a,l){const c=t+n;return da(e,c,r,s,o,a)?oa(e,c+4,l?i.call(l,r,s,o,a):i(r,s,o,a)):uh(e,c+4)}function mh(e,t,n,i,r,s){let o=t+n,a=!1;for(let l=0;l=0;n--){const i=t[n];if(e===i.name)return i}throw new g("302",`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=be(i.type)),o=L(Oa);try{const e=Gt(!1),t=s();return Gt(e),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Ze(),r,t),t}finally{L(o)}}function _h(e,t,n){const i=e+he,r=Ze(),s=je(r,i);return Sh(r,xh(r,i)?dh(r,ot(),t,s.transform,n,s):s.transform(n))}function vh(e,t,n,i){const r=e+he,s=Ze(),o=je(s,r);return Sh(s,xh(s,r)?hh(s,ot(),t,o.transform,n,i,o):o.transform(n,i))}function yh(e,t,n,i,r){const s=e+he,o=Ze(),a=je(o,s);return Sh(o,xh(o,s)?ph(o,ot(),t,a.transform,n,i,r,a):a.transform(n,i,r))}function bh(e,t,n,i,r,s){const o=e+he,a=Ze(),l=je(a,o);return Sh(a,xh(a,o)?fh(a,ot(),t,l.transform,n,i,r,s,l):l.transform(n,i,r,s))}function wh(e,t,n){const i=e+he,r=Ze(),s=je(r,i);return Sh(r,xh(r,i)?mh(r,ot(),t,s.transform,n,s):s.transform.apply(s,n))}function xh(e,t){return e[1].data[t].pure}function Sh(e,t){return ia.isWrapped(t)&&(t=ia.unwrap(t),e[at()]=Es),t}function kh(e){return t=>{setTimeout(e,void 0,t)}}const Ch=class extends i.xQ{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){var i,s,o;let a=e,l=t||(()=>null),c=n;if(e&&"object"==typeof e){const t=e;a=null===(i=t.next)||void 0===i?void 0:i.bind(t),l=null===(s=t.error)||void 0===s?void 0:s.bind(t),c=null===(o=t.complete)||void 0===o?void 0:o.bind(t)}this.__isAsync&&(l=kh(l),a&&(a=kh(a)),c&&(c=kh(c)));const u=super.subscribe({next:a,error:l,complete:c});return e instanceof r.w&&e.add(u),u}};function Mh(){return this._results[na()]()}class Eh{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=na(),n=Eh.prototype;n[t]||(n[t]=Mh)}get changes(){return this._changes||(this._changes=new Ch)}get(e){return this._results[e]}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,t){const n=this;n.dirty=!1;const i=Ln(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i0)i.push(o[e/2]);else{const r=s[e+1],o=t[-n];for(let e=pe;e({"\u0275\u0275attribute":ha,"\u0275\u0275attributeInterpolate1":xa,"\u0275\u0275attributeInterpolate2":Sa,"\u0275\u0275attributeInterpolate3":ka,"\u0275\u0275attributeInterpolate4":Ca,"\u0275\u0275attributeInterpolate5":Ma,"\u0275\u0275attributeInterpolate6":Ea,"\u0275\u0275attributeInterpolate7":Ta,"\u0275\u0275attributeInterpolate8":Aa,"\u0275\u0275attributeInterpolateV":Da,"\u0275\u0275defineComponent":J,"\u0275\u0275defineDirective":oe,"\u0275\u0275defineInjectable":w,"\u0275\u0275defineInjector":x,"\u0275\u0275defineNgModule":ie,"\u0275\u0275definePipe":ae,"\u0275\u0275directiveInject":Oa,"\u0275\u0275getInheritedFactory":pn,"\u0275\u0275inject":ei,"\u0275\u0275injectAttribute":mn,"\u0275\u0275invalidFactory":Ia,"\u0275\u0275invalidFactoryDep":ti,"\u0275\u0275templateRefExtractor":Vh,"\u0275\u0275NgOnChangesFeature":xe,"\u0275\u0275ProvidersFeature":$u,"\u0275\u0275CopyDefinitionFeature":ea,"\u0275\u0275InheritDefinitionFeature":$o,"\u0275\u0275nextContext":Ja,"\u0275\u0275namespaceHTML":Dt,"\u0275\u0275namespaceMathML":At,"\u0275\u0275namespaceSVG":Tt,"\u0275\u0275enableBindings":$e,"\u0275\u0275disableBindings":Ge,"\u0275\u0275elementStart":Fa,"\u0275\u0275elementEnd":ja,"\u0275\u0275element":Ha,"\u0275\u0275elementContainerStart":Na,"\u0275\u0275elementContainerEnd":Ba,"\u0275\u0275elementContainer":Ua,"\u0275\u0275pureFunction0":eh,"\u0275\u0275pureFunction1":th,"\u0275\u0275pureFunction2":nh,"\u0275\u0275pureFunction3":ih,"\u0275\u0275pureFunction4":rh,"\u0275\u0275pureFunction5":sh,"\u0275\u0275pureFunction6":oh,"\u0275\u0275pureFunction7":ah,"\u0275\u0275pureFunction8":lh,"\u0275\u0275pureFunctionV":ch,"\u0275\u0275getCurrentView":za,"\u0275\u0275restoreView":Qe,"\u0275\u0275listener":$a,"\u0275\u0275projection":tl,"\u0275\u0275syntheticHostProperty":Cc,"\u0275\u0275syntheticHostListener":Ga,"\u0275\u0275pipeBind1":_h,"\u0275\u0275pipeBind2":vh,"\u0275\u0275pipeBind3":yh,"\u0275\u0275pipeBind4":bh,"\u0275\u0275pipeBindV":wh,"\u0275\u0275projectionDef":el,"\u0275\u0275hostProperty":kc,"\u0275\u0275property":Ra,"\u0275\u0275propertyInterpolate":nl,"\u0275\u0275propertyInterpolate1":il,"\u0275\u0275propertyInterpolate2":rl,"\u0275\u0275propertyInterpolate3":sl,"\u0275\u0275propertyInterpolate4":ol,"\u0275\u0275propertyInterpolate5":al,"\u0275\u0275propertyInterpolate6":ll,"\u0275\u0275propertyInterpolate7":cl,"\u0275\u0275propertyInterpolate8":ul,"\u0275\u0275propertyInterpolateV":dl,"\u0275\u0275pipe":gh,"\u0275\u0275queryRefresh":Fh,"\u0275\u0275viewQuery":jh,"\u0275\u0275loadQuery":Nh,"\u0275\u0275contentQuery":Hh,"\u0275\u0275reference":La,"\u0275\u0275classMap":El,"\u0275\u0275classMapInterpolate1":Ql,"\u0275\u0275classMapInterpolate2":Jl,"\u0275\u0275classMapInterpolate3":Xl,"\u0275\u0275classMapInterpolate4":ec,"\u0275\u0275classMapInterpolate5":tc,"\u0275\u0275classMapInterpolate6":nc,"\u0275\u0275classMapInterpolate7":ic,"\u0275\u0275classMapInterpolate8":rc,"\u0275\u0275classMapInterpolateV":sc,"\u0275\u0275styleMap":Cl,"\u0275\u0275styleMapInterpolate1":oc,"\u0275\u0275styleMapInterpolate2":ac,"\u0275\u0275styleMapInterpolate3":lc,"\u0275\u0275styleMapInterpolate4":cc,"\u0275\u0275styleMapInterpolate5":uc,"\u0275\u0275styleMapInterpolate6":dc,"\u0275\u0275styleMapInterpolate7":hc,"\u0275\u0275styleMapInterpolate8":pc,"\u0275\u0275styleMapInterpolateV":fc,"\u0275\u0275styleProp":Sl,"\u0275\u0275stylePropInterpolate1":mc,"\u0275\u0275stylePropInterpolate2":gc,"\u0275\u0275stylePropInterpolate3":_c,"\u0275\u0275stylePropInterpolate4":vc,"\u0275\u0275stylePropInterpolate5":yc,"\u0275\u0275stylePropInterpolate6":bc,"\u0275\u0275stylePropInterpolate7":wc,"\u0275\u0275stylePropInterpolate8":xc,"\u0275\u0275stylePropInterpolateV":Sc,"\u0275\u0275classProp":kl,"\u0275\u0275advance":Ts,"\u0275\u0275template":Pa,"\u0275\u0275text":Nl,"\u0275\u0275textInterpolate":Bl,"\u0275\u0275textInterpolate1":Ul,"\u0275\u0275textInterpolate2":zl,"\u0275\u0275textInterpolate3":Vl,"\u0275\u0275textInterpolate4":ql,"\u0275\u0275textInterpolate5":Wl,"\u0275\u0275textInterpolate6":$l,"\u0275\u0275textInterpolate7":Gl,"\u0275\u0275textInterpolate8":Zl,"\u0275\u0275textInterpolateV":Kl,"\u0275\u0275i18n":Ru,"\u0275\u0275i18nAttributes":Yu,"\u0275\u0275i18nExp":Fu,"\u0275\u0275i18nStart":Ou,"\u0275\u0275i18nEnd":Iu,"\u0275\u0275i18nApply":ju,"\u0275\u0275i18nPostprocess":Hu,"\u0275\u0275resolveWindow":Tr,"\u0275\u0275resolveDocument":Ar,"\u0275\u0275resolveBody":Dr,"\u0275\u0275setComponentScope":X,"\u0275\u0275setNgModuleScope":re,"\u0275\u0275sanitizeHtml":ur,"\u0275\u0275sanitizeStyle":dr,"\u0275\u0275sanitizeResourceUrl":pr,"\u0275\u0275sanitizeScript":fr,"\u0275\u0275sanitizeUrl":hr,"\u0275\u0275sanitizeUrlOrResourceUrl":_r,"\u0275\u0275trustConstantHtml":mr,"\u0275\u0275trustConstantResourceUrl":gr,forwardRef:p,resolveForwardRef:f}))();const Wh=[];let $h=!1;function Gh(e){return Array.isArray(e)?e.every(Gh):!!f(e)}function Zh(e,t){const n=Ln(t.declarations||z),i=Qh(e);n.forEach(t=>{t.hasOwnProperty(V)?Kh(le(t),i):t.hasOwnProperty(q)||t.hasOwnProperty(W)||(t.ngSelectorScope=e)})}function Kh(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(V)?le(e):ce(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>ue(e)),e.schemas=t.schemas,e.tView=null}function Qh(e){if(!Xh(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=de(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Pr(t.imports).forEach(e=>{const t=e;if(!Xh(t))throw new Error(`Importing ${t.name} which does not have a \u0275mod property`);const i=Qh(t);i.exported.directives.forEach(e=>n.compilation.directives.add(e)),i.exported.pipes.forEach(e=>n.compilation.pipes.add(e))}),Pr(t.declarations).forEach(e=>{ue(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),Pr(t.exports).forEach(e=>{const t=e;if(Xh(t)){const e=Qh(t);e.exported.directives.forEach(e=>{n.compilation.directives.add(e),n.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else ue(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function Jh(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Xh(e){return!!de(e)}let ep=0;function tp(e,t){let n=null;ip(e,t||{}),Object.defineProperty(e,q,{get:()=>{if(null===n){const i=np(e,t||{});n=An().compileDirective(qh,i.sourceMapUrl,i.metadata)}return n},configurable:!1})}function np(e,t){const n=e&&e.name,i=`ng:///${n}/\u0275dir.js`,r=An(),s=sp(e,t);return s.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),s.usesInheritance&&op(e),{metadata:s,sourceMapUrl:i}}function ip(e,t){let n=null;Object.defineProperty(e,Z,{get:()=>{if(null===n){const i=np(e,t),r=An();n=r.compileFactory(qh,`ng:///${e.name}/\u0275fac.js`,{name:i.metadata.name,type:i.metadata.type,typeArgumentCount:0,deps:hi(e),target:r.FactoryTarget.Directive})}return n},configurable:!1})}function rp(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function sp(e,t){const n=di(),i=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||U,propMetadata:i,inputs:t.inputs||z,outputs:t.outputs||z,queries:lp(e,i,cp),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!rp(e),exportAs:(r=t.exportAs,void 0===r?null:hp(r)),providers:t.providers||null,viewQueries:lp(e,i,up)};var r}function op(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)ce(n)||le(n)||!fp(n)||tp(n,null),n=Object.getPrototypeOf(n)}function ap(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?hp(n):f(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}function lp(e,t,n){const i=[];for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];s.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${r}" of "${v(e)}" since the query selector wasn't defined.`);if(s.some(dp))throw new Error("Cannot combine @Input decorators with query decorators");i.push(ap(r,t))}})}return i}function cp(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function up(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function dp(e){return"Input"===e.ngMetadataName}function hp(e){return e.split(",").map(e=>e.trim())}const pp=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function fp(e){const t=di();if(pp.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const i in n){const e=n[i];for(let t=0;te,void 0,void 0,(e,t)=>wp(e,t)),gp=yn("Component",(e={})=>Object.assign({changeDetection:R.Default},e),mp,void 0,(e,t)=>bp(e,t)),_p=xn("Input",e=>({bindingPropertyName:e})),vp=xn("Output",e=>({bindingPropertyName:e})),yp=xn("HostBinding",e=>({hostPropertyName:e})),bp=function(e,t){let n=null;!function(e,t){mi(t)&&(pi.set(e,t),fi.add(e))}(e,t),ip(e,t),Object.defineProperty(e,V,{get:()=>{if(null===n){const i=An();if(mi(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const r=null;let s=t.preserveWhitespaces;void 0===s&&(s=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:Y.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,l=Object.assign(Object.assign({},sp(e,t)),{typeSourceSpan:i.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:s,styles:t.styles||z,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null});ep++;try{l.usesInheritance&&op(e),n=i.compileComponent(qh,a,l)}finally{ep--}if(0===ep&&function(){if(!$h){$h=!0;try{for(let e=Wh.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=Wh[e];n.declarations&&n.declarations.every(Gh)&&(Wh.splice(e,1),Zh(t,n))}}finally{$h=!1}}}(),void 0!==e.ngSelectorScope){const t=Qh(e.ngSelectorScope);Kh(n,t)}}return n},configurable:!1})},wp=tp,xp=yn("NgModule",e=>e,void 0,void 0,(e,t)=>Sp(e,t)),Sp=function(e,t={}){!function(e,t,n=!1){const i=Ln(t.declarations||z);let r=null;Object.defineProperty(e,$,{configurable:!0,get:()=>(null===r&&(r=An().compileNgModule(qh,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Ln(t.bootstrap||z).map(f),declarations:i.map(f),imports:Ln(t.imports||z).map(f).map(Jh),exports:Ln(t.exports||z).map(f).map(Jh),schemas:t.schemas?Ln(t.schemas):null,id:t.id||null}),r.schemas||(r.schemas=[])),r)});let s=null;Object.defineProperty(e,Z,{get:()=>{if(null===s){const t=An();s=t.compileFactory(qh,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:hi(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return s},configurable:!1});let o=null;Object.defineProperty(e,E,{get:()=>{if(null===o){const n={name:e.name,type:e,providers:t.providers||z,imports:[(t.imports||z).map(f),(t.exports||z).map(f)]};o=An().compileInjector(qh,`ng:///${e.name}/\u0275inj.js`,n)}return o},configurable:!1})}(e,t),function(e,t){Wh.push({moduleType:e,ngModule:t})}(e,t)},kp=new kn("Application Initializer");let Cp=(()=>{class e{constructor(e){this.appInits=e,this.resolve=Qu,this.reject=Qu,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{t.subscribe({complete:e,error:n})});e.push(n)}}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)(ei(kp,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();const Mp=new kn("AppId"),Ep={provide:Mp,useFactory:function(){return`${Tp()}${Tp()}${Tp()}`},deps:[]};function Tp(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ap=new kn("Platform Initializer"),Dp=new kn("Platform ID"),Pp=new kn("appBootstrapListener");let Lp=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();const Op=new kn("LocaleId"),Ip=new kn("DefaultCurrencyCode");class Rp{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Yp=function(e){return new Xd(e)},Fp=Yp,jp=function(e){return Promise.resolve(Yp(e))},Hp=function(e){const t=Yp(e),n=Pr(de(e).declarations).reduce((e,t)=>{const n=le(t);return n&&e.push(new Gd(n)),e},[]);return new Rp(t,n)},Np=Hp,Bp=function(e){return Promise.resolve(Hp(e))};let Up=(()=>{class e{constructor(){this.compileModuleSync=Fp,this.compileModuleAsync=jp,this.compileModuleAndAllComponentsSync=Np,this.compileModuleAndAllComponentsAsync=Bp}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();const zp=(()=>Promise.resolve(0))();function Vp(e){"undefined"==typeof Zone?zp.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class qp{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ch(!1),this.onMicrotaskEmpty=new Ch(!1),this.onStable=new Ch(!1),this.onError=new Ch(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&t,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let e=B.requestAnimationFrame,t=B.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=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(B,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Gp(e),e.isCheckStableRunning=!0,$p(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Gp(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,o,a)=>{try{return Zp(e),n.invokeTask(r,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Kp(e)}},onInvoke:(n,i,r,s,o,a,l)=>{try{return Zp(e),n.invoke(r,s,o,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Kp(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Gp(e),$p(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!qp.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(qp.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,Wp,Qu,Qu);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)}}const Wp={};function $p(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 Gp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Zp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kp(e){e._nesting--,$p(e)}class Qp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ch,this.onMicrotaskEmpty=new Ch,this.onStable=new Ch,this.onError=new Ch}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 Jp=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!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:()=>{qp.assertNotInAngularZone(),Vp(()=>{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())Vp(()=>{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/plugins/task-tracking" 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)(ei(qp))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})(),Xp=(()=>{class e{constructor(){this._applications=new Map,rf.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 rf.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();class ef{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function tf(e){rf=e}let nf,rf=new ef,sf=!0,of=!1;function af(){return of=!0,sf}function lf(){if(of)throw new Error("Cannot enable prod mode after platform setup.");sf=!1}const cf=new kn("AllowMultipleToken");class uf{constructor(e,t){this.name=e,this.token=t}}function df(e,t,n=[]){const i=`Platform: ${t}`,r=new kn(i);return(t=[])=>{let s=hf();if(!s||s.injector.get(cf,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:Po,useValue:"platform"});!function(e){if(nf&&!nf.destroyed&&!nf.injector.get(cf,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");nf=e.get(pf);const t=e.get(Ap,null);t&&t.forEach(e=>e())}(Vo.create({providers:e,name:i}))}return function(e){const t=hf();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 hf(){return nf&&!nf.destroyed?nf:null}let pf=(()=>{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 Qp:("zone.js"===e?void 0:e)||new qp({enableLongStackTrace:af(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),i=[{provide:qp,useValue:n}];return n.run(()=>{const t=Vo.create({providers:i,parent:this.injector,name:e.moduleType.name}),r=e.create(t),s=r.injector.get(kr,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{s.handleError(e)}});r.onDestroy(()=>{gf(this._modules,r),e.unsubscribe()})}),function(e,t,n){try{const i=n();return Va(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(Cp);return e.runInitializers(),e.donePromise.then(()=>(Nc(r.injector.get(Op,Rc)||Rc),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=ff({},t);return function(e,t,n){const i=new Xd(n);return Promise.resolve(i)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(mf);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${u(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)(ei(Vo))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();function ff(e,t){return Array.isArray(t)?t.reduce(ff,e):Object.assign(Object.assign({},e),t)}let mf=(()=>{class e{constructor(e,t,n,i,r){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new s.y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),c=new s.y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{qp.assertNotInAngularZone(),Vp(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{qp.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(l,c.pipe((0,a.B)()))}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 Gu?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Rd),r=n.create(Vo.NULL,[],t||n.selector,i),s=r.location.nativeElement,o=r.injector.get(Jp,null),a=o&&r.injector.get(Xp);return o&&a&&a.registerApplication(s,o),r.onDestroy(()=>{this.detachView(r.hostView),gf(this.components,r),a&&a.unregisterApplication(s)}),this._loadComponent(r),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()}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;gf(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Pp,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(ei(qp),ei(Vo),ei(kr),ei(Ku),ei(Cp))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();function gf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class _f{}class vf{}const yf={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let bf=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||yf}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n(25391)(t).then(e=>e[i]).then(e=>wf(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(25391)(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+r]).then(e=>wf(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(ei(Up),ei(vf,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();function wf(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const xf=function(e){return null},Sf=df(null,"core",[{provide:Dp,useValue:"unknown"},{provide:pf,deps:[Vo]},{provide:Xp,deps:[]},{provide:Lp,deps:[]}]),kf=[{provide:mf,useClass:mf,deps:[qp,Vo,kr,Ku,Cp]},{provide:$d,deps:[qp],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Cp,useClass:Cp,deps:[[new oi,kp]]},{provide:Up,useClass:Up,deps:[]},Ep,{provide:yd,useFactory:function(){return Td},deps:[]},{provide:wd,useFactory:function(){return Ad},deps:[]},{provide:Op,useFactory:function(e){return Nc(e=e||"undefined"!=typeof $localize&&$localize.locale||Rc),e},deps:[[new si(Op),new oi,new li]]},{provide:Ip,useValue:"USD"}];let Cf=(()=>{class e{constructor(e){}}return e.\u0275fac=function(t){return new(t||e)(ei(mf))},e.\u0275mod=ie({type:e}),e.\u0275inj=x({providers:kf}),e})()},16073:(e,t,n)=>{"use strict";n.d(t,{Zs:()=>De,gN:()=>Y,Fj:()=>p,qu:()=>Ie,NI:()=>ce,oH:()=>xe,u:()=>Me,cw:()=>ue,sg:()=>ke,u5:()=>Le,Cf:()=>g,JU:()=>u,a5:()=>F,JJ:()=>H,JL:()=>N,F:()=>fe,On:()=>_e,UX:()=>Oe,kI:()=>y,_Y:()=>ve});var i=n(31572),r=n(61511),s=n(19764),o=n(3148),a=n(79996);let l=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Qsj),i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e}),e})(),c=(()=>{class e extends l{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=i.n5z(e)))(n||e)}}(),e.\u0275dir=i.lG2({type:e,features:[i.qOj]}),e})();const u=new i.OlP("NgValueAccessor"),d={provide:u,useExisting:(0,i.Gpc)(()=>p),multi:!0},h=new i.OlP("CompositionEventMode");let p=(()=>{class e extends l{constructor(e,t,n){super(e,t),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":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.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(h,8))},e.\u0275dir=i.lG2({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&i.NdJ("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[i._Bn([d]),i.qOj]}),e})();function f(e){return null==e||0===e.length}function m(e){return null!=e&&"number"==typeof e.length}const g=new i.OlP("NgValidators"),_=new i.OlP("NgAsyncValidators"),v=/^(?=.{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 y{static min(e){return function(e){return t=>{if(f(t.value)||f(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n{if(f(t.value)||f(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(e)}static required(e){return b(e)}static requiredTrue(e){return w(e)}static email(e){return function(e){return f(e.value)||v.test(e.value)?null:{email:!0}}(e)}static minLength(e){return function(e){return t=>f(t.value)||!m(t.value)?null:t.value.lengthm(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(e)}static pattern(e){return function(e){if(!e)return x;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(f(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(e)}static nullValidator(e){return null}static compose(e){return T(e)}static composeAsync(e){return D(e)}}function b(e){return f(e.value)?{required:!0}:null}function w(e){return!0===e.value?null:{required:!0}}function x(e){return null}function S(e){return null!=e}function k(e){const t=(0,i.QGY)(e)?(0,s.D)(e):e;return(0,i.CqO)(t),t}function C(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function M(e,t){return t.map(t=>t(e))}function E(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function T(e){if(!e)return null;const t=e.filter(S);return 0==t.length?null:function(e){return C(M(e,t))}}function A(e){return null!=e?T(E(e)):null}function D(e){if(!e)return null;const t=e.filter(S);return 0==t.length?null:function(e){const n=M(e,t).map(k);return(0,o.D)(n).pipe((0,a.U)(C))}}function P(e){return null!=e?D(E(e)):null}function L(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function O(e){return e._rawValidators}function I(e){return e._rawAsyncValidators}let R=(()=>{class e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=A(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=P(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){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.lG2({type:e}),e})(),Y=(()=>{class e extends R{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=i.n5z(e)))(n||e)}}(),e.\u0275dir=i.lG2({type:e,features:[i.qOj]}),e})();class F extends R{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class j{constructor(e){this._cd=e}is(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}let H=(()=>{class e extends j{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(F,2))},e.\u0275dir=i.lG2({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.qOj]}),e})(),N=(()=>{class e extends j{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(Y,10))},e.\u0275dir=i.lG2({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.qOj]}),e})();function B(e,t){return[...t.path,e]}function U(e,t){q(e,t,!0),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&$(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&$(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function z(e,t,n=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),W(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function V(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function q(e,t,n){const i=O(e);null!==t.validator?e.setValidators(L(i,t.validator)):"function"==typeof i&&e.setValidators([i]);const r=I(e);if(null!==t.asyncValidator?e.setAsyncValidators(L(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]),n){const n=()=>e.updateValueAndValidity();V(t._rawValidators,n),V(t._rawAsyncValidators,n)}}function W(e,t,n){let i=!1;if(null!==e){if(null!==t.validator){const n=O(e);if(Array.isArray(n)&&n.length>0){const r=n.filter(e=>e!==t.validator);r.length!==n.length&&(i=!0,e.setValidators(r))}}if(null!==t.asyncValidator){const n=I(e);if(Array.isArray(n)&&n.length>0){const r=n.filter(e=>e!==t.asyncValidator);r.length!==n.length&&(i=!0,e.setAsyncValidators(r))}}}if(n){const e=()=>{};V(t._rawValidators,e),V(t._rawAsyncValidators,e)}return i}function $(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function G(e,t){q(e,t,!1)}function Z(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function K(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Q(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(e=>{e.constructor===p?n=e:Object.getPrototypeOf(e.constructor)===c?i=e:r=e}),r||i||n||null}function J(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const X="VALID",ee="INVALID",te="PENDING",ne="DISABLED";function ie(e){return(ae(e)?e.validators:e)||null}function re(e){return Array.isArray(e)?A(e):e||null}function se(e,t){return(ae(t)?t.asyncValidators:e)||null}function oe(e){return Array.isArray(e)?P(e):e||null}function ae(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class le{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=re(this._rawValidators),this._composedAsyncValidatorFn=oe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===X}get invalid(){return this.status===ee}get pending(){return this.status==te}get disabled(){return this.status===ne}get enabled(){return this.status!==ne}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._rawValidators=e,this._composedValidatorFn=re(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=oe(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}),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=te,!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=ne,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=X,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(),this.status!==X&&this.status!==te||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()?ne:X}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=te,this._hasOwnPendingAsyncValidator=!0;const t=k(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}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 ue?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof de&&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.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?ne:this.errors?ee:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(te)?te:this._anyControlsHaveStatus(ee)?ee:X}_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){ae(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ce extends le{constructor(e=null,t,n){super(ie(t),se(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}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)}_unregisterOnChange(e){J(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){J(this._onDisabledChange,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 ue extends le{constructor(e,t,n){super(ie(t),se(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}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,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),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={}){null!=e&&(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 ce?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=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_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 de extends le{constructor(e,t,n){super(ie(t),se(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,n={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),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={}){null!=e&&(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 ce?e.value:e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_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 he={provide:Y,useExisting:(0,i.Gpc)(()=>fe)},pe=(()=>Promise.resolve(null))();let fe=(()=>{class e extends Y{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.vpe,this.form=new ue({},A(e),P(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){pe.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),U(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){pe.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),J(this._directives,e)})}addFormGroup(e){pe.then(()=>{const t=this._findContainer(e.path),n=new ue({});G(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){pe.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){pe.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,K(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.Y36(g,10),i.Y36(_,10))},e.\u0275dir=i.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([he]),i.qOj]}),e})();const me={provide:F,useExisting:(0,i.Gpc)(()=>_e)},ge=(()=>Promise.resolve(null))();let _e=(()=>{class e extends F{constructor(e,t,n,r){super(),this.control=new ce,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Q(0,r)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Z(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?B(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}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(){U(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){ge.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;ge.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.Y36(Y,9),i.Y36(g,10),i.Y36(_,10),i.Y36(u,10))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([me]),i.qOj,i.TTD]}),e})(),ve=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),ye=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})();const be=new i.OlP("NgModelWithFormControlWarning"),we={provide:F,useExisting:(0,i.Gpc)(()=>xe)};let xe=(()=>{class e extends F{constructor(e,t,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Q(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&z(t,this,!1),U(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Z(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&z(this.form,this,!1)}get path(){return[]}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.Y36(g,10),i.Y36(_,10),i.Y36(u,10),i.Y36(be,8))},e.\u0275dir=i.lG2({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([we]),i.qOj,i.TTD]}),e._ngModelWarningSentOnce=!1,e})();const Se={provide:Y,useExisting:(0,i.Gpc)(()=>ke)};let ke=(()=>{class e extends Y{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(W(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return U(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){z(e.control||null,e,!1),J(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(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,K(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=e.control,n=this.form.get(e.path);t!==n&&(z(t||null,e),n instanceof ce&&(U(n,e),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);G(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function(e,t){return W(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){q(this.form,this,!1),this._oldForm&&W(this._oldForm,this,!1)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(g,10),i.Y36(_,10))},e.\u0275dir=i.lG2({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Se]),i.qOj,i.TTD]}),e})();const Ce={provide:F,useExisting:(0,i.Gpc)(()=>Me)};let Me=(()=>{class e extends F{constructor(e,t,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Q(0,r)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Z(e,this.viewModel)&&(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 B(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(Y,13),i.Y36(g,10),i.Y36(_,10),i.Y36(u,10),i.Y36(be,8))},e.\u0275dir=i.lG2({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Ce]),i.qOj,i.TTD]}),e._ngModelWarningSentOnce=!1,e})();const Ee={provide:g,useExisting:(0,i.Gpc)(()=>Ae),multi:!0},Te={provide:g,useExisting:(0,i.Gpc)(()=>De),multi:!0};let Ae=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?b(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t.required?"":null)},inputs:{required:"required"},features:[i._Bn([Ee])]}),e})(),De=(()=>{class e extends Ae{validate(e){return this.required?w(e):null}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=i.n5z(e)))(n||e)}}(),e.\u0275dir=i.lG2({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.uIk("required",t.required?"":null)},features:[i._Bn([Te]),i.qOj]}),e})(),Pe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[ye]]}),e})(),Le=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[Pe]}),e})(),Oe=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:be,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[Pe]}),e})(),Ie=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let i,r=null,s=null;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,s=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,s=null!=t.asyncValidator?t.asyncValidator:null)),new ue(n,{asyncValidators:s,updateOn:i,validators:r})}control(e,t,n){return new ce(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new de(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 ce||e instanceof ue||e instanceof de?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=(0,i.Yz7)({factory:function(){return new e},token:e,providedIn:Oe}),e})()},50121:(e,t,n)=>{"use strict";n.d(t,{Yd:()=>h,t7:()=>c});var i=n(31572),r=n(71522),s=n(29609);const o=n.n(s)()||s,a=new i.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function l(e,t){const n=Array(e);for(let i=0;i{class e extends r._A{constructor(e,t){super(),this._options=t,this.setLocale(e||o.locale())}setLocale(e){super.setLocale(e);let t=o.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:l(31,e=>this.createDate(2017,0,e+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,n){const i=this._createMoment({year:e,month:t,date:n}).locale(this.locale);return i.isValid(),i}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){return e=this.clone(e),this.isValid(e),e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,o.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return o.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return o.invalid()}_createMoment(e,t,n){const{strict:i,useUtc:r}=this._options||{};return r?o.utc(e,t,n,i):o(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.Ad,8),i.LFG(a,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),u=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[{provide:r._A,useClass:c,deps:[r.Ad,a]}]}),e})();const d={parse:{dateInput:"l"},display:{dateInput:"l",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let h=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[{provide:r.sG,useValue:d}],imports:[[u]]}),e})()},40084:(e,t,n)=>{"use strict";n.d(t,{XC:()=>F,Bb:()=>z,ZL:()=>U});var i=n(24621),r=n(19861),s=n(11353),o=n(31572),a=n(71522),l=n(87570),c=n(55959),u=n(31450),d=n(31906),h=n(40878),p=n(87254),f=n(61511),m=n(2522),g=n(4253),_=n(75842),v=n(26899),y=n(16073),b=n(66283),w=n(90611),x=n(44689),S=n(43835),k=n(79996),C=n(66599),M=n(60509),E=n(22526);const T=["panel"];function A(e,t){if(1&e&&(o.TgZ(0,"div",0,1),o.Hsn(2),o.qZA()),2&e){const e=t.id,n=o.oxw();o.Q6J("id",n.id)("ngClass",n._classList),o.uIk("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}const D=["*"];let P=0;class L{constructor(e,t){this.source=e,this.option=t}}class O{}const I=(0,a.Kr)(O),R=new o.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let Y=(()=>{class e extends I{constructor(e,t,n,i){super(),this._changeDetectorRef=e,this._elementRef=t,this._activeOptionChanges=l.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new o.vpe,this.opened=new o.vpe,this.closed=new o.vpe,this.optionActivated=new o.vpe,this._classList={},this.id="mat-autocomplete-"+P++,this.inertGroups=(null==i?void 0:i.SAFARI)||!1,this._autoActiveFirstOption=!!n.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=(0,r.Ig)(e)}set classList(e){this._classList=e&&e.length?(0,r.du)(e).reduce((e,t)=>(e[t]=!0,e),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new i.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const t=new L(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(R),o.Y36(s.t4))},e.\u0275dir=o.lG2({type:e,viewQuery:function(e,t){if(1&e&&(o.Gf(o.Rgc,7),o.Gf(T,5)),2&e){let e;o.iGM(e=o.CRH())&&(t.template=e.first),o.iGM(e=o.CRH())&&(t.panel=e.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[o.qOj]}),e})(),F=(()=>{class e extends Y{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=o.n5z(e)))(n||e)}}(),e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,n){if(1&e&&(o.Suo(n,a.K7,5),o.Suo(n,a.ey,5)),2&e){let e;o.iGM(e=o.CRH())&&(t.optionGroups=e),o.iGM(e=o.CRH())&&(t.options=e)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[o._Bn([{provide:a.HF,useExisting:e}]),o.qOj],ngContentSelectors:D,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(o.F$t(),o.YNc(0,A,3,4,"ng-template"))},directives:[f.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),e})();const j=new o.OlP("mat-autocomplete-scroll-strategy"),H={provide:j,deps:[m.aV],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},N={provide:y.JU,useExisting:(0,o.Gpc)(()=>U),multi:!0};let B=(()=>{class e{constructor(e,t,n,i,r,s,o,a,h,p,f){this._element=e,this._overlay=t,this._viewContainerRef=n,this._zone=i,this._changeDetectorRef=r,this._dir=o,this._formField=a,this._document=h,this._viewportRuler=p,this._defaults=f,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=l.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new c.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,u.P)(()=>this.autocomplete&&this.autocomplete.options?(0,d.T)(...this.autocomplete.options.map(e=>e.onSelectionChange)):this._zone.onStable.pipe((0,w.q)(1),(0,x.w)(()=>this.optionSelections))),this._scrollStrategy=s}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=(0,r.Ig)(e)}ngAfterViewInit(){const e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,d.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,S.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,S.h)(()=>this._overlayAttached)):(0,h.of)()).pipe((0,k.U)(e=>e instanceof a.rN?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,d.T)((0,p.R)(this._document,"click"),(0,p.R)(this._document,"auxclick"),(0,p.R)(this._document,"touchend")).pipe((0,S.h)(e=>{const t=this._isInsideShadowRoot&&e.composedPath?e.composedPath()[0]:e.target,n=this._formField?this._formField._elementRef.nativeElement:null,i=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&(!n||!n.contains(t))&&(!i||!i.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve(null).then(()=>this._setTriggerValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const t=e.keyCode;if(t!==_.hY||(0,_.Vb)(e)||e.preventDefault(),this.activeOption&&t===_.K5&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,i=t===_.LH||t===_.JH;this.panelOpen||t===_.Mf?this.autocomplete._keyManager.onKeydown(e):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(e){let t=e.target,n=t.value;"number"===t.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const e=this._zone.onStable.pipe((0,w.q)(1)),t=this.autocomplete.options.changes.pipe((0,C.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,M.g)(0));return(0,d.T)(e,t).pipe((0,x.w)(()=>{const e=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),e!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,w.q)(1)).subscribe(e=>this._setValueAndClose(e))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(e){const t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,n=null!=t?t:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(t=>{t!==e&&t.selected&&t.deselect()})}_attachOverlay(){var e;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!(0,s.kV)(this._element.nativeElement));let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new v.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(e=>{(e.keyCode===_.hY&&!(0,_.Vb)(e)||e.keyCode===_.LH&&(0,_.Vb)(e,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),e.stopPropagation(),e.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})})),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new m.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],n=this._aboveClass,i=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:n},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:n}];let r;r="above"===this.position?i:"below"===this.position?t:[...t,...i],e.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}_scrollToOption(e){const t=this.autocomplete,n=(0,a.CB)(e,t.options,t.optionGroups);if(0===e&&1===n)t._setScrollTop(0);else if(t.panel){const n=t.options.toArray()[e];if(n){const e=n._getHostElement(),i=(0,a.jH)(e.offsetTop,e.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(i)}}}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(m.aV),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(o.sBO),o.Y36(j),o.Y36(E.Is,8),o.Y36(b.G_,9),o.Y36(f.K0,8),o.Y36(g.rL),o.Y36(R,8))},e.\u0275dir=o.lG2({type:e,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[o.TTD]}),e})(),U=(()=>{class e extends B{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=o.n5z(e)))(n||e)}}(),e.\u0275dir=o.lG2({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&o.NdJ("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(e){return t._handleInput(e)})("keydown",function(e){return t._handleKeydown(e)}),2&e&&o.uIk("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[o._Bn([N]),o.qOj]}),e})(),z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[H],imports:[[m.U8,a.Ng,a.BQ,f.ez],g.ZD,a.Ng,a.BQ]}),e})()},15980:(e,t,n)=>{"use strict";n.d(t,{zs:()=>f,lW:()=>p,ot:()=>m});var i=n(71522),r=n(43490),s=n(31572),o=n(24621);const a=["mat-button",""],l=["*"],c=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class d{constructor(e){this._elementRef=e}}const h=(0,i.pj)((0,i.Id)((0,i.Kr)(d)));let p=(()=>{class e extends h{constructor(e,t,n){super(e),this._focusMonitor=t,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of u)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(o.tE),s.Y36(r.Qb,8))},e.\u0275cmp=s.Xpm({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&s.Gf(i.wG,5),2&e){let e;s.iGM(e=s.CRH())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(s.uIk("disabled",t.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(s.F$t(),s.TgZ(0,"span",0),s.Hsn(1),s.qZA(),s._UZ(2,"span",1),s._UZ(3,"span",2)),2&e&&(s.xp6(2),s.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),s.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),e})(),f=(()=>{class e extends p{constructor(e,t,n){super(t,e,n)}_haltDisabledEvents(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(o.tE),s.Y36(s.SBq),s.Y36(r.Qb,8))},e.\u0275cmp=s.Xpm({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,t){1&e&&s.NdJ("click",function(e){return t._haltDisabledEvents(e)}),2&e&&(s.uIk("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),s.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[s.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(s.F$t(),s.TgZ(0,"span",0),s.Hsn(1),s.qZA(),s._UZ(2,"span",1),s._UZ(3,"span",2)),2&e&&(s.xp6(2),s.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),s.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),e})(),m=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[i.si,i.BQ],i.BQ]}),e})()},27439:(e,t,n)=>{"use strict";n.d(t,{a8:()=>l,QW:()=>c});var i=n(43490),r=n(71522),s=n(31572);const o=["*",[["mat-card-footer"]]],a=["*","mat-card-footer"];let l=(()=>{class e{constructor(e){this._animationMode=e}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(i.Qb,8))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&s.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:a,decls:2,vars:0,template:function(e,t){1&e&&(s.F$t(o),s.Hsn(0),s.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),e})(),c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[r.BQ],r.BQ]}),e})()},29236:(e,t,n)=>{"use strict";n.d(t,{oG:()=>w,p9:()=>S});var i=n(19861),r=n(31572),s=n(16073),o=n(71522),a=n(43490),l=n(36337),c=n(24621);const u=["input"],d=function(e){return{enterDuration:e}},h=["*"],p=new r.OlP("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}let m=0;const g=f(),_={provide:s.JU,useExisting:(0,r.Gpc)(()=>w),multi:!0};class v{}class y{constructor(e){this._elementRef=e}}const b=(0,o.sb)((0,o.pj)((0,o.Kr)((0,o.Id)(y))));let w=(()=>{class e extends b{constructor(e,t,n,i,s,o,a){super(e),this._changeDetectorRef=t,this._focusMonitor=n,this._ngZone=i,this._animationMode=o,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++m,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new r.vpe,this.indeterminateChange=new r.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||g,this.color=this.defaultColor=this._options.color||g.color,this.tabIndex=parseInt(s)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=(0,i.Ig)(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=(0,i.Ig)(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=(0,i.Ig)(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const e=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(e)},1e3)})}}_emitChangeEvent(){const e=new v;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const n=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(c.tE),r.Y36(r.R0b),r.$8M("tabindex"),r.Y36(a.Qb,8),r.Y36(p,8))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(r.Gf(u,5),r.Gf(o.wG,5)),2&e){let e;r.iGM(e=r.CRH())&&(t._inputElement=e.first),r.iGM(e=r.CRH())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(r.Ikx("id",t.id),r.uIk("tabindex",null),r.ekj("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r._Bn([_]),r.qOj],ngContentSelectors:h,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(r.F$t(),r.TgZ(0,"label",0,1),r.TgZ(2,"span",2),r.TgZ(3,"input",3,4),r.NdJ("change",function(e){return t._onInteractionEvent(e)})("click",function(e){return t._onInputClick(e)}),r.qZA(),r.TgZ(5,"span",5),r._UZ(6,"span",6),r.qZA(),r._UZ(7,"span",7),r.TgZ(8,"span",8),r.O4$(),r.TgZ(9,"svg",9),r._UZ(10,"path",10),r.qZA(),r.kcU(),r._UZ(11,"span",11),r.qZA(),r.qZA(),r.TgZ(12,"span",12,13),r.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),r.TgZ(14,"span",14),r._uU(15,"\xa0"),r.qZA(),r.Hsn(16),r.qZA(),r.qZA()),2&e){const e=r.MAs(1),n=r.MAs(13);r.uIk("for",t.inputId),r.xp6(2),r.ekj("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r.xp6(1),r.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),r.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),r.xp6(2),r.Q6J("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.VKq(19,d,"NoopAnimations"===t._animationMode?0:150))}},directives:[o.wG,l.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),e})(),x=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e})(),S=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[o.si,o.BQ,l.Q8,x],o.BQ,x]}),e})()},10033:(e,t,n)=>{"use strict";n.d(t,{HS:()=>M,qn:()=>L,Hi:()=>I});var i=n(75842),r=n(31572),s=n(71522),o=n(19861),a=n(61511),l=n(43490),c=n(55959),u=n(31906),d=n(90611),h=n(25416),p=n(56238),f=n(24621),m=n(4230),g=n(66283),_=n(11353),v=n(22526),y=n(16073);const b=["*"],w=new r.OlP("MatChipRemove"),x=new r.OlP("MatChipAvatar"),S=new r.OlP("MatChipTrailingIcon");class k{constructor(e){this._elementRef=e}}const C=(0,s.sb)((0,s.pj)((0,s.Kr)(k),"primary"),-1);let M=(()=>{class e extends C{constructor(e,t,n,i,o,a,l,u){super(e),this._elementRef=e,this._ngZone=t,this._changeDetectorRef=o,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new c.xQ,this._onBlur=new c.xQ,this.selectionChange=new r.vpe,this.destroyed=new r.vpe,this.removed=new r.vpe,this._addHostClassName(),this._chipRippleTarget=a.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new s.IR(this,t,this._chipRippleTarget,n),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=i||{},this._animationsDisabled="NoopAnimations"===l,this.tabIndex=null!=u&&parseInt(u)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const t=(0,o.Ig)(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=(0,o.Ig)(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=(0,o.Ig)(e)}get removable(){return this._removable}set removable(e){this._removable=(0,o.Ig)(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const e="mat-basic-chip",t=this._elementRef.nativeElement;t.hasAttribute(e)||t.tagName.toLowerCase()===e?t.classList.add(e):t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled?e.preventDefault():e.stopPropagation()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case i.yY:case i.ZH:this.remove(),e.preventDefault();break;case i.L_:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,d.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(_.t4),r.Y36(s.Y2,8),r.Y36(r.sBO),r.Y36(a.K0),r.Y36(l.Qb,8),r.$8M("tabindex"))},e.\u0275dir=r.lG2({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,n){if(1&e&&(r.Suo(n,x,5),r.Suo(n,S,5),r.Suo(n,w,5)),2&e){let e;r.iGM(e=r.CRH())&&(t.avatar=e.first),r.iGM(e=r.CRH())&&(t.trailingIcon=e.first),r.iGM(e=r.CRH())&&(t.removeIcon=e.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&r.NdJ("click",function(e){return t._handleClick(e)})("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t.focus()})("blur",function(){return t._blur()}),2&e&&(r.uIk("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),r.ekj("mat-chip-selected",t.selected)("mat-chip-with-avatar",t.avatar)("mat-chip-with-trailing-icon",t.trailingIcon||t.removeIcon)("mat-chip-disabled",t.disabled)("_mat-animation-noopable",t._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[r.qOj]}),e})();const E=new r.OlP("mat-chips-default-options");class T{constructor(e,t,n,i){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=i}}const A=(0,s.FD)(T);let D=0;class P{constructor(e,t){this.source=e,this.value=t}}let L=(()=>{class e extends A{constructor(e,t,n,i,s,o,a){super(o,i,s,a),this._elementRef=e,this._changeDetectorRef=t,this._dir=n,this.ngControl=a,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new c.xQ,this._uid="mat-chip-list-"+D++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(e,t)=>e===t,this._required=!1,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new r.vpe,this.valueChange=new r.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(e){this._multiple=(0,o.Ig)(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required}set required(e){this._required=(0,o.Ig)(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=(0,o.Ig)(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=(0,o.Ig)(e),this.chips&&this.chips.forEach(e=>e.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return(0,u.T)(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return(0,u.T)(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return(0,u.T)(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return(0,u.T)(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new f.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,h.R)(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe((0,h.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,p.O)(null),(0,h.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new m.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){const t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&ee.deselect()),Array.isArray(e))e.forEach(e=>this._selectValue(e,t)),this._sortValues();else{const n=this._selectValue(e,t);n&&t&&this._keyManager.setActiveItem(n)}}_selectValue(e,t=!0){const n=this.chips.find(t=>null!=t.value&&this._compareWith(t.value,e));return n&&(t?n.selectViaInteraction():n.select(),this._selectionModel.select(n)),n}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(t=>{t!==e&&t.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let t=null;t=Array.isArray(this.selected)?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.change.emit(new P(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(e=>{!this._selectionModel.isSelected(e)&&e.selected&&e.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let t=this.chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&this._keyManager.updateActiveItem(t),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{const t=e.chip,n=this.chips.toArray().indexOf(e.chip);this._isValidIndex(n)&&t._hasFocus&&(this._lastDestroyedChipIndex=n)})}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple})}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(v.Is,8),r.Y36(y.F,8),r.Y36(y.sg,8),r.Y36(s.rD),r.Y36(y.a5,10))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-chip-list"]],contentQueries:function(e,t,n){if(1&e&&r.Suo(n,M,5),2&e){let e;r.iGM(e=r.CRH())&&(t.chips=e)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&r.NdJ("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(e){return t._keydown(e)}),2&e&&(r.Ikx("id",t._uid),r.uIk("tabindex",t.disabled?null:t._tabIndex)("aria-describedby",t._ariaDescribedby||null)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-multiselectable",t.multiple)("role",t.role)("aria-orientation",t.ariaOrientation),r.ekj("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[r._Bn([{provide:g.Eo,useExisting:e}]),r.qOj],ngContentSelectors:b,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),e})();const O={separatorKeyCodes:[i.K5]};let I=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[s.rD,{provide:E,useValue:O}],imports:[[s.BQ]]}),e})()},71522:(e,t,n)=>{"use strict";n.d(t,{yN:()=>_,mZ:()=>v,_A:()=>T,rD:()=>P,sG:()=>A,Ad:()=>E,K7:()=>J,HF:()=>$,Y2:()=>U,BQ:()=>w,X2:()=>L,uc:()=>R,ey:()=>ne,Ng:()=>se,rN:()=>ee,nP:()=>q,us:()=>W,wG:()=>z,si:()=>V,IR:()=>B,CB:()=>ie,jH:()=>re,pj:()=>S,Kr:()=>k,Id:()=>x,FD:()=>M,sb:()=>C,E0:()=>O});var i=n(31572),r=n(24621),s=n(22526);const o=new i.GfV("12.0.4");var a=n(61511),l=n(19861),c=n(55959),u=n(11353),d=n(56238),h=n(43490),p=n(75842);function f(e,t){if(1&e&&i._UZ(0,"mat-pseudo-checkbox",4),2&e){const e=i.oxw();i.Q6J("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function m(e,t){if(1&e&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.xp6(1),i.hij("(",e.group.label,")")}}const g=["*"];let _=(()=>{class e{}return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e})(),v=(()=>{class e{}return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e})();const y=new i.GfV("12.0.4"),b=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let w=(()=>{class e{constructor(e,t,n){this._hasDoneGlobalChecks=!1,this._document=n,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return(0,i.X6Q)()&&!this._isTestEnv()}_isTestEnv(){const e=this._getWindow();return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);const t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&y.full!==o.full&&console.warn("The Angular Material version ("+y.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.qm),i.LFG(b,8),i.LFG(a.K0))},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[s.vT],s.vT]}),e})();function x(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=(0,l.Ig)(e)}}}function S(e,t){return class extends e{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function k(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=(0,l.Ig)(e)}}}function C(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?(0,l.su)(e):this.defaultTabIndex}}}function M(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new c.xQ}updateErrorState(){const e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}}const E=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,i.f3M)(i.soG)}});class T{constructor(){this._localeChanges=new c.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}}const A=new i.OlP("mat-date-formats");let D;try{D="undefined"!=typeof Intl}catch(oe){D=!1}let P=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e})(),L=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e})();function O(e,t,n="mat"){e.changes.pipe((0,d.O)(e)).subscribe(({length:e})=>{I(t,`${n}-2-line`,!1),I(t,`${n}-3-line`,!1),I(t,`${n}-multi-line`,!1),2===e||3===e?I(t,`${n}-${e}-line`,!0):e>3&&I(t,`${n}-multi-line`,!0)})}function I(e,t,n){const i=e.nativeElement.classList;n?i.add(t):i.remove(t)}let R=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[w],w]}),e})();class Y{constructor(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const F={enterDuration:450,exitDuration:400},j=(0,u.i$)({passive:!0}),H=["mousedown","touchstart"],N=["mouseup","mouseleave","touchend","touchcancel"];class B{constructor(e,t,n,i){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=(0,l.fI)(n))}fadeInRipple(e,t,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},F),n.animation);n.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);const s=n.radius||function(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,i),o=e-i.left,a=t-i.top,l=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-s+"px",c.style.top=a-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new Y(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const e=u===this._mostRecentTransientRipple;u.state=1,n.persistent||e&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const n=e.element,i=Object.assign(Object.assign({},F),e.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const t=(0,l.fI)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(H))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(N),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=(0,r.X6)(e),n=this._lastTouchStartEvent&&Date.now(){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(e=>{this._triggerElement.addEventListener(e,this,j)})})}_removeTriggerEvents(){this._triggerElement&&(H.forEach(e=>{this._triggerElement.removeEventListener(e,this,j)}),this._pointerUpEventsRegistered&&N.forEach(e=>{this._triggerElement.removeEventListener(e,this,j)}))}}const U=new i.OlP("mat-ripple-global-options");let z=(()=>{class e{constructor(e,t,n,i,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new B(this,t,e,n)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,n){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(u.t4),i.Y36(U,8),i.Y36(h.Qb,8))},e.\u0275dir=i.lG2({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),V=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[w,u.ud],w]}),e})(),q=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(h.Qb,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),W=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[w]]}),e})();const $=new i.OlP("MAT_OPTION_PARENT_COMPONENT");class G{}const Z=x(G);let K=0,Q=(()=>{class e extends Z{constructor(e){var t;super(),this._labelId="mat-optgroup-label-"+K++,this._inert=null!==(t=null==e?void 0:e.inertGroups)&&void 0!==t&&t}}return e.\u0275fac=function(t){return new(t||e)(i.Y36($,8))},e.\u0275dir=i.lG2({type:e,inputs:{label:"label"},features:[i.qOj]}),e})();const J=new i.OlP("MatOptgroup");let X=0;class ee{constructor(e,t=!1){this.source=e,this.isUserInput=t}}let te=(()=>{class e{constructor(e,t,n,r){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+X++,this.onSelectionChange=new i.vpe,this._stateChanges=new c.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=(0,l.Ig)(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){e.keyCode!==p.K5&&e.keyCode!==p.L_||(0,p.Vb)(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new ee(this,e))}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(Q))},e.\u0275dir=i.lG2({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),ne=(()=>{class e extends te{constructor(e,t,n,i){super(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36($,8),i.Y36(J,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:g,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,f,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,m,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[a.O5,z,q],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function ie(e,t,n){if(n.length){let i=t.toArray(),r=n.toArray(),s=0;for(let t=0;tn+i?Math.max(0,e-i+t):n}let se=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[V,a.ez,w,W]]}),e})()},15812:(e,t,n)=>{"use strict";n.d(t,{C0:()=>Q,q_:()=>ie,wx:()=>je,_g:()=>He,Mq:()=>ke,hl:()=>De,FA:()=>Ne,nW:()=>Le,By:()=>Ye,zY:()=>Re});var i=n(24621),r=n(2522),s=n(26899),o=n(61511),a=n(31572),l=n(15980),c=n(4253),u=n(71522),d=n(55959),h=n(87570),p=n(31906),f=n(40878),m=n(75842),g=n(90611),_=n(56238),v=n(43835),y=n(19861),b=n(11353),w=n(10709),x=n(16073),S=n(66283),k=n(26756),C=n(22526);const M=["mat-calendar-body",""];function E(e,t){if(1&e&&(a.TgZ(0,"tr",2),a.TgZ(1,"td",3),a._uU(2),a.qZA(),a.qZA()),2&e){const e=a.oxw();a.xp6(1),a.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),a.uIk("colspan",e.numCols),a.xp6(1),a.hij(" ",e.label," ")}}function T(e,t){if(1&e&&(a.TgZ(0,"td",7),a._uU(1),a.qZA()),2&e){const e=a.oxw(2);a.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),a.uIk("colspan",e._firstRowOffset),a.xp6(1),a.hij(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function A(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"td",8),a.NdJ("click",function(t){const n=a.CHM(e).$implicit;return a.oxw(2)._cellClicked(n,t)}),a.TgZ(1,"div",9),a._uU(2),a.qZA(),a._UZ(3,"div",10),a.qZA()}if(2&e){const e=t.$implicit,n=t.index,i=a.oxw().index,r=a.oxw();a.Udp("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),a.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(i,n))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,i,n))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),a.Q6J("ngClass",e.cssClasses)("tabindex",r._isActiveCell(i,n)?0:-1),a.uIk("data-mat-row",i)("data-mat-col",n)("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",r._isSelected(e.compareValue)),a.xp6(1),a.ekj("mat-calendar-body-selected",r._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",r.todayValue===e.compareValue),a.xp6(1),a.hij(" ",e.displayValue," ")}}function D(e,t){if(1&e&&(a.TgZ(0,"tr",4),a.YNc(1,T,2,6,"td",5),a.YNc(2,A,4,46,"td",6),a.qZA()),2&e){const e=t.$implicit,n=t.index,i=a.oxw();a.xp6(1),a.Q6J("ngIf",0===n&&i._firstRowOffset),a.xp6(1),a.Q6J("ngForOf",e)}}function P(e,t){if(1&e&&(a.TgZ(0,"th",5),a._uU(1),a.qZA()),2&e){const e=t.$implicit;a.uIk("aria-label",e.long),a.xp6(1),a.Oqu(e.narrow)}}const L=["*"];function O(e,t){}function I(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"mat-month-view",5),a.NdJ("activeDateChange",function(t){return a.CHM(e),a.oxw().activeDate=t})("_userSelection",function(t){return a.CHM(e),a.oxw()._dateSelected(t)}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function R(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"mat-year-view",6),a.NdJ("activeDateChange",function(t){return a.CHM(e),a.oxw().activeDate=t})("monthSelected",function(t){return a.CHM(e),a.oxw()._monthSelectedInYearView(t)})("selectedChange",function(t){return a.CHM(e),a.oxw()._goToDateInView(t,"month")}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Y(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"mat-multi-year-view",7),a.NdJ("activeDateChange",function(t){return a.CHM(e),a.oxw().activeDate=t})("yearSelected",function(t){return a.CHM(e),a.oxw()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return a.CHM(e),a.oxw()._goToDateInView(t,"year")}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function F(e,t){}const j=["button"];function H(e,t){1&e&&(a.O4$(),a.TgZ(0,"svg",3),a._UZ(1,"path",4),a.qZA())}const N=[[["","matDatepickerToggleIcon",""]]],B=["[matDatepickerToggleIcon]"],U=[[["input","matStartDate",""]],[["input","matEndDate",""]]],z=["input[matStartDate]","input[matEndDate]"];let V=(()=>{class e{constructor(){this.changes=new d.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e})();class q{constructor(e,t,n,i,r={},s=e,o){this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=r,this.compareValue=s,this.rawValue=o}}let W=(()=>{class e{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new a.vpe,this.previewChange=new a.vpe,this._enterHandler=e=>{if(this._skipNextFocus&&"focus"===e.type)this._skipNextFocus=!1;else if(e.target&&this.isRange){const t=this._getCellFromElement(e.target);t&&this._ngZone.run(()=>this.previewChange.emit({value:t.enabled?t:null,event:e}))}},this._leaveHandler=e=>{null!==this.previewEnd&&this.isRange&&e.target&&$(e.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e}))},t.runOutsideAngular(()=>{const t=e.nativeElement;t.addEventListener("mouseenter",this._enterHandler,!0),t.addEventListener("focus",this._enterHandler,!0),t.addEventListener("mouseleave",this._leaveHandler,!0),t.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:n,numCols:i}=this;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!t&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return G(e,this.startValue,this.endValue)}_isRangeEnd(e){return Z(e,this.startValue,this.endValue)}_isInRange(e){return K(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return G(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,n){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[t][n-1];if(!i){const e=this.rows[t-1];i=e&&e[e.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,t,n){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[t][n+1];if(!i){const e=this.rows[t+1];i=e&&e[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return Z(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return K(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return G(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Z(e,this.previewStart,this.previewEnd)}_isInPreview(e){return K(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if($(e)?t=e:$(e.parentNode)&&(t=e.parentNode),t){const e=t.getAttribute("data-mat-row"),n=t.getAttribute("data-mat-col");if(e&&n)return this.rows[parseInt(e)][parseInt(n)]}return null}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b))},e.\u0275cmp=a.Xpm({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[a.TTD],attrs:M,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(a.YNc(0,E,3,6,"tr",0),a.YNc(1,D,3,2,"tr",1)),2&e&&(a.Q6J("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),e})();function $(e){return"TD"===e.nodeName}function G(e,t,n){return null!==n&&t!==n&&e=t&&e===n}function K(e,t,n,i){return i&&null!==t&&null!==n&&t!==n&&e>=t&&e<=n}class Q{constructor(e,t){this.start=e,this.end=t}}let J=(()=>{class e{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new d.xQ,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){const n=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:n})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(void 0),a.LFG(u._A))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),X=(()=>{class e extends J{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const t=new e(this._adapter);return t.updateSelection(this.selection,this),t}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(u._A))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),ee=(()=>{class e extends J{constructor(e){super(new Q(null,null),e)}add(e){let{start:t,end:n}=this.selection;null==t?t=e:null==n?n=e:(t=e,n=null),super.updateSelection(new Q(t,n),this)}isValid(){const{start:e,end:t}=this.selection;return null==e&&null==t||(null!=e&&null!=t?this._isValidDateInstance(e)&&this._isValidDateInstance(t)&&this._adapter.compareDate(e,t)<=0:(null==e||this._isValidDateInstance(e))&&(null==t||this._isValidDateInstance(t)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const t=new e(this._adapter);return t.updateSelection(this.selection,this),t}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(u._A))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();const te={provide:J,deps:[[new a.FiY,new a.tp0,J],u._A],useFactory:function(e,t){return e||new X(t)}},ne={provide:J,deps:[[new a.FiY,new a.tp0,J],u._A],useFactory:function(e,t){return e||new ee(t)}},ie=new a.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let re=(()=>{class e{constructor(e){this._dateAdapter=e}selectionFinished(e,t){let{start:n,end:i}=t;return null==n?n=e:null==i&&e&&this._dateAdapter.compareDate(e,n)>=0?i=e:(n=e,i=null),new Q(n,i)}createPreview(e,t){let n=null,i=null;return t.start&&!t.end&&e&&(n=t.start,i=e),new Q(n,i)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(u._A))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();const se={provide:ie,deps:[[new a.FiY,new a.tp0,ie],u._A],useFactory:function(e,t){return e||new re(t)}};let oe=(()=>{class e{constructor(e,t,n,i,r){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=n,this._dir=i,this._rangeStrategy=r,this._rerenderSubscription=h.w.EMPTY,this.selectedChange=new a.vpe,this._userSelection=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Q?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,_.O)(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(n,i,t);let s,o;this._selected instanceof Q?(s=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):s=o=this._getDateInCurrentMonth(this._selected),s===t&&o===t||this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(e){const t=this._activeDate,n=this._isRtl();switch(e.keyCode){case m.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case m.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case m.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case m.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case m.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case m.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case m.Ku:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case m.VM:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case m.K5:case m.L_:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case m.hY:return void(null==this._previewEnd||(0,m.Vb)(e)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((e,n)=>({long:e,narrow:t[n]}));this._weekdays=n.slice(e).concat(n.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),n=this._dateAdapter.getMonth(e),i=this._dateAdapter.getDate(e);return new Date(t,n,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Q?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36(u.sG,8),a.Y36(u._A,8),a.Y36(C.Is,8),a.Y36(ie,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&a.Gf(W,5),2&e){let e;a.iGM(e=a.CRH())&&(t._matCalendarBody=e.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[a.TTD],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(a.TgZ(0,"table",0),a.TgZ(1,"thead",1),a.TgZ(2,"tr"),a.YNc(3,P,2,2,"th",2),a.qZA(),a.TgZ(4,"tr"),a._UZ(5,"th",3),a.qZA(),a.qZA(),a.TgZ(6,"tbody",4),a.NdJ("selectedValueChange",function(e){return t._dateSelected(e)})("previewChange",function(e){return t._previewChanged(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),a.qZA(),a.qZA()),2&e&&(a.xp6(3),a.Q6J("ngForOf",t._weekdays),a.xp6(3),a.Q6J("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[o.sg,W],encapsulation:2,changeDetection:0}),e})();const ae=24;let le=(()=>{class e{constructor(e,t,n){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=n,this._rerenderSubscription=h.w.EMPTY,this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),ce(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Q?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,_.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,n=[];tthis._createCellForYear(e))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,n,1));this.selectedChange.emit(this._dateAdapter.createDate(t,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,n=this._isRtl();switch(e.keyCode){case m.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case m.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case m.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case m.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case m.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case m.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ae-ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case m.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case m.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:ae);break;case m.K5:case m.L_:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_getActiveCell(){return ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),n=this._dateAdapter.getYearName(t),i=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new q(e,n,n,this._shouldEnableYear(e),i)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class e{constructor(e,t,n,i){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=h.w.EMPTY,this.selectedChange=new a.vpe,this.monthSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Q?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,_.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,n=this._isRtl();switch(e.keyCode){case m.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case m.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case m.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case m.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case m.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case m.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case m.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case m.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case m.K5:case m.L_:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(n,"year"):void 0;return new q(e,t.toLocaleUpperCase(),i,this._shouldEnableMonth(e),r)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return e>n||e===n&&t>i}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e{class e{constructor(e,t,n,i,r){this._intl=e,this.calendar=t,this._dateAdapter=n,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+pe++,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const e=this._dateAdapter.getYear(this.calendar.activeDate)-ue(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+ae-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:ae)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):ce(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(V),a.Y36((0,a.Gpc)(()=>me)),a.Y36(u._A,8),a.Y36(u.sG,8),a.Y36(a.sBO))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:L,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"button",2),a.NdJ("click",function(){return t.currentPeriodClicked()}),a.TgZ(3,"span"),a._uU(4),a.qZA(),a._UZ(5,"div",3),a.qZA(),a._UZ(6,"div",4),a.Hsn(7),a.TgZ(8,"button",5),a.NdJ("click",function(){return t.previousClicked()}),a.qZA(),a.TgZ(9,"button",6),a.NdJ("click",function(){return t.nextClicked()}),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(2),a.uIk("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),a.xp6(1),a.uIk("id",t._buttonDescriptionId),a.xp6(1),a.Oqu(t.periodButtonText),a.xp6(1),a.ekj("mat-calendar-invert","month"!==t.calendar.currentView),a.xp6(3),a.Q6J("disabled",!t.previousEnabled()),a.uIk("aria-label",t.prevButtonLabel),a.xp6(1),a.Q6J("disabled",!t.nextEnabled()),a.uIk("aria-label",t.nextButtonLabel))},directives:[l.lW,i.Qr],encapsulation:2,changeDetection:0}),e})(),me=(()=>{class e{constructor(e,t,n,i){this._dateAdapter=t,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this._userSelection=new a.vpe,this.stateChanges=new d.xQ,this._intlChanges=e.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof Q?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}ngAfterContentInit(){this._calendarHeaderPortal=new s.C5(this.headerComponent||fe),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const e=this.currentView;let t;t="month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView,t._init()}_dateSelected(e){const t=e.value;(this.selected instanceof Q||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(V),a.Y36(u._A,8),a.Y36(u.sG,8),a.Y36(a.sBO))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(a.Gf(oe,5),a.Gf(he,5),a.Gf(le,5)),2&e){let e;a.iGM(e=a.CRH())&&(t.monthView=e.first),a.iGM(e=a.CRH())&&(t.yearView=e.first),a.iGM(e=a.CRH())&&(t.multiYearView=e.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[a._Bn([te]),a.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(a.YNc(0,O,0,0,"ng-template",0),a.TgZ(1,"div",1),a.YNc(2,I,1,8,"mat-month-view",2),a.YNc(3,R,1,6,"mat-year-view",3),a.YNc(4,Y,1,6,"mat-multi-year-view",4),a.qZA()),2&e&&(a.Q6J("cdkPortalOutlet",t._calendarHeaderPortal),a.xp6(1),a.Q6J("ngSwitch",t.currentView),a.xp6(1),a.Q6J("ngSwitchCase","month"),a.xp6(1),a.Q6J("ngSwitchCase","year"),a.xp6(1),a.Q6J("ngSwitchCase","multi-year"))},directives:[s.Pl,i.kH,o.RF,o.n9,oe,he,le],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),e})();const ge={transformPanel:(0,w.X$)("transformPanel",[(0,w.eR)("void => enter-dropdown",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,w.F4)([(0,w.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,w.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,w.eR)("void => enter-dialog",(0,w.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,w.F4)([(0,w.oB)({opacity:0,transform:"scale(0.7)"}),(0,w.oB)({transform:"none",opacity:1})]))),(0,w.eR)("* => void",(0,w.jt)("100ms linear",(0,w.oB)({opacity:0})))]),fadeInCalendar:(0,w.X$)("fadeInCalendar",[(0,w.SB)("void",(0,w.oB)({opacity:0})),(0,w.SB)("enter",(0,w.oB)({opacity:1})),(0,w.eR)("void => *",(0,w.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let _e=0;const ve=new a.OlP("mat-datepicker-scroll-strategy"),ye={provide:ve,deps:[r.aV],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class be{constructor(e){this._elementRef=e}}const we=(0,u.pj)(be);let xe=(()=>{class e extends we{constructor(e,t,n,i,r,s){super(e),this._changeDetectorRef=t,this._globalModel=n,this._dateAdapter=i,this._rangeSelectionStrategy=r,this._subscriptions=new h.w,this._animationDone=new d.xQ,this._actionsPortal=null,this._closeButtonText=s.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const t=this._model.selection,n=e.value,i=t instanceof Q;if(i&&this._rangeSelectionStrategy){const i=this._rangeSelectionStrategy.selectionFinished(n,t,e.event);this._model.updateSelection(i,this)}else!n||!i&&this._dateAdapter.sameDate(n,t)||this._model.add(n);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(J),a.Y36(u._A),a.Y36(ie,8),a.Y36(V))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&a.Gf(me,5),2&e){let e;a.iGM(e=a.CRH())&&(t._calendar=e.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&a.WFA("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(a.d8E("@transformPanel",t._animationState),a.ekj("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.qOj],decls:5,vars:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"mat-calendar",1),a.NdJ("yearSelected",function(e){return t.datepicker._selectYear(e)})("monthSelected",function(e){return t.datepicker._selectMonth(e)})("viewChanged",function(e){return t.datepicker._viewChanged(e)})("_userSelection",function(e){return t._handleUserSelection(e)}),a.qZA(),a.YNc(2,F,0,0,"ng-template",2),a.TgZ(3,"button",3),a.NdJ("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),a._uU(4),a.qZA(),a.qZA()),2&e&&(a.ekj("mat-datepicker-content-container-with-actions",t._actionsPortal),a.xp6(1),a.Q6J("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter"),a.xp6(1),a.Q6J("cdkPortalOutlet",t._actionsPortal),a.xp6(1),a.ekj("cdk-visually-hidden",!t._closeButtonFocused),a.Q6J("color",t.color||"primary"),a.xp6(1),a.Oqu(t._closeButtonText))},directives:[i.mK,me,o.mk,s.Pl,l.lW],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[ge.transformPanel,ge.fadeInCalendar]},changeDetection:0}),e})(),Se=(()=>{class e{constructor(e,t,n,i,r,s,o,l,c){this._overlay=t,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=s,this._dir=o,this._model=c,this._inputStateChanges=h.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this.openedStream=new a.vpe,this.closedStream=new a.vpe,this._opened=!1,this.id="mat-datepicker-"+_e++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.xQ,this._scrollStrategy=r}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=(0,y.Ig)(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=(0,y.Ig)(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=(0,y.Ig)(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=(0,y.du)(e)}get opened(){return this._opened}set opened(e){(0,y.Ig)(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(e){const t=e.xPosition||e.yPosition;if(t&&!t.firstChange&&this._overlayRef){const e=this._overlayRef.getConfig().positionStrategy;e instanceof r._G&&(this._setConnectedPositions(e),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,b.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const e=this._componentRef.instance;e._startExitAnimation(),e._animationDone.pipe((0,g.q)(1)).subscribe(()=>this._destroyOverlay())}const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_applyPendingSelection(){var e,t;null===(t=null===(e=this._componentRef)||void 0===e?void 0:e.instance)||void 0===t||t._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._actionsPortal=this._actionsPortal}_openOverlay(){this._destroyOverlay();const e=this.touchUi,t=this.datepickerInput.getOverlayLabelId(),n=new s.C5(xe,this._viewContainerRef),i=this._overlayRef=this._overlay.create(new r.X_({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")})),o=i.overlayElement;o.setAttribute("role","dialog"),t&&o.setAttribute("aria-labelledby",t),e&&o.setAttribute("aria-modal","true"),this._getCloseStream(i).subscribe(e=>{e&&e.preventDefault(),this.close()}),this._componentRef=i.attach(n),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>i.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const t="end"===this.xPosition?"end":"start",n="start"===t?"end":"start",i="above"===this.yPosition?"bottom":"top",r="top"===i?"bottom":"top";return e.withPositions([{originX:t,originY:r,overlayX:t,overlayY:i},{originX:t,originY:i,overlayX:t,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:r}])}_getCloseStream(e){return(0,p.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,v.h)(e=>e.keyCode===m.hY&&!(0,m.Vb)(e)||this.datepickerInput&&(0,m.Vb)(e,"altKey")&&e.keyCode===m.LH)))}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(r.aV),a.Y36(a.R0b),a.Y36(a.s_b),a.Y36(ve),a.Y36(u._A,8),a.Y36(C.Is,8),a.Y36(o.K0,8),a.Y36(J))},e.\u0275dir=a.lG2({type:e,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.TTD]}),e})(),ke=(()=>{class e extends Se{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[a._Bn([te,{provide:Se,useExisting:e}]),a.qOj],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();class Ce{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let Me=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._dateAdapter=t,this._dateFormats=n,this.dateChange=new a.vpe,this.dateInput=new a.vpe,this.stateChanges=new d.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=h.w.EMPTY,this._localeSubscription=h.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!t||this._matchesFilter(t)?null:{matDatepickerFilter:!0}},this._minValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this._getMinDate();return!n||!t||this._dateAdapter.compareDate(n,t)<=0?null:{matDatepickerMin:{min:n,actual:t}}},this._maxValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this._getMaxDate();return!n||!t||this._dateAdapter.compareDate(n,t)>=0?null:{matDatepickerMax:{max:n,actual:t}}},this._lastValueValid=!1,this._localeSubscription=t.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const t=(0,y.Ig)(e),n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(e=>{if(this._shouldHandleChangeEvent(e)){const t=this._getValueFromModel(e.selection);this._lastValueValid=this._isValidValue(t),this._cvaOnChange(t),this._onTouched(),this._formatValue(t),this.dateInput.emit(new Ce(this,this._elementRef.nativeElement)),this.dateChange.emit(new Ce(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){Ee(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&e.keyCode===m.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(e&&!this.value&&this._cvaOnChange(n),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this.dateInput.emit(new Ce(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Ce(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const t=this._getDateFilter();return!t||t(e)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(u._A,8),a.Y36(u.sG,8))},e.\u0275dir=a.lG2({type:e,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a.TTD]}),e})();function Ee(e,t){const n=Object.keys(e);for(let i of n){const{previousValue:n,currentValue:r}=e[i];if(!t.isDateInstance(n)||!t.isDateInstance(r))return!0;if(!t.sameDate(n,r))return!0}return!1}const Te={provide:x.JU,useExisting:(0,a.Gpc)(()=>De),multi:!0},Ae={provide:x.Cf,useExisting:(0,a.Gpc)(()=>De),multi:!0};let De=(()=>{class e extends Me{constructor(e,t,n,i){super(e,t,n),this._formField=i,this._closedSubscription=h.w.EMPTY,this._validator=x.kI.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(u._A,8),a.Y36(u.sG,8),a.Y36(S.G_,8))},e.\u0275dir=a.lG2({type:e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&a.NdJ("input",function(e){return t._onInput(e.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(e){return t._onKeydown(e)}),2&e&&(a.Ikx("disabled",t.disabled),a.uIk("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[a._Bn([Te,Ae,{provide:k.Jk,useExisting:e}]),a.qOj]}),e})(),Pe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e})(),Le=(()=>{class e{constructor(e,t,n){this._intl=e,this._changeDetectorRef=t,this._stateChanges=h.w.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=(0,y.Ig)(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:(0,f.of)(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,f.of)(),n=this.datepicker?(0,p.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,f.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,p.T)(this._intl.changes,e,t,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(V),a.Y36(a.sBO),a.$8M("tabindex"))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,n){if(1&e&&a.Suo(n,Pe,5),2&e){let e;a.iGM(e=a.CRH())&&(t._customIcon=e.first)}},viewQuery:function(e,t){if(1&e&&a.Gf(j,5),2&e){let e;a.iGM(e=a.CRH())&&(t._button=e.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&a.NdJ("click",function(e){return t._open(e)}),2&e&&(a.uIk("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),a.ekj("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.TTD],ngContentSelectors:B,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(a.F$t(N),a.TgZ(0,"button",0,1),a.YNc(2,H,2,0,"svg",2),a.Hsn(3),a.qZA()),2&e&&(a.Q6J("disabled",t.disabled)("disableRipple",t.disableRipple),a.uIk("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),a.xp6(2),a.Q6J("ngIf",!t._customIcon))},directives:[l.lW,o.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),e})();const Oe=new a.OlP("MAT_DATE_RANGE_INPUT_PARENT"),Ie=(0,u.FD)((()=>{class e extends Me{constructor(e,t,n,i,r,s,o,a){super(t,o,a),this._rangeInput=e,this._defaultErrorStateMatcher=n,this._injector=i,this._parentForm=r,this._parentFormGroup=s}ngOnInit(){const e=this._injector.get(x.a5,null,a.XFs.Self|a.XFs.Optional);e&&(this.ngControl=e)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}_onInput(e){super._onInput(e),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:e}){return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput}_assignValueProgrammatically(e){super._assignValueProgrammatically(e);const t=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;null==t||t._validatorOnChange()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(Oe),a.Y36(a.SBq),a.Y36(u.rD),a.Y36(a.zs3),a.Y36(x.F,8),a.Y36(x.sg,8),a.Y36(u._A,8),a.Y36(u.sG,8))},e.\u0275dir=a.lG2({type:e,features:[a.qOj]}),e})());let Re=(()=>{class e extends Ie{constructor(e,t,n,i,r,s,o,a){super(e,t,n,i,r,s,o,a),this._startValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this._model?this._model.selection.end:null;return!t||!n||this._dateAdapter.compareDate(t,n)<=0?null:{matStartDateInvalid:{end:n,actual:t}}},this._validator=x.kI.compose([...super._getValidators(),this._startValidator])}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}_getValueFromModel(e){return e.start}_shouldHandleChangeEvent(e){var t;return!(!super._shouldHandleChangeEvent(e)||((null===(t=e.oldValue)||void 0===t?void 0:t.start)?e.selection.start&&!this._dateAdapter.compareDate(e.oldValue.start,e.selection.start):!e.selection.start))}_assignValueToModel(e){if(this._model){const t=new Q(e,this._model.selection.end);this._model.updateSelection(t,this)}}_formatValue(e){super._formatValue(e),this._rangeInput._handleChildValueChange()}getMirrorValue(){const e=this._elementRef.nativeElement,t=e.value;return t.length>0?t:e.placeholder}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(Oe),a.Y36(a.SBq),a.Y36(u.rD),a.Y36(a.zs3),a.Y36(x.F,8),a.Y36(x.sg,8),a.Y36(u._A,8),a.Y36(u.sG,8))},e.\u0275dir=a.lG2({type:e,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(e,t){1&e&&a.NdJ("input",function(e){return t._onInput(e.target.value)})("change",function(){return t._onChange()})("keydown",function(e){return t._onKeydown(e)})("blur",function(){return t._onBlur()}),2&e&&(a.Ikx("disabled",t.disabled),a.uIk("id",t._rangeInput.id)("aria-haspopup",t._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==t._rangeInput.rangePicker?null:t._rangeInput.rangePicker.opened)&&t._rangeInput.rangePicker.id||null)("min",t._getMinDate()?t._dateAdapter.toIso8601(t._getMinDate()):null)("max",t._getMaxDate()?t._dateAdapter.toIso8601(t._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a._Bn([{provide:x.JU,useExisting:e,multi:!0},{provide:x.Cf,useExisting:e,multi:!0}]),a.qOj]}),e})(),Ye=(()=>{class e extends Ie{constructor(e,t,n,i,r,s,o,a){super(e,t,n,i,r,s,o,a),this._endValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this._model?this._model.selection.start:null;return!t||!n||this._dateAdapter.compareDate(t,n)>=0?null:{matEndDateInvalid:{start:n,actual:t}}},this._validator=x.kI.compose([...super._getValidators(),this._endValidator])}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}_getValueFromModel(e){return e.end}_shouldHandleChangeEvent(e){var t;return!(!super._shouldHandleChangeEvent(e)||((null===(t=e.oldValue)||void 0===t?void 0:t.end)?e.selection.end&&!this._dateAdapter.compareDate(e.oldValue.end,e.selection.end):!e.selection.end))}_assignValueToModel(e){if(this._model){const t=new Q(this._model.selection.start,e);this._model.updateSelection(t,this)}}_onKeydown(e){e.keyCode!==m.ZH||this._elementRef.nativeElement.value||this._rangeInput._startInput.focus(),super._onKeydown(e)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(Oe),a.Y36(a.SBq),a.Y36(u.rD),a.Y36(a.zs3),a.Y36(x.F,8),a.Y36(x.sg,8),a.Y36(u._A,8),a.Y36(u.sG,8))},e.\u0275dir=a.lG2({type:e,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,t){1&e&&a.NdJ("input",function(e){return t._onInput(e.target.value)})("change",function(){return t._onChange()})("keydown",function(e){return t._onKeydown(e)})("blur",function(){return t._onBlur()}),2&e&&(a.Ikx("disabled",t.disabled),a.uIk("aria-haspopup",t._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==t._rangeInput.rangePicker?null:t._rangeInput.rangePicker.opened)&&t._rangeInput.rangePicker.id||null)("min",t._getMinDate()?t._dateAdapter.toIso8601(t._getMinDate()):null)("max",t._getMaxDate()?t._dateAdapter.toIso8601(t._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a._Bn([{provide:x.JU,useExisting:e,multi:!0},{provide:x.Cf,useExisting:e,multi:!0}]),a.qOj]}),e})(),Fe=0,je=(()=>{class e{constructor(e,t,n,i,r){this._changeDetectorRef=e,this._elementRef=t,this._dateAdapter=i,this._formField=r,this._closedSubscription=h.w.EMPTY,this.id="mat-date-range-input-"+Fe++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new d.xQ,(null==r?void 0:r._elementRef.nativeElement.classList.contains("mat-mdc-form-field"))&&t.nativeElement.classList.add("mat-mdc-input-element"),this.ngControl=n}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var e,t;const n=(null===(e=this._startInput)||void 0===e?void 0:e._getPlaceholder())||"",i=(null===(t=this._endInput)||void 0===t?void 0:t._getPlaceholder())||"";return n||i?`${n} ${this.separator} ${i}`:""}get rangePicker(){return this._rangePicker}set rangePicker(e){e&&(this._model=e.registerInput(this),this._rangePicker=e,this._closedSubscription.unsubscribe(),this._closedSubscription=e.closedStream.subscribe(()=>{var e,t;null===(e=this._startInput)||void 0===e||e._onTouched(),null===(t=this._endInput)||void 0===t||t._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(e){this._required=(0,y.Ig)(e)}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._startInput,n=this._endInput,i=t&&t._matchesFilter(t.value),r=n&&n._matchesFilter(t.value);this._dateFilter=e,t&&t._matchesFilter(t.value)!==i&&t._validatorOnChange(),n&&n._matchesFilter(n.value)!==r&&n._validatorOnChange()}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._revalidate())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(e){const t=(0,y.Ig)(e);t!==this._groupDisabled&&(this._groupDisabled=t,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const e=!!this._startInput&&this._startInput.isEmpty(),t=!!this._endInput&&this._endInput.isEmpty();return e&&t}setDescribedByIds(e){this._ariaDescribedBy=e.length?e.join(" "):null}onContainerClick(){this.focused||this.disabled||(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,p.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(e){Ee(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(){return this._startInput?this._startInput.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const e=this._formField;return e&&e._hasFloatingLabel()?e._labelId:null}_updateFocus(e){this.focused=null!==e,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(e){this._startInput&&this._startInput._registerModel(e),this._endInput&&this._endInput._registerModel(e)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36(a.SBq),a.Y36(x.gN,10),a.Y36(u._A,8),a.Y36(S.G_,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-date-range-input"]],contentQueries:function(e,t,n){if(1&e&&(a.Suo(n,Re,5),a.Suo(n,Ye,5)),2&e){let e;a.iGM(e=a.CRH())&&(t._startInput=e.first),a.iGM(e=a.CRH())&&(t._endInput=e.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(e,t){2&e&&(a.uIk("id",null)("aria-labelledby",t._getAriaLabelledby())("aria-describedby",t._ariaDescribedBy)("data-mat-calendar",t.rangePicker?t.rangePicker.id:null),a.ekj("mat-date-range-input-hide-placeholders",t._shouldHidePlaceholders())("mat-date-range-input-required",t.required))},inputs:{separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled"},exportAs:["matDateRangeInput"],features:[a._Bn([{provide:S.Eo,useExisting:e},{provide:Oe,useExisting:e}]),a.TTD],ngContentSelectors:z,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(e,t){1&e&&(a.F$t(U),a.TgZ(0,"div",0),a.NdJ("cdkFocusChange",function(e){return t._updateFocus(e)}),a.TgZ(1,"div",1),a.Hsn(2),a.TgZ(3,"span",2),a._uU(4),a.qZA(),a.qZA(),a.TgZ(5,"span",3),a._uU(6),a.qZA(),a.TgZ(7,"div",4),a.Hsn(8,1),a.qZA(),a.qZA()),2&e&&(a.xp6(4),a.Oqu(t._getInputMirrorValue()),a.xp6(1),a.ekj("mat-date-range-input-separator-hidden",t._shouldHideSeparator()),a.xp6(1),a.Oqu(t.separator))},directives:[i.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}.mat-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%}.mat-date-range-input-inner::-ms-clear,.mat-date-range-input-inner::-ms-reveal{display:none}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0}),e})(),He=(()=>{class e extends Se{_forwardContentValues(e){super._forwardContentValues(e);const t=this.datepickerInput;t&&(e.comparisonStart=t.comparisonStart,e.comparisonEnd=t.comparisonEnd)}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[a._Bn([ne,se,{provide:Se,useExisting:e}]),a.qOj],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})(),Ne=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[V,ye],imports:[[o.ez,l.ot,r.U8,i.rt,s.eL,u.BQ],c.ZD]}),e})()},84608:(e,t,n)=>{"use strict";n.d(t,{WI:()=>E,uw:()=>L,H8:()=>F,ZT:()=>I,xY:()=>Y,Is:()=>H,so:()=>C,uh:()=>R});var i=n(2522),r=n(26899),s=n(31572),o=n(71522),a=n(22526),l=n(61511),c=n(55959),u=n(31450),d=n(40878),h=n(43835),p=n(90611),f=n(56238),m=n(11353),g=n(10709),_=n(75842),v=n(24621);function y(e,t){}class b{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const w={dialogContainer:(0,g.X$)("dialogContainer",[(0,g.SB)("void, exit",(0,g.oB)({opacity:0,transform:"scale(0.7)"})),(0,g.SB)("enter",(0,g.oB)({transform:"none"})),(0,g.eR)("* => enter",(0,g.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,g.oB)({transform:"none",opacity:1}))),(0,g.eR)("* => void, * => exit",(0,g.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,g.oB)({opacity:0})))])};let x=(()=>{class e extends r.en{constructor(e,t,n,i,r,o){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=n,this._config=r,this._focusMonitor=o,this._animationStateChanged=new s.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=e=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=(0,m.ht)(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,m.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=(0,m.ht)();return e===t||e.contains(t)}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(v.qV),s.Y36(s.sBO),s.Y36(l.K0,8),s.Y36(b),s.Y36(v.tE))},e.\u0275dir=s.lG2({type:e,viewQuery:function(e,t){if(1&e&&s.Gf(r.Pl,7),2&e){let e;s.iGM(e=s.CRH())&&(t._portalOutlet=e.first)}},features:[s.qOj]}),e})(),S=(()=>{class e extends x{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=s.n5z(e)))(n||e)}}(),e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&s.WFA("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(s.Ikx("id",t._id),s.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),s.d8E("@dialogContainer",t._state))},features:[s.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&s.YNc(0,y,0,0,"ng-template",0)},directives:[r.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[w.dialogContainer]}}),e})(),k=0;class C{constructor(e,t,n="mat-dialog-"+k++){this._overlayRef=e,this._containerInstance=t,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.xQ,this._afterClosed=new c.xQ,this._beforeClosed=new c.xQ,this._state=0,t._id=n,t._animationStateChanged.pipe((0,h.h)(e=>"opened"===e.state),(0,p.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe((0,h.h)(e=>"closed"===e.state),(0,p.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe((0,h.h)(e=>e.keyCode===_.hY&&!this.disableClose&&!(0,_.Vb)(e))).subscribe(e=>{e.preventDefault(),M(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():M(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe((0,h.h)(e=>"closing"===e.state),(0,p.q)(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function M(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}const E=new s.OlP("MatDialogData"),T=new s.OlP("mat-dialog-default-options"),A=new s.OlP("mat-dialog-scroll-strategy"),D={provide:A,deps:[i.aV],useFactory:function(e){return()=>e.scrollStrategies.block()}};let P=(()=>{class e{constructor(e,t,n,i,r,s,o,a,l){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=r,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.xQ,this._afterOpenedAtThisLevel=new c.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,u.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,f.O)(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new b)).id&&this.getDialogById(t.id);const n=this._createOverlay(t),i=this._attachDialogContainer(n,t),r=this._attachDialogContent(e,i,n,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),i._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const n=s.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:b,useValue:t}]}),i=new r.C5(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,n,i){const o=new this._dialogRefConstructor(n,t,i.id);if(e instanceof s.Rgc)t.attachTemplatePortal(new r.UE(e,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,t),s=t.attachComponentPortal(new r.C5(e,i.viewContainerRef,n));o.componentInstance=s.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(e,t,n){const i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(a.Is,null)||r.push({provide:a.Is,useValue:{value:e.direction,change:(0,d.of)()}}),s.zs3.create({parent:i||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let n=t.length-1;n>-1;n--){let i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(i.aV),s.Y36(s.zs3),s.Y36(void 0),s.Y36(void 0),s.Y36(i.Xj),s.Y36(void 0),s.Y36(s.DyG),s.Y36(s.DyG),s.Y36(s.OlP))},e.\u0275dir=s.lG2({type:e}),e})(),L=(()=>{class e extends P{constructor(e,t,n,i,r,s,o){super(e,t,i,s,o,r,C,S,E)}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(i.aV),s.LFG(s.zs3),s.LFG(l.Ye,8),s.LFG(T,8),s.LFG(A),s.LFG(e,12),s.LFG(i.Xj))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})(),O=0,I=(()=>{class e{constructor(e,t,n){this.dialogRef=e,this._elementRef=t,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=j(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){M(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(C,8),s.Y36(s.SBq),s.Y36(L))},e.\u0275dir=s.lG2({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&s.NdJ("click",function(e){return t._onButtonClick(e)}),2&e&&s.uIk("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[s.TTD]}),e})(),R=(()=>{class e{constructor(e,t,n){this._dialogRef=e,this._elementRef=t,this._dialog=n,this.id="mat-dialog-title-"+O++}ngOnInit(){this._dialogRef||(this._dialogRef=j(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(C,8),s.Y36(s.SBq),s.Y36(L))},e.\u0275dir=s.lG2({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&s.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),Y=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.lG2({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),F=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.lG2({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e})();function j(e,t){let n=e.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(e=>e.id===n.id):null}let H=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({providers:[L,D],imports:[[i.U8,r.eL,o.BQ],o.BQ]}),e})()},27679:(e,t,n)=>{"use strict";n.d(t,{d:()=>o,t:()=>a});var i=n(19861),r=n(71522),s=n(31572);let o=(()=>{class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=(0,i.Ig)(e)}get inset(){return this._inset}set inset(e){this._inset=(0,i.Ig)(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(s.uIk("aria-orientation",t.vertical?"vertical":"horizontal"),s.ekj("mat-divider-vertical",t.vertical)("mat-divider-horizontal",!t.vertical)("mat-divider-inset",t.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,t){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),e})(),a=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[r.BQ],r.BQ]}),e})()},45001:(e,t,n)=>{"use strict";n.d(t,{To:()=>N,ib:()=>j,yz:()=>H});var i=n(31572),r=n(19861),s=n(55959),o=n(87570),a=n(4230);const l=new i.OlP("CdkAccordion");let c=0,u=(()=>{class e{constructor(e,t,n){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=n,this._openCloseAllSubscription=o.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+c++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((e,t)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===t&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=(0,r.Ig)(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=(0,r.Ig)(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(l,12),i.Y36(i.sBO),i.Y36(a.A8))},e.\u0275dir=i.lG2({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:l,useValue:void 0}])]}),e})(),d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})();var h=n(26899),p=n(61511),f=n(71522),m=n(24621),g=n(98720),_=n(56238),v=n(43835),y=n(90611),b=n(75842),w=n(43490),x=n(70653),S=n(31906),k=n(10709);const C=["body"];function M(e,t){}const E=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],T=["mat-expansion-panel-header","*","mat-action-row"];function A(e,t){if(1&e&&i._UZ(0,"span",2),2&e){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const D=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],P=["mat-panel-title","mat-panel-description","*"],L=new i.OlP("MAT_ACCORDION"),O="225ms cubic-bezier(0.4,0.0,0.2,1)",I={indicatorRotate:(0,k.X$)("indicatorRotate",[(0,k.SB)("collapsed, void",(0,k.oB)({transform:"rotate(0deg)"})),(0,k.SB)("expanded",(0,k.oB)({transform:"rotate(180deg)"})),(0,k.eR)("expanded <=> collapsed, void => collapsed",(0,k.jt)(O))]),bodyExpansion:(0,k.X$)("bodyExpansion",[(0,k.SB)("collapsed, void",(0,k.oB)({height:"0px",visibility:"hidden"})),(0,k.SB)("expanded",(0,k.oB)({height:"*",visibility:"visible"})),(0,k.eR)("expanded <=> collapsed, void => collapsed",(0,k.jt)(O))])};let R=(()=>{class e{constructor(e){this._template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Rgc))},e.\u0275dir=i.lG2({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e})(),Y=0;const F=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let j=(()=>{class e extends u{constructor(e,t,n,r,o,a,l){super(e,t,n),this._viewContainerRef=r,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new s.xQ,this._headerId="mat-expansion-panel-header-"+Y++,this._bodyAnimationDone=new s.xQ,this.accordion=e,this._document=o,this._bodyAnimationDone.pipe((0,g.x)((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{"void"!==e.fromState&&("expanded"===e.toState?this.afterExpand.emit():"collapsed"===e.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=(0,r.Ig)(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe((0,_.O)(null),(0,v.h)(()=>this.expanded&&!this._portal),(0,y.q)(1)).subscribe(()=>{this._portal=new h.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(L,12),i.Y36(i.sBO),i.Y36(a.A8),i.Y36(i.s_b),i.Y36(p.K0),i.Y36(w.Qb,8),i.Y36(F,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){if(1&e&&i.Suo(n,R,5),2&e){let e;i.iGM(e=i.CRH())&&(t._lazyContent=e.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(C,5),2&e){let e;i.iGM(e=i.CRH())&&(t._body=e.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:L,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:T,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(E),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(e){return t._bodyAnimationDone.next(e)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,M,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),i.uIk("aria-labelledby",t._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",t._portal))},directives:[h.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[I.bodyExpansion]},changeDetection:0}),e})(),H=(()=>{class e{constructor(e,t,n,i,r,s){this.panel=e,this._element=t,this._focusMonitor=n,this._changeDetectorRef=i,this._animationMode=s,this._parentChangeSubscription=o.w.EMPTY;const a=e.accordion?e.accordion._stateChanges.pipe((0,v.h)(e=>!(!e.hideToggle&&!e.togglePosition))):x.E;this._parentChangeSubscription=(0,S.T)(e.opened,e.closed,a,e._inputChanges.pipe((0,v.h)(e=>!!(e.hideToggle||e.disabled||e.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,v.h)(()=>e._containsFocus())).subscribe(()=>n.focusVia(t,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case b.L_:case b.K5:(0,b.Vb)(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(j,1),i.Y36(i.SBq),i.Y36(m.tE),i.Y36(i.sBO),i.Y36(F,8),i.Y36(w.Qb,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._toggle()})("keydown",function(e){return t._keydown(e)}),2&e&&(i.uIk("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Udp("height",t._getHeaderHeight()),i.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:P,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.F$t(D),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,A,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[p.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}\n'],encapsulation:2,data:{animation:[I.indicatorRotate]},changeDetection:0}),e})(),N=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[p.ez,f.BQ,d,h.eL]]}),e})()},66283:(e,t,n)=>{"use strict";n.d(t,{G_:()=>J,TO:()=>F,KE:()=>X,Eo:()=>H,lN:()=>ee,bx:()=>U,hX:()=>z,R9:()=>$});var i=n(36337),r=n(61511),s=n(31572),o=n(71522),a=n(19861),l=n(55959),c=n(31906),u=n(87254),d=n(56238),h=n(25416),p=n(90611),f=n(10709),m=n(43490),g=n(22526),_=n(11353);const v=["underline"],y=["connectionContainer"],b=["inputContainer"],w=["label"];function x(e,t){1&e&&(s.ynx(0),s.TgZ(1,"div",14),s._UZ(2,"div",15),s._UZ(3,"div",16),s._UZ(4,"div",17),s.qZA(),s.TgZ(5,"div",18),s._UZ(6,"div",15),s._UZ(7,"div",16),s._UZ(8,"div",17),s.qZA(),s.BQk())}function S(e,t){1&e&&(s.TgZ(0,"div",19),s.Hsn(1,1),s.qZA())}function k(e,t){if(1&e&&(s.ynx(0),s.Hsn(1,2),s.TgZ(2,"span"),s._uU(3),s.qZA(),s.BQk()),2&e){const e=s.oxw(2);s.xp6(3),s.Oqu(e._control.placeholder)}}function C(e,t){1&e&&s.Hsn(0,3,["*ngSwitchCase","true"])}function M(e,t){1&e&&(s.TgZ(0,"span",23),s._uU(1," *"),s.qZA())}function E(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"label",20,21),s.NdJ("cdkObserveContent",function(){return s.CHM(e),s.oxw().updateOutlineGap()}),s.YNc(2,k,4,1,"ng-container",12),s.YNc(3,C,1,0,"ng-content",12),s.YNc(4,M,2,0,"span",22),s.qZA()}if(2&e){const e=s.oxw();s.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),s.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),s.uIk("for",e._control.id)("aria-owns",e._control.id),s.xp6(2),s.Q6J("ngSwitchCase",!1),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function T(e,t){1&e&&(s.TgZ(0,"div",24),s.Hsn(1,4),s.qZA())}function A(e,t){if(1&e&&(s.TgZ(0,"div",25,26),s._UZ(2,"span",27),s.qZA()),2&e){const e=s.oxw();s.xp6(2),s.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function D(e,t){if(1&e&&(s.TgZ(0,"div"),s.Hsn(1,5),s.qZA()),2&e){const e=s.oxw();s.Q6J("@transitionMessages",e._subscriptAnimationState)}}function P(e,t){if(1&e&&(s.TgZ(0,"div",31),s._uU(1),s.qZA()),2&e){const e=s.oxw(2);s.Q6J("id",e._hintLabelId),s.xp6(1),s.Oqu(e.hintLabel)}}function L(e,t){if(1&e&&(s.TgZ(0,"div",28),s.YNc(1,P,2,2,"div",29),s.Hsn(2,6),s._UZ(3,"div",30),s.Hsn(4,7),s.qZA()),2&e){const e=s.oxw();s.Q6J("@transitionMessages",e._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",e.hintLabel)}}const O=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],I=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let R=0;const Y=new s.OlP("MatError");let F=(()=>{class e{constructor(e,t){this.id="mat-error-"+R++,e||t.nativeElement.setAttribute("aria-live","polite")}}return e.\u0275fac=function(t){return new(t||e)(s.$8M("aria-live"),s.Y36(s.SBq))},e.\u0275dir=s.lG2({type:e,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&s.uIk("id",t.id)},inputs:{id:"id"},features:[s._Bn([{provide:Y,useExisting:e}])]}),e})();const j={transitionMessages:(0,f.X$)("transitionMessages",[(0,f.SB)("enter",(0,f.oB)({opacity:1,transform:"translateY(0%)"})),(0,f.eR)("void => enter",[(0,f.oB)({opacity:0,transform:"translateY(-5px)"}),(0,f.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let H=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.lG2({type:e}),e})(),N=0;const B=new s.OlP("MatHint");let U=(()=>{class e{constructor(){this.align="start",this.id="mat-hint-"+N++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.lG2({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(s.uIk("id",t.id)("align",null),s.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[s._Bn([{provide:B,useExisting:e}])]}),e})(),z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.lG2({type:e,selectors:[["mat-label"]]}),e})(),V=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.lG2({type:e,selectors:[["mat-placeholder"]]}),e})();const q=new s.OlP("MatPrefix"),W=new s.OlP("MatSuffix");let $=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.lG2({type:e,selectors:[["","matSuffix",""]],features:[s._Bn([{provide:W,useExisting:e}])]}),e})(),G=0;class Z{constructor(e){this._elementRef=e}}const K=(0,o.pj)(Z,"primary"),Q=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),J=new s.OlP("MatFormField");let X=(()=>{class e extends K{constructor(e,t,n,i,r,s,o,a){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+G++,this._labelId="mat-form-field-label-"+G++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=(0,a.Ig)(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe((0,d.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe((0,h.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,h.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,c.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,d.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,d.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,h.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,u.R)(this._label.nativeElement,"transitionend").pipe((0,p.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,n=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push(...this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),s=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),o=e.children,a=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let e=0;e0?.75*l+10:0}for(let o=0;o{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[r.ez,o.BQ,i.Q8],o.BQ]}),e})()},43691:(e,t,n)=>{"use strict";n.d(t,{Hw:()=>O,Ps:()=>I});var i=n(31572),r=n(71522),s=n(19861),o=n(61511),a=n(40878),l=n(31225),c=n(3148),u=n(87570),d=n(66599),h=n(79996),p=n(47727),f=n(11520),m=n(1055),g=n(90611),_=n(29063),v=n(30269);const y=["*"];function b(e){return Error(`Unable to find icon with the name "${e}"`)}function w(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function x(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class S{constructor(e,t,n){this.url=e,this.svgText=t,this.options=n}}let k=(()=>{class e{constructor(e,t,n,i){this._httpClient=e,this._sanitizer=t,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}addSvgIconLiteral(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}addSvgIconInNamespace(e,t,n,i){return this._addSvgIconConfig(e,t,new S(n,null,i))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,n,r){const s=this._sanitizer.sanitize(i.q3G.HTML,n);if(!s)throw x(n);return this._addSvgIconConfig(e,t,new S("",s,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,n){return this._addSvgIconSetConfig(e,new S(t,null,n))}addSvgIconSetLiteralInNamespace(e,t,n){const r=this._sanitizer.sanitize(i.q3G.HTML,t);if(!r)throw x(t);return this._addSvgIconSetConfig(e,new S("",r,n))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,e);if(!t)throw w(e);const n=this._cachedIconsByUrl.get(t);return n?(0,a.of)(C(n)):this._loadSvgIconFromConfig(new S(e,null)).pipe((0,d.b)(e=>this._cachedIconsByUrl.set(t,e)),(0,h.U)(e=>C(e)))}getNamedSvgIcon(e,t=""){const n=M(t,e);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,l._)(b(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,a.of)(C(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,h.U)(e=>C(e)))}_getSvgFromIconSetConfigs(e,t){const n=this._extractIconWithNameFromAnySet(e,t);if(n)return(0,a.of)(n);const r=t.filter(e=>!e.svgText).map(e=>this._loadSvgIconSetFromConfig(e).pipe((0,p.K)(t=>{const n=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,e.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${t.message}`)),(0,a.of)(null)})));return(0,c.D)(r).pipe((0,h.U)(()=>{const n=this._extractIconWithNameFromAnySet(e,t);if(!n)throw b(e);return n}))}_extractIconWithNameFromAnySet(e,t){for(let n=t.length-1;n>=0;n--){const i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){const t=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(t,e,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,d.b)(t=>e.svgText=t),(0,h.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,a.of)(null):this._fetchIcon(e).pipe((0,d.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,n){const i=e.querySelector(`[id="${t}"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const s=this._svgElementFromString("");return s.appendChild(r),this._setSvgAttributes(s,n)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const n=t.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(e){const t=this._svgElementFromString(""),n=e.attributes;for(let i=0;ithis._inProgressUrlFetches.delete(o)),(0,m.B)());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(e,t,n){return this._svgIconConfigs.set(M(e,t),n),this}_addSvgIconSetConfig(e,t){const n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let i=0;it?t.pathname+t.search:""}}}),D=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],P=D.map(e=>`[${e}]`).join(", "),L=/^url\(['"]?#(.*?)['"]?\)$/;let O=(()=>{class e extends T{constructor(e,t,n,i,r){super(e),this._iconRegistry=t,this._location=i,this._errorHandler=r,this._inline=!1,this._currentIconFetch=u.w.EMPTY,n||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=(0,s.Ig)(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let i=0;i{t.forEach(t=>{n.setAttribute(t.name,`url('${e}#${t.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(P),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i{const r=t[i],s=r.getAttribute(e),o=s?s.match(L):null;if(o){let t=n.get(r);t||(t=[],n.set(r,t)),t.push({name:e,value:o[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,n]=this._splitIconName(e);t&&(this._svgNamespace=t),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,t).pipe((0,g.q)(1)).subscribe(e=>this._setSvgElement(e),e=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${n}! ${e.message}`))})}}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(k),i.$8M("aria-hidden"),i.Y36(A),i.Y36(i.qLn))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),i.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:y,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),I=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[r.BQ],r.BQ]}),e})()},26756:(e,t,n)=>{"use strict";n.d(t,{Jk:()=>f,Nt:()=>y,c:()=>b});var i=n(11353),r=n(31572),s=n(19861),o=n(70653),a=n(55959);n(87254),n(30810),n(25416),n(61511);const l=(0,i.i$)({passive:!0});let c=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return o.E;const t=(0,s.fI)(e),n=this._monitoredElements.get(t);if(n)return n.subject;const i=new a.xQ,r="cdk-text-field-autofilled",c=e=>{"cdk-text-field-autofill-start"!==e.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===e.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>i.next({target:e.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>i.next({target:e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,l),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:i,unlisten:()=>{t.removeEventListener("animationstart",c,l)}}),i}stopMonitoring(e){const t=(0,s.fI)(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.t4),r.LFG(r.R0b))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(i.t4),r.LFG(r.R0b))},token:e,providedIn:"root"}),e})(),u=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ud]]}),e})();var d=n(71522),h=n(66283),p=n(16073);const f=new r.OlP("MAT_INPUT_VALUE_ACCESSOR"),m=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;class _{constructor(e,t,n,i){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=i}}const v=(0,d.FD)(_);let y=(()=>{class e extends v{constructor(e,t,n,r,s,o,l,c,u,d){super(o,r,s,n),this._elementRef=e,this._platform=t,this.ngControl=n,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new a.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>(0,i.qK)().has(e));const h=this._elementRef.nativeElement,p=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",e=>{const t=e.target;t.value||0!==t.selectionStart||0!==t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=(0,s.Ig)(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required}set required(e){this._required=(0,s.Ig)(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&(0,i.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=(0,s.Ig)(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const n=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(n!==this._previousPlaceholder){const e=this._elementRef.nativeElement;this._previousPlaceholder=n,n?e.setAttribute("placeholder",n):e.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){m.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(i.t4),r.Y36(p.a5,10),r.Y36(p.F,8),r.Y36(p.sg,8),r.Y36(d.rD),r.Y36(f,10),r.Y36(c),r.Y36(r.R0b),r.Y36(h.G_,8))},e.\u0275dir=r.lG2({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&r.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(r.Ikx("disabled",t.disabled)("required",t.required),r.uIk("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),r.ekj("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r._Bn([{provide:h.Eo,useExisting:e}]),r.qOj,r.TTD]}),e})(),b=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[d.rD],imports:[[u,h.lN,d.BQ],u,h.lN]}),e})()},85250:(e,t,n)=>{"use strict";n.d(t,{Tg:()=>x,ie:()=>S,Hk:()=>y});var i=n(61511),r=n(31572),s=n(71522),o=n(19861),a=n(55959),l=n(25416),c=(n(56238),n(24621),n(4230),n(75842),n(16073),n(27679));const u=["*"],d=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],h=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class p{}const f=(0,s.Id)((0,s.Kr)(p));class m{}const g=(0,s.Kr)(m),_=new r.OlP("MatList"),v=new r.OlP("MatNavList");let y=(()=>{class e extends f{constructor(){super(...arguments),this._stateChanges=new a.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[r._Bn([{provide:v,useExisting:e}]),r.qOj,r.TTD],ngContentSelectors:u,decls:1,vars:0,template:function(e,t){1&e&&(r.F$t(),r.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),e})(),b=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e})(),w=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e})(),x=(()=>{class e extends g{constructor(e,t,n,i){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new a.xQ,this._disabled=!1,this._isInteractiveList=!!(n||i&&"action-list"===i._getListType()),this._list=n||i;const r=this._getHostElement();"button"!==r.nodeName.toLowerCase()||r.hasAttribute("type")||r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,l.R)(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=(0,o.Ig)(e)}ngAfterContentInit(){(0,s.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(v,8),r.Y36(_,8))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,n){if(1&e&&(r.Suo(n,b,5),r.Suo(n,w,5),r.Suo(n,s.X2,5)),2&e){let e;r.iGM(e=r.CRH())&&(t._avatar=e.first),r.iGM(e=r.CRH())&&(t._icon=e.first),r.iGM(e=r.CRH())&&(t._lines=e)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&r.ekj("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[r.qOj],ngContentSelectors:h,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(r.F$t(d),r.TgZ(0,"div",0),r._UZ(1,"div",1),r.Hsn(2),r.TgZ(3,"div",2),r.Hsn(4,1),r.qZA(),r.Hsn(5,2),r.qZA()),2&e&&(r.xp6(1),r.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[s.wG],encapsulation:2,changeDetection:0}),e})(),S=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[s.uc,s.si,s.BQ,s.us,i.ez],s.uc,s.BQ,s.us,c.t]}),e})()},8055:(e,t,n)=>{"use strict";n.d(t,{VK:()=>j,OP:()=>I,Tx:()=>V,p6:()=>U});var i=n(24621),r=n(19861),s=n(75842),o=n(31572),a=n(55959),l=n(87570),c=n(31906),u=n(40878),d=n(92709),h=n(56238),p=n(44689),f=n(90611),m=n(43835),g=n(25416),_=n(60509),v=n(10709),y=n(26899),b=n(61511),w=n(71522),x=n(2522),S=n(11353),k=n(4253),C=n(22526);const M=["mat-menu-item",""],E=["*"];function T(e,t){if(1&e){const e=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(t){return o.CHM(e),o.oxw()._handleKeydown(t)})("click",function(){return o.CHM(e),o.oxw().closed.emit("click")})("@transformMenu.start",function(t){return o.CHM(e),o.oxw()._onAnimationStart(t)})("@transformMenu.done",function(t){return o.CHM(e),o.oxw()._onAnimationDone(t)}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA(),o.qZA()}if(2&e){const e=o.oxw();o.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),o.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const A={transformMenu:(0,v.X$)("transformMenu",[(0,v.SB)("void",(0,v.oB)({opacity:0,transform:"scale(0.8)"})),(0,v.eR)("void => enter",(0,v.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,v.oB)({opacity:1,transform:"scale(1)"}))),(0,v.eR)("* => void",(0,v.jt)("100ms 25ms linear",(0,v.oB)({opacity:0})))]),fadeInItems:(0,v.X$)("fadeInItems",[(0,v.SB)("showing",(0,v.oB)({opacity:1})),(0,v.eR)("void => *",[(0,v.oB)({opacity:0}),(0,v.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},D=new o.OlP("MatMenuContent"),P=new o.OlP("MAT_MENU_PANEL");class L{}const O=(0,w.Kr)((0,w.Id)(L));let I=(()=>{class e extends O{constructor(e,t,n,i){super(),this._elementRef=e,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new a.xQ,this._focused=new a.xQ,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e,t;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let r=0;r{class e{constructor(e,t,n){this._elementRef=e,this._ngZone=t,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.n_E,this._tabSubscription=l.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new a.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Y++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=(0,r.Ig)(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=(0,r.Ig)(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(e=>{this._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(e=>{this._classList[e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,h.O)(this._directDescendantItems),(0,p.w)(e=>(0,c.T)(...e.map(e=>e._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,h.O)(this._directDescendantItems),(0,p.w)(e=>(0,c.T)(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,n=this._keyManager;switch(t){case s.hY:(0,s.Vb)(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case s.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case s.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:t!==s.LH&&t!==s.JH||n.setFocusOrigin("keyboard"),n.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let e=this._directDescendantItems.first._getHostElement().parentElement;for(;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=`mat-elevation-z${Math.min(4+e,24)}`,n=Object.keys(this._classList).find(e=>e.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}setPositionClasses(e=this.xPosition,t=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,h.O)(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(R))},e.\u0275dir=o.lG2({type:e,contentQueries:function(e,t,n){if(1&e&&(o.Suo(n,D,5),o.Suo(n,I,5),o.Suo(n,I,4)),2&e){let e;o.iGM(e=o.CRH())&&(t.lazyContent=e.first),o.iGM(e=o.CRH())&&(t._allItems=e),o.iGM(e=o.CRH())&&(t.items=e)}},viewQuery:function(e,t){if(1&e&&o.Gf(o.Rgc,5),2&e){let e;o.iGM(e=o.CRH())&&(t.templateRef=e.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e})(),j=(()=>{class e extends F{constructor(e,t,n){super(e,t,n)}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(R))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:P,useExisting:e}]),o.qOj],ngContentSelectors:E,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(o.F$t(),o.YNc(0,T,3,6,"ng-template"))},directives:[b.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[A.transformMenu,A.fadeInItems]},changeDetection:0}),e})();const H=new o.OlP("mat-menu-scroll-strategy"),N={provide:H,deps:[x.aV],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},B=(0,S.i$)({passive:!0});let U=(()=>{class e{constructor(e,t,n,r,s,a,c,u){this._overlay=e,this._element=t,this._viewContainerRef=n,this._menuItemInstance=a,this._dir=c,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.w.EMPTY,this._hoverSubscription=l.w.EMPTY,this._menuCloseSubscription=l.w.EMPTY,this._handleTouchStart=e=>{(0,i.yG)(e)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=s instanceof F?s:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,B),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(e=>{this._destroyMenu(e),"click"!==e&&"tab"!==e||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(e)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,B),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof F&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,t instanceof F?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,m.h)(e=>"void"===e.toState),(0,f.q)(1),(0,g.R)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new x.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(e=>{this.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,o]=[i,r],[a,l]=[t,n],c=0;this.triggersSubmenu()?(l=t="before"===this.menu.xPosition?"start":"end",n=a="end"===t?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(s="top"===i?"bottom":"top",o="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:a,overlayY:i,offsetY:c},{originX:n,originY:s,overlayX:l,overlayY:i,offsetY:c},{originX:t,originY:o,overlayX:a,overlayY:r,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:r,offsetY:-c}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,m.h)(e=>e!==this._menuItemInstance),(0,m.h)(()=>this._menuOpen)):(0,u.of)();return(0,c.T)(e,n,i,t)}_handleMousedown(e){(0,i.X6)(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;t!==s.K5&&t!==s.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===s.SV&&"ltr"===this.dir||t===s.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,m.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,_.g)(0,d.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof F&&this.menu._isAnimating?this.menu._animationDone.pipe((0,f.q)(1),(0,_.g)(0,d.E),(0,g.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new y.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(x.aV),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(H),o.Y36(P,8),o.Y36(I,10),o.Y36(C.Is,8),o.Y36(i.tE))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&o.NdJ("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&o.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e})(),z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[N],imports:[w.BQ]}),e})(),V=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[N],imports:[[b.ez,w.BQ,w.si,x.U8,z],k.ZD,w.BQ,z]}),e})()},4786:(e,t,n)=>{"use strict";n.d(t,{gD:()=>W,LD:()=>$});var i=n(2522),r=n(61511),s=n(31572),o=n(71522),a=n(66283),l=n(4253),c=n(24621),u=n(19861),d=n(4230),h=n(75842),p=n(55959),f=n(31450),m=n(31906),g=n(56238),_=n(44689),v=n(90611),y=n(43835),b=n(79996),w=n(98720),x=n(25416),S=n(10709),k=n(22526),C=n(16073);const M=["trigger"],E=["panel"];function T(e,t){if(1&e&&(s.TgZ(0,"span",8),s._uU(1),s.qZA()),2&e){const e=s.oxw();s.xp6(1),s.Oqu(e.placeholder)}}function A(e,t){if(1&e&&(s.TgZ(0,"span",12),s._uU(1),s.qZA()),2&e){const e=s.oxw(2);s.xp6(1),s.Oqu(e.triggerValue)}}function D(e,t){1&e&&s.Hsn(0,0,["*ngSwitchCase","true"])}function P(e,t){if(1&e&&(s.TgZ(0,"span",9),s.YNc(1,A,2,1,"span",10),s.YNc(2,D,1,0,"ng-content",11),s.qZA()),2&e){const e=s.oxw();s.Q6J("ngSwitch",!!e.customTrigger),s.xp6(2),s.Q6J("ngSwitchCase",!0)}}function L(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"div",13),s.TgZ(1,"div",14,15),s.NdJ("@transformPanel.done",function(t){return s.CHM(e),s.oxw()._panelDoneAnimatingStream.next(t.toState)})("keydown",function(t){return s.CHM(e),s.oxw()._handleKeydown(t)}),s.Hsn(3,1),s.qZA(),s.qZA()}if(2&e){const e=s.oxw();s.Q6J("@transformPanelWrap",void 0),s.xp6(1),s.Gre("mat-select-panel ",e._getPanelTheme(),""),s.Udp("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),s.Q6J("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),s.uIk("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const O=[[["mat-select-trigger"]],"*"],I=["mat-select-trigger","*"],R={transformPanelWrap:(0,S.X$)("transformPanelWrap",[(0,S.eR)("* => void",(0,S.IO)("@transformPanel",[(0,S.pV)()],{optional:!0}))]),transformPanel:(0,S.X$)("transformPanel",[(0,S.SB)("void",(0,S.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,S.SB)("showing",(0,S.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,S.SB)("showing-multiple",(0,S.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,S.eR)("void => *",(0,S.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,S.eR)("* => void",(0,S.jt)("100ms 25ms linear",(0,S.oB)({opacity:0})))])};let Y=0;const F=256,j=new s.OlP("mat-select-scroll-strategy"),H=new s.OlP("MAT_SELECT_CONFIG"),N={provide:j,deps:[i.aV],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class B{constructor(e,t){this.source=e,this.value=t}}class U{constructor(e,t,n,i,r){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const z=(0,o.Kr)((0,o.sb)((0,o.Id)((0,o.FD)(U)))),V=new s.OlP("MatSelectTrigger");let q=(()=>{class e extends z{constructor(e,t,n,i,r,o,a,l,c,u,d,h,w,x){var S,k,C;super(r,i,a,l,u),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=n,this._dir=o,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=w,this._defaultOptions=x,this._panelOpen=!1,this._compareWith=(e,t)=>e===t,this._uid="mat-select-"+Y++,this._triggerAriaLabelledBy=null,this._destroy=new p.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Y++,this._panelDoneAnimatingStream=new p.xQ,this._overlayPanelClass=(null===(S=this._defaultOptions)||void 0===S?void 0:S.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(C=null===(k=this._defaultOptions)||void 0===k?void 0:k.disableOptionCentering)&&void 0!==C&&C,this.ariaLabel="",this.optionSelectionChanges=(0,f.P)(()=>{const e=this.options;return e?e.changes.pipe((0,g.O)(e),(0,_.w)(()=>(0,m.T)(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.pipe((0,v.q)(1),(0,_.w)(()=>this.optionSelectionChanges))}),this.openedChange=new s.vpe,this._openedStream=this.openedChange.pipe((0,y.h)(e=>e),(0,b.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,y.h)(e=>!e),(0,b.U)(()=>{})),this.selectionChange=new s.vpe,this.valueChange=new s.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==x?void 0:x.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=x.typeaheadDebounceInterval),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=(0,u.Ig)(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=(0,u.Ig)(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=(0,u.Ig)(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=(0,u.su)(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new d.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,w.x)(),(0,x.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,x.R)(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe((0,g.O)(null),(0,x.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,n=t===h.JH||t===h.LH||t===h.oh||t===h.SV,i=t===h.K5||t===h.L_,r=this._keyManager;if(!r.isTyping()&&i&&!(0,h.Vb)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){const t=this.selected;r.onKeydown(e);const n=this.selected;n&&t!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,n=e.keyCode,i=n===h.JH||n===h.LH,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==h.K5&&n!==h.L_||!t.activeItem||(0,h.Vb)(e))if(!r&&this._multiple&&n===h.A&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const n=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==n&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,v.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(e=>e.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(e=>this._selectValue(e)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{if(this._selectionModel.isSelected(t))return!1;try{return null!=t.value&&this._compareWith(t.value,e)}catch(n){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new c.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,x.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,x.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=(0,m.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,x.R)(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,m.T)(...this.options.map(e=>e._stateChanges)).pipe((0,x.R)(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,n)=>this.sortComparator?this.sortComparator(t,n,e):e.indexOf(t)-e.indexOf(n)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(l.rL),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(o.rD),s.Y36(s.SBq),s.Y36(k.Is,8),s.Y36(C.F,8),s.Y36(C.sg,8),s.Y36(a.G_,8),s.Y36(C.a5,10),s.$8M("tabindex"),s.Y36(j),s.Y36(c.Kd),s.Y36(H,8))},e.\u0275dir=s.lG2({type:e,viewQuery:function(e,t){if(1&e&&(s.Gf(M,5),s.Gf(E,5),s.Gf(i.pI,5)),2&e){let e;s.iGM(e=s.CRH())&&(t.trigger=e.first),s.iGM(e=s.CRH())&&(t.panel=e.first),s.iGM(e=s.CRH())&&(t._overlayDir=e.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[s.qOj,s.TTD]}),e})(),W=(()=>{class e extends q{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,x.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=(0,o.CB)(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,o.jH)((e+t)*n,n,this.panel.nativeElement.scrollTop,F)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new B(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let e=this._selectionModel.selected[0]||this.options.first;r=e&&e.group?32:16}n||(r*=-1);const s=0-(e.left+r-(n?i:0)),o=e.right+r-t.width+(n?0:i);s>0?r+=s+8:o>0&&(r-=o+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,s=Math.floor(F/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-F)%i):t-i/2,Math.round(-1*o-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*t,F)-s-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):s>i?this._adjustPanelDown(s,i,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,n){const i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,F),i=t*e-n;let r;r=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),r+=(0,o.CB)(r,this.options,this.optionGroups);const s=n/2;this._scrollTop=this._calculateOverlayScroll(r,s,i),this._offsetY=this._calculateOverlayOffsetY(r,s,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=s.n5z(e)))(n||e)}}(),e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){if(1&e&&(s.Suo(n,V,5),s.Suo(n,o.ey,5),s.Suo(n,o.K7,5)),2&e){let e;s.iGM(e=s.CRH())&&(t.customTrigger=e.first),s.iGM(e=s.CRH())&&(t.options=e),s.iGM(e=s.CRH())&&(t.optionGroups=e)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&s.NdJ("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(s.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),s.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[s._Bn([{provide:a.Eo,useExisting:e},{provide:o.HF,useExisting:e}]),s.qOj],ngContentSelectors:I,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(s.F$t(O),s.TgZ(0,"div",0,1),s.NdJ("click",function(){return t.toggle()}),s.TgZ(3,"div",2),s.YNc(4,T,2,1,"span",3),s.YNc(5,P,3,2,"span",4),s.qZA(),s.TgZ(6,"div",5),s._UZ(7,"div",6),s.qZA(),s.qZA(),s.YNc(8,L,4,14,"ng-template",7),s.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const e=s.MAs(1);s.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),s.xp6(3),s.Q6J("ngSwitch",t.empty),s.uIk("id",t._valueId),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngSwitchCase",!1),s.xp6(3),s.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[i.xu,r.RF,r.n9,i.pI,r.ED,r.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[R.transformPanelWrap,R.transformPanel]},changeDetection:0}),e})(),$=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({providers:[N],imports:[[r.ez,i.U8,o.Ng,o.BQ],l.ZD,a.lN,o.Ng,o.BQ]}),e})()},85425:(e,t,n)=>{"use strict";n.d(t,{JX:()=>q,TM:()=>W,Rh:()=>V,SJ:()=>$});var i=n(11353),r=n(4253),s=n(61511),o=n(31572),a=n(71522),l=n(19861),c=n(75842),u=n(55959),d=n(87254),h=n(31906),p=n(96673);function f(e){return t=>t.lift(new m(e))}class m{constructor(e){this.value=e}call(e,t){return t.subscribe(new g(e,this.value))}}class g extends p.L{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}var _=n(43835),v=n(79996),y=n(25416),b=n(98720),w=n(90611),x=n(56238),S=n(47701),k=n(10709),C=n(43490),M=n(24621),E=n(22526);const T=["*"];function A(e,t){if(1&e){const e=o.EpF();o.TgZ(0,"div",2),o.NdJ("click",function(){return o.CHM(e),o.oxw()._onBackdropClicked()}),o.qZA()}if(2&e){const e=o.oxw();o.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function D(e,t){1&e&&(o.TgZ(0,"mat-drawer-content"),o.Hsn(1,2),o.qZA())}const P=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],L=["mat-drawer","mat-drawer-content","*"];function O(e,t){if(1&e){const e=o.EpF();o.TgZ(0,"div",2),o.NdJ("click",function(){return o.CHM(e),o.oxw()._onBackdropClicked()}),o.qZA()}if(2&e){const e=o.oxw();o.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function I(e,t){1&e&&(o.TgZ(0,"mat-sidenav-content",3),o.Hsn(1,2),o.qZA())}const R=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Y=["mat-sidenav","mat-sidenav-content","*"],F=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",j={transformDrawer:(0,k.X$)("transform",[(0,k.SB)("open, open-instant",(0,k.oB)({transform:"none",visibility:"visible"})),(0,k.SB)("void",(0,k.oB)({"box-shadow":"none",visibility:"hidden"})),(0,k.eR)("void => open-instant",(0,k.jt)("0ms")),(0,k.eR)("void <=> open, open-instant => void",(0,k.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},H=new o.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),N=new o.OlP("MAT_DRAWER_CONTAINER");let B=(()=>{class e extends r.PQ{constructor(e,t,n,i,r){super(n,i,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36((0,o.Gpc)(()=>z)),o.Y36(o.SBq),o.Y36(r.mF),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&o.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[o.qOj],ngContentSelectors:T,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e})(),U=(()=>{class e{constructor(e,t,n,i,r,s,a){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=n,this._platform=i,this._ngZone=r,this._doc=s,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new u.xQ,this._animationEnd=new u.xQ,this._animationState="void",this.openedChange=new o.vpe(!0),this._openedStream=this.openedChange.pipe((0,_.h)(e=>e),(0,v.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,_.h)(e=>e.fromState!==e.toState&&0===e.toState.indexOf("open")),f(void 0)),this._closedStream=this.openedChange.pipe((0,_.h)(e=>!e),(0,v.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,_.h)(e=>e.fromState!==e.toState&&"void"===e.toState),f(void 0)),this._destroyed=new u.xQ,this.onPositionChanged=new o.vpe,this._modeChanged=new u.xQ,this.openedChange.subscribe(e=>{e?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{(0,d.R)(this._elementRef.nativeElement,"keydown").pipe((0,_.h)(e=>e.keyCode===c.hY&&!this.disableClose&&!(0,c.Vb)(e)),(0,y.R)(this._destroyed)).subscribe(e=>this._ngZone.run(()=>{this.close(),e.stopPropagation(),e.preventDefault()}))}),this._animationEnd.pipe((0,b.x)((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{const{fromState:t,toState:n}=e;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=(0,l.Ig)(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"!==this.mode:e}set autoFocus(e){this._autoFocus=(0,l.Ig)(e)}get opened(){return this._opened}set opened(e){this.toggle((0,l.Ig)(e))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(e=>{e||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var e;const t=null===(e=this._doc)||void 0===e?void 0:e.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(e=!this.opened,t){return this._setOpen(e,!e&&this._isFocusWithinDrawer(),t)}_setOpen(e,t,n="program"){return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",t&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(e=>{this.openedChange.pipe((0,w.q)(1)).subscribe(t=>e(t?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(e){this._animationStarted.next(e)}_animationDoneListener(e){this._animationEnd.next(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(M.qV),o.Y36(M.tE),o.Y36(i.t4),o.Y36(o.R0b),o.Y36(s.K0,8),o.Y36(N,8))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&o.WFA("@transform.start",function(e){return t._animationStartListener(e)})("@transform.done",function(e){return t._animationDoneListener(e)}),2&e&&(o.uIk("align",null),o.d8E("@transform",t._animationState),o.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:T,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},directives:[r.PQ],encapsulation:2,data:{animation:[j.transformDrawer]},changeDetection:0}),e})(),z=(()=>{class e{constructor(e,t,n,i,r,s=!1,a){this._dir=e,this._element=t,this._ngZone=n,this._changeDetectorRef=i,this._animationMode=a,this._drawers=new o.n_E,this.backdropClick=new o.vpe,this._destroyed=new u.xQ,this._doCheckSubject=new u.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new u.xQ,e&&e.change.pipe((0,y.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe((0,y.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=(0,l.Ig)(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:(0,l.Ig)(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,x.O)(this._allDrawers),(0,y.R)(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(e=>!e._container||e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,x.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,S.b)(10),(0,y.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const n=this._left._getWidth();e+=n,t-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const n=this._right._getWidth();t+=n,e-=n}e=e||null,t=t||null,e===this._contentMargins.left&&t===this._contentMargins.right||(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe((0,_.h)(e=>e.fromState!==e.toState),(0,y.R)(this._drawers.changes)).subscribe(e=>{"open-instant"!==e.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe((0,y.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe((0,y.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,w.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe((0,y.R)((0,h.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(E.Is,8),o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(o.sBO),o.Y36(r.rL),o.Y36(H),o.Y36(C.Qb,8))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){if(1&e&&(o.Suo(n,B,5),o.Suo(n,U,5)),2&e){let e;o.iGM(e=o.CRH())&&(t._content=e.first),o.iGM(e=o.CRH())&&(t._allDrawers=e)}},viewQuery:function(e,t){if(1&e&&o.Gf(B,5),2&e){let e;o.iGM(e=o.CRH())&&(t._userContent=e.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[o._Bn([{provide:N,useExisting:e}])],ngContentSelectors:L,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(o.F$t(P),o.YNc(0,A,1,2,"div",0),o.Hsn(1),o.Hsn(2,1),o.YNc(3,D,2,0,"mat-drawer-content",1)),2&e&&(o.Q6J("ngIf",t.hasBackdrop),o.xp6(3),o.Q6J("ngIf",!t._content))},directives:[s.O5,B],styles:[F],encapsulation:2,changeDetection:0}),e})(),V=(()=>{class e extends B{constructor(e,t,n,i,r){super(e,t,n,i,r)}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36((0,o.Gpc)(()=>W)),o.Y36(o.SBq),o.Y36(r.mF),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&o.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[o.qOj],ngContentSelectors:T,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e})(),q=(()=>{class e extends U{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=(0,l.Ig)(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=(0,l.su)(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=(0,l.su)(e)}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=o.n5z(e)))(n||e)}}(),e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(o.uIk("align",null),o.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),o.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[o.qOj],ngContentSelectors:T,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},directives:[r.PQ],encapsulation:2,data:{animation:[j.transformDrawer]},changeDetection:0}),e})(),W=(()=>{class e extends z{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=o.n5z(e)))(n||e)}}(),e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){if(1&e&&(o.Suo(n,V,5),o.Suo(n,q,5)),2&e){let e;o.iGM(e=o.CRH())&&(t._content=e.first),o.iGM(e=o.CRH())&&(t._allDrawers=e)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[o._Bn([{provide:N,useExisting:e}]),o.qOj],ngContentSelectors:Y,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(o.F$t(R),o.YNc(0,O,1,2,"div",0),o.Hsn(1),o.Hsn(2,1),o.YNc(3,I,2,0,"mat-sidenav-content",1)),2&e&&(o.Q6J("ngIf",t.hasBackdrop),o.xp6(3),o.Q6J("ngIf",!t._content))},directives:[s.O5,V,r.PQ],styles:[F],encapsulation:2,changeDetection:0}),e})(),$=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[s.ez,a.BQ,i.ud,r.ZD],r.ZD,a.BQ]}),e})()},27521:(e,t,n)=>{"use strict";n.d(t,{Rr:()=>w,rP:()=>S});var i=n(36337),r=n(31572),s=n(71522),o=n(19861),a=n(16073),l=n(43490),c=n(24621);const u=["thumbContainer"],d=["toggleBar"],h=["input"],p=function(e){return{enterDuration:e}},f=["*"],m=new r.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let g=0;const _={provide:a.JU,useExisting:(0,r.Gpc)(()=>w),multi:!0};class v{constructor(e,t){this.source=e,this.checked=t}}class y{constructor(e){this._elementRef=e}}const b=(0,s.sb)((0,s.pj)((0,s.Kr)((0,s.Id)(y))));let w=(()=>{class e extends b{constructor(e,t,n,i,s,o){super(e),this._focusMonitor=t,this._changeDetectorRef=n,this.defaults=s,this._onChange=e=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++g,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new r.vpe,this.toggleChange=new r.vpe,this.tabIndex=parseInt(i)||0,this.color=this.defaultColor=s.color||"accent",this._noopAnimations="NoopAnimations"===o}get required(){return this._required}set required(e){this._required=(0,o.Ig)(e)}get checked(){return this._checked}set checked(e){this._checked=(0,o.Ig)(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?this._inputElement.nativeElement.focus():e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new v(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(c.tE),r.Y36(r.sBO),r.$8M("tabindex"),r.Y36(m),r.Y36(l.Qb,8))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){if(1&e&&(r.Gf(u,5),r.Gf(d,5),r.Gf(h,5)),2&e){let e;r.iGM(e=r.CRH())&&(t._thumbEl=e.first),r.iGM(e=r.CRH())&&(t._thumbBarEl=e.first),r.iGM(e=r.CRH())&&(t._inputElement=e.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(e,t){2&e&&(r.Ikx("id",t.id),r.uIk("tabindex",t.disabled?null:-1)("aria-label",null)("aria-labelledby",null),r.ekj("mat-checked",t.checked)("mat-disabled",t.disabled)("mat-slide-toggle-label-before","before"==t.labelPosition)("_mat-animation-noopable",t._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[r._Bn([_]),r.qOj],ngContentSelectors:f,decls:16,vars:19,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,t){if(1&e&&(r.F$t(),r.TgZ(0,"label",0,1),r.TgZ(2,"div",2,3),r.TgZ(4,"input",4,5),r.NdJ("change",function(e){return t._onChangeEvent(e)})("click",function(e){return t._onInputClick(e)}),r.qZA(),r.TgZ(6,"div",6,7),r._UZ(8,"div",8),r.TgZ(9,"div",9),r._UZ(10,"div",10),r.qZA(),r.qZA(),r.qZA(),r.TgZ(11,"span",11,12),r.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),r.TgZ(13,"span",13),r._uU(14,"\xa0"),r.qZA(),r.Hsn(15),r.qZA(),r.qZA()),2&e){const e=r.MAs(1),n=r.MAs(12);r.uIk("for",t.inputId),r.xp6(2),r.ekj("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),r.xp6(2),r.Q6J("id",t.inputId)("required",t.required)("tabIndex",t.tabIndex)("checked",t.checked)("disabled",t.disabled),r.uIk("name",t.name)("aria-checked",t.checked.toString())("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby),r.xp6(5),r.Q6J("matRippleTrigger",e)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",r.VKq(17,p,t._noopAnimations?0:150))}},directives:[s.wG,i.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),e})(),x=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e})(),S=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[x,s.si,s.BQ,i.Q8],x,s.BQ]}),e})()},46594:(e,t,n)=>{"use strict";n.d(t,{pH:()=>b,KP:()=>S});var i=n(61511),r=n(31572),s=n(71522),o=n(19861),a=n(75842),l=n(16073),c=n(43490),u=n(11353),d=n(87570),h=n(24621),p=n(22526);const f=["sliderWrapper"],m=(0,u.i$)({passive:!1}),g={provide:l.JU,useExisting:(0,r.Gpc)(()=>b),multi:!0};class _{}class v{constructor(e){this._elementRef=e}}const y=(0,s.sb)((0,s.pj)((0,s.Id)(v),"accent"));let b=(()=>{class e extends y{constructor(e,t,n,i,s,o,a,l){super(e),this._focusMonitor=t,this._changeDetectorRef=n,this._dir=i,this._ngZone=o,this._animationMode=l,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new r.vpe,this.input=new r.vpe,this.valueChange=new r.vpe,this.onTouched=()=>{},this._percent=0,this._isSliding=!1,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=d.w.EMPTY,this._pointerDown=e=>{this.disabled||this._isSliding||!w(e)&&0!==e.button||this._ngZone.run(()=>{const t=this.value,n=x(e);this._isSliding=!0,this._lastPointerEvent=e,e.preventDefault(),this._focusHostElement(),this._onMouseenter(),this._bindGlobalEvents(e),this._focusHostElement(),this._updateValueFromPosition(n),this._valueOnSlideStart=t,t!=this.value&&this._emitInputEvent()})},this._pointerMove=e=>{if(this._isSliding){e.preventDefault();const t=this.value;this._lastPointerEvent=e,this._updateValueFromPosition(x(e)),t!=this.value&&this._emitInputEvent()}},this._pointerUp=e=>{this._isSliding&&(e.preventDefault(),this._removeGlobalEvents(),this._isSliding=!1,this._valueOnSlideStart==this.value||this.disabled||this._emitChangeEvent(),this._valueOnSlideStart=this._lastPointerEvent=null)},this._windowBlur=()=>{this._lastPointerEvent&&this._pointerUp(this._lastPointerEvent)},this._document=a,this.tabIndex=parseInt(s)||0,o.runOutsideAngular(()=>{const t=e.nativeElement;t.addEventListener("mousedown",this._pointerDown,m),t.addEventListener("touchstart",this._pointerDown,m)})}get invert(){return this._invert}set invert(e){this._invert=(0,o.Ig)(e)}get max(){return this._max}set max(e){this._max=(0,o.su)(e,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(e){this._min=(0,o.su)(e,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(e){this._step=(0,o.su)(e,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(e){this._thumbLabel=(0,o.Ig)(e)}get tickInterval(){return this._tickInterval}set tickInterval(e){this._tickInterval="auto"===e?"auto":"number"==typeof e||"string"==typeof e?(0,o.su)(e,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(e){if(e!==this._value){let t=(0,o.su)(e);this._roundToDecimal&&t!==this.min&&t!==this.max&&(t=parseFloat(t.toFixed(this._roundToDecimal))),this._value=t,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(e){this._vertical=(0,o.Ig)(e)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(e){this._focusHostElement(e)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}_shouldInvertAxis(){return this.vertical?!this.invert:this.invert}_isMinValue(){return 0===this.percent}_getThumbGap(){return this.disabled?7:this._isMinValue()&&!this.thumbLabel?this._isActive?10:7:0}_getTrackBackgroundStyles(){const e=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._getThumbGap()}px) scale3d(${e})`}}_getTrackFillStyles(){const e=this.percent,t=this.vertical?`1, ${e}, 1`:`${e}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${t})`,display:0===e?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let e=100*this._tickIntervalPercent,t={backgroundSize:this.vertical?`2px ${e}%`:`${e}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${e/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue()&&this._getThumbGap()){const e=this._shouldInvertAxis();let n;n=this.vertical?e?"Bottom":"Top":e?"Right":"Left",t[`padding${n}`]=`${this._getThumbGap()}px`}return t}_getThumbContainerStyles(){const e=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?e:!e)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const e=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?e:!e}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{this._isActive=!!e&&"keyboard"!==e,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mousedown",this._pointerDown,m),e.removeEventListener("touchstart",this._pointerDown,m),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(e){if(this.disabled||(0,a.Vb)(e))return;const t=this.value;switch(e.keyCode){case a.Ku:this._increment(10);break;case a.VM:this._increment(-10);break;case a.uR:this.value=this.max;break;case a.Sd:this.value=this.min;break;case a.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case a.LH:this._increment(1);break;case a.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case a.JH:this._increment(-1);break;default:return}t!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,e.preventDefault()}_onKeyup(){this._isSliding=!1}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(e){const t=this._document,n=w(e),i=n?"touchend":"mouseup";t.addEventListener(n?"touchmove":"mousemove",this._pointerMove,m),t.addEventListener(i,this._pointerUp,m),n&&t.addEventListener("touchcancel",this._pointerUp,m);const r=this._getWindow();void 0!==r&&r&&r.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const e=this._document;e.removeEventListener("mousemove",this._pointerMove,m),e.removeEventListener("mouseup",this._pointerUp,m),e.removeEventListener("touchmove",this._pointerMove,m),e.removeEventListener("touchend",this._pointerUp,m),e.removeEventListener("touchcancel",this._pointerUp,m);const t=this._getWindow();void 0!==t&&t&&t.removeEventListener("blur",this._windowBlur)}_increment(e){this.value=this._clamp((this.value||0)+this.step*e,this.min,this.max)}_updateValueFromPosition(e){if(!this._sliderDimensions)return;let t=this._clamp(((this.vertical?e.y:e.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(t=1-t),0===t)this.value=this.min;else if(1===t)this.value=this.max;else{const e=this._calculateValue(t),n=Math.round((e-this.min)/this.step)*this.step+this.min;this.value=this._clamp(n,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){let e=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,t=Math.ceil(30/(e*this.step/(this.max-this.min)));this._tickIntervalPercent=t*this.step/e}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)}_createChangeEvent(e=this.value){let t=new _;return t.source=this,t.value=e,t}_calculatePercentage(e){return((e||0)-this.min)/(this.max-this.min)}_calculateValue(e){return this.min+e*(this.max-this.min)}_clamp(e,t=0,n=1){return Math.max(t,Math.min(e,n))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(e){this._elementRef.nativeElement.focus(e)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(e){this.value=e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(h.tE),r.Y36(r.sBO),r.Y36(p.Is,8),r.$8M("tabindex"),r.Y36(r.R0b),r.Y36(i.K0),r.Y36(c.Qb,8))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-slider"]],viewQuery:function(e,t){if(1&e&&r.Gf(f,5),2&e){let e;r.iGM(e=r.CRH())&&(t._sliderWrapper=e.first)}},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(e,t){1&e&&r.NdJ("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()})("keydown",function(e){return t._onKeydown(e)})("keyup",function(){return t._onKeyup()})("mouseenter",function(){return t._onMouseenter()})("selectstart",function(e){return e.preventDefault()}),2&e&&(r.Ikx("tabIndex",t.tabIndex),r.uIk("aria-disabled",t.disabled)("aria-valuemax",t.max)("aria-valuemin",t.min)("aria-valuenow",t.value)("aria-valuetext",null==t.valueText?t.displayValue:t.valueText)("aria-orientation",t.vertical?"vertical":"horizontal"),r.ekj("mat-slider-disabled",t.disabled)("mat-slider-has-ticks",t.tickInterval)("mat-slider-horizontal",!t.vertical)("mat-slider-axis-inverted",t._shouldInvertAxis())("mat-slider-invert-mouse-coords",t._shouldInvertMouseCoords())("mat-slider-sliding",t._isSliding)("mat-slider-thumb-label-showing",t.thumbLabel)("mat-slider-vertical",t.vertical)("mat-slider-min-value",t._isMinValue())("mat-slider-hide-last-tick",t.disabled||t._isMinValue()&&t._getThumbGap()&&t._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",value:"value",step:"step",thumbLabel:"thumbLabel",tickInterval:"tickInterval",vertical:"vertical",displayWith:"displayWith",valueText:"valueText"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[r._Bn([g]),r.qOj],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0,1),r.TgZ(2,"div",2),r._UZ(3,"div",3),r._UZ(4,"div",4),r.qZA(),r.TgZ(5,"div",5),r._UZ(6,"div",6),r.qZA(),r.TgZ(7,"div",7),r._UZ(8,"div",8),r._UZ(9,"div",9),r.TgZ(10,"div",10),r.TgZ(11,"span",11),r._uU(12),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(3),r.Q6J("ngStyle",t._getTrackBackgroundStyles()),r.xp6(1),r.Q6J("ngStyle",t._getTrackFillStyles()),r.xp6(1),r.Q6J("ngStyle",t._getTicksContainerStyles()),r.xp6(1),r.Q6J("ngStyle",t._getTicksStyles()),r.xp6(1),r.Q6J("ngStyle",t._getThumbContainerStyles()),r.xp6(5),r.Oqu(t.displayValue))},directives:[i.PC],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-wrapper{position:absolute;-webkit-print-color-adjust:exact;color-adjust:exact}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}\n'],encapsulation:2,changeDetection:0}),e})();function w(e){return"t"===e.type[0]}function x(e){const t=w(e)?e.touches[0]||e.changedTouches[0]:e;return{x:t.clientX,y:t.clientY}}let S=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez,s.BQ],s.BQ]}),e})()},71403:(e,t,n)=>{"use strict";n.d(t,{ux:()=>E,ZX:()=>C});var i=n(2522),r=n(26899),s=n(61511),o=n(31572),a=n(71522),l=n(15980),c=n(55959),u=n(90611),d=n(25416),h=n(10709),p=n(24621),f=n(72),m=n(11353);function g(e,t){if(1&e){const e=o.EpF();o.TgZ(0,"div",1),o.TgZ(1,"button",2),o.NdJ("click",function(){return o.CHM(e),o.oxw().action()}),o._uU(2),o.qZA(),o.qZA()}if(2&e){const e=o.oxw();o.xp6(2),o.Oqu(e.data.action)}}function _(e,t){}const v=new o.OlP("MatSnackBarData");class y{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const b=Math.pow(2,31)-1;class w{constructor(e,t){this._overlayRef=t,this._afterDismissed=new c.xQ,this._afterOpened=new c.xQ,this._onAction=new c.xQ,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe(()=>this.dismiss()),e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,b))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let x=(()=>{class e{constructor(e,t){this.snackBarRef=e,this.data=t}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(w),o.Y36(v))},e.\u0275cmp=o.Xpm({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(o.TgZ(0,"span"),o._uU(1),o.qZA(),o.YNc(2,g,3,1,"div",0)),2&e&&(o.xp6(1),o.Oqu(t.data.message),o.xp6(1),o.Q6J("ngIf",t.hasAction))},directives:[s.O5,l.lW],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),e})();const S={snackBarState:(0,h.X$)("state",[(0,h.SB)("void, hidden",(0,h.oB)({transform:"scale(0.8)",opacity:0})),(0,h.SB)("visible",(0,h.oB)({transform:"scale(1)",opacity:1})),(0,h.eR)("* => visible",(0,h.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,h.eR)("* => void, * => hidden",(0,h.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,h.oB)({opacity:0})))])};let k=(()=>{class e extends r.en{constructor(e,t,n,i,r){super(),this._ngZone=e,this._elementRef=t,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=r,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new c.xQ,this._onExit=new c.xQ,this._onEnter=new c.xQ,this._animationState="void",this.attachDomPortal=e=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(e)),this._live="assertive"!==r.politeness||r.announcementMessage?"off"===r.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}onAnimationEnd(e){const{fromState:t,toState:n}=e;if(("void"===n&&"void"!==t||"hidden"===n)&&this._completeExit(),"visible"===n){const e=this._onEnter;this._ngZone.run(()=>{e.next(),e.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,u.q)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(t=>e.classList.add(t)):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),t=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&t){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(n=document.activeElement),e.removeAttribute("aria-hidden"),t.appendChild(e),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(m.t4),o.Y36(y))},e.\u0275cmp=o.Xpm({type:e,selectors:[["snack-bar-container"]],viewQuery:function(e,t){if(1&e&&o.Gf(r.Pl,7),2&e){let e;o.iGM(e=o.CRH())&&(t._portalOutlet=e.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,t){1&e&&o.WFA("@state.done",function(e){return t.onAnimationEnd(e)}),2&e&&o.d8E("@state",t._animationState)},features:[o.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.YNc(1,_,0,0,"ng-template",1),o.qZA(),o._UZ(2,"div")),2&e&&(o.xp6(2),o.uIk("aria-live",t._live)("role",t._role))},directives:[r.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[S.snackBarState]}}),e})(),C=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[i.U8,r.eL,s.ez,l.ot,a.BQ],a.BQ]}),e})();const M=new o.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new y}});let E=(()=>{class e{constructor(e,t,n,i,r,s){this._overlay=e,this._live=t,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=x,this.snackBarContainerComponent=k,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:e,action:t},i.announcementMessage===e&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){const n=o.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:t}]}),i=new r.C5(this.snackBarContainerComponent,t.viewContainerRef,n),s=e.attach(i);return s.instance.snackBarConfig=t,s.instance}_attach(e,t){const n=Object.assign(Object.assign(Object.assign({},new y),this._defaultConfig),t),i=this._createOverlay(n),s=this._attachSnackBarContainer(i,n),a=new w(s,i);if(e instanceof o.Rgc){const t=new r.UE(e,null,{$implicit:n.data,snackBarRef:a});a.instance=s.attachTemplatePortal(t)}else{const t=this._createInjector(n,a),i=new r.C5(e,void 0,t),o=s.attachComponentPortal(i);a.instance=o.instance}return this._breakpointObserver.observe(f.u3.HandsetPortrait).pipe((0,d.R)(i.detachments())).subscribe(e=>{const t=i.overlayElement.classList;e.matches?t.add(this.handsetCssClass):t.remove(this.handsetCssClass)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration))}_createOverlay(e){const t=new i.X_;t.direction=e.direction;let n=this._overlay.position().global();const r="rtl"===e.direction,s="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,o=!s&&"center"!==e.horizontalPosition;return s?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)}_createInjector(e,t){return o.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:w,useValue:t},{provide:v,useValue:e.data}]})}}return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.aV),o.LFG(p.Kd),o.LFG(o.zs3),o.LFG(f.Yg),o.LFG(e,12),o.LFG(M))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(i.aV),o.LFG(p.Kd),o.LFG(o.gxx),o.LFG(f.Yg),o.LFG(e,12),o.LFG(M))},token:e,providedIn:C}),e})()},55109:(e,t,n)=>{"use strict";n.d(t,{uX:()=>G,SP:()=>se,Nh:()=>pe});var i=n(24621),r=n(36337),s=n(26899),o=n(61511),a=n(31572),l=n(71522),c=n(43490),u=n(55959),d=n(87570),h=n(31906),p=n(87254),f=n(40878),m=n(81110),g=n(10709),_=n(56238),v=n(98720),y=n(25416),b=n(19861),w=n(11353),x=n(75842),S=n(22526),k=n(4253);function C(e,t){1&e&&a.Hsn(0)}const M=["*"];function E(e,t){}const T=function(e){return{animationDuration:e}},A=function(e,t){return{value:e,params:t}},D=["tabBodyWrapper"],P=["tabHeader"];function L(e,t){}function O(e,t){if(1&e&&a.YNc(0,L,0,0,"ng-template",9),2&e){const e=a.oxw().$implicit;a.Q6J("cdkPortalOutlet",e.templateLabel)}}function I(e,t){if(1&e&&a._uU(0),2&e){const e=a.oxw().$implicit;a.Oqu(e.textLabel)}}function R(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",6),a.NdJ("click",function(){const t=a.CHM(e),n=t.$implicit,i=t.index,r=a.oxw(),s=a.MAs(1);return r._handleClick(n,s,i)})("cdkFocusChange",function(t){const n=a.CHM(e).index;return a.oxw()._tabFocusChanged(t,n)}),a.TgZ(1,"div",7),a.YNc(2,O,1,1,"ng-template",8),a.YNc(3,I,1,1,"ng-template",8),a.qZA(),a.qZA()}if(2&e){const e=t.$implicit,n=t.index,i=a.oxw();a.ekj("mat-tab-label-active",i.selectedIndex==n),a.Q6J("id",i._getTabLabelId(n))("disabled",e.disabled)("matRippleDisabled",e.disabled||i.disableRipple),a.uIk("tabIndex",i._getTabIndex(e,n))("aria-posinset",n+1)("aria-setsize",i._tabs.length)("aria-controls",i._getTabContentId(n))("aria-selected",i.selectedIndex==n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),a.xp6(2),a.Q6J("ngIf",e.templateLabel),a.xp6(1),a.Q6J("ngIf",!e.templateLabel)}}function Y(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"mat-tab-body",10),a.NdJ("_onCentered",function(){return a.CHM(e),a.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(t){return a.CHM(e),a.oxw()._setTabBodyWrapperHeight(t)}),a.qZA()}if(2&e){const e=t.$implicit,n=t.index,i=a.oxw();a.ekj("mat-tab-body-active",i.selectedIndex==n),a.Q6J("id",i._getTabContentId(n))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",i.animationDuration),a.uIk("aria-labelledby",i._getTabLabelId(n))}}const F=["tabListContainer"],j=["tabList"],H=["nextPaginator"],N=["previousPaginator"],B=new a.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return e=>({left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"})}});let U=(()=>{class e{constructor(e,t,n,i){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=n,this._animationMode=i}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),n=this._elementRef.nativeElement;n.style.left=t.left,n.style.width=t.width}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(B),a.Y36(c.Qb,8))},e.\u0275dir=a.lG2({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e})();const z=new a.OlP("MatTabContent"),V=new a.OlP("MatTabLabel");class q{}const W=(0,l.Id)(q),$=new a.OlP("MAT_TAB_GROUP");let G=(()=>{class e extends W{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new u.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new s.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&(this._templateLabel=e)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36($,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-tab"]],contentQueries:function(e,t,n){if(1&e&&(a.Suo(n,V,5),a.Suo(n,z,7,a.Rgc)),2&e){let e;a.iGM(e=a.CRH())&&(t.templateLabel=e.first),a.iGM(e=a.CRH())&&(t._explicitContent=e.first)}},viewQuery:function(e,t){if(1&e&&a.Gf(a.Rgc,7),2&e){let e;a.iGM(e=a.CRH())&&(t._implicitContent=e.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[a.qOj,a.TTD],ngContentSelectors:M,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.YNc(0,C,1,0,"ng-template"))},encapsulation:2}),e})();const Z={translateTab:(0,g.X$)("translateTab",[(0,g.SB)("center, void, left-origin-center, right-origin-center",(0,g.oB)({transform:"none"})),(0,g.SB)("left",(0,g.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,g.SB)("right",(0,g.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,g.eR)("* => left, * => right, left => center, right => center",(0,g.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,g.eR)("void => left-origin-center",[(0,g.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,g.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,g.eR)("void => right-origin-center",[(0,g.oB)({transform:"translate3d(100%, 0, 0)"}),(0,g.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let K=(()=>{class e extends s.Pl{constructor(e,t,n,i){super(e,t,i),this._host=n,this._centeringSub=d.w.EMPTY,this._leavingSub=d.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,_.O)(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36((0,a.Gpc)(()=>J)),a.Y36(o.K0))},e.\u0275dir=a.lG2({type:e,selectors:[["","matTabBodyHost",""]],features:[a.qOj]}),e})(),Q=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._dir=t,this._dirChangeSubscription=d.w.EMPTY,this._translateTabComplete=new u.xQ,this._onCentering=new a.vpe,this._beforeCentering=new a.vpe,this._afterLeavingCenter=new a.vpe,this._onCentered=new a.vpe(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(e=>{this._computePositionAnimationState(e),n.markForCheck()})),this._translateTabComplete.pipe((0,v.x)((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{this._isCenterPosition(e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(e.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(S.Is,8),a.Y36(a.sBO))},e.\u0275dir=a.lG2({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e})(),J=(()=>{class e extends Q{constructor(e,t,n){super(e,t,n)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(S.Is,8),a.Y36(a.sBO))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-tab-body"]],viewQuery:function(e,t){if(1&e&&a.Gf(s.Pl,5),2&e){let e;a.iGM(e=a.CRH())&&(t._portalHost=e.first)}},hostAttrs:[1,"mat-tab-body"],features:[a.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(a.TgZ(0,"div",0,1),a.NdJ("@translateTab.start",function(e){return t._onTranslateTabStarted(e)})("@translateTab.done",function(e){return t._translateTabComplete.next(e)}),a.YNc(2,E,0,0,"ng-template",2),a.qZA()),2&e&&a.Q6J("@translateTab",a.WLB(3,A,t._position,a.VKq(1,T,t.animationDuration)))},directives:[K],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[Z.translateTab]}}),e})();const X=new a.OlP("MAT_TABS_CONFIG");let ee=0;class te{}class ne{constructor(e){this._elementRef=e}}const ie=(0,l.pj)((0,l.Kr)(ne),"primary");let re=(()=>{class e extends ie{constructor(e,t,n,i){super(e),this._changeDetectorRef=t,this._animationMode=i,this._tabs=new a.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=d.w.EMPTY,this._tabLabelSubscription=d.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new a.vpe,this.focusChange=new a.vpe,this.animationDone=new a.vpe,this.selectedTabChange=new a.vpe(!0),this._groupId=ee++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",this.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,this.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=(0,b.Ig)(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=(0,b.su)(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement;t.classList.remove(`mat-background-${this.backgroundColor}`),e&&t.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));const t=this._tabBodyWrapper.nativeElement;t.style.minHeight=t.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((t,n)=>t.isActive=n===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,n)=>{t.position=n-e,null==this._selectedIndex||0!=t.position||t.origin||(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const e=this._tabs.toArray();for(let t=0;t{this._tabs.reset(e.filter(e=>e._closestTabGroup===this||!e._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}focusTab(e){const t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new te;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,h.T)(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,n){e.disabled||(this.selectedIndex=t.focusIndex=n)}_getTabIndex(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}_tabFocusChanged(e,t){e&&(this._tabHeader.focusIndex=t)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(X,8),a.Y36(c.Qb,8))},e.\u0275dir=a.lG2({type:e,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[a.qOj]}),e})(),se=(()=>{class e extends re{constructor(e,t,n,i){super(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(X,8),a.Y36(c.Qb,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-tab-group"]],contentQueries:function(e,t,n){if(1&e&&a.Suo(n,G,5),2&e){let e;a.iGM(e=a.CRH())&&(t._allTabs=e)}},viewQuery:function(e,t){if(1&e&&(a.Gf(D,5),a.Gf(P,5)),2&e){let e;a.iGM(e=a.CRH())&&(t._tabBodyWrapper=e.first),a.iGM(e=a.CRH())&&(t._tabHeader=e.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&a.ekj("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[a._Bn([{provide:$,useExisting:e}]),a.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(a.TgZ(0,"mat-tab-header",0,1),a.NdJ("indexFocused",function(e){return t._focusChanged(e)})("selectFocusedIndex",function(e){return t.selectedIndex=e}),a.YNc(2,R,4,14,"div",2),a.qZA(),a.TgZ(3,"div",3,4),a.YNc(5,Y,1,8,"mat-tab-body",5),a.qZA()),2&e&&(a.Q6J("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),a.xp6(2),a.Q6J("ngForOf",t._tabs),a.xp6(1),a.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),a.xp6(2),a.Q6J("ngForOf",t._tabs))},directives:function(){return[he,o.sg,le,l.wG,i.kH,o.O5,s.Pl,J]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),e})();class oe{}const ae=(0,l.Id)(oe);let le=(()=>{class e extends ae{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq))},e.\u0275dir=a.lG2({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(a.uIk("aria-disabled",!!t.disabled),a.ekj("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[a.qOj]}),e})();const ce=(0,w.i$)({passive:!0});let ue=(()=>{class e{constructor(e,t,n,i,r,s,o){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=n,this._dir=i,this._ngZone=r,this._platform=s,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new u.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new u.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new a.vpe,this.indexFocused=new a.vpe,r.runOutsideAngular(()=>{(0,p.R)(e.nativeElement,"mouseleave").pipe((0,y.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=(0,b.su)(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){(0,p.R)(this._previousPaginator.nativeElement,"touchstart",ce).pipe((0,y.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",ce).pipe((0,y.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:(0,f.of)("ltr"),t=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new i.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),(0,h.T)(e,t,this._items.changes).pipe((0,y.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(n)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,y.R)(this._destroyed)).subscribe(e=>{this.indexFocused.emit(e),this._setTabFocus(e)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!(0,x.Vb)(e))switch(e.keyCode){case x.K5:case x.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement,n=this._getLayoutDirection();t.scrollLeft="ltr"==n?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:i,offsetWidth:r}=t.elementRef.nativeElement;let s,o;"ltr"==this._getLayoutDirection()?(s=i,o=s+r):(o=this._tabList.nativeElement.offsetWidth-i,s=o-r);const a=this.scrollDistance,l=this.scrollDistance+n;sl&&(this.scrollDistance+=o-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),(0,m.H)(650,100).pipe((0,y.R)((0,h.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:t,distance:n}=this._scrollHeader(e);(0===n||n>=t)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(k.rL),a.Y36(S.Is,8),a.Y36(a.R0b),a.Y36(w.t4),a.Y36(c.Qb,8))},e.\u0275dir=a.lG2({type:e,inputs:{disablePagination:"disablePagination"}}),e})(),de=(()=>{class e extends ue{constructor(e,t,n,i,r,s,o){super(e,t,n,i,r,s,o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=(0,b.Ig)(e)}_itemSelected(e){e.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(k.rL),a.Y36(S.Is,8),a.Y36(a.R0b),a.Y36(w.t4),a.Y36(c.Qb,8))},e.\u0275dir=a.lG2({type:e,inputs:{disableRipple:"disableRipple"},features:[a.qOj]}),e})(),he=(()=>{class e extends de{constructor(e,t,n,i,r,s,o){super(e,t,n,i,r,s,o)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(k.rL),a.Y36(S.Is,8),a.Y36(a.R0b),a.Y36(w.t4),a.Y36(c.Qb,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-tab-header"]],contentQueries:function(e,t,n){if(1&e&&a.Suo(n,le,4),2&e){let e;a.iGM(e=a.CRH())&&(t._items=e)}},viewQuery:function(e,t){if(1&e&&(a.Gf(U,7),a.Gf(F,7),a.Gf(j,7),a.Gf(H,5),a.Gf(N,5)),2&e){let e;a.iGM(e=a.CRH())&&(t._inkBar=e.first),a.iGM(e=a.CRH())&&(t._tabListContainer=e.first),a.iGM(e=a.CRH())&&(t._tabList=e.first),a.iGM(e=a.CRH())&&(t._nextPaginator=e.first),a.iGM(e=a.CRH())&&(t._previousPaginator=e.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&a.ekj("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[a.qOj],ngContentSelectors:M,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0,1),a.NdJ("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(e){return t._handlePaginatorPress("before",e)})("touchend",function(){return t._stopInterval()}),a._UZ(2,"div",2),a.qZA(),a.TgZ(3,"div",3,4),a.NdJ("keydown",function(e){return t._handleKeydown(e)}),a.TgZ(5,"div",5,6),a.NdJ("cdkObserveContent",function(){return t._onContentChanges()}),a.TgZ(7,"div",7),a.Hsn(8),a.qZA(),a._UZ(9,"mat-ink-bar"),a.qZA(),a.qZA(),a.TgZ(10,"div",8,9),a.NdJ("mousedown",function(e){return t._handlePaginatorPress("after",e)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),a._UZ(12,"div",2),a.qZA()),2&e&&(a.ekj("mat-tab-header-pagination-disabled",t._disableScrollBefore),a.Q6J("matRippleDisabled",t._disableScrollBefore||t.disableRipple),a.xp6(5),a.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),a.xp6(5),a.ekj("mat-tab-header-pagination-disabled",t._disableScrollAfter),a.Q6J("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[l.wG,r.wD,U],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e})(),pe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[o.ez,l.BQ,s.eL,l.si,r.Q8,i.rt],l.BQ]}),e})()},33104:(e,t,n)=>{"use strict";n.d(t,{Ye:()=>h,g0:()=>p});var i=n(71522),r=n(61511),s=n(31572),o=n(11353);const a=["*",[["mat-toolbar-row"]]],l=["*","mat-toolbar-row"];class c{constructor(e){this._elementRef=e}}const u=(0,i.pj)(c);let d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.lG2({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),h=(()=>{class e extends u{constructor(e,t,n){super(e),this._platform=t,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(o.t4),s.Y36(r.K0))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){if(1&e&&s.Suo(n,d,5),2&e){let e;s.iGM(e=s.CRH())&&(t._toolbarRows=e)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&s.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.qOj],ngContentSelectors:l,decls:2,vars:0,template:function(e,t){1&e&&(s.F$t(a),s.Hsn(0),s.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),e})(),p=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[i.BQ],i.BQ]}),e})()},46828:(e,t,n)=>{"use strict";n.d(t,{gM:()=>C,AV:()=>T});var i=n(2522),r=n(24621),s=n(61511),o=n(31572),a=n(71522),l=n(4253),c=n(19861),u=n(75842),d=n(72),h=n(11353),p=n(26899),f=n(55959),m=n(25416),g=n(90611),_=n(10709),v=n(22526);const y={tooltipState:(0,_.X$)("state",[(0,_.SB)("initial, void, hidden",(0,_.oB)({opacity:0,transform:"scale(0)"})),(0,_.SB)("visible",(0,_.oB)({transform:"scale(1)"})),(0,_.eR)("* => visible",(0,_.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,_.F4)([(0,_.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,_.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,_.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,_.eR)("* => hidden",(0,_.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,_.oB)({opacity:0})))])},b=(0,h.i$)({passive:!0}),w=new o.OlP("mat-tooltip-scroll-strategy"),x={provide:w,deps:[i.aV],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},S=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let k=(()=>{class e{constructor(e,t,n,i,r,s,o,a,l,c,d,h){this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=s,this._ariaDescriber=o,this._focusMonitor=a,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new f.xQ,this._handleKeydown=e=>{this._isTooltipVisible()&&e.keyCode===u.hY&&!(0,u.Vb)(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,this._document=h,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),c.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),r.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=(0,c.Ig)(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.R)(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([t,n])=>{e.removeEventListener(t,n,b)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new p.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe((0,m.R)(this._destroyed)).subscribe(e=>{this._updateCurrentPositionClass(e.connectionPair),this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-tooltip-panel`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t||"below"==t?n={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={originX:"end",originY:"center"});const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t?n={overlayX:"center",overlayY:"bottom"}:"below"==t?n={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,g.q)(1),(0,m.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:n,originY:i}=e;let r;if(r="center"===t?this._dir&&"rtl"===this._dir.value?"end"===n?"left":"right":"start"===n?"left":"right":"bottom"===t&&"top"===i?"above":"below",r!==this._currentPosition){const e=this._overlayRef;if(e){const t=`${this._cssClassPrefix}-tooltip-panel-`;e.removePanelClass(t+this._currentPosition),e.addPanelClass(t+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",e=>this._wheelListener(e)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([e,t])=>{this._elementRef.nativeElement.addEventListener(e,t,b)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(i.aV),o.Y36(o.SBq),o.Y36(l.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(h.t4),o.Y36(r.$s),o.Y36(r.tE),o.Y36(void 0),o.Y36(v.Is),o.Y36(void 0),o.Y36(s.K0))},e.\u0275dir=o.lG2({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e})(),C=(()=>{class e extends k{constructor(e,t,n,i,r,s,o,a,l,c,u,d){super(e,t,n,i,r,s,o,a,l,c,u,d),this._tooltipComponent=E}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(i.aV),o.Y36(o.SBq),o.Y36(l.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(h.t4),o.Y36(r.$s),o.Y36(r.tE),o.Y36(w),o.Y36(v.Is,8),o.Y36(S,8),o.Y36(s.K0))},e.\u0275dir=o.lG2({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),e})(),M=(()=>{class e{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new f.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO))},e.\u0275dir=o.lG2({type:e}),e})(),E=(()=>{class e extends M{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe(d.u3.Handset)}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(d.Yg))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&o.NdJ("click",function(){return t._handleBodyInteraction()},!1,o.pYS)("auxclick",function(){return t._handleBodyInteraction()},!1,o.pYS),2&e&&o.Udp("zoom","visible"===t._visibility?1:null)},features:[o.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(o.TgZ(0,"div",0),o.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),o.ALo(1,"async"),o._uU(2),o.qZA()),2&e){let e;o.ekj("mat-tooltip-handset",null==(e=o.lcZ(1,5,t._isHandset))?null:e.matches),o.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),o.xp6(2),o.Oqu(t.message)}},directives:[s.mk],pipes:[s.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[y.tooltipState]},changeDetection:0}),e})(),T=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[x],imports:[[r.rt,s.ez,i.U8,a.BQ],a.BQ,l.ZD]}),e})()},43490:(e,t,n)=>{"use strict";n.d(t,{Qb:()=>Lt,PW:()=>Yt});var i=n(31572),r=n(30269),s=n(10709);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(e){switch(e.length){case 0:return new s.ZN;case 1:return e[0];default:return new s.ZE(e)}}function c(e,t,n,i,r={},o={}){const a=[],l=[];let c=-1,u=null;if(i.forEach(e=>{const n=e.offset,i=n==c,d=i&&u||{};Object.keys(e).forEach(n=>{let i=n,l=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),l){case s.k1:l=r[n];break;case s.l3:l=o[n];break;default:l=t.normalizeStyleValue(n,i,l,a)}d[i]=l}),i||l.push(d),u=d,c=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return l}function u(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&d(n,"start",e)));break;case"done":e.onDone(()=>i(n&&d(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&d(n,"destroy",e)))}}function d(e,t,n){const i=n.totalTime,r=h(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),s=e._data;return null!=s&&(r._data=s),r}function h(e,t,n,i,r="",s=0,o){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function p(e,t,n){let i;return e instanceof Map?(i=e.get(t),i||e.set(t,i=n)):(i=e[t],i||(i=e[t]=n)),i}function f(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let m=(e,t)=>!1,g=(e,t)=>!1,_=(e,t,n)=>[];const v=a();(v||"undefined"!=typeof Element)&&(m=o()?(e,t)=>{for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:(e,t)=>e.contains(t),g=(()=>{if(v||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):g}})(),_=(e,t,n)=>{let i=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}let M=(()=>{class e{validateStyleProperty(e){return w(e)}matchesElement(e,t){return x(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return k(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,i,r,o=[],a){return new s.ZN(n,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),E=(()=>{class e{}return e.NOOP=new M,e})();const T="ng-enter",A="ng-leave",D="ng-trigger",P=".ng-trigger",L="ng-animating",O=".ng-animating";function I(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:R(parseFloat(t[1]),t[2])}function R(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Y(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let i,r=0,s="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=R(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=R(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else i=e;if(!n){let n=!1,s=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(s,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:r,easing:s}}(e,t,n)}function F(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function j(e,t,n={}){if(t)for(let i in e)n[i]=e[i];else F(e,n);return n}function H(e,t,n){return n?t+":"+n+";":""}function N(e){let t="";for(let n=0;n{const r=Z(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),a()&&N(e))}function U(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=Z(t);e.style[n]=""}),a()&&N(e))}function z(e){return Array.isArray(e)?1==e.length?e[0]:(0,s.vP)(e):e}const V=new RegExp("{{\\s*(.+?)\\s*}}","g");function q(e){let t=[];if("string"==typeof e){let n;for(;n=V.exec(e);)t.push(n[1]);V.lastIndex=0}return t}function W(e,t,n){const i=e.toString(),r=i.replace(V,(e,i)=>{let r=t[i];return t.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?e:r}function $(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const G=/-+([a-z0-9])/g;function Z(e){return e.replace(G,(...e)=>e[1].toUpperCase())}function K(e,t){return 0===e||0===t}function Q(e,t,n){const i=Object.keys(n);if(i.length&&t.length){let s=t[0],o=[];if(i.forEach(e=>{s.hasOwnProperty(e)||o.push(e),s[e]=n[e]}),o.length)for(var r=1;rfunction(e,t,n){if(":"==e[0]){const i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}const i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const r=i[1],s=i[2],o=i[3];t.push(re(r,o)),"<"!=s[0]||r==ee&&o==ee||t.push(re(o,r))}(e,n,t)):n.push(e),n}const ne=new Set(["true","1"]),ie=new Set(["false","0"]);function re(e,t){const n=ne.has(e)||ie.has(e),i=ne.has(t)||ie.has(t);return(r,s)=>{let o=e==ee||e==r,a=t==ee||t==s;return!o&&n&&"boolean"==typeof r&&(o=r?ne.has(e):ie.has(e)),!a&&i&&"boolean"==typeof s&&(a=s?ne.has(t):ie.has(t)),o&&a}}const se=new RegExp("s*:selfs*,?","g");function oe(e,t,n){return new ae(e).build(t,n)}class ae{constructor(e){this._driver=e}build(e,t){const n=new le(t);return this._resetContextStyleTimingState(n),J(this,z(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0;const r=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,i=n.name;i.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,r.push(this.visitState(n,t))}),n.name=i}else if(1==e.type){const r=this.visitTransition(e,t);n+=r.queryCount,i+=r.depCount,s.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(e=>{if(ce(e)){const t=e;Object.keys(t).forEach(e=>{q(t[e]).forEach(e=>{s.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=$(r.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=J(this,z(e.animation),t);return{type:1,matchers:te(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ue(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>J(this,e,t)),options:ue(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const r=e.steps.map(e=>{t.currentTime=n;const r=J(this,e,t);return i=Math.max(i,t.currentTime),r});return t.currentTime=i,{type:3,steps:r,options:ue(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return de(Y(e,t).duration,0,"");const i=e;if(i.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=de(0,0,"");return e.dynamic=!0,e.strValue=i,e}return n=n||Y(i,t),de(n.duration,n.delay,n.easing)}(e.timings,t.errors);let i;t.currentAnimateTimings=n;let r=e.styles?e.styles:(0,s.oB)({});if(5==r.type)i=this.visitKeyframes(r,t);else{let r=e.styles,o=!1;if(!r){o=!0;const e={};n.easing&&(e.easing=n.easing),r=(0,s.oB)(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,t);a.isEmptyStep=o,i=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==s.l3?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let i=!1,r=null;return n.forEach(e=>{if(ce(e)){const t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(let e in t)if(t[e].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let i=t.currentTime,r=t.currentTime;n&&r>0&&(r-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],o=s[n];let a=!0;o&&(r!=i&&r>=o.startTime&&i<=o.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=o.startTime),a&&(s[n]={startTime:r,endTime:i}),t.options&&function(e,t,n){const i=t.params||{},r=q(e);r.length&&r.forEach(e=>{i.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let s=!1,o=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(ce(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(ce(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,s=s||c0&&i{const s=u>0?i==d?1:u*i:r[i],o=s*f;t.currentTime=h+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=s,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:J(this,z(e.animation),t),options:ue(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ue(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ue(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[r,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(se,"")),[e=e.replace(/@\*/g,P).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,O),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,p(t.collectedStyles,t.currentQuerySelector,{});const o=J(this,z(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:o,originalSelector:e.selector,options:ue(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Y(e.timings,t.errors,!0);return{type:12,animation:J(this,z(e.animation),t),timings:n,options:null}}}class le{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ce(e){return!Array.isArray(e)&&"object"==typeof e}function ue(e){var t;return e?(e=F(e)).params&&(e.params=(t=e.params)?F(t):null):e={},e}function de(e,t,n){return{duration:e,delay:t,easing:n}}function he(e,t,n,i,r,s,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class pe{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const fe=new RegExp(":enter","g"),me=new RegExp(":leave","g");function ge(e,t,n,i,r,s={},o={},a,l,c=[]){return(new _e).buildKeyframes(e,t,n,i,r,s,o,a,l,c)}class _e{buildKeyframes(e,t,n,i,r,s,o,a,l,c=[]){l=l||new pe;const u=new ye(e,t,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),J(this,n,u);const d=u.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(o).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,u.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[he(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime;const r=null!=n.duration?I(n.duration):null,s=null!=n.delay?I(n.delay):null;return 0!==r&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),J(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let i=t;const r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ve);const e=I(r.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>J(this,e,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let i=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?I(e.options.delay):0;e.steps.forEach(s=>{const o=t.createSubContext(e.options);r&&o.delayNextStep(r),J(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return Y(t.params?W(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,s=t.createSubContext().currentTimeline;s.easing=n.easing,e.styles.forEach(e=>{s.forwardTime((e.offset||0)*r),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?I(i.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ve);let s=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{t.currentQueryIndex=i;const o=t.createSubContext(e.options,n);r&&o.delayNextStep(r),n===t.element&&(a=o.currentTimeline),J(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,i=t.currentTimeline,r=e.timings,s=Math.abs(r.duration),o=s*(t.currentQueryTotal-1);let a=s*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;J(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ve={};class ye{constructor(e,t,n,i,r,s,o,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ve,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new be(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let i=this.options;null!=n.duration&&(i.duration=I(n.duration)),null!=n.delay&&(i.delay=I(n.delay));const r=n.params;if(r){let e=i.params;e||(e=this.options.params={}),Object.keys(r).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=W(r[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const i=t||this.element,r=new ye(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=ve,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new we(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,i,r,s){let o=[];if(i&&o.push(this.element),e.length>0){e=(e=e.replace(fe,"."+this._enterClassName)).replace(me,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),o.push(...t)}return r||0!=o.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class be{constructor(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new be(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||s.l3,this._currentKeyframe[e]=s.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,i){t&&(this._previousKeyframe.easing=t);const r=i&&i.params||{},o=function(e,t){const n={};let i;return e.forEach(e=>{"*"===e?(i=i||Object.keys(t),i.forEach(e=>{n[e]=s.l3})):j(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=W(o[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:s.l3),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],i=e._styleSummary[t];(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,o)=>{const a=j(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==s.k1?e.add(n):i==s.l3&&t.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const r=e.size?$(e.values()):[],o=t.size?$(t.values()):[];if(n){const e=i[0],t=F(e);e.offset=0,t.offset=1,i=[e,t]}return he(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class we extends be{constructor(e,t,n,i,r,s,o=!1){super(e,t,s.delay),this.element=t,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],s=n+t,o=t/s,a=j(e[0],!1);a.offset=0,r.push(a);const l=j(e[0],!1);l.offset=xe(o),r.push(l);const c=e.length-1;for(let i=1;i<=c;i++){let o=j(e[i],!1);o.offset=xe((t+o.offset*n)/s),r.push(o)}n=s,t=0,i="",e=r}return he(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}}function xe(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Se{}class ke extends Se{normalizePropertyName(e,t){return Z(e)}normalizeStyleValue(e,t,n,i){let r="";const s=n.toString().trim();if(Ce[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(`Please provide a CSS unit value for ${e}:${n}`)}return s+r}}const Ce=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Me(e,t,n,i,r,s,o,a,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Ee={};class Te{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return function(e,t,n,i,r){return e.some(e=>e(t,n,i,r))}(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){const i=this._stateStyles["*"],r=this._stateStyles[e],s=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):s}build(e,t,n,i,r,s,o,a,l,c){const u=[],d=this.ast.options&&this.ast.options.params||Ee,h=this.buildStyles(n,o&&o.params||Ee,u),f=a&&a.params||Ee,m=this.buildStyles(i,f,u),g=new Set,_=new Map,v=new Map,y="void"===i,b={params:Object.assign(Object.assign({},d),f)},w=c?[]:ge(e,t,this.ast.animation,r,s,h,m,b,l,u);let x=0;if(w.forEach(e=>{x=Math.max(e.duration+e.delay,x)}),u.length)return Me(t,this._triggerName,n,i,y,h,m,[],[],_,v,x,u);w.forEach(e=>{const n=e.element,i=p(_,n,{});e.preStyleProps.forEach(e=>i[e]=!0);const r=p(v,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&g.add(n)});const S=$(g.values());return Me(t,this._triggerName,n,i,y,h,m,w,S,_,v,x)}}class Ae{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},i=F(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let s=r[e];s.length>1&&(s=W(s,i,t)),n[e]=s})}}),n}}class De{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Ae(e.style,e.options&&e.options.params||{})}),Pe(this.states,"true","1"),Pe(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Te(e,t,this.states))}),this.fallbackTransition=new Te(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(r=>r.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Pe(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Le=new pe;class Oe{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],i=oe(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=i}_buildPlayer(e,t,n){const i=e.element,r=c(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const i=[],r=this._animations[e];let o;const a=new Map;if(r?(o=ge(this._driver,t,r,T,A,{},{},n,Le,i),o.forEach(e=>{const t=p(a,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,s.l3)})});const c=l(o.map(e=>{const t=a.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,i){const r=h(t,"","","");return u(this._getPlayer(e),n,r,i),()=>{}}command(e,t,n,i){if("register"==n)return void this.register(e,i[0]);if("create"==n)return void this.create(e,t,i[0]||{});const r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const Ie="ng-animate-queued",Re="ng-animate-disabled",Ye=".ng-animate-disabled",Fe=[],je={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},He={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Ne{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(i=n?e.value:e)?i:null,n){const t=F(e);delete t.value,this.options=t}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Be="void",Ue=new Ne(Be);class ze{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ke(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var r;const s=p(this._elementListeners,e,[]),o={name:t,phase:n,callback:i};s.push(o);const a=p(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Ke(e,D),Ke(e,"ng-trigger-"+t),a[t]=Ue),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(o);e>=0&&s.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,i=!0){const r=this._getTrigger(t),s=new qe(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(Ke(e,D),Ke(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const l=new Ne(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[t]=l,a||(a=Ue),l.value!==Be&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let r=0;r{U(e,n),B(e,i)})}return}const c=p(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=r.matchTransition(a.value,l.value,e,l.params),d=!1;if(!u){if(!i)return;u=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:l,player:s,isFallbackTransition:d}),d||(Ke(e,Ie),s.onStart(()=>{Qe(e,Ie)})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(s);e>=0&&n.splice(e,1)}}),this.players.push(s),c.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,P,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,i){const r=this._engine.statesByElement.get(e);if(r){const s=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Be,i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&l(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const i=new Set;t.forEach(t=>{const r=t.name;if(i.has(r))return;i.add(r);const s=this._triggers[r].fallbackTransition,o=n[r]||Ue,a=new Ne(Be),l=new qe(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:s,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)i=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{const i=e.__ng_removed;i&&i!==je||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Ke(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(t=>{if(t.name==n.triggerName){const i=h(r,n.triggerName,n.fromState.value,n.toState.value);i._data=e,u(n.player,t.phase,i,t.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,i=t.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Ve{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new ze(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(e,1)}if(e){const i=this._fetchNamespace(e);i&&i.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ke(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Qe(e,Re))}removeNode(e,t,n,i){if(We(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,i,r){return We(t)?this._fetchNamespace(e).listen(t,n,i,r):()=>{}}_buildInstruction(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,P,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,O,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return l(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=je,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Ye)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ye,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;ne()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?l(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new pe,i=[],r=new Map,o=[],a=new Map,c=new Map,u=new Map,d=new Set;this.disabledNodes.forEach(e=>{d.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n{const n=T+_++;g.set(t,n),e.forEach(e=>Ke(e,n))});const v=[],y=new Set,b=new Set;for(let s=0;sy.add(e)):b.add(e))}const w=new Map,x=Ze(f,Array.from(y));x.forEach((e,t)=>{const n=A+_++;w.set(t,n),e.forEach(e=>Ke(e,n))}),e.push(()=>{m.forEach((e,t)=>{const n=g.get(t);e.forEach(e=>Qe(e,n))}),x.forEach((e,t)=>{const n=w.get(t);e.forEach(e=>Qe(e,n))}),v.forEach(e=>{this.processLeaveNode(e)})});const S=[],k=[];for(let s=this._namespaceList.length-1;s>=0;s--)this._namespaceList[s].drainQueuedTransitions(t).forEach(e=>{const t=e.player,r=e.element;if(S.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const s=!h||!this.driver.containsElement(h,r),l=w.get(r),d=g.get(r),f=this._buildInstruction(e,n,d,l,s);if(f.errors&&f.errors.length)k.push(f);else{if(s)return t.onStart(()=>U(r,f.fromStyles)),t.onDestroy(()=>B(r,f.toStyles)),void i.push(t);if(e.isFallbackTransition)return t.onStart(()=>U(r,f.fromStyles)),t.onDestroy(()=>B(r,f.toStyles)),void i.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(r,f.timelines),o.push({instruction:f,player:t,element:r}),f.queriedElements.forEach(e=>p(a,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=c.get(t);e||c.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let i=u.get(t);i||u.set(t,i=new Set),n.forEach(e=>i.add(e))})}});if(k.length){const e=[];k.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),S.forEach(e=>e.destroy()),this.reportError(e)}const C=new Map,M=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(M.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,C))}),i.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{p(C,t,[]).push(e),e.destroy()})});const E=v.filter(e=>et(e,c,u)),D=new Map;Ge(D,this.driver,b,u,s.l3).forEach(e=>{et(e,c,u)&&E.push(e)});const P=new Map;m.forEach((e,t)=>{Ge(P,this.driver,new Set(e),c,s.k1)}),E.forEach(e=>{const t=D.get(e),n=P.get(e);D.set(e,Object.assign(Object.assign({},t),n))});const L=[],I=[],R={};o.forEach(e=>{const{element:t,player:s,instruction:o}=e;if(n.has(t)){if(d.has(t))return s.onDestroy(()=>B(t,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void i.push(s);let e=R;if(M.size>1){let n=t;const i=[];for(;n=n.parentNode;){const t=M.get(n);if(t){e=t;break}i.push(n)}i.forEach(t=>M.set(t,e))}const n=this._buildAnimation(s.namespaceId,o,C,r,P,D);if(s.setRealPlayer(n),e===R)L.push(s);else{const t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=l(t)),i.push(s)}}else U(t,o.fromStyles),s.onDestroy(()=>B(t,o.toStyles)),I.push(s),d.has(t)&&i.push(s)}),I.forEach(e=>{const t=r.get(e.element);if(t&&t.length){const n=l(t);e.setRealPlayer(n)}}),i.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let s=0;s!e.destroyed);i.length?Je(this,e,i):this.processLeaveNode(e)}return v.length=0,L.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),L}elementContainsData(e,t){let n=!1;const i=t.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,r){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||r==Be;t.forEach(t=>{t.queued||(e||t.triggerName==i)&&s.push(t)})}}return(n||i)&&(s=s.filter(e=>!(n&&n!=e.namespaceId||i&&i!=e.triggerName))),s}_beforeAnimationBuild(e,t,n){const i=t.element,r=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName;for(const o of t.timelines){const e=o.element,a=e!==i,l=p(n,e,[]);this._getPreviousPlayers(e,a,r,s,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}U(i,t.fromStyles)}_buildAnimation(e,t,n,i,r,o){const a=t.triggerName,u=t.element,d=[],h=new Set,f=new Set,m=t.timelines.map(t=>{const l=t.element;h.add(l);const p=l.__ng_removed;if(p&&p.removedBeforeQueried)return new s.ZN(t.duration,t.delay);const m=l!==u,g=function(e){const t=[];return Xe(e,t),t}((n.get(l)||Fe).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===l),_=r.get(l),v=o.get(l),y=c(0,this._normalizer,0,t.keyframes,_,v),b=this._buildPlayer(t,y,g);if(t.subTimeline&&i&&f.add(l),m){const t=new qe(e,a,l);t.setRealPlayer(b),d.push(t)}return b});d.forEach(e=>{p(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let i;if(e instanceof Map){if(i=e.get(t),i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&e.delete(t)}}else if(i=e[t],i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&delete e[t]}return i}(this.playersByQueriedElement,e.element,e))}),h.forEach(e=>Ke(e,L));const g=l(m);return g.onDestroy(()=>{h.forEach(e=>Qe(e,L)),B(u,t.toStyles)}),f.forEach(e=>{p(i,e,[]).push(g)}),g}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new s.ZN(e.duration,e.delay)}}class qe{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new s.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>u(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){p(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function We(e){return e&&1===e.nodeType}function $e(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Ge(e,t,n,i,r){const s=[];n.forEach(e=>s.push($e(e)));const o=[];i.forEach((n,i)=>{const s={};n.forEach(e=>{const n=s[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=He,o.push(i))}),e.set(i,s)});let a=0;return n.forEach(e=>$e(e,s[a++])),o}function Ze(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const i=new Set(t),r=new Map;function s(e){if(!e)return 1;let t=r.get(e);if(t)return t;const o=e.parentNode;return t=n.has(o)?o:i.has(o)?1:s(o),r.set(e,t),t}return t.forEach(e=>{const t=s(e);1!==t&&n.get(t).push(e)}),n}function Ke(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Qe(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Je(e,t,n){l(n).onDone(()=>e.processLeaveNode(t))}function Xe(e,t){for(let n=0;nr.add(e)):t.set(e,i),n.delete(e),!0}class tt{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Ve(e,t,n),this._timelineEngine=new Oe(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,i,r){const s=e+"-"+i;let o=this._triggerCache[s];if(!o){const e=[],t=oe(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t){return new De(e,t)}(i,t),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if("@"==n.charAt(0)){const[e,r]=f(n);this._timelineEngine.command(e,t,r,i)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,r){if("@"==n.charAt(0)){const[e,i]=f(n);return this._timelineEngine.listen(e,t,i,r)}return this._transitionEngine.listen(e,t,n,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function nt(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=rt(t[0]),t.length>1&&(i=rt(t[t.length-1]))):t&&(n=rt(t)),n||i?new it(e,n,i):null}let it=(()=>{class e{constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&B(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(B(this._element,this._initialStyles),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(U(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),B(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function rt(e){let t=null;const n=Object.keys(e);for(let i=0;ithis._handleCallback(e)}apply(){!function(e,t){const n=ft(e,"").trim();n.length&&(function(e,t){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),ht(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=ft(e,"").split(","),i=dt(n,t);i>=0&&(n.splice(i,1),pt(e,"",n.join(",")))}(this._element,this._name))}}function ct(e,t,n){pt(e,"PlayState",n,ut(e,t))}function ut(e,t){const n=ft(e,"");return n.indexOf(",")>0?dt(n.split(","),t):dt([n],t)}function dt(e,t){for(let n=0;n=0)return n;return-1}function ht(e,t,n){n?e.removeEventListener(at,t):e.addEventListener(at,t)}function pt(e,t,n,i){const r=ot+t;if(null!=i){const t=e.style[r];if(t.length){const e=t.split(",");e[i]=n,n=e.join(",")}}e.style[r]=n}function ft(e,t){return e.style[ot+t]||""}class mt{constructor(e,t,n,i,r,s,o,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=i+r,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new lt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:X(this.element,n))})}this.currentSnapshot=e}}class gt extends s.ZN{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=C(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class _t{constructor(){this._count=0}validateStyleProperty(e){return w(e)}matchesElement(e,t){return x(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return k(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>C(e));let i=`@keyframes ${t} {\n`,r="";n.forEach(e=>{r=" ";const t=parseFloat(e.offset);i+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${t}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const s=document.createElement("style");return s.textContent=i,s}animate(e,t,n,i,r,s=[],o){const a=s.filter(e=>e instanceof mt),l={};K(n,i)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Q(e,t,l));if(0==n)return new gt(e,c);const u="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,u,t);(function(e){var t;const n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(e).appendChild(d);const h=nt(e,t),p=new mt(e,t,u,n,i,r,c,h);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}}class vt{constructor(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:X(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class yt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(bt().toString()),this._cssKeyframesDriver=new _t}validateStyleProperty(e){return w(e)}matchesElement(e,t){return x(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return k(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,i,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,s);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=s.filter(e=>e instanceof vt);K(n,i)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=nt(e,t=Q(e,t=t.map(e=>j(e,!1)),l));return new vt(e,t,a,u)}}function bt(){return o()&&Element.prototype.animate||{}}var wt=n(61511);let xt=(()=>{class e extends s._j{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?(0,s.vP)(e):e;return Ct(this._renderer,null,t,"register",[n]),new St(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.FYo),i.LFG(wt.K0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class St extends s.LC{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new kt(this._id,e,t||{},this._renderer)}}class kt{constructor(e,t,n,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Ct(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function Ct(e,t,n,i,r){return e.setProperty(t,`@@${n}:${i}`,r)}const Mt="@",Et="@.disabled";let Tt=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new At("",n,this.engine),this._rendererCache.set(n,e)),e}const i=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(i,r,e,t.name,t)};return t.data.animation.forEach(s),new Dt(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&et(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.FYo),i.LFG(tt),i.LFG(i.R0b))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class At{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Mt&&t==Et?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Dt extends At{constructor(e,t,n,i){super(t,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Mt?"."==t.charAt(1)&&t==Et?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Mt){const i=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),s="";return r.charAt(0)!=Mt&&([r,s]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let Pt=(()=>{class e extends tt{constructor(e,t,n){super(e.body,t,n)}ngOnDestroy(){this.flush()}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(wt.K0),i.LFG(E),i.LFG(Se))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const Lt=new i.OlP("AnimationModuleType"),Ot=[{provide:s._j,useClass:xt},{provide:Se,useFactory:function(){return new ke}},{provide:tt,useClass:Pt},{provide:i.FYo,useFactory:function(e,t,n){return new Tt(e,t,n)},deps:[r.se,tt,i.R0b]}],It=[{provide:E,useFactory:function(){return"function"==typeof bt()?new yt:new _t}},{provide:Lt,useValue:"BrowserAnimations"},...Ot],Rt=[{provide:E,useClass:M},{provide:Lt,useValue:"NoopAnimations"},...Ot];let Yt=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?Rt:It}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:It,imports:[r.b2]}),e})()},30269:(e,t,n)=>{"use strict";n.d(t,{b2:()=>j,H7:()=>O,Dx:()=>N,q6:()=>Y,se:()=>S});var i=n(61511),r=n(31572);class s extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends s{static makeCurrent(){(0,i.HT)(new o)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(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}getBaseHref(e){const t=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==t?null:function(e){a=a||document.createElement("a"),a.setAttribute("href",e);const t=a.pathname;return"/"===t.charAt(0)?t:`/${t}`}(t)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return(0,i.Mx)(document.cookie,e)}}let a,l=null;const c=new r.OlP("TRANSITION_ID"),u=[{provide:r.ip1,useFactory:function(e,t,n){return()=>{n.get(r.CZH).donePromise.then(()=>{const n=(0,i.q)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[c,i.K0,r.zs3],multi:!0}];class d{static init(){(0,r.VLi)(new d)}addToWindow(e){r.dqk.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.dqk.getAllAngularTestabilities=()=>e.getAllTestabilities(),r.dqk.getAllAngularRootElements=()=>e.getAllRootElements(),r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(e=>{const t=r.dqk.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?(0,i.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let h=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();const p=new r.OlP("EventManagerPlugins");let f=(()=>{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{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.Yz7({token:e,factory:e.\u0275fac}),e})(),_=(()=>{class e extends g{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,n){e.forEach(e=>{const i=this._doc.createElement("style");i.textContent=e,n.push(t.appendChild(i))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(v),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,n)=>{this._addStylesToHost(e,n,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(v))}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.K0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();function v(e){(0,i.q)().remove(e)}const y={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/"},b=/%COMP%/g;function w(e,t,n){for(let i=0;i{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let S=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new k(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case r.ifc.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new C(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case r.ifc.ShadowDom:return new M(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.LFG(f),r.LFG(_),r.LFG(r.AFp))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();class k{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(y[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=y[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=y[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.JOm.DashCase|r.JOm.Important)?e.style.setProperty(t,n,i&r.JOm.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&r.JOm.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,x(n)):this.eventManager.addEventListener(e,t,x(n))}}class C extends k{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(b,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(b,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 M extends k{constructor(e,t,n,i){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=w(i.id,i.styles,[]);for(let s=0;s{class e extends m{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.LFG(i.K0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();const T=["alt","control","meta","shift"],A={"\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"},D={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"},P={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let L=(()=>{class e extends m{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(()=>(0,i.q)().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="";if(T.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&&D.hasOwnProperty(t)&&(t=D[t]))}return A[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),T.forEach(i=>{i!=n&&(0,P[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.LFG(i.K0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})(),O=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,r.Yz7)({factory:function(){return(0,r.LFG)(R)},token:e,providedIn:"root"}),e})();function I(e){return new R(e.get(i.K0))}let R=(()=>{class e extends O{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case r.q3G.NONE:return t;case r.q3G.HTML:return(0,r.qzn)(t,"HTML")?(0,r.z3N)(t):(0,r.EiD)(this._doc,String(t)).toString();case r.q3G.STYLE:return(0,r.qzn)(t,"Style")?(0,r.z3N)(t):t;case r.q3G.SCRIPT:if((0,r.qzn)(t,"Script"))return(0,r.z3N)(t);throw new Error("unsafe value used in a script context");case r.q3G.URL:return(0,r.yhl)(t),(0,r.qzn)(t,"URL")?(0,r.z3N)(t):(0,r.mCW)(String(t));case r.q3G.RESOURCE_URL:if((0,r.qzn)(t,"ResourceURL"))return(0,r.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,r.JVY)(e)}bypassSecurityTrustStyle(e){return(0,r.L6k)(e)}bypassSecurityTrustScript(e){return(0,r.eBb)(e)}bypassSecurityTrustUrl(e){return(0,r.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,r.pB0)(e)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.K0))},e.\u0275prov=(0,r.Yz7)({factory:function(){return I((0,r.LFG)(r.gxx))},token:e,providedIn:"root"}),e})();const Y=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:i.bD},{provide:r.g9A,useValue:function(){o.makeCurrent(),d.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,r.RDi)(document),document},deps:[]}]),F=[[],{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function(){return new r.qLn},deps:[]},{provide:p,useClass:E,multi:!0,deps:[i.K0,r.R0b,r.Lbi]},{provide:p,useClass:L,multi:!0,deps:[i.K0]},[],{provide:S,useClass:S,deps:[f,_,r.AFp]},{provide:r.FYo,useExisting:S},{provide:g,useExisting:_},{provide:_,useClass:_,deps:[i.K0]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b]},{provide:f,useClass:f,deps:[p,r.R0b]},{provide:i.JF,useClass:h,deps:[]},[]];let j=(()=>{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.AFp,useValue:t.appId},{provide:c,useExisting:r.AFp},u]}}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(e,12))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:F,imports:[i.ez,r.hGG]}),e})();function H(){return new N((0,r.LFG)(i.K0))}let N=(()=>{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.LFG(i.K0))},e.\u0275prov=(0,r.Yz7)({factory:H,token:e,providedIn:"root"}),e})();"undefined"!=typeof window&&window},71398:(e,t,n)=>{"use strict";n.d(t,{gz:()=>Be,gk:()=>F,m2:()=>Y,Q3:()=>j,OD:()=>R,F0:()=>un,rH:()=>dn,Od:()=>fn,yS:()=>hn,Bz:()=>Cn,lC:()=>mn,R9:()=>H});var i=n(61511),r=n(31572),s=n(19764),o=n(40878),a=n(78512),l=n(31305),c=n(71784),u=n(39665),d=n(47930),h=n(31450),p=n(70653),f=n(42875),m=n(55959),g=n(43835),_=n(4991),v=n(90790),y=n(7768),b=n(13392),w=n(79996),x=n(44689),S=n(90611),k=n(56238),C=n(2023),M=n(47727),E=n(436),T=n(3530),A=n(73982),D=n(66599),P=n(21564),L=n(11520),O=n(97471);class I{constructor(e,t){this.id=e,this.url=t}}class R extends I{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 Y extends I{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class F extends I{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class j extends I{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class H extends I{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 N extends I{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 B extends I{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 U extends I{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 z extends I{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 V{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class q{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class W{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ${constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Z{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K{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}')`}}const Q="primary";class J{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,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 X(e){return new J(e)}function ee(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function te(e,t,n){const i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.lengthi[t]===e)}return e===t}function re(e){return Array.prototype.concat.apply([],e)}function se(e){return e.length>0?e[e.length-1]:null}function oe(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ae(e){return(0,r.CqO)(e)?e:(0,r.QGY)(e)?(0,s.D)(Promise.resolve(e)):(0,o.of)(e)}const le={exact:function e(t,n,i){if(!_e(t.segments,n.segments))return!1;if(!pe(t.segments,n.segments,i))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r],i))return!1}return!0},subset:de},ce={exact:function(e,t){return ne(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>ie(e[n],t[n]))},ignored:()=>!0};function ue(e,t,n){return le[n.paths](e.root,t.root,n.matrixParams)&&ce[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function de(e,t,n){return he(e,t,t.segments,n)}function he(e,t,n,i){if(e.segments.length>n.length){const r=e.segments.slice(0,n.length);return!!_e(r,n)&&!t.hasChildren()&&!!pe(r,n,i)}if(e.segments.length===n.length){if(!_e(e.segments,n))return!1;if(!pe(e.segments,n,i))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!de(e.children[n],t.children[n],i))return!1}return!0}{const r=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!_e(e.segments,r)&&!!pe(e.segments,r,i)&&!!e.children.primary&&he(e.children.primary,t,s,i)}}function pe(e,t,n){return t.every((t,i)=>ce[n](e[i].parameters,t.parameters))}class fe{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=X(this.queryParams)),this._queryParamMap}toString(){return be.serialize(this)}}class me{constructor(e,t){this.segments=e,this.children=t,this.parent=null,oe(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return we(this)}}class ge{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=X(this.parameters)),this._parameterMap}toString(){return Te(this)}}function _e(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class ve{}class ye{parse(e){const t=new Oe(e);return new fe(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`/${xe(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${ke(t)}=${ke(e)}`).join("&"):`${ke(t)}=${ke(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const be=new ye;function we(e){return e.segments.map(e=>Te(e)).join("/")}function xe(e,t){if(!e.hasChildren())return we(e);if(t){const t=e.children.primary?xe(e.children.primary,!1):"",n=[];return oe(e.children,(e,t)=>{t!==Q&&n.push(`${t}:${xe(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return oe(e.children,(e,i)=>{i===Q&&(n=n.concat(t(e,i)))}),oe(e.children,(e,i)=>{i!==Q&&(n=n.concat(t(e,i)))}),n}(e,(t,n)=>n===Q?[xe(e.children.primary,!1)]:[`${n}:${xe(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${we(e)}/${t[0]}`:`${we(e)}/(${t.join("//")})`}}function Se(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ke(e){return Se(e).replace(/%3B/gi,";")}function Ce(e){return Se(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Me(e){return decodeURIComponent(e)}function Ee(e){return Me(e.replace(/\+/g,"%20"))}function Te(e){return`${Ce(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Ce(e)}=${Ce(t[e])}`).join("")}`;var t}const Ae=/^[^\/()?;=#]+/;function De(e){const t=e.match(Ae);return t?t[0]:""}const Pe=/^[^=?&#]+/,Le=/^[^?&#]+/;class Oe{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new me([],{}):new me([],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 me(e,t)),n}parseSegment(){const e=De(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new ge(Me(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=De(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=De(this.remaining);e&&(n=e,this.capture(n))}e[Me(t)]=Me(n)}parseQueryParam(e){const t=function(e){const t=e.match(Pe);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(Le);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=Ee(t),r=Ee(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=De(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=Q);const s=this.parseChildren();t[r]=1===Object.keys(s).length?s.primary:new me([],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 Ie{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Re(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Re(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ye(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Ye(e,this._root).map(e=>e.value)}}function Re(e,t){if(e===t.value)return t;for(const n of t.children){const t=Re(e,n);if(t)return t}return null}function Ye(e,t){if(e===t.value)return[t];for(const n of t.children){const i=Ye(e,n);if(i.length)return i.unshift(t),i}return[]}class Fe{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function je(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class He extends Ie{constructor(e,t){super(e),this.snapshot=t,qe(this,e)}toString(){return this.snapshot.toString()}}function Ne(e,t){const n=function(e,t){const n=new ze([],{},{},"",{},Q,t,null,e.root,-1,{});return new Ve("",new Fe(n,[]))}(e,t),i=new a.X([new ge("",{})]),r=new a.X({}),s=new a.X({}),o=new a.X({}),l=new a.X(""),c=new Be(i,r,o,l,s,Q,t,n.root);return c.snapshot=n.root,new He(new Fe(c,[]),n)}class Be{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((0,w.U)(e=>X(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,w.U)(e=>X(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ue(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 ze{constructor(e,t,n,i,r,s,o,a,l,c,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=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=X(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=X(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ve extends Ie{constructor(e,t){super(t),this.url=e,qe(this,t)}toString(){return We(this._root)}}function qe(e,t){t.value._routerState=e,t.children.forEach(t=>qe(e,t))}function We(e){const t=e.children.length>0?` { ${e.children.map(We).join(", ")} } `:"";return`${e.value}${t}`}function $e(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ne(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ne(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;nne(e.parameters,i[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Ge(e.parent,t.parent))}function Ze(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=t.value;const r=function(e,t,n){return t.children.map(t=>{for(const i of n.children)if(e.shouldReuseRoute(t.value,i.value.snapshot))return Ze(e,t,i);return Ze(e,t)})}(e,t,n);return new Fe(i,r)}{if(e.shouldAttach(t.value)){const n=e.retrieve(t.value);if(null!==n){const e=n.route;return Ke(t,e),e}}const n=new Be(new a.X((i=t.value).url),new a.X(i.params),new a.X(i.queryParams),new a.X(i.fragment),new a.X(i.data),i.outlet,i.component,i),r=t.children.map(t=>Ze(e,t));return new Fe(n,r)}var i}function Ke(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n{s[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new fe(n.root===e?t:et(n.root,e,t),s,r)}function et(e,t,n){const i={};return oe(e.children,(e,r)=>{i[r]=e===t?n:et(e,t,n)}),new me(e.segments,i)}class tt{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Qe(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(Je);if(i&&i!==se(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class nt{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function it(e,t,n){if(e||(e=new me([],{})),0===e.segments.length&&e.hasChildren())return rt(e,t,n);const i=function(e,t,n){let i=0,r=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return s;const t=e.segments[r],o=n[i];if(Je(o))break;const a=`${o}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!lt(a,l,t))return s;i+=2}else{if(!lt(a,{},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{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=it(e.children[i],t,n))}),oe(e.children,(e,t)=>{void 0===i[t]&&(r[t]=e)}),new me(e.segments,r)}}function st(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=st(new me([],{}),0,e))}),t}function at(e){const t={};return oe(e,(e,n)=>t[n]=`${e}`),t}function lt(e,t,n){return e==n.path&&ne(t,n.parameters)}class ct{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),$e(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const i=je(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),oe(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),i=n&&e.value.component?n.children:t,r=je(e);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(e,t,n){const i=je(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new Z(e.value.snapshot))}),e.children.length&&this.forwardEvent(new $(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if($e(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),ut(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)}}function ut(e){$e(e.value),e.children.forEach(ut)}class dt{constructor(e,t){this.routes=e,this.module=t}}function ht(e){return"function"==typeof e}function pt(e){return e instanceof fe}const ft=Symbol("INITIAL_VALUE");function mt(){return(0,x.w)(e=>(0,l.aj)(e.map(e=>e.pipe((0,S.q)(1),(0,k.O)(ft)))).pipe((0,C.R)((e,t)=>{let n=!1;return t.reduce((e,i,r)=>{if(e!==ft)return e;if(i===ft&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||pt(i))return i}return e},e)},ft),(0,g.h)(e=>e!==ft),(0,w.U)(e=>pt(e)?e:!0===e),(0,S.q)(1)))}let gt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&r._UZ(0,"router-outlet")},directives:function(){return[mn]},encapsulation:2}),e})();function _t(e,t=""){for(let n=0;nwt(e)===t);return n.push(...e.filter(e=>wt(e)!==t)),n}const St={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function kt(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},St):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(t.matcher||te)(n,e,t);if(!r)return Object.assign({},St);const s={};oe(r.posParams,(e,t)=>{s[t]=e.path});const o=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Ct(e,t,n,i,r="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>Mt(e,t,n)&&wt(n)!==Q)}(e,n,i)){const r=new me(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&&wt(s)!==Q){const n=new me([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[wt(s)]=n}return r}(e,t,i,new me(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=>Mt(e,t,n))}(e,n,i)){const s=new me(e.segments,function(e,t,n,i,r,s){const o={};for(const a of i)if(Mt(e,n,a)&&!r[wt(a)]){const n=new me([],{});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 me(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Mt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Et(e,t,n,i){return!!(wt(e)===i||i!==Q&&Mt(t,n,e))&&("**"===e.path||kt(t,e,n).matched)}function Tt(e,t,n){return 0===t.length&&!e.children[n]}class At{constructor(e){this.segmentGroup=e||null}}class Dt{constructor(e){this.urlTree=e}}function Pt(e){return new c.y(t=>t.error(new At(e)))}function Lt(e){return new c.y(t=>t.error(new Dt(e)))}function Ot(e){return new c.y(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class It{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.h0i)}apply(){const e=Ct(this.urlTree.root,[],[],this.config).segmentGroup,t=new me(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,Q).pipe((0,w.U)(e=>this.createUrlTree(Rt(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,M.K)(e=>{if(e instanceof Dt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof At)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,Q).pipe((0,w.U)(t=>this.createUrlTree(Rt(t),e.queryParams,e.fragment))).pipe((0,M.K)(e=>{if(e instanceof At)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 me([],{[Q]:e}):e;return new fe(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,w.U)(e=>new me([],e))):this.expandSegment(e,n,t,n.segments,i,!0)}expandChildren(e,t,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return(0,s.D)(i).pipe((0,E.b)(i=>{const r=n.children[i],s=xt(t,i);return this.expandSegmentGroup(e,s,r,i).pipe((0,w.U)(e=>({segment:e,outlet:i})))}),(0,C.R)((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return i=>i.pipe(e?(0,g.h)((t,n)=>e(t,n,i)):b.y,(0,_.h)(1),n?(0,y.d)(t):(0,v.T)(()=>new u.K))}())}expandSegment(e,t,n,i,r,a){return(0,s.D)(n).pipe((0,E.b)(s=>this.expandSegmentAgainstRoute(e,t,n,s,i,r,a).pipe((0,M.K)(e=>{if(e instanceof At)return(0,o.of)(null);throw e}))),(0,T.P)(e=>!!e),(0,M.K)((e,n)=>{if(e instanceof u.K||"EmptyError"===e.name){if(Tt(t,i,r))return(0,o.of)(new me([],{}));throw new At(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,i,r,s,o){return Et(i,t,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s):Pt(t):Pt(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("/")?Lt(r):this.lineralizeSegments(n,r).pipe((0,A.zg)(n=>{const r=new me(n,{});return this.expandSegment(e,r,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=kt(t,i,r);if(!o)return Pt(t);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Lt(u):this.lineralizeSegments(i,u).pipe((0,A.zg)(i=>this.expandSegment(e,t,n,i.concat(r.slice(l)),s,!1)))}matchSegmentAgainstRoute(e,t,n,i,r){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,o.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,w.U)(e=>(n._loadedConfig=e,new me(i,{})))):(0,o.of)(new me(i,{}));const{matched:s,consumedSegments:a,lastChild:l}=kt(t,n,i);if(!s)return Pt(t);const c=i.slice(l);return this.getChildConfig(e,n,i).pipe((0,A.zg)(e=>{const i=e.module,s=e.routes,{segmentGroup:l,slicedSegments:u}=Ct(t,a,c,s),d=new me(l.segments,l.children);if(0===u.length&&d.hasChildren())return this.expandChildren(i,s,d).pipe((0,w.U)(e=>new me(a,e)));if(0===s.length&&0===u.length)return(0,o.of)(new me(a,{}));const h=wt(n)===r;return this.expandSegment(i,d,s,u,h?Q:r,!0).pipe((0,w.U)(e=>new me(a.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?(0,o.of)(new dt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,o.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,A.zg)(n=>n?this.configLoader.load(e.injector,t).pipe((0,w.U)(e=>(t._loadedConfig=e,e))):function(e){return new c.y(t=>t.error(ee(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):(0,o.of)(new dt([],e))}runCanLoadGuards(e,t,n){const i=t.canLoad;if(!i||0===i.length)return(0,o.of)(!0);const r=i.map(i=>{const r=e.get(i);let s;if(function(e){return e&&ht(e.canLoad)}(r))s=r.canLoad(t,n);else{if(!ht(r))throw new Error("Invalid CanLoad guard");s=r(t,n)}return ae(s)});return(0,o.of)(r).pipe(mt(),(0,D.b)(e=>{if(!pt(e))return;const t=ee(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),(0,w.U)(e=>!0===e))}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,o.of)(n);if(i.numberOfChildren>1||!i.children.primary)return Ot(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 fe(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return oe(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 oe(t.children,(t,r)=>{s[r]=this.createSegmentGroup(e,t,n,i)}),new me(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 Rt(e){const t={};for(const n of Object.keys(e.children)){const i=Rt(e.children[n]);(i.segments.length>0||i.hasChildren())&&(t[n]=i)}return function(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new me(e.segments.concat(t.segments),t.children)}return e}(new me(e.segments,t))}class Yt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Ft{constructor(e,t){this.component=e,this.route=t}}function jt(e,t,n){const i=e._root;return Nt(i,t?t._root:null,n,[i.value])}function Ht(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 Nt(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=je(t);return e.children.forEach(e=>{!function(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!_e(e.url,t.url);case"pathParamsOrQueryParamsChange":return!_e(e.url,t.url)||!ne(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ge(e,t)||!ne(e.queryParams,t.queryParams);case"paramsChange":default:return!Ge(e,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Yt(i)):(s.data=o.data,s._resolvedData=o._resolvedData),Nt(e,t,s.component?a?a.children:null:n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ft(a.outlet.component,o))}else o&&Bt(t,a,r),r.canActivateChecks.push(new Yt(i)),Nt(e,null,s.component?a?a.children:null:n,i,r)}(e,s[e.value.outlet],n,i.concat([e.value]),r),delete s[e.value.outlet]}),oe(s,(e,t)=>Bt(e,n.getContext(t),r)),r}function Bt(e,t,n){const i=je(e),r=e.value;oe(i,(e,i)=>{Bt(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Ft(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}class Ut{}function zt(e){return new c.y(t=>t.error(e))}class Vt{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(){const e=Ct(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,Q);if(null===t)return null;const n=new ze([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Q,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Fe(n,t),r=new Ve(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(e){const t=e.value,n=Ue(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=[];for(const r of Object.keys(t.children)){const i=t.children[r],s=xt(e,r),o=this.processSegmentGroup(s,i,r);if(null===o)return null;n.push(...o)}const i=Wt(n);return i.sort((e,t)=>e.value.outlet===Q?-1:t.value.outlet===Q?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,n,i){for(const r of e){const e=this.processSegmentAgainstRoute(r,t,n,i);if(null!==e)return e}return Tt(t,n,i)?[]:null}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo||!Et(e,t,n,i))return null;let r,s=[],o=[];if("**"===e.path){const i=n.length>0?se(n).parameters:{};r=new ze(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Zt(e),wt(e),e.component,e,$t(t),Gt(t)+n.length,Kt(e))}else{const i=kt(t,e,n);if(!i.matched)return null;s=i.consumedSegments,o=n.slice(i.lastChild),r=new ze(s,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Zt(e),wt(e),e.component,e,$t(t),Gt(t)+s.length,Kt(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Ct(t,s,o,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return null===e?null:[new Fe(r,e)]}if(0===a.length&&0===c.length)return[new Fe(r,[])];const u=wt(e)===i,d=this.processSegment(a,l,c,u?Q:i);return null===d?null:[new Fe(r,d)]}}function qt(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Wt(e){const t=[],n=new Set;for(const i of e){if(!qt(i)){t.push(i);continue}const e=t.find(e=>i.value.routeConfig===e.value.routeConfig);void 0!==e?(e.children.push(...i.children),n.add(e)):t.push(i)}for(const i of n){const e=Wt(i.children);t.push(new Fe(i.value,e))}return t.filter(e=>!n.has(e))}function $t(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Gt(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 Zt(e){return e.data||{}}function Kt(e){return e.resolve||{}}function Qt(e){return(0,x.w)(t=>{const n=e(t);return n?(0,s.D)(n).pipe((0,w.U)(()=>t)):(0,o.of)(t)})}class Jt extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const Xt=new r.OlP("ROUTES");class en{constructor(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe((0,w.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const i=n.create(e);return new dt(re(i.injector.get(Xt,void 0,r.XFs.Self|r.XFs.Optional)).map(bt),i)}),(0,M.K)(e=>{throw t._loader$=void 0,e}));return t._loader$=new f.c(n,()=>new m.xQ).pipe((0,P.x)()),t._loader$}loadModuleFactory(e){return"string"==typeof e?(0,s.D)(this.loader.load(e)):ae(e()).pipe((0,A.zg)(e=>e instanceof r.YKP?(0,o.of)(e):(0,s.D)(this.compiler.compileModuleAsync(e))))}}class tn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new nn,this.attachRef=null}}class nn{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 tn,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class rn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function sn(e){throw e}function on(e,t,n){return t.parse("/")}function an(e,t){return(0,o.of)(null)}const ln={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let un=(()=>{class e{constructor(e,t,n,i,s,o,l,c){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new m.xQ,this.errorHandler=sn,this.malformedUriErrorHandler=on,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:an,afterPreactivation:an},this.urlHandlingStrategy=new rn,this.routeReuseStrategy=new Jt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(r.h0i),this.console=s.get(r.c2e);const u=s.get(r.R0b);this.isNgZoneEnabled=u instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new fe(new me([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new en(o,l,e=>this.triggerEvent(new V(e)),e=>this.triggerEvent(new q(e))),this.routerState=Ne(this.currentUrlTree,this.rootComponentType),this.transitions=new a.X({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((0,g.h)(e=>0!==e.id),(0,w.U)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),(0,x.w)(e=>{let n=!1,i=!1;return(0,o.of)(e).pipe((0,D.b)(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}}),(0,x.w)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return(0,o.of)(e).pipe((0,x.w)(e=>{const n=this.transitions.getValue();return t.next(new R(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(e)}),(i=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,a=this.config,(0,x.w)(e=>function(e,t,n,i,r){return new It(e,t,n,i,r).apply()}(i,r,s,e.extractedUrl,a).pipe((0,w.U)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),(0,D.b)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,r){return(0,A.zg)(s=>function(e,t,n,i,r="emptyOnly",s="legacy"){try{const a=new Vt(e,t,n,i,r,s).recognize();return null===a?zt(new Ut):(0,o.of)(a)}catch(a){return zt(a)}}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe((0,w.U)(e=>Object.assign(Object.assign({},s),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,D.b)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new H(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,r,s,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:a}=e,l=new R(n,this.serializeUrl(i),r,s);t.next(l);const c=Ne(i,this.rootComponentType).snapshot;return(0,o.of)(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),p.E}),Qt(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})}),(0,D.b)(e=>{const t=new N(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(0,w.U)(e=>Object.assign(Object.assign({},e),{guards:jt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return(0,A.zg)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,o.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return(0,s.D)(e).pipe((0,A.zg)(e=>function(e,t,n,i,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||0===s.length)return(0,o.of)(!0);const a=s.map(s=>{const o=Ht(s,t,r);let a;if(function(e){return e&&ht(e.canDeactivate)}(o))a=ae(o.canDeactivate(e,t,n,i));else{if(!ht(o))throw new Error("Invalid CanDeactivate guard");a=ae(o(e,t,n,i))}return a.pipe((0,T.P)())});return(0,o.of)(a).pipe(mt())}(e.component,e.route,n,t,i)),(0,T.P)(e=>!0!==e,!0))}(l,i,r,e).pipe((0,A.zg)(n=>n&&"boolean"==typeof n?function(e,t,n,i){return(0,s.D)(t).pipe((0,E.b)(t=>(0,d.z)(function(e,t){return null!==e&&t&&t(new W(e)),(0,o.of)(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new G(e)),(0,o.of)(!0)}(t.route,i),function(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=>(0,h.P)(()=>{const r=t.guards.map(r=>{const s=Ht(r,t.node,n);let o;if(function(e){return e&&ht(e.canActivateChild)}(s))o=ae(s.canActivateChild(i,e));else{if(!ht(s))throw new Error("Invalid CanActivateChild guard");o=ae(s(i,e))}return o.pipe((0,T.P)())});return(0,o.of)(r).pipe(mt())}));return(0,o.of)(r).pipe(mt())}(e,t.path,n),function(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return(0,o.of)(!0);const r=i.map(i=>(0,h.P)(()=>{const r=Ht(i,t,n);let s;if(function(e){return e&&ht(e.canActivate)}(r))s=ae(r.canActivate(t,e));else{if(!ht(r))throw new Error("Invalid CanActivate guard");s=ae(r(t,e))}return s.pipe((0,T.P)())}));return(0,o.of)(r).pipe(mt())}(e,t.route,n))),(0,T.P)(e=>!0!==e,!0))}(i,a,e,t):(0,o.of)(n)),(0,w.U)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),(0,D.b)(e=>{if(pt(e.guardsResult)){const t=ee(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new B(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),(0,g.h)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new F(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Qt(e=>{if(e.guards.canActivateChecks.length)return(0,o.of)(e).pipe((0,D.b)(e=>{const t=new U(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(0,x.w)(e=>{let n=!1;return(0,o.of)(e).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,(0,A.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return(0,o.of)(e);let a=0;return(0,s.D)(n).pipe((0,E.b)(e=>function(e,t,n,i){return function(e,t,n,i){const r=Object.keys(e);if(0===r.length)return(0,o.of)({});const a={};return(0,s.D)(r).pipe((0,A.zg)(r=>function(e,t,n,i){const r=Ht(e,t,i);return ae(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe((0,D.b)(e=>{a[r]=e}))),(0,_.h)(1),(0,A.zg)(()=>Object.keys(a).length===r.length?(0,o.of)(a):p.E))}(e._resolve,e,t,i).pipe((0,w.U)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Ue(e,n).resolve),null)))}(e.route,t,i,r)),(0,D.b)(()=>a++),(0,_.h)(1),(0,A.zg)(t=>a===n.length?(0,o.of)(e):p.E))})),(0,D.b)({next:()=>n=!0,complete:()=>{if(!n){const n=new F(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var i,r}),(0,D.b)(e=>{const t=new z(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),Qt(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})}),(0,w.U)(e=>{const t=function(e,t,n){const i=Ze(e,t._root,n?n._root:void 0);return new He(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),(0,D.b)(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)}),(r=this.rootContexts,a=this.routeReuseStrategy,l=e=>this.triggerEvent(e),(0,w.U)(e=>(new ct(a,e.targetRouterState,e.currentRouterState,l).activate(r),e))),(0,D.b)({next(){n=!0},complete(){n=!0}}),(0,L.x)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new F(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}),(0,M.K)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=pt(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new F(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);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 j(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.E}));var r,a,l}))}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=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:i}=t,r={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(r.state=e)}this.scheduleNavigation(i,e,n,r)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){_t(e),this.config=e.map(bt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:s,preserveFragment:o}=t,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:r;let c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,i,r){if(0===n.length)return Xe(t.root,t.root,t,i,r);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new tt(!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 oe(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 tt(n,t,i)}(n);if(s.toRoot())return Xe(t.root,new me([],{}),t,i,r);const o=function(e,t,n){if(e.isAbsolute)return new nt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new nt(e,e===t.root,0)}const i=Qe(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 nt(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(s,t,e),a=o.processChildren?rt(o.segmentGroup,o.index,s.commands):it(o.segmentGroup,o.index,s.commands);return Xe(o.segmentGroup,a,t,i,r)}(a,this.currentUrlTree,e,c,null!=l?l:null)}navigateByUrl(e,t={skipLocationChange:!1}){const n=pt(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{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 Y(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,i,r){if(this.disposed)return Promise.resolve(!1);const s=this.getTransition(),o="imperative"!==t&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===e.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;r?(l=r.resolve,c=r.reject,u=r.promise):u=new Promise((e,t)=>{l=e,c=t});const d=++this.navigationId;return this.setTransition({id:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.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(t){return new(t||e)(r.LFG(r.DyG),r.LFG(ve),r.LFG(nn),r.LFG(i.Ye),r.LFG(r.zs3),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(void 0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})(),dn=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.route=t,this.commands=[],this.onChanges=new m.xQ,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:pn(this.skipLocationChange),replaceUrl:pn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:pn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(un),r.Y36(Be),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r.NdJ("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),e})(),hn=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new m.xQ,this.subscription=e.events.subscribe(e=>{e instanceof Y&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i,r){if(0!==e||t||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:pn(this.skipLocationChange),replaceUrl:pn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:pn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(un),r.Y36(Be),r.Y36(i.S$))},e.\u0275dir=r.lG2({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.NdJ("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(r.Ikx("href",t.href,r.LSH),r.uIk("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),e})();function pn(e){return""===e||!!e}let fn=(()=>{class e{constructor(e,t,n,i,r,s){this.router=e,this.element=t,this.renderer=n,this.cdr=i,this.link=r,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof Y&&this.update()})}ngAfterContentInit(){(0,o.of)(this.links.changes,this.linksWithHrefs.changes,(0,o.of)(null)).pipe((0,O.J)()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=(0,s.D)(t).pipe((0,O.J)()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){const t="paths"in this.routerLinkActiveOptions?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>e.isActive(n.urlTree,t)}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.Y36(un),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(dn,8),r.Y36(hn,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){if(1&e&&(r.Suo(n,dn,5),r.Suo(n,hn,5)),2&e){let e;r.iGM(e=r.CRH())&&(t.links=e),r.iGM(e=r.CRH())&&(t.linksWithHrefs=e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.TTD]}),e})(),mn=(()=>{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.vpe,this.deactivateEvents=new r.vpe,this.name=i||Q,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 gn(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.Y36(nn),r.Y36(r.s_b),r.Y36(r._Vd),r.$8M("name"),r.Y36(r.sBO))},e.\u0275dir=r.lG2({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class gn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Be?this.route:e===nn?this.childContexts:this.parent.get(e,t)}}class _n{}class vn{preload(e,t){return(0,o.of)(null)}}let yn=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=new en(t,n,t=>e.triggerEvent(new V(t)),t=>e.triggerEvent(new q(t)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,g.h)(e=>e instanceof Y),(0,E.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(r.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&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(0,s.D)(n).pipe((0,O.J)(),(0,w.U)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,o.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,A.zg)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(un),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(r.zs3),r.LFG(_n))},e.\u0275prov=r.Yz7({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.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof R?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Y&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof K&&(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 K(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(t){return new(t||e)(r.LFG(un),r.LFG(i.EM),r.LFG(void 0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();const wn=new r.OlP("ROUTER_CONFIGURATION"),xn=new r.OlP("ROUTER_FORROOT_GUARD"),Sn=[i.Ye,{provide:ve,useClass:ye},{provide:un,useFactory:function(e,t,n,i,r,s,o,a={},l,c){const u=new un(null,e,t,n,i,r,s,re(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(e=>{var t,n;null===(t=console.group)||void 0===t||t.call(console,`Router Event: ${e.constructor.name}`),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[ve,nn,i.Ye,r.zs3,r.v3s,r.Sil,Xt,wn,[class{},new r.FiY],[class{},new r.FiY]]},nn,{provide:Be,useFactory:function(e){return e.routerState.root},deps:[un]},{provide:r.v3s,useClass:r.EAV},yn,vn,class{preload(e,t){return t().pipe((0,M.K)(()=>(0,o.of)(null)))}},{provide:wn,useValue:{enableTracing:!1}}];function kn(){return new r.PXZ("Router",un)}let Cn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Sn,An(t),{provide:xn,useFactory:Tn,deps:[[un,new r.FiY,new r.tp0]]},{provide:wn,useValue:n||{}},{provide:i.S$,useFactory:En,deps:[i.lw,[new r.tBr(i.mr),new r.FiY],wn]},{provide:bn,useFactory:Mn,deps:[un,i.EM,wn]},{provide:_n,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:vn},{provide:r.PXZ,multi:!0,useFactory:kn},[Dn,{provide:r.ip1,multi:!0,useFactory:Pn,deps:[Dn]},{provide:On,useFactory:Ln,deps:[Dn]},{provide:r.tb,multi:!0,useExisting:On}]]}}static forChild(t){return{ngModule:e,providers:[An(t)]}}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(xn,8),r.LFG(un,8))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e})();function Mn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new bn(e,t,n)}function En(e,t,n={}){return n.useHash?new i.Do(e,t):new i.b0(e,t)}function Tn(e){return"guarded"}function An(e){return[{provide:r.deG,multi:!0,useValue:e},{provide:Xt,multi:!0,useValue:e}]}let Dn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new m.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(un),i=this.injector.get(wn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,o.of)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(wn),n=this.injector.get(yn),i=this.injector.get(bn),s=this.injector.get(un),o=this.injector.get(r.z2F);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||s.initialNavigation(),n.setUpPreloading(),i.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();function Pn(e){return e.appInitializer.bind(e)}function Ln(e){return e.bootstrapListener.bind(e)}const On=new r.OlP("Router Initializer")},30149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},74294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},15973:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},72452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMsWindow=void 0;var n=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];t.isMsWindow=function(e){if(function(e){return"MSInputMethodContext"in e&&"msCrypto"in e}(e)&&void 0!==e.msCrypto.subtle){var t=e.msCrypto,i=t.getRandomValues,r=t.subtle;return n.map(function(e){return r[e]}).concat(i).every(function(e){return"function"==typeof e})}return!1}},58098:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(7046);i.__exportStar(n(30149),t),i.__exportStar(n(74294),t),i.__exportStar(n(9598),t),i.__exportStar(n(15973),t),i.__exportStar(n(72452),t)},93188:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATA_SHA_256=t.SHA_256_HMAC_ALGO=t.SHA_256_HASH=void 0,t.SHA_256_HASH={name:"SHA-256"},t.SHA_256_HMAC_ALGO={name:"HMAC",hash:t.SHA_256_HASH},t.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},22436:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var i=n(6852),r=n(11872),s=n(96644),o=n(77161),a=n(58098),l=n(22938),c=function(){function e(e){this.hash=o.supportsWebCrypto(l.locateWindow())?new r.Sha256(e):a.isMsWindow(l.locateWindow())?new i.Sha256(e):new s.Sha256(e)}return e.prototype.update=function(e,t){this.hash.update(e,t)},e.prototype.digest=function(){return this.hash.digest()},e}();t.Sha256=c},6852:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var i=n(49584),r=n(93188),s=n(40323),o=n(22938),a=function(){function e(e){e?(this.operation=function(e){return new Promise(function(t,n){var i=o.locateWindow().msCrypto.subtle.importKey("raw",l(e),r.SHA_256_HMAC_ALGO,!1,["sign"]);i.oncomplete=function(){i.result&&t(i.result),n("ImportKey completed without importing key.")},i.onerror=function(){n("ImportKey failed to import key.")}})}(e).then(function(e){return o.locateWindow().msCrypto.subtle.sign(r.SHA_256_HMAC_ALGO,e)}),this.operation.catch(function(){})):this.operation=Promise.resolve(o.locateWindow().msCrypto.subtle.digest("SHA-256"))}return e.prototype.update=function(e){var t=this;i.isEmptyData(e)||(this.operation=this.operation.then(function(n){return n.onerror=function(){t.operation=Promise.reject(new Error("Error encountered updating hash"))},n.process(l(e)),n}),this.operation.catch(function(){}))},e.prototype.digest=function(){return this.operation.then(function(e){return new Promise(function(t,n){e.onerror=function(){n("Error encountered finalizing hash")},e.oncomplete=function(){e.result&&t(new Uint8Array(e.result)),n("Error encountered finalizing hash")},e.finish()})})},e}();function l(e){return"string"==typeof e?s.fromUtf8(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=a},81055:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebCryptoSha256=t.Ie11Sha256=void 0,n(95952).__exportStar(n(22436),t);var i=n(6852);Object.defineProperty(t,"Ie11Sha256",{enumerable:!0,get:function(){return i.Sha256}});var r=n(11872);Object.defineProperty(t,"WebCryptoSha256",{enumerable:!0,get:function(){return r.Sha256}})},49584:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},11872:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var i=n(40323),r=n(49584),s=n(93188),o=n(22938),a=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise(function(t,n){o.locateWindow().crypto.subtle.importKey("raw",l(e),s.SHA_256_HMAC_ALGO,!1,["sign"]).then(t,n)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!r.isEmptyData(e)){var t=l(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return o.locateWindow().crypto.subtle.sign(s.SHA_256_HMAC_ALGO,t,e.toHash).then(function(e){return new Uint8Array(e)})}):r.isEmptyData(this.toHash)?Promise.resolve(s.EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return o.locateWindow().crypto.subtle.digest(s.SHA_256_HASH,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e}();function l(e){return"string"==typeof e?i.fromUtf8(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=a},3119:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawSha256=void 0;var i=n(24311),r=function(){function e(){this.state=Int32Array.from(i.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>i.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===i.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%i.BLOCK_SIZE>=i.BLOCK_SIZE-8){for(var r=this.bufferLength;r>>24&255,s[4*r+1]=this.state[r]>>>16&255,s[4*r+2]=this.state[r]>>>8&255,s[4*r+3]=this.state[r]>>>0&255;return s},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],r=t[1],s=t[2],o=t[3],a=t[4],l=t[5],c=t[6],u=t[7],d=0;d>>17|h<<15)^(h>>>19|h<<13)^h>>>10)+this.temp[d-7]|0)+((((h=this.temp[d-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+this.temp[d-16]|0)}var p=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&l^~a&c)|0)+(u+(i.KEY[d]+this.temp[d]|0)|0)|0,f=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&r^n&s^r&s)|0;u=c,c=l,l=a,a=o+p|0,o=s,s=r,r=n,n=p+f|0}t[0]+=n,t[1]+=r,t[2]+=s,t[3]+=o,t[4]+=a,t[5]+=l,t[6]+=c,t[7]+=u},e}();t.RawSha256=r},24311:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HASHABLE_LENGTH=t.INIT=t.KEY=t.DIGEST_LENGTH=t.BLOCK_SIZE=void 0,t.BLOCK_SIZE=64,t.DIGEST_LENGTH=32,t.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],t.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},96644:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(95952).__exportStar(n(62270),t)},62270:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var i=n(95952),r=n(24311),s=n(3119),o=n(40323),a=function(){function e(e){if(this.hash=new s.RawSha256,e){this.outer=new s.RawSha256;var t=function(e){var t=l(e);if(t.byteLength>r.BLOCK_SIZE){var n=new s.RawSha256;n.update(t),t=n.digest()}var i=new Uint8Array(r.BLOCK_SIZE);return i.set(t),i}(e),n=new Uint8Array(r.BLOCK_SIZE);n.set(t);for(var i=0;i{"use strict";n.r(t),n.d(t,{fromUtf8:()=>i,toUtf8:()=>r});var i=function(e){return"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):function(e){for(var t=[],n=0,i=e.length;n>6|192,63&r|128);else if(n+1>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}else t.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(t)}(e)},r=function(e){return"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var t="",n=0,i=e.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(31235).__exportStar(n(46083),t)},46083:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsZeroByteGCM=t.supportsSubtleCrypto=t.supportsSecureRandom=t.supportsWebCrypto=void 0;var i=n(31235),r=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function s(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}function o(e){return e&&r.every(function(t){return"function"==typeof e[t]})}t.supportsWebCrypto=function(e){return!(!s(e)||"object"!=typeof e.crypto.subtle)&&o(e.crypto.subtle)},t.supportsSecureRandom=s,t.supportsSubtleCrypto=o,t.supportsZeroByteGCM=function(e){return i.__awaiter(this,void 0,void 0,function(){var t;return i.__generator(this,function(n){switch(n.label){case 0:if(!o(e))return[2,!1];n.label=1;case 1:return n.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return t=n.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},t,new Uint8Array(0))];case 3:return[2,16===n.sent().byteLength];case 4:return n.sent(),[2,!1];case 5:return[2]}})})}},22938:(e,t,n)=>{"use strict";n.r(t),n.d(t,{locateWindow:()=>r});var i={};function r(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}},4564:(e,t,n)=>{"use strict";n.d(t,{fM:()=>h,WG:()=>p});var i=n(31572),r=n(55959),s=n(70653),o=n(4710),a=n(19764),l=n(98720),c=n(44689),u=n(66599),d=n(47727);let h=(()=>{class e{constructor(e,t){var n;this.resetContextObserver={next:()=>this.renderedValue=void 0},this.updateViewContextObserver={next:e=>this.renderedValue=e},this.cdAware=function(e){const t=new r.xQ,n=t.pipe((0,l.x)()).pipe((0,c.w)(t=>{if(null==t)return e.updateViewContextObserver.next(t),e.render(),s.E;const n=(0,o.b)(t)?t:(0,a.D)(t);return e.resetContextObserver.next(),e.render(),n.pipe((0,l.x)(),(0,u.b)(e.updateViewContextObserver),(0,u.b)(()=>e.render()),(0,d.K)(e=>s.E))}));return{nextPotentialObservable(e){t.next(e)},subscribe:()=>n.subscribe()}}({render:(n={cdRef:e,ngZone:t},function(){n.ngZone instanceof i.R0b?n.cdRef.markForCheck():n.cdRef.detectChanges()}),updateViewContextObserver:this.updateViewContextObserver,resetContextObserver:this.resetContextObserver}),this.subscription=this.cdAware.subscribe()}transform(e){return this.cdAware.nextPotentialObservable(e),this.renderedValue}ngOnDestroy(){this.subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.sBO,16),i.Y36(i.R0b,16))},e.\u0275pipe=i.Yjl({name:"ngrxPush",type:e,pure:!1}),e})(),p=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})()},64897:(e,t,n)=>{"use strict";n.d(t,{eX:()=>Y,sQ:()=>X,GW:()=>A,l4:()=>F});var i=n(61593),r=n(31906),s=n(71784),o=n(55959),a=n(96673);class l{call(e,t){return t.subscribe(new c(e))}}class c extends a.L{_next(e){}}var u=n(3103);class d{call(e,t){return t.subscribe(new h(e))}}class h extends a.L{constructor(e){super(e)}_next(e){this.destination.next(u.P.createNext(e))}_error(e){const t=this.destination;t.next(u.P.createError(e)),t.complete()}_complete(){const e=this.destination;e.next(u.P.createComplete()),e.complete()}}var p=n(79996),f=n(19764),m=n(36882);function g(e,t){return t?n=>n.pipe(g((n,i)=>(0,f.D)(e(n,i)).pipe((0,p.U)((e,r)=>t(n,e,i,r))))):t=>t.lift(new _(e))}class _{constructor(e){this.project=e}call(e,t){return t.subscribe(new v(e,this.project))}}class v extends m.Ds{constructor(e,t){super(e),this.project=t,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(e){this.hasSubscription||this.tryNext(e)}tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(t)}_innerSub(e){const t=new m.IY(this),n=this.destination;n.add(t);const i=(0,m.ft)(e,t);i!==t&&n.add(i)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}class y{call(e,t){return t.subscribe(new b(e))}}class b extends a.L{constructor(e){super(e)}_next(e){e.observe(this.destination)}}var w=n(47727),x=n(43835),S=n(94237),k=n(73982),C=n(90611),M=n(31572);const E={dispatch:!0,useEffectsErrorHandler:!0},T="__@ngrx/effects_create__";function A(e,t){const n=e(),i=Object.assign(Object.assign({},E),t);return Object.defineProperty(n,T,{value:i}),n}function D(e){return Object.getOwnPropertyNames(e).filter(t=>!(!e[t]||!e[t].hasOwnProperty(T))&&e[t][T].hasOwnProperty("dispatch")).map(t=>Object.assign({propertyName:t},e[t][T]))}function P(e){return Object.getPrototypeOf(e)}const L="__@ngrx/effects__";function O(e){return(0,i.qC)(I,P)(e)}function I(e){return function(e){return e.constructor.hasOwnProperty(L)}(e)?e.constructor[L]:[]}function R(e,t,n=10){return e.pipe((0,w.K)(i=>(t&&t.handleError(i),n<=1?e:R(e,t,n-1))))}let Y=(()=>{class e extends s.y{constructor(e){super(),e&&(this.source=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}}return e.\u0275fac=function(t){return new(t||e)(M.LFG(i.Y$))},e.\u0275prov=M.Yz7({token:e,factory:e.\u0275fac}),e})();function F(...e){return(0,x.h)(t=>e.some(e=>"string"==typeof e?e===t.type:e.type===t.type))}function j(e){return H(e,"ngrxOnInitEffects")}function H(e,t){return e&&t in e&&"function"==typeof e[t]}const N=new M.OlP("@ngrx/effects Internal Root Guard"),B=new M.OlP("@ngrx/effects User Provided Effects"),U=new M.OlP("@ngrx/effects Internal Root Effects"),z=new M.OlP("@ngrx/effects Root Effects"),V=new M.OlP("@ngrx/effects Internal Feature Effects"),q=new M.OlP("@ngrx/effects Feature Effects"),W=new M.OlP("@ngrx/effects Effects Error Handler");let $=(()=>{class e extends o.xQ{constructor(e,t){super(),this.errorHandler=e,this.effectsErrorHandler=t}addEffects(e){this.next(e)}toActions(){return this.pipe((0,S.v)(P),(0,k.zg)(e=>e.pipe((0,S.v)(G))),(0,k.zg)(e=>{const t=e.pipe(g(e=>{return(t=this.errorHandler,n=this.effectsErrorHandler,e=>{const i=function(e,t,n){const i=P(e).constructor.name,s=(o=e,[O,D].reduce((e,t)=>e.concat(t(o)),[])).map(({propertyName:r,dispatch:s,useEffectsErrorHandler:o})=>{const a="function"==typeof e[r]?e[r]():e[r],c=o?n(a,t):a;return!1===s?c.pipe(function(e){return e.lift(new l)}):c.pipe(function(e){return e.lift(new d)}).pipe((0,p.U)(t=>({effect:e[r],notification:t,propertyName:r,sourceName:i,sourceInstance:e})))});var o;return(0,r.T)(...s)}(e,t,n);return H(e,"ngrxOnRunEffects")?e.ngrxOnRunEffects(i):i})(e);var t,n}),(0,p.U)(e=>(function(e,t){if("N"===e.notification.kind){const n=e.notification.value;!function(e){return"function"!=typeof e&&e&&e.type&&"string"==typeof e.type}(n)&&t.handleError(new Error(`Effect ${function({propertyName:e,sourceInstance:t,sourceName:n}){const i="function"==typeof t[e];return`"${n}.${String(e)}${i?"()":""}"`}(e)} dispatched an invalid action: ${function(e){try{return JSON.stringify(e)}catch(t){return e}}(n)}`))}}(e,this.errorHandler),e.notification)),(0,x.h)(e=>"N"===e.kind&&null!=e.value),function(e){return e.lift(new y)}),n=e.pipe((0,C.q)(1),(0,x.h)(j),(0,p.U)(e=>e.ngrxOnInitEffects()));return(0,r.T)(t,n)}))}}return e.\u0275fac=function(t){return new(t||e)(M.LFG(M.qLn),M.LFG(W))},e.\u0275prov=M.Yz7({token:e,factory:e.\u0275fac}),e})();function G(e){return H(e,"ngrxOnIdentifyEffects")?e.ngrxOnIdentifyEffects():""}let Z=(()=>{class e{constructor(e,t){this.effectSources=e,this.store=t,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(M.LFG($),M.LFG(i.yh))},e.\u0275prov=M.Yz7({token:e,factory:e.\u0275fac}),e})();const K="@ngrx/effects/init";(0,i.PH)(K);let Q=(()=>{class e{constructor(e,t,n,i,r,s,o){this.sources=e,t.start(),i.forEach(t=>e.addEffects(t)),n.dispatch({type:K})}addEffects(e){this.sources.addEffects(e)}}return e.\u0275fac=function(t){return new(t||e)(M.LFG($),M.LFG(Z),M.LFG(i.yh),M.LFG(z),M.LFG(i.cr,8),M.LFG(i.CK,8),M.LFG(N,8))},e.\u0275mod=M.oAB({type:e}),e.\u0275inj=M.cJS({}),e})(),J=(()=>{class e{constructor(e,t,n,i){t.forEach(t=>t.forEach(t=>e.addEffects(t)))}}return e.\u0275fac=function(t){return new(t||e)(M.LFG(Q),M.LFG(q),M.LFG(i.cr,8),M.LFG(i.CK,8))},e.\u0275mod=M.oAB({type:e}),e.\u0275inj=M.cJS({}),e})(),X=(()=>{class e{static forFeature(e=[]){return{ngModule:J,providers:[e,{provide:V,multi:!0,useValue:e},{provide:B,multi:!0,useValue:[]},{provide:q,multi:!0,useFactory:ee,deps:[M.zs3,V,B]}]}}static forRoot(e=[]){return{ngModule:Q,providers:[{provide:W,useValue:R},Z,$,Y,e,{provide:U,useValue:[e]},{provide:N,useFactory:te,deps:[[Z,new M.FiY,new M.tp0],[U,new M.PiD]]},{provide:B,multi:!0,useValue:[]},{provide:z,useFactory:ee,deps:[M.zs3,U,B]}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=M.oAB({type:e}),e.\u0275inj=M.cJS({}),e})();function ee(e,t,n){const i=[];for(const r of t)i.push(...r);for(const r of n)i.push(...r);return function(e,t){return t.map(t=>e.get(t))}(e,i)}function te(e,t){if((1!==t.length||0!==t[0].length)&&e)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},49708:(e,t,n)=>{"use strict";n.d(t,{H:()=>c});var i=n(61593),r=n(31572),s=function(e){return e[e.EntitiesOnly=0]="EntitiesOnly",e[e.Both=1]="Both",e[e.None=2]="None",e}({});function o(e){return function(t,n){const i={ids:[...n.ids],entities:Object.assign({},n.entities)},r=e(t,i);return r===s.Both?Object.assign({},n,i):r===s.EntitiesOnly?Object.assign(Object.assign({},n),{entities:i.entities}):n}}function a(e,t){const n=t(e);return(0,r.X6Q)()&&void 0===n&&console.warn("@ngrx/entity: The entity passed to the `selectId` implementation returned undefined.","You should probably provide your own `selectId` implementation.","The entity that was passed:",e,"The `selectId` implementation:",t.toString()),n}function l(e){function t(t,n){const i=a(t,e);return i in n.entities?s.None:(n.ids.push(i),n.entities[i]=t,s.Both)}function n(e,n){let i=!1;for(const r of e)i=t(r,n)!==s.None||i;return i?s.Both:s.None}function i(e,t){const n=(e instanceof Array?e:t.ids.filter(n=>e(t.entities[n]))).filter(e=>e in t.entities).map(e=>delete t.entities[e]).length>0;return n&&(t.ids=t.ids.filter(e=>e in t.entities)),n?s.Both:s.None}function r(e,t){return l([e],t)}function l(t,n){const i={};return(t=t.filter(e=>e.id in n.entities)).length>0?t.filter(t=>function(t,n,i){const r=Object.assign({},i.entities[n.id],n.changes),s=a(r,e),o=s!==n.id;return o&&(t[n.id]=s,delete i.entities[n.id]),i.entities[s]=r,o}(i,t,n)).length>0?(n.ids=n.ids.map(e=>i[e]||e),s.Both):s.EntitiesOnly:s.None}function c(t,i){const r=[],o=[];for(const n of t){const t=a(n,e);t in i.entities?o.push({id:t,changes:n}):r.push(n)}const c=l(o,i),u=n(r,i);switch(!0){case u===s.None&&c===s.None:return s.None;case u===s.Both||c===s.Both:return s.Both;default:return s.EntitiesOnly}}return{removeAll:function(e){return Object.assign({},e,{ids:[],entities:{}})},addOne:o(t),addMany:o(n),setAll:o(function(e,t){return t.ids=[],t.entities={},n(e,t),s.Both}),setOne:o(function(t,n){const i=a(t,e);return i in n.entities?(n.entities[i]=t,s.EntitiesOnly):(n.ids.push(i),n.entities[i]=t,s.Both)}),updateOne:o(r),updateMany:o(l),upsertOne:o(function(e,t){return c([e],t)}),upsertMany:o(c),removeOne:o(function(e,t){return i([e],t)}),removeMany:o(i),map:o(function(e,t){return l(t.ids.reduce((n,i)=>{const r=e(t.entities[i]);return r!==t.entities[i]&&n.push({id:i,changes:r}),n},[]).filter(({id:e})=>e in t.entities),t)}),mapOne:o(function({map:e,id:t},n){const i=n.entities[t];return i?r({id:t,changes:e(i)},n):s.None})}}function c(e={}){const{selectId:t,sortComparer:n}=Object.assign({sortComparer:!1,selectId:e=>e.id},e),r={getInitialState:function(e={}){return Object.assign({ids:[],entities:{}},e)}},c={getSelectors:function(e){const t=e=>e.ids,n=e=>e.entities,r=(0,i.P1)(t,n,(e,t)=>e.map(e=>t[e])),s=(0,i.P1)(t,e=>e.length);return e?{selectIds:(0,i.P1)(e,t),selectEntities:(0,i.P1)(e,n),selectAll:(0,i.P1)(e,r),selectTotal:(0,i.P1)(e,s)}:{selectIds:t,selectEntities:n,selectAll:r,selectTotal:s}}},u=n?function(e,t){const{removeOne:n,removeMany:i,removeAll:r}=l(e);function c(e,t){return u([e],t)}function u(t,n){const i=t.filter(t=>!(a(t,e)in n.entities));return 0===i.length?s.None:(f(i,n),s.Both)}function d(e,t){return h([e],t)}function h(t,n){const i=[],r=t.filter(t=>function(t,n,i){if(!(n.id in i.entities))return!1;const r=Object.assign({},i.entities[n.id],n.changes),s=a(r,e);return delete i.entities[n.id],t.push(r),s!==n.id}(i,t,n)).length>0;if(0===i.length)return s.None;{const e=n.ids,t=[];return n.ids=n.ids.filter((e,i)=>e in n.entities||(t.push(i),!1)),f(i,n),!r&&t.every(t=>n.ids[t]===e[t])?s.EntitiesOnly:s.Both}}function p(t,n){const i=[],r=[];for(const s of t){const t=a(s,e);t in n.entities?r.push({id:t,changes:s}):i.push(s)}const o=h(r,n),l=u(i,n);switch(!0){case l===s.None&&o===s.None:return s.None;case l===s.Both||o===s.Both:return s.Both;default:return s.EntitiesOnly}}function f(n,i){n.sort(t);const r=[];let s=0,o=0;for(;s{i.entities[e(t)]=t})}return{removeOne:n,removeMany:i,removeAll:r,addOne:o(c),updateOne:o(d),upsertOne:o(function(e,t){return p([e],t)}),setAll:o(function(e,t){return t.entities={},t.ids=[],u(e,t),s.Both}),setOne:o(function(t,n){const i=a(t,e);return i in n.entities?(n.ids=n.ids.filter(e=>e!==i),f([t],n),s.Both):c(t,n)}),addMany:o(u),updateMany:o(h),upsertMany:o(p),map:o(function(e,t){return h(t.ids.reduce((n,i)=>{const r=e(t.entities[i]);return r!==t.entities[i]&&n.push({id:i,changes:r}),n},[]),t)}),mapOne:o(function({map:e,id:t},n){const i=n.entities[t];return i?d({id:t,changes:e(i)},n):s.None})}}(t,n):l(t);return Object.assign(Object.assign(Object.assign({selectId:t,sortComparer:n},r),c),u)}},77876:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FT:()=>StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(31572),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(61593),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(70653),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(71784),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(40878),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(31906),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(98489),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(26019),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1055),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(43835),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(79996),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(436),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(29085),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(47701),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(47727),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(90611),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(25416),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(44689),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(84698),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(45),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(22728),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2023);class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(e){const t={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},n="function"==typeof e?e():e,i=Object.assign({},t,{features:n.features||!!n.logOnly&&{pause:!0,export:!0,test:!0}||t.features},n);if(i.maxAge&&i.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${i.maxAge}`);return i}const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(e,t){if(this.action=e,this.timestamp=t,this.type=PERFORM_ACTION,void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(e){this.timestamp=e,this.type=RESET}}class Rollback{constructor(e){this.timestamp=e,this.type=ROLLBACK}}class Commit{constructor(e){this.timestamp=e,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(e){this.id=e,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(e,t,n=!0){this.start=e,this.end=t,this.active=n,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(e){this.index=e,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(e){this.actionId=e,this.type=JUMP_TO_ACTION}}class ImportState{constructor(e){this.nextLiftedState=e,this.type=IMPORT_STATE}}class LockChanges{constructor(e){this.status=e,this.type=LOCK_CHANGES}}class PauseRecording{constructor(e){this.status=e,this.type=PAUSE_RECORDING}}let DevtoolsDispatcher=(()=>{class e extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(e)))(n||e)}}(),e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e})();function difference(e,t){return e.filter(e=>t.indexOf(e)<0)}function unliftState(e){const{computedStates:t,currentStateIndex:n}=e;if(n>=t.length){const{state:e}=t[t.length-1];return e}const{state:i}=t[n];return i}function unliftAction(e){return e.actionsById[e.nextActionId-1]}function liftAction(e){return new PerformAction(e,+Date.now())}function sanitizeActions(e,t){return Object.keys(t).reduce((n,i)=>{const r=Number(i);return n[r]=sanitizeAction(e,t[r],r),n},{})}function sanitizeAction(e,t,n){return Object.assign(Object.assign({},t),{action:e(t.action,n)})}function sanitizeStates(e,t){return t.map((t,n)=>({state:sanitizeState(e,t.state,n),error:t.error}))}function sanitizeState(e,t,n){return e(t,n)}function shouldFilterActions(e){return e.predicate||e.actionsSafelist||e.actionsBlocklist}function filterLiftedState(e,t,n,i){const r=[],s={},o=[];return e.stagedActionIds.forEach((a,l)=>{const c=e.actionsById[a];c&&(l&&isActionFiltered(e.computedStates[l],c,t,n,i)||(s[a]=c,r.push(a),o.push(e.computedStates[l])))}),Object.assign(Object.assign({},e),{stagedActionIds:r,actionsById:s,computedStates:o})}function isActionFiltered(e,t,n,i,r){const s=n&&!n(e,t.action),o=i&&!t.action.type.match(i.map(e=>escapeRegExp(e)).join("|")),a=r&&t.action.type.match(r.map(e=>escapeRegExp(e)).join("|"));return s||o||a}function escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension");let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(e,t,n){this.config=t,this.dispatcher=n,this.devtoolsExtension=e,this.createActionStreams()}notify(e,t){if(this.devtoolsExtension)if(e.type===PERFORM_ACTION){if(t.isLocked||t.isPaused)return;const n=unliftState(t);if(shouldFilterActions(this.config)&&isActionFiltered(n,e,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const i=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,n,t.currentStateIndex):n,r=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,e,t.nextActionId):e;this.sendToReduxDevtools(()=>this.extensionConnection.send(r,i))}else{const e=Object.assign(Object.assign({},t),{stagedActionIds:t.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,t.actionsById):t.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,t.computedStates):t.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,e,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(e=>{const t=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=t,t.init(),t.subscribe(t=>e.next(t)),t.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const e=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),t=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(e=>e.type===ExtensionActionTypes.START)),n=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(e=>e.type===ExtensionActionTypes.STOP)),i=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(e=>e.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(e=>this.unwrapAction(e.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(e=>e.type===IMPORT_STATE?this.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(e=>e.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(()=>e),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(e))),r=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(e=>e.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(e=>this.unwrapAction(e.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(n)),s=i.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(n));this.start$=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(n)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>r)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>s))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(e){const t={name:e.name,features:e.features,serialize:e.serialize};return!1!==e.maxAge&&(t.maxAge=e.maxAge),t}sendToReduxDevtools(e){try{e()}catch(t){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",t)}}}return DevtoolsExtension.\u0275fac=function(e){return new(e||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(e,t,n,i,r){if(i)return{state:n,error:"Interrupted by an error up the chain"};let s,o=n;try{o=e(n,t)}catch(a){s=a.toString(),r.handleError(a)}return{state:o,error:s}}function recomputeStates(e,t,n,i,r,s,o,a,l){if(t>=e.length&&e.length===s.length)return e;const c=e.slice(0,t),u=s.length-(l?1:0);for(let d=t;d-1?l:computeNextEntry(n,t,u,h,a);c.push(p)}return l&&c.push(e[e.length-1]),c}function liftInitialState(e,t){return{monitorState:t(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:e,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(e,t,n,i,r={}){return s=>(o,a)=>{let{monitorState:l,actionsById:c,nextActionId:u,stagedActionIds:d,skippedActionIds:h,committedState:p,currentStateIndex:f,computedStates:m,isLocked:g,isPaused:_}=o||t;function v(e){let t=e,n=d.slice(1,t+1);for(let i=0;i-1===n.indexOf(e)),d=[0,...d.slice(t+1)],p=m[t].state,m=m.slice(t),f=f>t?f-t:0}function y(){c={0:liftAction(INIT_ACTION)},u=1,d=[0],h=[],p=m[f].state,f=0,m=[]}o||(c=Object.create(c));let b=0;switch(a.type){case LOCK_CHANGES:g=a.status,b=1/0;break;case PAUSE_RECORDING:_=a.status,_?(d=[...d,u],c[u]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),u++,b=d.length-1,m=m.concat(m[m.length-1]),f===d.length-2&&f++,b=1/0):y();break;case RESET:c={0:liftAction(INIT_ACTION)},u=1,d=[0],h=[],p=e,f=0,m=[];break;case COMMIT:y();break;case ROLLBACK:c={0:liftAction(INIT_ACTION)},u=1,d=[0],h=[],f=0,m=[];break;case TOGGLE_ACTION:{const{id:e}=a,t=h.indexOf(e);h=-1===t?[e,...h]:h.filter(t=>t!==e),b=d.indexOf(e);break}case SET_ACTIONS_ACTIVE:{const{start:e,end:t,active:n}=a,i=[];for(let r=e;rr.maxAge&&(m=recomputeStates(m,b,s,p,c,d,h,n,_),v(d.length-r.maxAge),b=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(m.filter(e=>e.error).length>0)b=0,r.maxAge&&d.length>r.maxAge&&(m=recomputeStates(m,b,s,p,c,d,h,n,_),v(d.length-r.maxAge),b=1/0);else{if(!_&&!g){f===d.length-1&&f++;const e=u++;c[e]=new PerformAction(a,+Date.now()),d=[...d,e],b=d.length-1,m=recomputeStates(m,b,s,p,c,d,h,n,_)}m=m.map(e=>Object.assign(Object.assign({},e),{state:s(e.state,RECOMPUTE_ACTION)})),f=d.length-1,r.maxAge&&d.length>r.maxAge&&v(d.length-r.maxAge),b=1/0}break;default:b=1/0}return m=recomputeStates(m,b,s,p,c,d,h,n,_),l=i(l,a),{monitorState:l,actionsById:c,nextActionId:u,stagedActionIds:d,skippedActionIds:h,committedState:p,currentStateIndex:f,computedStates:m,isLocked:g,isPaused:_}}}let StoreDevtools=(()=>{class e{constructor(e,t,n,i,r,s,o,a){const l=liftInitialState(o,a.monitor),c=liftReducerWith(o,l,s,a.monitor,a),u=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(t.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),i.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),e,i.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.QV)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),d=n.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(c)),h=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),p=u.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(d),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:e},[t,n])=>{let r=n(e,t);return t.type!==PERFORM_ACTION&&shouldFilterActions(a)&&(r=filterLiftedState(r,a.predicate,a.actionsSafelist,a.actionsBlocklist)),i.notify(t,r),{state:r,action:t}},{state:l,action:null})).subscribe(({state:e,action:t})=>{h.next(e),t.type===PERFORM_ACTION&&r.next(t.action)}),f=i.start$.subscribe(()=>{this.refresh()}),m=h.asObservable(),g=m.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=f,this.stateSubscription=p,this.dispatcher=e,this.liftedState=m,this.state=g}dispatch(e){this.dispatcher.next(e)}next(e){this.dispatcher.next(e)}error(e){}complete(){}performAction(e){this.dispatch(new PerformAction(e,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(e){this.dispatch(new ToggleAction(e))}jumpToAction(e){this.dispatch(new JumpToAction(e))}jumpToState(e){this.dispatch(new JumpToState(e))}importState(e){this.dispatch(new ImportState(e))}lockChanges(e){this.dispatch(new LockChanges(e))}pauseRecording(e){this.dispatch(new PauseRecording(e))}}return e.\u0275fac=function(t){return new(t||e)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e})();const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(e,t){return Boolean(e)||t.monitor!==noMonitor}function createReduxDevtoolsExtension(){const e="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&void 0!==window[e]?window[e]:null}function createStateObservable(e){return e.state}let StoreDevtoolsModule=(()=>{class e{static instrument(t={}){return{ngModule:e,providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:t},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.mK,useExisting:DevtoolsDispatcher}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:e}),e.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),e})()},61593:(e,t,n)=>{"use strict";n.d(t,{hg:()=>H,UO:()=>v,qg:()=>_,Y6:()=>x,mK:()=>q,n$:()=>V,Y$:()=>Z,FR:()=>Q,yh:()=>te,CK:()=>Ae,Aw:()=>De,cr:()=>Te,wb:()=>W,qC:()=>U,PH:()=>f,ZF:()=>ue,Lq:()=>je,P1:()=>le,rM:()=>re,on:()=>Fe,Ky:()=>m,Ys:()=>ie});var i=n(31572),r=n(78512),s=n(71784),o=n(55959),a=n(98489),l=n(79996),c=n(45),u=n(22728),d=n(2023),h=n(98720);const p={};function f(e,t){if(p[e]=(p[e]||0)+1,"function"==typeof t)return g(e,(...n)=>Object.assign(Object.assign({},t(...n)),{type:e}));switch(t?t._as:"empty"){case"empty":return g(e,()=>({type:e}));case"props":return g(e,t=>Object.assign(Object.assign({},t),{type:e}));default:throw new Error("Unexpected config.")}}function m(){return{_as:"props",_p:void 0}}function g(e,t){return Object.defineProperty(t,"type",{value:e,writable:!1})}const _="@ngrx/store/init";let v=(()=>{class e extends r.X{constructor(){super({type:_})}next(e){if("function"==typeof e)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(void 0===e)throw new TypeError("Actions must be objects");if(void 0===e.type)throw new TypeError("Actions must have a type property");super.next(e)}complete(){}ngOnDestroy(){super.complete()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const y=[v],b=new i.OlP("@ngrx/store Internal Root Guard"),w=new i.OlP("@ngrx/store Internal Initial State"),x=new i.OlP("@ngrx/store Initial State"),S=new i.OlP("@ngrx/store Reducer Factory"),k=new i.OlP("@ngrx/store Internal Reducer Factory Provider"),C=new i.OlP("@ngrx/store Initial Reducers"),M=new i.OlP("@ngrx/store Internal Initial Reducers"),E=new i.OlP("@ngrx/store Store Features"),T=new i.OlP("@ngrx/store Internal Store Reducers"),A=new i.OlP("@ngrx/store Internal Feature Reducers"),D=new i.OlP("@ngrx/store Internal Feature Configs"),P=new i.OlP("@ngrx/store Internal Store Features"),L=new i.OlP("@ngrx/store Internal Feature Reducers Token"),O=new i.OlP("@ngrx/store Feature Reducers"),I=new i.OlP("@ngrx/store User Provided Meta Reducers"),R=new i.OlP("@ngrx/store Meta Reducers"),Y=new i.OlP("@ngrx/store Internal Resolved Meta Reducers"),F=new i.OlP("@ngrx/store User Runtime Checks Config"),j=new i.OlP("@ngrx/store Internal User Runtime Checks Config"),H=new i.OlP("@ngrx/store Internal Runtime Checks"),N=new i.OlP("@ngrx/store Check if Action types are unique");function B(e,t={}){const n=Object.keys(e),i={};for(let s=0;st(e),n(t))}}function z(e,t){return Array.isArray(t)&&t.length>0&&(e=U.apply(null,[...t,e])),(t,n)=>{const i=e(t);return(e,t)=>i(e=void 0===e?n:e,t)}}class V extends s.y{}class q extends v{}const W="@ngrx/store/update-reducers";let $=(()=>{class e extends r.X{constructor(e,t,n,i){super(i(n,t)),this.dispatcher=e,this.initialState=t,this.reducers=n,this.reducerFactory=i}addFeature(e){this.addFeatures([e])}addFeatures(e){const t=e.reduce((e,{reducers:t,reducerFactory:n,metaReducers:i,initialState:r,key:s})=>{const o="function"==typeof t?function(e){const t=Array.isArray(e)&&e.length>0?U(...e):e=>e;return(e,n)=>(e=t(e),(t,i)=>e(t=void 0===t?n:t,i))}(i)(t,r):z(n,i)(t,r);return e[s]=o,e},{});this.addReducers(t)}removeFeature(e){this.removeFeatures([e])}removeFeatures(e){this.removeReducers(e.map(e=>e.key))}addReducer(e,t){this.addReducers({[e]:t})}addReducers(e){this.reducers=Object.assign(Object.assign({},this.reducers),e),this.updateReducers(Object.keys(e))}removeReducer(e){this.removeReducers([e])}removeReducers(e){e.forEach(e=>{var t,n;this.reducers=(t=this.reducers,n=e,Object.keys(t).filter(e=>e!==n).reduce((e,n)=>Object.assign(e,{[n]:t[n]}),{}))}),this.updateReducers(e)}updateReducers(e){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:W,features:e})}ngOnDestroy(){this.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(q),i.LFG(x),i.LFG(C),i.LFG(S))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const G=[$,{provide:V,useExisting:$},{provide:q,useExisting:v}];let Z=(()=>{class e extends o.xQ{ngOnDestroy(){this.complete()}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=i.n5z(e)))(n||e)}}(),e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const K=[Z];class Q extends s.y{}let J=(()=>{class e extends r.X{constructor(e,t,n,i){super(i);const r=e.pipe((0,c.QV)(a.N)).pipe((0,u.M)(t)).pipe((0,d.R)(X,{state:i}));this.stateSubscription=r.subscribe(({state:e,action:t})=>{this.next(e),n.next(t)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(v),i.LFG(V),i.LFG(Z),i.LFG(x))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e.INIT=_,e})();function X(e={state:void 0},[t,n]){const{state:i}=e;return{state:n(i,t),action:t}}const ee=[J,{provide:Q,useExisting:J}];let te=(()=>{class e extends s.y{constructor(e,t,n){super(),this.actionsObserver=t,this.reducerManager=n,this.source=e}select(e,...t){return ie.call(null,e,...t)(this)}lift(t){const n=new e(this,this.actionsObserver,this.reducerManager);return n.operator=t,n}dispatch(e){this.actionsObserver.next(e)}next(e){this.actionsObserver.next(e)}error(e){this.actionsObserver.error(e)}complete(){this.actionsObserver.complete()}addReducer(e,t){this.reducerManager.addReducer(e,t)}removeReducer(e){this.reducerManager.removeReducer(e)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(Q),i.LFG(v),i.LFG($))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const ne=[te];function ie(e,t,...n){return function(i){let r;if("string"==typeof e){const s=[t,...n].filter(Boolean);r=i.pipe(function(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return n=>(0,l.U)(function(e,t){return n=>{let i=n;for(let r=0;re(n,t)))}return r.pipe((0,h.x)())}}function re(){return!1}function se(e,t){return e===t}function oe(e,t,n){for(let i=0;ie.release&&"function"==typeof e.release),a=e(function(...e){return s.apply(null,e)}),l=ae(function(e,n){return t.stateFn.apply(null,[e,r,n,a])});return Object.assign(l.memoized,{release:function(){l.reset(),a.reset(),o.forEach(e=>e.release())},projector:a.memoized,setResult:l.setResult,clearResult:l.clearResult})}}(ae)(...e)}function ce(e,t,n,i){if(void 0===n){const n=t.map(t=>t(e));return i.memoized.apply(null,n)}const r=t.map(t=>t(e,n));return i.memoized.apply(null,[...r,n])}function ue(e){return le(t=>{const n=t[e];return!(0,i.X6Q)()||e in t||console.warn(`@ngrx/store: The feature name "${e}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${e}', ...) or StoreModule.forFeature('${e}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),n},e=>e)}const de="https://ngrx.io/guide/store/configuration/runtime-checks";function he(e){return void 0===e}function pe(e){return null===e}function fe(e){return Array.isArray(e)}function me(e){return"object"==typeof e&&null!==e}function ge(e){return"function"==typeof e}function _e(e){Object.freeze(e);const t=ge(e);return Object.getOwnPropertyNames(e).forEach(n=>{if(!n.startsWith("\u0275")&&function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,n)&&(!t||"caller"!==n&&"callee"!==n&&"arguments"!==n)){const t=e[n];!me(t)&&!ge(t)||Object.isFrozen(t)||_e(t)}}),e}function ve(e,t=[]){return(he(e)||pe(e))&&0===t.length?{path:["root"],value:e}:Object.keys(e).reduce((n,i)=>{if(n)return n;const r=e[i];return function(e){return ge(e)&&e.hasOwnProperty("\u0275cmp")}(r)?n:!(he(r)||pe(r)||function(e){return"number"==typeof e}(r)||function(e){return"boolean"==typeof e}(r)||function(e){return"string"==typeof e}(r)||fe(r))&&(function(e){if(!function(e){return me(e)&&!fe(e)}(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}(r)?ve(r,[...t,i]):{path:[...t,i],value:r})},!1)}function ye(e,t){if(!1===e)return;const n=e.path.join("."),i=new Error(`Detected unserializable ${t} at "${n}". ${de}#strict${t}serializability`);throw i.value=e.value,i.unserializablePath=n,i}function be(e){return(0,i.X6Q)()?Object.assign({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},e):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function we({strictActionSerializability:e,strictStateSerializability:t}){return n=>e||t?function(e,t){return function(n,i){t.action(i)&&ye(ve(i),"action");const r=e(n,i);return t.state()&&ye(ve(r),"state"),r}}(n,{action:t=>e&&!Se(t),state:()=>t}):n}function xe({strictActionImmutability:e,strictStateImmutability:t}){return n=>e||t?function(e,t){return function(n,i){const r=t.action(i)?_e(i):i,s=e(n,r);return t.state()?_e(s):s}}(n,{action:t=>e&&!Se(t),state:()=>t}):n}function Se(e){return e.type.startsWith("@ngrx")}function ke({strictActionWithinNgZone:e}){return t=>e?function(e,t){return function(n,r){if(t.action(r)&&!i.R0b.isInAngularZone())throw new Error(`Action '${r.type}' running outside NgZone. ${de}#strictactionwithinngzone`);return e(n,r)}}(t,{action:t=>e&&!Se(t)}):t}function Ce(){return[{provide:N,multi:!0,deps:[H],useFactory:Ee}]}function Me(e){return e}function Ee(e){if(!e.strictActionTypeUniqueness)return;const t=Object.entries(p).filter(([,e])=>e>1).map(([e])=>e);if(t.length)throw new Error(`Action types are registered more than once, ${t.map(e=>`"${e}"`).join(", ")}. ${de}#strictactiontypeuniqueness`)}let Te=(()=>{class e{constructor(e,t,n,i,r,s){}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(v),i.LFG(V),i.LFG(Z),i.LFG(te),i.LFG(b,8),i.LFG(N,8))},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})(),Ae=(()=>{class e{constructor(e,t,n,i,r){this.features=e,this.featureReducers=t,this.reducerManager=n;const s=e.map((e,n)=>{const i=t.shift()[n];return Object.assign(Object.assign({},e),{reducers:i,initialState:Ie(e.initialState)})});n.addFeatures(s)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(P),i.LFG(O),i.LFG($),i.LFG(Te),i.LFG(N,8))},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})(),De=(()=>{class e{static forRoot(e,t={}){return{ngModule:Te,providers:[{provide:b,useFactory:Ye,deps:[[te,new i.FiY,new i.tp0]]},{provide:w,useValue:t.initialState},{provide:x,useFactory:Ie,deps:[w]},{provide:M,useValue:e},{provide:T,useExisting:e instanceof i.OlP?e:M},{provide:C,deps:[i.zs3,M,[new i.tBr(T)]],useFactory:Pe},{provide:I,useValue:t.metaReducers?t.metaReducers:[]},{provide:Y,deps:[R,I],useFactory:Re},{provide:k,useValue:t.reducerFactory?t.reducerFactory:B},{provide:S,deps:[k,Y],useFactory:z},y,G,K,ee,ne,(n=t.runtimeChecks,[{provide:j,useValue:n},{provide:F,useFactory:Me,deps:[j]},{provide:H,deps:[F],useFactory:be},{provide:R,multi:!0,deps:[H],useFactory:xe},{provide:R,multi:!0,deps:[H],useFactory:we},{provide:R,multi:!0,deps:[H],useFactory:ke}]),Ce()]};var n}static forFeature(e,t,n={}){return{ngModule:Ae,providers:[{provide:D,multi:!0,useValue:e instanceof Object?{}:n},{provide:E,multi:!0,useValue:{key:e instanceof Object?e.name:e,reducerFactory:n instanceof i.OlP||!n.reducerFactory?B:n.reducerFactory,metaReducers:n instanceof i.OlP||!n.metaReducers?[]:n.metaReducers,initialState:n instanceof i.OlP||!n.initialState?void 0:n.initialState}},{provide:P,deps:[i.zs3,D,E],useFactory:Le},{provide:A,multi:!0,useValue:e instanceof Object?e.reducer:t},{provide:L,multi:!0,useExisting:t instanceof i.OlP?t:A},{provide:O,multi:!0,deps:[i.zs3,A,[new i.tBr(L)]],useFactory:Oe},Ce()]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})();function Pe(e,t){return t instanceof i.OlP?e.get(t):t}function Le(e,t,n){return n.map((n,r)=>{if(t[r]instanceof i.OlP){const i=e.get(t[r]);return{key:n.key,reducerFactory:i.reducerFactory?i.reducerFactory:B,metaReducers:i.metaReducers?i.metaReducers:[],initialState:i.initialState}}return n})}function Oe(e,t){return t.map(t=>t instanceof i.OlP?e.get(t):t)}function Ie(e){return"function"==typeof e?e():e}function Re(e,t){return e.concat(t)}function Ye(e){if(e)throw new TypeError("StoreModule.forRoot() called twice. Feature modules should use StoreModule.forFeature() instead.");return"guarded"}function Fe(...e){return{reducer:e.pop(),types:e.map(e=>e.type)}}function je(e,...t){const n=new Map;for(const i of t)for(const e of i.types){const t=n.get(e);n.set(e,t?(e,n)=>i.reducer(t(e,n),n):i.reducer)}return function(t=e,i){const r=n.get(i.type);return r?r(t,i):t}}},48160:(e,t,n)=>{"use strict";n.d(t,{Pi:()=>L,Zw:()=>f,aw:()=>I,X$:()=>O,sK:()=>P});var i=n(31572),r=n(40878),s=n(4710),o=n(3148),a=n(47930),l=n(31450),c=n(90611),u=n(68303),d=n(79996),h=n(436),p=n(44689);class f{}let m=(()=>{class e extends f{getTranslation(e){return(0,r.of)({})}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=i.n5z(e)))(n||e)}}(),e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class g{}let _=(()=>{class e{handle(e){return e.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();function v(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(!v(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{b(t[i])?i in e?n[i]=w(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n}class x{}let S=(()=>{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(),!y(e)||!y(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 y(i)?i:e}):e}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=i.n5z(e)))(n||e)}}(),e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class k{}let C=(()=>{class e extends k{compile(e,t){return e}compileTranslations(e,t){return e}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=i.n5z(e)))(n||e)}}(),e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class M{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const E=new i.OlP("USE_STORE"),T=new i.OlP("USE_DEFAULT_LANG"),A=new i.OlP("DEFAULT_LANGUAGE"),D=new i.OlP("USE_EXTEND");let P=(()=>{class e{constructor(e,t,n,r,s,o=!0,a=!1,l=!1,c){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=o,this.isolate=a,this.extend=l,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(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((0,c.q)(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,r.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,c.q)(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),(0,r.of)(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((0,u.d)(1),(0,c.q)(1));return this.loadingTranslations=t.pipe((0,d.U)(t=>this.compiler.compileTranslations(t,e)),(0,u.d)(1),(0,c.q)(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]?w(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={},a=!1;for(let r of t)i[r]=this.getParsedResult(e,r,n),(0,s.b)(i[r])&&(a=!0);if(a){const e=t.map(e=>(0,s.b)(i[e])?i[e]:(0,r.of)(i[e]));return(0,o.D)(e).pipe((0,d.U)(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(!y(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,h.b)(n=>(n=this.getParsedResult(n,e,t),(0,s.b)(n)?n:(0,r.of)(n))));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return(0,s.b)(n)?n:(0,r.of)(n)}}getStreamOnTranslationChange(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');return(0,a.z)((0,l.P)(()=>this.get(e,t)),this.onTranslationChange.pipe((0,p.w)(n=>{const i=this.getParsedResult(n.translations,e,t);return"function"==typeof i.subscribe?i:(0,r.of)(i)})))}stream(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');return(0,a.z)((0,l.P)(()=>this.get(e,t)),this.onLangChange.pipe((0,p.w)(n=>{const i=this.getParsedResult(n.translations,e,t);return(0,s.b)(i)?i:(0,r.of)(i)})))}instant(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if((0,s.b)(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.LFG(M),i.LFG(f),i.LFG(k),i.LFG(x),i.LFG(g),i.LFG(T),i.LFG(E),i.LFG(D),i.LFG(A))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),L=(()=>{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())}set translateParams(e){v(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!==e&&(t.lastKey=e),t.originalContent||(t.originalContent=this.getContent(t)),t.currentValue=y(n)?n:t.originalContent||e,this.setContent(t,this.key?t.currentValue:t.originalContent.replace(e,t.currentValue)),this._ref.markForCheck()};if(y(n)){let t=this.translateService.getParsedResult(n,e,this.currentParams);(0,s.b)(t)?t.subscribe(i):i(t)}else this.translateService.get(e,this.currentParams).subscribe(i)}}getContent(e){return y(e.textContent)?e.textContent:e.data}setContent(e,t){y(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.Y36(P),i.Y36(i.SBq),i.Y36(i.sBO))},e.\u0275dir=i.lG2({type:e,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),e})(),O=(()=>{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);(0,s.b)(r.subscribe)?r.subscribe(i):i(r)}this.translate.get(e,t).subscribe(i)}transform(e,...t){if(!e||!e.length)return e;if(v(e,this.lastKey)&&v(t,this.lastParams))return this.value;let n;if(y(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.Y36(P,16),i.Y36(i.sBO,16))},e.\u0275pipe=i.Yjl({name:"translate",type:e,pure:!1}),e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),I=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:f,useClass:m},t.compiler||{provide:k,useClass:C},t.parser||{provide:x,useClass:S},t.missingTranslationHandler||{provide:g,useClass:_},M,{provide:E,useValue:t.isolate},{provide:T,useValue:t.useDefaultLang},{provide:D,useValue:t.extend},{provide:A,useValue:t.defaultLanguage},P]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:f,useClass:m},t.compiler||{provide:k,useClass:C},t.parser||{provide:x,useClass:S},t.missingTranslationHandler||{provide:g,useClass:_},{provide:E,useValue:t.isolate},{provide:T,useValue:t.useDefaultLang},{provide:D,useValue:t.extend},{provide:A,useValue:t.defaultLanguage},P]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})()},41587:(e,t,n)=>{"use strict";n.d(t,{he:()=>h,Lh:()=>d});var i=n(4710),r=n(40878),s=n(436),o=n(94237),a=n(73982),l=n(44689),c=n(47727),u=n(79996);function d(e){return t=>t.pipe(f(),(0,s.b)(p(e.run,e.onError)))}function h(e){return t=>e.id?t.pipe(f(),(0,o.v)(([t,n])=>e.id(t,n))).pipe((0,a.zg)(t=>t.pipe((0,l.w)(p(e.run,e.onError))))):t.pipe(f(),(0,s.b)(p(e.run,e.onError)))}function p(e,t){return([n,i])=>{try{return m(e(n,i)).pipe((0,c.K)(e=>m(t(n,e))))}catch(r){return m(t(n,r))}}}function f(){return e=>e.pipe((0,u.U)(e=>{const[t,n]=function(e){let t,n;return e instanceof Array?[t,n]=e:t=e,[t,n]}(e);return[t,n]}))}function m(e){return(0,i.b)(e)?e:e?(0,r.of)(e):(0,r.of)()}},31435:(e,t,n)=>{"use strict";var i=n(4109),r=n(54294),s=n(78298),o=n(32021),a=n(4793),l=n(23962),c=n(25778),u=n(12294),d=n(94410);e.exports=_,_.prototype.validate=function(e,t){var n;if("string"==typeof e){if(!(n=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var i=this._addSchema(e);n=i.validate||this._compile(i)}var r=n(t);return!0!==n.$async&&(this.errors=n.errors),r},_.prototype.compile=function(e,t){var n=this._addSchema(e,void 0,t);return n.validate||this._compile(n)},_.prototype.addSchema=function(e,t,n,i){if(Array.isArray(e)){for(var s=0;s{"use strict";var t=e.exports=function(){this._cache={}};t.prototype.put=function(e,t){this._cache[e]=t},t.prototype.get=function(e){return this._cache[e]},t.prototype.del=function(e){delete this._cache[e]},t.prototype.clear=function(){this._cache={}}},75264:(e,t,n)=>{"use strict";var i=n(84411).MissingRef;e.exports=function e(t,n,r){var s=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof n&&(r=n,n=void 0);var o=a(t).then(function(){var e=s._addSchema(t,void 0,n);return e.validate||l(e)});return r&&o.then(function(e){r(null,e)},r),o;function a(t){var n=t.$schema;return n&&!s.getSchema(n)?e.call(s,{$ref:n},!0):Promise.resolve()}function l(e){try{return s._compile(e)}catch(t){if(t instanceof i)return function(t){var i=t.missingSchema;if(c(i))throw new Error("Schema "+i+" is loaded but "+t.missingRef+" cannot be resolved");var r=s._loadingSchemas[i];return r||(r=s._loadingSchemas[i]=s._opts.loadSchema(i)).then(o,o),r.then(function(e){if(!c(i))return a(e).then(function(){c(i)||s.addSchema(e,i,void 0,n)})}).then(function(){return l(e)});function o(){delete s._loadingSchemas[i]}function c(e){return s._refs[e]||s._schemas[e]}}(t);throw t}}}},84411:(e,t,n)=>{"use strict";var i=n(54294);function r(e,t,n){this.message=n||r.message(e,t),this.missingRef=i.url(e,t),this.missingSchema=i.normalizeId(i.fullPath(this.missingRef))}function s(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}e.exports={Validation:s(function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0}),MissingRef:s(r)},r.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},23962:(e,t,n)=>{"use strict";var i=n(94410),r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,s=[0,31,28,31,30,31,30,31,31,30,31,30,31],o=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,a=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,l=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,c=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,u=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,d=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,h=/^(?:\/(?:[^~/]|~0|~1)*)*$/,p=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,f=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function m(e){return i.copy(m[e="full"==e?"full":"fast"])}function g(e){var t=e.match(r);if(!t)return!1;var n,i=+t[2],o=+t[3];return i>=1&&i<=12&&o>=1&&o<=(2!=i||(n=+t[1])%4!=0||n%100==0&&n%400!=0?s[i]:29)}function _(e,t){var n=e.match(o);if(!n)return!1;var i=n[1],r=n[2],s=n[3];return(i<=23&&r<=59&&s<=59||23==i&&59==r&&60==s)&&(!t||n[5])}e.exports=m,m.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":c,url:u,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:d,"json-pointer":h,"json-pointer-uri-fragment":p,"relative-json-pointer":f},m.full={date:g,time:_,"date-time":function(e){var t=e.split(v);return 2==t.length&&g(t[0])&&_(t[1],!0)},uri:function(e){return y.test(e)&&l.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":c,url:u,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:d,"json-pointer":h,"json-pointer-uri-fragment":p,"relative-json-pointer":f};var v=/t|\s/i,y=/\/|:/,b=/[^\\]\\Z/;function w(e){if(b.test(e))return!1;try{return new RegExp(e),!0}catch(t){return!1}}},4109:(e,t,n)=>{"use strict";var i=n(54294),r=n(94410),s=n(84411),o=n(4793),a=n(52378),l=r.ucs2length,c=n(1486),u=s.Validation;function d(e,t,n){var i=p.call(this,e,t,n);return i>=0?{index:i,compiling:!0}:(this._compilations[i=this._compilations.length]={schema:e,root:t,baseId:n},{index:i,compiling:!1})}function h(e,t,n){var i=p.call(this,e,t,n);i>=0&&this._compilations.splice(i,1)}function p(e,t,n){for(var i=0;i{"use strict";var i=n(92810),r=n(1486),s=n(94410),o=n(32021),a=n(60860);function l(e,t,n){var i=this._refs[n];if("string"==typeof i){if(!this._refs[i])return l.call(this,e,t,i);i=this._refs[i]}if((i=i||this._schemas[n])instanceof o)return f(i.schema,this._opts.inlineRefs)?i.schema:i.validate||this._compile(i);var r,s,a,u=c.call(this,t,n);return u&&(r=u.schema,t=u.root,a=u.baseId),r instanceof o?s=r.validate||e.call(this,r.schema,t,void 0,a):void 0!==r&&(s=f(r,this._opts.inlineRefs)?r:e.call(this,r,t,void 0,a)),s}function c(e,t){var n=i.parse(t),r=v(n),s=_(this._getId(e.schema));if(0===Object.keys(e.schema).length||r!==s){var a=b(r),l=this._refs[a];if("string"==typeof l)return u.call(this,e,l,n);if(l instanceof o)l.validate||this._compile(l),e=l;else{if(!((l=this._schemas[a])instanceof o))return;if(l.validate||this._compile(l),a==b(t))return{schema:l,root:e,baseId:s};e=l}if(!e.schema)return;s=_(this._getId(e.schema))}return h.call(this,n,s,e.schema,e)}function u(e,t,n){var i=c.call(this,e,t);if(i){var r=i.schema,s=i.baseId;e=i.root;var o=this._getId(r);return o&&(s=w(s,o)),h.call(this,n,s,r,e)}}e.exports=l,l.normalizeId=b,l.fullPath=_,l.url=w,l.ids=function(e){var t=b(this._getId(e)),n={"":t},o={"":_(t,!1)},l={},c=this;return a(e,{allKeys:!0},function(e,t,a,u,d,h,p){if(""!==t){var f=c._getId(e),m=n[u],g=o[u]+"/"+d;if(void 0!==p&&(g+="/"+("number"==typeof p?p:s.escapeFragment(p))),"string"==typeof f){f=m=b(m?i.resolve(m,f):f);var _=c._refs[f];if("string"==typeof _&&(_=c._refs[_]),_&&_.schema){if(!r(e,_.schema))throw new Error('id "'+f+'" resolves to more than one schema')}else if(f!=b(g))if("#"==f[0]){if(l[f]&&!r(e,l[f]))throw new Error('id "'+f+'" resolves to more than one schema');l[f]=e}else c._refs[f]=g}n[t]=m,o[t]=g}}),l},l.inlineRef=f,l.schema=c;var d=s.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function h(e,t,n,i){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var r=e.fragment.split("/"),o=1;o{"use strict";var i=n(4899),r=n(94410).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"];return e.all=r(t),e.types=r(["number","integer","string","array","object","boolean","null"]),e.forEach(function(n){n.rules=n.rules.map(function(n){var r;if("object"==typeof n){var s=Object.keys(n)[0];r=n[s],n=s,r.forEach(function(n){t.push(n),e.all[n]=!0})}return t.push(n),e.all[n]={keyword:n,code:i[n],implements:r}}),e.all.$comment={keyword:"$comment",code:i.$comment},n.type&&(e.types[n.type]=n)}),e.keywords=r(t.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),e.custom={},e}},32021:(e,t,n)=>{"use strict";var i=n(94410);e.exports=function(e){i.copy(e,this)}},25994:e=>{"use strict";e.exports=function(e){for(var t,n=0,i=e.length,r=0;r=55296&&t<=56319&&r{"use strict";function i(e,t,n,i){var r=i?" !== ":" === ",s=i?" || ":" && ",o=i?"!":"",a=i?"":"!";switch(e){case"null":return t+r+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+s+"typeof "+t+r+'"object"'+s+a+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+r+'"number"'+s+a+"("+t+" % 1)"+s+t+r+t+(n?s+o+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+r+'"'+e+'"'+(n?s+o+"isFinite("+t+")":"")+")";default:return"typeof "+t+r+'"'+e+'"'}}e.exports={copy:function(e,t){for(var n in t=t||{},e)t[n]=e[n];return t},checkDataType:i,checkDataTypes:function(e,t,n){switch(e.length){case 1:return i(e[0],t,n,!0);default:var r="",o=s(e);for(var a in o.array&&o.object&&(r=o.null?"(":"(!"+t+" || ",r+="typeof "+t+' !== "object")',delete o.null,delete o.array,delete o.object),o.number&&delete o.integer,o)r+=(r?" && ":"")+i(a,t,n,!0);return r}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var n=[],i=0;i=t)throw new Error("Cannot access property/index "+i+" levels up, current level is "+t);return n[t-i]}if(i>t)throw new Error("Cannot access data "+i+" levels up, current level is "+t);if(s="data"+(t-i||""),!r)return s}for(var a=s,c=r.split("/"),u=0;u{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,n){for(var i=0;i{"use strict";var i=n(40038);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:i.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:i.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},40277:e=>{"use strict";e.exports=function(e,t,n){var i,r=" ",s=e.level,o=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(o||""),h=e.opts.$data&&a&&a.$data;h?(r+=" var schema"+s+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",i="schema"+s):i=a;var p="maximum"==t,f=p?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[f],g=e.opts.$data&&m&&m.$data,_=p?"<":">",v=p?">":"<",y=void 0;if(!h&&"number"!=typeof a&&void 0!==a)throw new Error(t+" must be number");if(!g&&void 0!==m&&"number"!=typeof m&&"boolean"!=typeof m)throw new Error(f+" must be number or boolean");if(g){var b,w=e.util.getData(m.$data,o,e.dataPathArr),x="exclusive"+s,S="exclType"+s,k="exclIsNumber"+s,C="' + "+(E="op"+s)+" + '";r+=" var schemaExcl"+s+" = "+w+"; ",y=f,(b=b||[]).push(r+=" var "+x+"; var "+S+" = typeof "+(w="schemaExcl"+s)+"; if ("+S+" != 'boolean' && "+S+" != 'undefined' && "+S+" != 'number') { "),r="",!1!==e.createErrors?(r+=" { keyword: '"+(y||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: '"+f+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var M=r;r=b.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+M+"]); ":" validate.errors = ["+M+"]; return false; ":" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),r+=" "+S+" == 'number' ? ( ("+x+" = "+i+" === undefined || "+w+" "+_+"= "+i+") ? "+d+" "+v+"= "+w+" : "+d+" "+v+" "+i+" ) : ( ("+x+" = "+w+" === true) ? "+d+" "+v+"= "+i+" : "+d+" "+v+" "+i+" ) || "+d+" !== "+d+") { var op"+s+" = "+x+" ? '"+_+"' : '"+_+"='; ",void 0===a&&(y=f,c=e.errSchemaPath+"/"+f,i=w,h=g)}else if(C=_,(k="number"==typeof m)&&h){var E="'"+C+"'";r+=" if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),r+=" ( "+i+" === undefined || "+m+" "+_+"= "+i+" ? "+d+" "+v+"= "+m+" : "+d+" "+v+" "+i+" ) || "+d+" !== "+d+") { "}else k&&void 0===a?(x=!0,y=f,c=e.errSchemaPath+"/"+f,i=m,v+="="):(k&&(i=Math[p?"min":"max"](m,a)),m===(!k||i)?(x=!0,y=f,c=e.errSchemaPath+"/"+f,v+="="):(x=!1,C+="=")),E="'"+C+"'",r+=" if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),r+=" "+d+" "+v+" "+i+" || "+d+" !== "+d+") { ";return y=y||t,(b=b||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(y||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+E+", limit: "+i+", exclusive: "+x+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be "+C+" ",r+=h?"' + "+i:i+"'"),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",M=r,r=b.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+M+"]); ":" validate.errors = ["+M+"]; return false; ":" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { "),r}},44109:e=>{"use strict";e.exports=function(e,t,n){var i,r=" ",s=e.level,o=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(o||""),h=e.opts.$data&&a&&a.$data;if(h?(r+=" var schema"+s+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",i="schema"+s):i=a,!h&&"number"!=typeof a)throw new Error(t+" must be number");r+="if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || ");var p=t,f=f||[];f.push(r+=" "+d+".length "+("maxItems"==t?">":"<")+" "+i+") { "),r="",!1!==e.createErrors?(r+=" { keyword: '"+(p||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have ",r+="maxItems"==t?"more":"fewer",r+=" than ",r+=h?"' + "+i+" + '":""+a,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var m=r;return r=f.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},7533:e=>{"use strict";e.exports=function(e,t,n){var i,r=" ",s=e.level,o=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(o||""),h=e.opts.$data&&a&&a.$data;if(h?(r+=" var schema"+s+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",i="schema"+s):i=a,!h&&"number"!=typeof a)throw new Error(t+" must be number");r+="if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || "),r+=!1===e.opts.unicode?" "+d+".length ":" ucs2length("+d+") ";var p=t,f=f||[];f.push(r+=" "+("maxLength"==t?">":"<")+" "+i+") { "),r="",!1!==e.createErrors?(r+=" { keyword: '"+(p||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be ",r+="maxLength"==t?"longer":"shorter",r+=" than ",r+=h?"' + "+i+" + '":""+a,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var m=r;return r=f.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},20842:e=>{"use strict";e.exports=function(e,t,n){var i,r=" ",s=e.level,o=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(o||""),h=e.opts.$data&&a&&a.$data;if(h?(r+=" var schema"+s+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",i="schema"+s):i=a,!h&&"number"!=typeof a)throw new Error(t+" must be number");r+="if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'number') || ");var p=t,f=f||[];f.push(r+=" Object.keys("+d+").length "+("maxProperties"==t?">":"<")+" "+i+") { "),r="",!1!==e.createErrors?(r+=" { keyword: '"+(p||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have ",r+="maxProperties"==t?"more":"fewer",r+=" than ",r+=h?"' + "+i+" + '":""+a,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var m=r;return r=f.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},43465:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.schema[t],s=e.schemaPath+e.util.getProperty(t),o=e.errSchemaPath+"/"+t,a=!e.opts.allErrors,l=e.util.copy(e),c="";l.level++;var u="valid"+l.level,d=l.baseId,h=!0,p=r;if(p)for(var f,m=-1,g=p.length-1;m0||!1===f:e.util.schemaHasRules(f,e.RULES.all))&&(h=!1,l.schema=f,l.schemaPath=s+"["+m+"]",l.errSchemaPath=o+"/"+m,i+=" "+e.validate(l)+" ",l.baseId=d,a&&(i+=" if ("+u+") { ",c+="}"));return a&&(i+=h?" if (true) { ":" "+c.slice(0,-1)+" "),i}},70826:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="valid"+r,h="errs__"+r,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level;if(o.every(function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0||!1===t:e.util.schemaHasRules(t,e.RULES.all)})){var g=p.baseId;i+=" var "+h+" = errors; var "+d+" = false; ";var _=e.compositeRule;e.compositeRule=p.compositeRule=!0;var v=o;if(v)for(var y,b=-1,w=v.length-1;b{"use strict";e.exports=function(e,t,n){var i=" ",r=e.errSchemaPath+"/"+t,s=e.util.toQuotedString(e.schema[t]);return!0===e.opts.$comment?i+=" console.log("+s+");":"function"==typeof e.opts.$comment&&(i+=" self._opts.$comment("+s+", "+e.util.toQuotedString(r)+", validate.root.schema);"),i}},29171:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="valid"+r,h=e.opts.$data&&o&&o.$data;h&&(i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; "),h||(i+=" var schema"+r+" = validate.schema"+a+";");var p=p||[];p.push(i+="var "+d+" = equal("+u+", schema"+r+"); if (!"+d+") { "),i="",!1!==e.createErrors?(i+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValue: schema"+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be equal to constant' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var f=i;return i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+f+"]); ":" validate.errors = ["+f+"]; return false; ":" var err = "+f+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }",c&&(i+=" else { "),i}},53264:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="valid"+r,h="errs__"+r,p=e.util.copy(e);p.level++;var f="valid"+p.level,m="i"+r,g=p.dataLevel=e.dataLevel+1,_="data"+g,v=e.baseId,y=e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all);if(i+="var "+h+" = errors;var "+d+";",y){var b=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=o,p.schemaPath=a,p.errSchemaPath=l,i+=" var "+f+" = false; for (var "+m+" = 0; "+m+" < "+u+".length; "+m+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);var w=u+"["+m+"]";p.dataPathArr[g]=m;var x=e.validate(p);p.baseId=v,e.util.varOccurences(x,_)<2?i+=" "+e.util.varReplace(x,_,w)+" ":i+=" var "+_+" = "+w+"; "+x+" ",i+=" if ("+f+") break; } ",e.compositeRule=p.compositeRule=b,i+=" if (!"+f+") {"}else i+=" if ("+u+".length == 0) {";var S=S||[];S.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: 'should contain a valid item' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var k=i;return i=S.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+k+"]); ":" validate.errors = ["+k+"]; return false; ":" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { ",y&&(i+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } "),e.opts.allErrors&&(i+=" } "),i}},86628:e=>{"use strict";e.exports=function(e,t,n){var i,r,s=" ",o=e.level,a=e.dataLevel,l=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,d=!e.opts.allErrors,h="data"+(a||""),p="valid"+o,f="errs__"+o,m=e.opts.$data&&l&&l.$data;m?(s+=" var schema"+o+" = "+e.util.getData(l.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=l;var g,_,v,y,b,w=this,x="definition"+o,S=w.definition,k="";if(m&&S.$data){var C=S.validateSchema;s+=" var "+x+" = RULES.custom['"+t+"'].definition; var "+(b="keywordValidate"+o)+" = "+x+".validate;"}else{if(!(y=e.useCustomRule(w,l,e.schema,e)))return;r="validate.schema"+c,b=y.code,g=S.compile,_=S.inline,v=S.macro}var M=b+".errors",E="i"+o,T="ruleErr"+o,A=S.async;if(A&&!e.async)throw new Error("async keyword in sync schema");if(_||v||(s+=M+" = null;"),s+="var "+f+" = errors;var "+p+";",m&&S.$data&&(k+="}",s+=" if ("+r+" === undefined) { "+p+" = true; } else { ",C&&(k+="}",s+=" "+p+" = "+x+".validateSchema("+r+"); if ("+p+") { ")),_)s+=S.statements?" "+y.validate+" ":" "+p+" = "+y.validate+"; ";else if(v){var D=e.util.copy(e);k="",D.level++;var P="valid"+D.level;D.schema=y.validate,D.schemaPath="";var L=e.compositeRule;e.compositeRule=D.compositeRule=!0;var O=e.validate(D).replace(/validate\.schema/g,b);e.compositeRule=D.compositeRule=L,s+=" "+O}else{(F=F||[]).push(s),s="",s+=" "+b+".call( ",s+=e.opts.passContext?"this":"self",s+=g||!1===S.schema?" , "+h+" ":" , "+r+" , "+h+" , validate.schema"+e.schemaPath+" ",s+=" , (dataPath || '')",'""'!=e.errorPath&&(s+=" + "+e.errorPath);var I=a?"data"+(a-1||""):"parentData",R=a?e.dataPathArr[a]:"parentDataProperty",Y=s+=" , "+I+" , "+R+" , rootData ) ";s=F.pop(),!1===S.errors?(s+=" "+p+" = ",A&&(s+="await "),s+=Y+"; "):s+=A?" var "+(M="customErrors"+o)+" = null; try { "+p+" = await "+Y+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+M+" = e.errors; else throw e; } ":" "+M+" = null; "+p+" = "+Y+"; "}if(S.modifying&&(s+=" if ("+I+") "+h+" = "+I+"["+R+"];"),s+=""+k,S.valid)d&&(s+=" if (true) { ");else{var F;s+=" if ( ",void 0===S.valid?(s+=" !",s+=v?""+P:""+p):s+=" "+!S.valid+" ",i=w.keyword,(F=F||[]).push(s+=") { "),(F=F||[]).push(s=""),s="",!1!==e.createErrors?(s+=" { keyword: '"+(i||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+w.keyword+"' } ",!1!==e.opts.messages&&(s+=" , message: 'should pass \""+w.keyword+"\" keyword validation' "),e.opts.verbose&&(s+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),s+=" } "):s+=" {} ";var j=s;s=F.pop();var H=s+=!e.compositeRule&&d?e.async?" throw new ValidationError(["+j+"]); ":" validate.errors = ["+j+"]; return false; ":" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";s=F.pop(),_?S.errors?"full"!=S.errors&&(s+=" for (var "+E+"="+f+"; "+E+"{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="errs__"+r,h=e.util.copy(e),p="";h.level++;var f="valid"+h.level,m={},g={},_=e.opts.ownProperties;for(w in o)if("__proto__"!=w){var v=o[w],y=Array.isArray(v)?g:m;y[w]=v}i+="var "+d+" = errors;";var b=e.errorPath;for(var w in i+="var missing"+r+";",g)if((y=g[w]).length){if(i+=" if ( "+u+e.util.getProperty(w)+" !== undefined ",_&&(i+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(w)+"') "),c){i+=" && ( ";var x=y;if(x)for(var S=-1,k=x.length-1;S0||!1===v:e.util.schemaHasRules(v,e.RULES.all))&&(i+=" "+f+" = true; if ( "+u+e.util.getProperty(w)+" !== undefined ",_&&(i+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(w)+"') "),i+=") { ",h.schema=v,h.schemaPath=a+e.util.getProperty(w),h.errSchemaPath=l+"/"+e.util.escapeFragment(w),i+=" "+e.validate(h)+" ",h.baseId=R,i+=" } ",c&&(i+=" if ("+f+") { ",p+="}"));return c&&(i+=" "+p+" if ("+d+" == errors) {"),i}},34083:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="valid"+r,h=e.opts.$data&&o&&o.$data;h&&(i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ");var p="i"+r,f="schema"+r;h||(i+=" var "+f+" = validate.schema"+a+";"),i+="var "+d+";",h&&(i+=" if (schema"+r+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+r+")) "+d+" = false; else {"),i+=d+" = false;for (var "+p+"=0; "+p+"<"+f+".length; "+p+"++) if (equal("+u+", "+f+"["+p+"])) { "+d+" = true; break; }",h&&(i+=" } ");var m=m||[];m.push(i+=" if (!"+d+") { "),i="",!1!==e.createErrors?(i+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValues: schema"+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var g=i;return i=m.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+g+"]); ":" validate.errors = ["+g+"]; return false; ":" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }",c&&(i+=" else { "),i}},3366:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||"");if(!1===e.opts.format)return c&&(i+=" if (true) { "),i;var d,h=e.opts.$data&&o&&o.$data;h?(i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ",d="schema"+r):d=o;var p=e.opts.unknownFormats,f=Array.isArray(p);if(h)i+=" var "+(m="format"+r)+" = formats["+d+"]; var "+(g="isObject"+r)+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+(_="formatType"+r)+" = "+g+" && "+m+".type || 'string'; if ("+g+") { ",e.async&&(i+=" var async"+r+" = "+m+".async; "),i+=" "+m+" = "+m+".validate; } if ( ",h&&(i+=" ("+d+" !== undefined && typeof "+d+" != 'string') || "),i+=" (","ignore"!=p&&(i+=" ("+d+" && !"+m+" ",f&&(i+=" && self._opts.unknownFormats.indexOf("+d+") == -1 "),i+=") || "),i+=" ("+m+" && "+_+" == '"+n+"' && !(typeof "+m+" == 'function' ? ",i+=e.async?" (async"+r+" ? await "+m+"("+u+") : "+m+"("+u+")) ":" "+m+"("+u+") ",i+=" : "+m+".test("+u+"))))) {";else{var m;if(!(m=e.formats[o])){if("ignore"==p)return e.logger.warn('unknown format "'+o+'" ignored in schema at path "'+e.errSchemaPath+'"'),c&&(i+=" if (true) { "),i;if(f&&p.indexOf(o)>=0)return c&&(i+=" if (true) { "),i;throw new Error('unknown format "'+o+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,_=(g="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(g){var v=!0===m.async;m=m.validate}if(_!=n)return c&&(i+=" if (true) { "),i;if(v){if(!e.async)throw new Error("async format in sync schema");i+=" if (!(await "+(y="formats"+e.util.getProperty(o)+".validate")+"("+u+"))) { "}else{i+=" if (! ";var y="formats"+e.util.getProperty(o);g&&(y+=".validate"),i+="function"==typeof m?" "+y+"("+u+") ":" "+y+".test("+u+") ",i+=") { "}}var b=b||[];b.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",i+=h?""+d:""+e.util.toQuotedString(o),i+=" } ",!1!==e.opts.messages&&(i+=" , message: 'should match format \"",i+=h?"' + "+d+" + '":""+e.util.escapeQuotes(o),i+="\"' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+a:""+e.util.toQuotedString(o),i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var w=i;return i=b.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+w+"]); ":" validate.errors = ["+w+"]; return false; ":" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { "),i}},86404:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="valid"+r,h="errs__"+r,p=e.util.copy(e);p.level++;var f="valid"+p.level,m=e.schema.then,g=e.schema.else,_=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0||!1===m:e.util.schemaHasRules(m,e.RULES.all)),v=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0||!1===g:e.util.schemaHasRules(g,e.RULES.all)),y=p.baseId;if(_||v){var b;p.createErrors=!1,p.schema=o,p.schemaPath=a,p.errSchemaPath=l,i+=" var "+h+" = errors; var "+d+" = true; ";var w=e.compositeRule;e.compositeRule=p.compositeRule=!0,i+=" "+e.validate(p)+" ",p.baseId=y,p.createErrors=!0,i+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.compositeRule=p.compositeRule=w,_?(i+=" if ("+f+") { ",p.schema=e.schema.then,p.schemaPath=e.schemaPath+".then",p.errSchemaPath=e.errSchemaPath+"/then",i+=" "+e.validate(p)+" ",p.baseId=y,i+=" "+d+" = "+f+"; ",_&&v?i+=" var "+(b="ifClause"+r)+" = 'then'; ":b="'then'",i+=" } ",v&&(i+=" else { ")):i+=" if (!"+f+") { ",v&&(p.schema=e.schema.else,p.schemaPath=e.schemaPath+".else",p.errSchemaPath=e.errSchemaPath+"/else",i+=" "+e.validate(p)+" ",p.baseId=y,i+=" "+d+" = "+f+"; ",_&&v?i+=" var "+(b="ifClause"+r)+" = 'else'; ":b="'else'",i+=" } "),i+=" if (!"+d+") { var err = ",!1!==e.createErrors?(i+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+b+" } ",!1!==e.opts.messages&&(i+=" , message: 'should match \"' + "+b+" + '\" schema' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(i+=e.async?" throw new ValidationError(vErrors); ":" validate.errors = vErrors; return false; "),i+=" } ",c&&(i+=" else { ")}else c&&(i+=" if (true) { ");return i}},4899:(e,t,n)=>{"use strict";e.exports={$ref:n(42828),allOf:n(43465),anyOf:n(70826),$comment:n(80174),const:n(29171),contains:n(53264),dependencies:n(84825),enum:n(34083),format:n(3366),if:n(86404),items:n(59939),maximum:n(40277),minimum:n(40277),maxItems:n(44109),minItems:n(44109),maxLength:n(7533),minLength:n(7533),maxProperties:n(20842),minProperties:n(20842),multipleOf:n(35031),not:n(44262),oneOf:n(83399),pattern:n(6003),properties:n(72974),propertyNames:n(90200),required:n(46309),uniqueItems:n(64755),validate:n(52378)}},59939:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="valid"+r,h="errs__"+r,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,g="i"+r,_=p.dataLevel=e.dataLevel+1,v="data"+_,y=e.baseId;if(i+="var "+h+" = errors;var "+d+";",Array.isArray(o)){var b=e.schema.additionalItems;if(!1===b){i+=" "+d+" = "+u+".length <= "+o.length+"; ";var w=l;l=e.errSchemaPath+"/additionalItems";var x=x||[];x.push(i+=" if (!"+d+") { "),i="",!1!==e.createErrors?(i+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+o.length+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have more than "+o.length+" items' "),e.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var S=i;i=x.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+S+"]); ":" validate.errors = ["+S+"]; return false; ":" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l=w,c&&(f+="}",i+=" else { ")}var k=o;if(k)for(var C,M=-1,E=k.length-1;M0||!1===C:e.util.schemaHasRules(C,e.RULES.all)){i+=" "+m+" = true; if ("+u+".length > "+M+") { ";var T=u+"["+M+"]";p.schema=C,p.schemaPath=a+"["+M+"]",p.errSchemaPath=l+"/"+M,p.errorPath=e.util.getPathExpr(e.errorPath,M,e.opts.jsonPointers,!0),p.dataPathArr[_]=M;var A=e.validate(p);p.baseId=y,e.util.varOccurences(A,v)<2?i+=" "+e.util.varReplace(A,v,T)+" ":i+=" var "+v+" = "+T+"; "+A+" ",i+=" } ",c&&(i+=" if ("+m+") { ",f+="}")}"object"==typeof b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))&&(p.schema=b,p.schemaPath=e.schemaPath+".additionalItems",p.errSchemaPath=e.errSchemaPath+"/additionalItems",i+=" "+m+" = true; if ("+u+".length > "+o.length+") { for (var "+g+" = "+o.length+"; "+g+" < "+u+".length; "+g+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),T=u+"["+g+"]",p.dataPathArr[_]=g,A=e.validate(p),p.baseId=y,e.util.varOccurences(A,v)<2?i+=" "+e.util.varReplace(A,v,T)+" ":i+=" var "+v+" = "+T+"; "+A+" ",c&&(i+=" if (!"+m+") break; "),i+=" } } ",c&&(i+=" if ("+m+") { ",f+="}"))}else(e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all))&&(p.schema=o,p.schemaPath=a,p.errSchemaPath=l,i+=" for (var "+g+" = 0; "+g+" < "+u+".length; "+g+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),T=u+"["+g+"]",p.dataPathArr[_]=g,A=e.validate(p),p.baseId=y,e.util.varOccurences(A,v)<2?i+=" "+e.util.varReplace(A,v,T)+" ":i+=" var "+v+" = "+T+"; "+A+" ",c&&(i+=" if (!"+m+") break; "),i+=" }");return c&&(i+=" "+f+" if ("+h+" == errors) {"),i}},35031:e=>{"use strict";e.exports=function(e,t,n){var i,r=" ",s=e.level,o=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(o||""),h=e.opts.$data&&a&&a.$data;if(h?(r+=" var schema"+s+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",i="schema"+s):i=a,!h&&"number"!=typeof a)throw new Error(t+" must be number");r+="var division"+s+";if (",h&&(r+=" "+i+" !== undefined && ( typeof "+i+" != 'number' || "),r+=" (division"+s+" = "+d+" / "+i+", ",r+=e.opts.multipleOfPrecision?" Math.abs(Math.round(division"+s+") - division"+s+") > 1e-"+e.opts.multipleOfPrecision+" ":" division"+s+" !== parseInt(division"+s+") ",r+=" ) ",h&&(r+=" ) ");var p=p||[];p.push(r+=" ) { "),r="",!1!==e.createErrors?(r+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be multiple of ",r+=h?"' + "+i:i+"'"),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var f=r;return r=p.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+f+"]); ":" validate.errors = ["+f+"]; return false; ":" var err = "+f+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},44262:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="errs__"+r,h=e.util.copy(e);h.level++;var p="valid"+h.level;if(e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all)){h.schema=o,h.schemaPath=a,h.errSchemaPath=l,i+=" var "+d+" = errors; ";var f,m=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.createErrors=!1,h.opts.allErrors&&(f=h.opts.allErrors,h.opts.allErrors=!1),i+=" "+e.validate(h)+" ",h.createErrors=!0,f&&(h.opts.allErrors=f),e.compositeRule=h.compositeRule=m;var g=g||[];g.push(i+=" if ("+p+") { "),i="",!1!==e.createErrors?(i+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be valid' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var _=i;i=g.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+_+"]); ":" validate.errors = ["+_+"]; return false; ":" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",e.opts.allErrors&&(i+=" } ")}else i+=" var err = ",!1!==e.createErrors?(i+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be valid' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(i+=" if (false) { ");return i}},83399:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="valid"+r,h="errs__"+r,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,g=p.baseId,_="prevValid"+r,v="passingSchemas"+r;i+="var "+h+" = errors , "+_+" = false , "+d+" = false , "+v+" = null; ";var y=e.compositeRule;e.compositeRule=p.compositeRule=!0;var b=o;if(b)for(var w,x=-1,S=b.length-1;x0||!1===w:e.util.schemaHasRules(w,e.RULES.all))?(p.schema=w,p.schemaPath=a+"["+x+"]",p.errSchemaPath=l+"/"+x,i+=" "+e.validate(p)+" ",p.baseId=g):i+=" var "+m+" = true; ",x&&(i+=" if ("+m+" && "+_+") { "+d+" = false; "+v+" = ["+v+", "+x+"]; } else { ",f+="}"),i+=" if ("+m+") { "+d+" = "+_+" = true; "+v+" = "+x+"; }";return e.compositeRule=p.compositeRule=y,i+=f+"if (!"+d+") { var err = ",!1!==e.createErrors?(i+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+v+" } ",!1!==e.opts.messages&&(i+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(i+=e.async?" throw new ValidationError(vErrors); ":" validate.errors = vErrors; return false; "),i+="} else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }",e.opts.allErrors&&(i+=" } "),i}},6003:e=>{"use strict";e.exports=function(e,t,n){var i,r=" ",s=e.level,o=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(o||""),h=e.opts.$data&&a&&a.$data;h?(r+=" var schema"+s+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",i="schema"+s):i=a;var p=h?"(new RegExp("+i+"))":e.usePattern(a);r+="if ( ",h&&(r+=" ("+i+" !== undefined && typeof "+i+" != 'string') || ");var f=f||[];f.push(r+=" !"+p+".test("+d+") ) { "),r="",!1!==e.createErrors?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { pattern: ",r+=h?""+i:""+e.util.toQuotedString(a),r+=" } ",!1!==e.opts.messages&&(r+=" , message: 'should match pattern \"",r+=h?"' + "+i+" + '":""+e.util.escapeQuotes(a),r+="\"' "),e.opts.verbose&&(r+=" , schema: ",r+=h?"validate.schema"+l:""+e.util.toQuotedString(a),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var m=r;return r=f.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},72974:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="errs__"+r,h=e.util.copy(e),p="";h.level++;var f="valid"+h.level,m="key"+r,g="idx"+r,_=h.dataLevel=e.dataLevel+1,v="data"+_,y="dataProperties"+r,b=Object.keys(o||{}).filter(O),w=e.schema.patternProperties||{},x=Object.keys(w).filter(O),S=e.schema.additionalProperties,k=b.length||x.length,C=!1===S,M="object"==typeof S&&Object.keys(S).length,E=e.opts.removeAdditional,T=C||M||E,A=e.opts.ownProperties,D=e.baseId,P=e.schema.required;if(P&&(!e.opts.$data||!P.$data)&&P.length8)i+=" || validate.schema"+a+".hasOwnProperty("+m+") ";else{var I=b;if(I)for(var R=-1,Y=I.length-1;R0||!1===J:e.util.schemaHasRules(J,e.RULES.all)){var X=e.util.getProperty(Z),ee=(q=u+X,$&&void 0!==J.default);if(h.schema=J,h.schemaPath=a+X,h.errSchemaPath=l+"/"+e.util.escapeFragment(Z),h.errorPath=e.util.getPath(e.errorPath,Z,e.opts.jsonPointers),h.dataPathArr[_]=e.util.toQuotedString(Z),W=e.validate(h),h.baseId=D,e.util.varOccurences(W,v)<2){W=e.util.varReplace(W,v,q);var te=q}else te=v,i+=" var "+v+" = "+q+"; ";if(ee)i+=" "+W+" ";else{if(L&&L[Z]){i+=" if ( "+te+" === undefined ",A&&(i+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Z)+"') "),i+=") { "+f+" = false; ",N=e.errorPath,U=l;var ne,ie=e.util.escapeQuotes(Z);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(N,Z,e.opts.jsonPointers)),l=e.errSchemaPath+"/required",(ne=ne||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+ie+"' } ",!1!==e.opts.messages&&(i+=" , message: '",i+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+ie+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",z=i,i=ne.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+z+"]); ":" validate.errors = ["+z+"]; return false; ":" var err = "+z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=U,e.errorPath=N,i+=" } else { "}else c?(i+=" if ( "+te+" === undefined ",A&&(i+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Z)+"') "),i+=") { "+f+" = true; } else { "):(i+=" if ("+te+" !== undefined ",A&&(i+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Z)+"') "),i+=" ) { ");i+=" "+W+" } "}}c&&(i+=" if ("+f+") { ",p+="}")}}if(x.length){var re=x;if(re)for(var se,oe=-1,ae=re.length-1;oe0||!1===J:e.util.schemaHasRules(J,e.RULES.all))&&(h.schema=J,h.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(se),h.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(se),i+=A?" "+y+" = "+y+" || Object.keys("+u+"); for (var "+g+"=0; "+g+"<"+y+".length; "+g+"++) { var "+m+" = "+y+"["+g+"]; ":" for (var "+m+" in "+u+") { ",i+=" if ("+e.usePattern(se)+".test("+m+")) { ",h.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers),q=u+"["+m+"]",h.dataPathArr[_]=m,W=e.validate(h),h.baseId=D,e.util.varOccurences(W,v)<2?i+=" "+e.util.varReplace(W,v,q)+" ":i+=" var "+v+" = "+q+"; "+W+" ",c&&(i+=" if (!"+f+") break; "),i+=" } ",c&&(i+=" else "+f+" = true; "),i+=" } ",c&&(i+=" if ("+f+") { ",p+="}"))}return c&&(i+=" "+p+" if ("+d+" == errors) {"),i}},90200:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="errs__"+r,h=e.util.copy(e);h.level++;var p="valid"+h.level;if(i+="var "+d+" = errors;",e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all)){h.schema=o,h.schemaPath=a,h.errSchemaPath=l;var f="key"+r,m="idx"+r,g="i"+r,_="' + "+f+" + '",v="data"+(h.dataLevel=e.dataLevel+1),y="dataProperties"+r,b=e.opts.ownProperties,w=e.baseId;b&&(i+=" var "+y+" = undefined; "),i+=b?" "+y+" = "+y+" || Object.keys("+u+"); for (var "+m+"=0; "+m+"<"+y+".length; "+m+"++) { var "+f+" = "+y+"["+m+"]; ":" for (var "+f+" in "+u+") { ",i+=" var startErrs"+r+" = errors; ";var x=f,S=e.compositeRule;e.compositeRule=h.compositeRule=!0;var k=e.validate(h);h.baseId=w,e.util.varOccurences(k,v)<2?i+=" "+e.util.varReplace(k,v,x)+" ":i+=" var "+v+" = "+x+"; "+k+" ",e.compositeRule=h.compositeRule=S,i+=" if (!"+p+") { for (var "+g+"=startErrs"+r+"; "+g+"{"use strict";e.exports=function(e,t,n){var i,r,s=" ",o=e.dataLevel,a=e.schema[t],l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),d="valid"+e.level;if("#"==a||"#/"==a)e.isRoot?(i=e.async,r="validate"):(i=!0===e.root.schema.$async,r="root.refVal[0]");else{var h=e.resolveRef(e.baseId,a,e.isRoot);if(void 0===h){var p=e.MissingRefError.message(e.baseId,a);if("fail"==e.opts.missingRefs){e.logger.error(p),(_=_||[]).push(s),s="",!1!==e.createErrors?(s+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { ref: '"+e.util.escapeQuotes(a)+"' } ",!1!==e.opts.messages&&(s+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(a)+"' "),e.opts.verbose&&(s+=" , schema: "+e.util.toQuotedString(a)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),s+=" } "):s+=" {} ";var f=s;s=_.pop(),s+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+f+"]); ":" validate.errors = ["+f+"]; return false; ":" var err = "+f+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(s+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,a,p);e.logger.warn(p),c&&(s+=" if (true) { ")}}else if(h.inline){var m=e.util.copy(e);m.level++;var g="valid"+m.level;m.schema=h.schema,m.schemaPath="",m.errSchemaPath=a,s+=" "+e.validate(m).replace(/validate\.schema/g,h.code)+" ",c&&(s+=" if ("+g+") { ")}else i=!0===h.$async||e.async&&!1!==h.$async,r=h.code}if(r){var _;(_=_||[]).push(s),s="",s+=e.opts.passContext?" "+r+".call(this, ":" "+r+"( ",s+=" "+u+", (dataPath || '')",'""'!=e.errorPath&&(s+=" + "+e.errorPath);var v=s+=" , "+(o?"data"+(o-1||""):"parentData")+" , "+(o?e.dataPathArr[o]:"parentDataProperty")+", rootData) ";if(s=_.pop(),i){if(!e.async)throw new Error("async schema referenced by sync schema");c&&(s+=" var "+d+"; "),s+=" try { await "+v+"; ",c&&(s+=" "+d+" = true; "),s+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",c&&(s+=" "+d+" = false; "),s+=" } ",c&&(s+=" if ("+d+") { ")}else s+=" if (!"+v+") { if (vErrors === null) vErrors = "+r+".errors; else vErrors = vErrors.concat("+r+".errors); errors = vErrors.length; } ",c&&(s+=" else { ")}return s}},46309:e=>{"use strict";e.exports=function(e,t,n){var i=" ",r=e.level,s=e.dataLevel,o=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(s||""),d="valid"+r,h=e.opts.$data&&o&&o.$data;h&&(i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ");var p="schema"+r;if(!h)if(o.length0||!1===y:e.util.schemaHasRules(y,e.RULES.all))||(f[f.length]=g)}}else f=o;if(h||f.length){var b=e.errorPath,w=h||f.length>=e.opts.loopRequired,x=e.opts.ownProperties;if(c)if(i+=" var missing"+r+"; ",w){h||(i+=" var "+p+" = validate.schema"+a+"; ");var S="' + "+(A="schema"+r+"["+(E="i"+r)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(b,A,e.opts.jsonPointers)),i+=" var "+d+" = true; ",h&&(i+=" if (schema"+r+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+r+")) "+d+" = false; else {"),i+=" for (var "+E+" = 0; "+E+" < "+p+".length; "+E+"++) { "+d+" = "+u+"["+p+"["+E+"]] !== undefined ",x&&(i+=" && Object.prototype.hasOwnProperty.call("+u+", "+p+"["+E+"]) "),i+="; if (!"+d+") break; } ",h&&(i+=" } "),(C=C||[]).push(i+=" if (!"+d+") { "),i="",!1!==e.createErrors?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(i+=" , message: '",i+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+S+"\\'",i+="' "),e.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var k=i;i=C.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+k+"]); ":" validate.errors = ["+k+"]; return false; ":" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { "}else{i+=" if ( ";var C,M=f;if(M)for(var E=-1,T=M.length-1;E{"use strict";e.exports=function(e,t,n){var i,r=" ",s=e.level,o=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,d="data"+(o||""),h="valid"+s,p=e.opts.$data&&a&&a.$data;if(p?(r+=" var schema"+s+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",i="schema"+s):i=a,(a||p)&&!1!==e.opts.uniqueItems){p&&(r+=" var "+h+"; if ("+i+" === false || "+i+" === undefined) "+h+" = true; else if (typeof "+i+" != 'boolean') "+h+" = false; else { "),r+=" var i = "+d+".length , "+h+" = true , j; if (i > 1) { ";var f=e.schema.items&&e.schema.items.type,m=Array.isArray(f);!f||"object"==f||"array"==f||m&&(f.indexOf("object")>=0||f.indexOf("array")>=0)?r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+d+"[i], "+d+"[j])) { "+h+" = false; break outer; } } } ":(r+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[i]; ",r+=" if ("+e.util["checkDataType"+(m?"s":"")](f,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(r+=" if (typeof item == 'string') item = '\"' + item; "),r+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "),r+=" } ",p&&(r+=" } ");var g=g||[];g.push(r+=" if (!"+h+") { "),r="",!1!==e.createErrors?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(r+=" , schema: ",r+=p?"validate.schema"+l:""+a,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var _=r;r=g.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+_+"]); ":" validate.errors = ["+_+"]; return false; ":" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { ")}else u&&(r+=" if (true) { ");return r}},52378:e=>{"use strict";e.exports=function(e,t,n){var i="",r=!0===e.schema.$async,s=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),o=e.self._getId(e.schema);if(e.opts.strictKeywords){var a=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(a){var l="unknown keyword: "+a;if("log"!==e.opts.strictKeywords)throw new Error(l);e.logger.warn(l)}}if(e.isTop&&(i+=" var validate = ",r&&(e.async=!0,i+="async "),i+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",o&&(e.opts.sourceCode||e.opts.processCode)&&(i+=" /*# sourceURL="+o+" */ ")),"boolean"==typeof e.schema||!s&&!e.schema.$ref){var c=e.level,u=e.dataLevel,d=e.schema[t="false schema"],h=e.schemaPath+e.util.getProperty(t),p=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,m="data"+(u||""),g="valid"+c;if(!1===e.schema){e.isTop?f=!0:i+=" var "+g+" = false; ",(V=V||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: 'boolean schema is false' "),e.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),i+=" } "):i+=" {} ";var _=i;i=V.pop(),i+=!e.compositeRule&&f?e.async?" throw new ValidationError(["+_+"]); ":" validate.errors = ["+_+"]; return false; ":" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else i+=e.isTop?r?" return data; ":" validate.errors = null; return true; ":" var "+g+" = true; ";return e.isTop&&(i+=" }; return validate; "),i}if(e.isTop){var v=e.isTop;if(c=e.level=0,u=e.dataLevel=0,m="data",e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var y="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(y);e.logger.warn(y)}i+=" var vErrors = null; ",i+=" var errors = 0; ",i+=" if (rootData === undefined) rootData = data; "}else{if(c=e.level,m="data"+((u=e.dataLevel)||""),o&&(e.baseId=e.resolve.url(e.baseId,o)),r&&!e.async)throw new Error("async schema in sync schema");i+=" var errs_"+c+" = errors;"}g="valid"+c,f=!e.opts.allErrors;var b="",w="",x=e.schema.type,S=Array.isArray(x);if(x&&e.opts.nullable&&!0===e.schema.nullable&&(S?-1==x.indexOf("null")&&(x=x.concat("null")):"null"!=x&&(x=[x,"null"],S=!0)),S&&1==x.length&&(x=x[0],S=!1),e.schema.$ref&&s){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(s=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(i+=" "+e.RULES.all.$comment.code(e,"$comment")),x){if(e.opts.coerceTypes)var k=e.util.coerceToTypes(e.opts.coerceTypes,x);var C=e.RULES.types[x];if(k||S||!0===C||C&&!K(C)){if(h=e.schemaPath+".type",p=e.errSchemaPath+"/type",h=e.schemaPath+".type",p=e.errSchemaPath+"/type",i+=" if ("+e.util[S?"checkDataTypes":"checkDataType"](x,m,e.opts.strictNumbers,!0)+") { ",k){var M="dataType"+c,E="coerced"+c;i+=" var "+M+" = typeof "+m+"; var "+E+" = undefined; ","array"==e.opts.coerceTypes&&(i+=" if ("+M+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+M+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+E+" = "+m+"; } "),i+=" if ("+E+" !== undefined) ; ";var T=k;if(T)for(var A,D=-1,P=T.length-1;D{"use strict";var i=/^[a-z_$][a-z0-9_$-]*$/i,r=n(86628),s=n(43534);e.exports={add:function(e,t){var n=this.RULES;if(n.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!i.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var s=t.type;if(Array.isArray(s))for(var o=0;o{"use strict";__webpack_require__.d(__webpack_exports__,{Tg:()=>AuthConfig,zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(31572),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(61511),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(29063),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(12483),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(55959),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(40878),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(19764),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(3875),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(31225),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(31305),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(31906),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(43835),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(66599),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(47701),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(60509),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(44689),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(79996),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3530),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(47727),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(29085),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(90611),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(73982),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4191),fast_sha256__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(fast_sha256__WEBPACK_IMPORTED_MODULE_0__);module=__webpack_require__.hmd(module);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class e extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(e)))(n||e)}}(),e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:e,factory:e.\u0275fac}),e})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class e{constructor(){this.data=new Map}getItem(e){return this.data.get(e)}removeItem(e){this.data.delete(e)}setItem(e,t){this.data.set(e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:e,factory:e.\u0275fac}),e})();class ReceivedTokens{}function b64DecodeUnicode(e){const t=e.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(e){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let t=this.inferHashAlgorithm(e.idTokenHeader),n=yield this.calcHash(e.accessToken,t),i=base64UrlEncode(n.substr(0,n.length/2)),r=e.idTokenClaims.at_hash.replace(/=/g,"");return i!==r&&(console.error("exptected at_hash: "+i),console.error("actual at_hash: "+r)),i===r})}inferHashAlgorithm(e){let t=e.alg;if(!t.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+t);return"sha-"+t.substr(2)}}let UrlHelperService=(()=>{class e{getHashFragmentParams(e){let t=e||window.location.hash;if(t=decodeURIComponent(t),0!==t.indexOf("#"))return{};const n=t.indexOf("?");return t=t.substr(n>-1?n+1:1),this.parseQueryString(t)}parseQueryString(e){const t={};let n,i,r,s,o,a,l;if(null===e)return t;n=e.split("&");for(let c=0;c{location.href=e},e&&Object.assign(this,e)}}class WebHttpUrlEncodingCodec{encodeKey(e){return encodeURIComponent(e)}encodeValue(e){return encodeURIComponent(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function factory(){var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD="function"==typeof define&&__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer;const HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"];var blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e,t){return function(n){return new Sha256(t,!0).update(n)[e]()}},createMethod=function(e){var t=createOutputMethod("hex",e);NODE_JS&&(t=nodeWrap(t,e)),t.create=function(){return new Sha256(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n>6,o[l++]=128|63&s):s<55296||s>=57344?(o[l++]=224|s>>12,o[l++]=128|s>>6&63,o[l++]=128|63&s):(s=65536+((1023&s)<<10|1023&e.charCodeAt(++i)),o[l++]=240|s>>18,o[l++]=128|s>>12&63,o[l++]=128|s>>6&63,o[l++]=128|63&s);e=o}else{if("object"!==r)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR)}e.length>64&&(e=new Sha256(t,!0).update(e).array());var c=[],u=[];for(i=0;i<64;++i){var d=e[i]||0;c[i]=92^d,u[i]=54^d}Sha256.call(this,t,n),this.update(u),this.oKeyPad=c,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR);t=!0}for(var i,r,s=0,o=e.length,a=this.blocks;s>2]|=e[s]<>2]|=i<>2]|=(192|i>>6)<>2]|=(128|63&i)<=57344?(a[r>>2]|=(224|i>>12)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<>2]|=(240|i>>18)<>2]|=(128|i>>12&63)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<=64?(this.block=a[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var e,t,n,i,r,s,o=this.h0,a=this.h1,l=this.h2,c=this.h3,u=this.h4,d=this.h5,h=this.h6,p=this.h7,f=this.blocks;for(e=16;e<64;++e)f[e]=f[e-16]+(((t=f[e-15])>>>7|t<<25)^(t>>>18|t<<14)^t>>>3)+f[e-7]+(((t=f[e-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)<<0;for(s=a&l,e=0;e<64;e+=4)this.first?(this.is224?(n=300032,p=(t=f[0]-1413257819)-150054599<<0,c=t+24177077<<0):(n=704751109,p=(t=f[0]-210244248)-1521486534<<0,c=t+143694565<<0),this.first=!1):(p=c+(t=p+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&d^~u&h)+K[e]+f[e])<<0,c=t+(((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((n=o&a)^o&l^s))<<0),h=l+(t=h+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&u^~p&d)+K[e+1]+f[e+1])<<0,l=t+(((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+((i=c&o)^c&a^n))<<0,d=a+(t=d+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&p^~h&u)+K[e+2]+f[e+2])<<0,a=t+(((l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10))+((r=l&c)^l&o^i))<<0,u=o+(t=u+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&h^~d&p)+K[e+3]+f[e+3])<<0,o=t+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((s=a&l)^a&c^r))<<0;this.h0=this.h0+o<<0,this.h1=this.h1+a<<0,this.h2=this.h2+l<<0,this.h3=this.h3+c<<0,this.h4=this.h4+u<<0,this.h5=this.h5+d<<0,this.h6=this.h6+h<<0,this.h7=this.h7+p<<0},Sha256.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4,s=this.h5,o=this.h6,a=this.h7,l=HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[15&s]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o];return this.is224||(l+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),l},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4,s=this.h5,o=this.h6,a=this.h7,l=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,s>>24&255,s>>16&255,s>>8&255,255&s,o>>24&255,o>>16&255,o>>8&255,255&o];return this.is224||l.push(a>>24&255,a>>16&255,a>>8&255,255&a),l},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(e){if("string"!=typeof e)throw new TypeError("expected string");var t,n=e,i=new Uint8Array(n.length);for(t=0;t{class e{calcHash(e,t){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0___default()(decodeUTF8(e)))})}toHashString2(e){let t="";for(let n of e)t+=String.fromCharCode(n);return t}toHashString(e){const t=new Uint8Array(e);let n="";for(let i of t)n+=String.fromCharCode(i);return n}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:e,factory:e.\u0275fac}),e})(),OAuthService=(()=>{class e extends AuthConfig{constructor(e,t,n,i,r,s,o,a,l,c){var u;super(),this.ngZone=e,this.http=t,this.config=r,this.urlHelper=s,this.logger=o,this.crypto=a,this.dateTimeService=c,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=l,r||(r={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),i&&(this.tokenValidationHandler=i),r&&this.configure(r);try{n?this.setStorage(n):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(d){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",d)}if("undefined"!=typeof window&&void 0!==window.localStorage){const e=null===(u=null===window||void 0===window?void 0:window.navigator)||void 0===u?void 0:u.userAgent;((null==e?void 0:e.includes("MSIE "))||(null==e?void 0:e.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}configure(e){Object.assign(this,new AuthConfig,e),this.config=Object.assign({},new AuthConfig,e),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(e=>"token_received"===e.type)).subscribe(e=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(e={},t,n=!0){let i=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(e=>{"token_received"===e.type?i=!0:"logout"===e.type&&(i=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(e=>"token_expires"===e.type&&(null==t||"any"===t||e.info===t)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(t=>{i&&this.refreshInternal(e,n).catch(e=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(e,t){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(e,t):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(e=null){return this.loadDiscoveryDocument().then(t=>this.tryLogin(e))}loadDiscoveryDocumentAndLogin(e=null){return this.loadDiscoveryDocumentAndTryLogin(e=e||{}).then(t=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof e.state?e.state:""),!1))}debug(...e){this.showDebugInformation&&this.logger.debug.apply(this.logger,e)}validateUrlFromDiscoveryDocument(e){const t=[],n=this.validateUrlForHttps(e),i=this.validateUrlAgainstIssuer(e);return n||t.push("https for all urls required. Also for urls received by discovery."),i||t.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),t}validateUrlForHttps(e){if(!e)return!0;const t=e.toLowerCase();return!1===this.requireHttps||!(!t.match(/^http:\/\/localhost($|[:\/])/)&&!t.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps)||t.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(e,t){if(!e)throw new Error(`'${t}' should not be null`);if(!this.validateUrlForHttps(e))throw new Error(`'${t}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(e){return!this.strictDiscoveryDocumentValidation||!e||e.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(e=>"token_received"===e.type)).subscribe(e=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const e=this.getAccessTokenExpiration(),t=this.getAccessTokenStoredAt(),n=this.calcTimeout(t,e);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(n)).subscribe(e=>{this.ngZone.run(()=>{this.eventsSubject.next(e)})})})}setupIdTokenTimer(){const e=this.getIdTokenExpiration(),t=this.getIdTokenStoredAt(),n=this.calcTimeout(t,e);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(n)).subscribe(e=>{this.ngZone.run(()=>{this.eventsSubject.next(e)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(e,t){const n=this.dateTimeService.now();return Math.max(0,(t-e)*this.timeoutFactor-(n-e))}setStorage(e){this._storage=e,this.configChanged()}loadDiscoveryDocument(e=null){return new Promise((t,n)=>{e||((e=this.issuer||"").endsWith("/")||(e+="/"),e+=".well-known/openid-configuration"),this.validateUrlForHttps(e)?this.http.get(e).subscribe(e=>{if(!this.validateDiscoveryDocument(e))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void n("discovery_document_validation_error");this.loginUrl=e.authorization_endpoint,this.logoutUrl=e.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=e.grant_types_supported,this.issuer=e.issuer,this.tokenEndpoint=e.token_endpoint,this.userinfoEndpoint=e.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=e.jwks_uri,this.sessionCheckIFrameUrl=e.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(e),this.revocationEndpoint=e.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(n=>{const i=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:e,jwks:n});this.eventsSubject.next(i),t(i)}).catch(e=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",e)),n(e)})},e=>{this.logger.error("error loading discovery document",e),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",e)),n(e)}):n("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((e,t)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(t=>{this.jwks=t,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),e(t)},e=>{this.logger.error("error loading jwks",e),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",e)),t(e)}):e(null)})}validateDiscoveryDocument(e){let t;return this.skipIssuerCheck||e.issuer===this.issuer?(t=this.validateUrlFromDiscoveryDocument(e.authorization_endpoint),t.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.end_session_endpoint),t.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.token_endpoint),t.length>0&&this.logger.error("error validating token_endpoint in discovery document",t),t=this.validateUrlFromDiscoveryDocument(e.revocation_endpoint),t.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",t),t=this.validateUrlFromDiscoveryDocument(e.userinfo_endpoint),t.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.jwks_uri),t.length>0?(this.logger.error("error validating jwks_uri in discovery document",t),!1):(this.sessionChecksEnabled&&!e.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+e.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(e,t,n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(e,t,n).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((e,t)=>{const n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:n,observe:"response",responseType:"text"}).subscribe(n=>{if(this.debug("userinfo received",JSON.stringify(n)),n.headers.get("content-type").startsWith("application/json")){let i=JSON.parse(n.body);const r=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!r.sub||i.sub!==r.sub))return void t("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");i=Object.assign({},r,i),this._storage.setItem("id_token_claims_obj",JSON.stringify(i)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),e({info:i})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),e(JSON.parse(n.body))},e=>{this.logger.error("error loading user info",e),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",e)),t(e)})})}fetchTokenUsingPasswordFlow(e,t,n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:e,password:t},n)}fetchTokenUsingGrant(e,t,n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",e).set("scope",this.scope);if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);n=n.set("Authorization","Basic "+e)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const r of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(r,this.customQueryParams[r]);for(const r of Object.keys(t))i=i.set(r,t[r]);return n=n.set("Content-Type","application/x-www-form-urlencoded"),new Promise((e,t)=>{this.http.post(this.tokenEndpoint,i,{headers:n}).subscribe(t=>{this.debug("tokenResponse",t),this.storeAccessTokenResponse(t.access_token,t.refresh_token,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,t.scope,this.extractRecognizedCustomParameters(t)),this.oidc&&t.id_token&&this.processIdToken(t.id_token,t.access_token).then(n=>{this.storeIdToken(n),e(t)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),e(t)},e=>{this.logger.error("Error performing ${grantType} flow",e),this.eventsSubject.next(new OAuthErrorEvent("token_error",e)),t(e)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((e,t)=>{let n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+e)}if(this.useHttpBasicAuth||(n=n.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(n=n.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const r of Object.getOwnPropertyNames(this.customQueryParams))n=n.set(r,this.customQueryParams[r]);this.http.post(this.tokenEndpoint,n,{headers:i}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(e=>e.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(e.id_token,e.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(e=>this.storeIdToken(e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(t=>e)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(e))).subscribe(t=>{this.debug("refresh tokenResponse",t),this.storeAccessTokenResponse(t.access_token,t.refresh_token,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,t.scope,this.extractRecognizedCustomParameters(t)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),e(t)},e=>{this.logger.error("Error refreshing token",e),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",e)),t(e)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=e=>{const t=this.processMessageEventMessage(e);this.tryLogin({customHashFragment:t,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(e=>this.debug("tryLogin during silent refresh failed",e))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(e={},t=!0){const n=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(e.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const i=this.document.getElementById(this.silentRefreshIFrameName);i&&this.document.body.removeChild(i),this.silentRefreshSubject=n.sub;const r=this.document.createElement("iframe");r.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,t,e).then(e=>{r.setAttribute("src",e),this.silentRefreshShowIFrame||(r.style.display="none"),this.document.body.appendChild(r)});const s=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(e=>e instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),o=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(e=>"token_received"===e.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),a=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([s,o,a]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(e=>{if(e instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===e.type||(e=new OAuthErrorEvent("silent_refresh_error",e)),this.eventsSubject.next(e),e;return"token_received"===e.type&&(e=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(e)),e})).toPromise()}initImplicitFlowInPopup(e){return this.initLoginFlowInPopup(e)}initLoginFlowInPopup(e){return e=e||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(t=>new Promise((n,i)=>{let r,s=null;e.windowRef?e.windowRef&&!e.windowRef.closed&&(s=e.windowRef,s.location.href=t):s=window.open(t,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(e));const o=e=>{this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{a(),n(!0)},e=>{a(),i(e)})};s?r=window.setInterval(()=>{s&&!s.closed||(a(),i(new OAuthErrorEvent("popup_closed",{})))},500):i(new OAuthErrorEvent("popup_blocked",{}));const a=()=>{window.clearInterval(r),window.removeEventListener("storage",c),window.removeEventListener("message",l),null!==s&&s.close(),s=null},l=e=>{const t=this.processMessageEventMessage(e);t&&null!==t?(window.removeEventListener("storage",c),o(t)):console.log("false event firing")},c=e=>{"auth_hash"===e.key&&(window.removeEventListener("message",l),o(e.newValue))};window.addEventListener("message",l),window.addEventListener("storage",c)}))}calculatePopupFeatures(e){const t=e.height||470,n=e.width||500,i=window.screenLeft+(window.outerWidth-n)/2;return`location=no,toolbar=no,width=${n},height=${t},top=${window.screenTop+(window.outerHeight-t)/2},left=${i}`}processMessageEventMessage(e){let t="#";if(this.silentRefreshMessagePrefix&&(t+=this.silentRefreshMessagePrefix),!e||!e.data||"string"!=typeof e.data)return;const n=e.data;return n.startsWith(t)?"#"+n.substr(t.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=e=>{const t=e.origin.toLowerCase(),n=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),n.startsWith(t)){switch(e.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",e)}else this.debug("sessionCheckEventListener","wrong origin",t,"expected",n,"event",e)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(e=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(e=>{this.debug("token refresh after session change worked")}).catch(e=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(e=>"silently_refreshed"===e.type||"silent_refresh_timeout"===e.type||"silent_refresh_error"===e.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(e=>{"silently_refreshed"!==e.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const e=this.document.getElementById(this.sessionCheckIFrameName);e&&this.document.body.removeChild(e);const t=this.document.createElement("iframe");t.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),t.setAttribute("src",this.sessionCheckIFrameUrl),t.style.display="none",this.document.body.appendChild(t),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const e=this.document.getElementById(this.sessionCheckIFrameName);e||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const t=this.getSessionState();t||this.stopSessionCheckTimer(),e.contentWindow.postMessage(this.clientId+" "+t,this.issuer)}createLoginUrl(e="",t="",n="",i=!1,r={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const s=this;let o;o=n||this.redirectUri;const a=yield this.createAndSaveNonce();if(e=e?a+this.config.nonceStateSeparator+encodeURIComponent(e):a,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const l=s.loginUrl.indexOf("?")>-1?"&":"?";let c=s.scope;this.oidc&&!c.match(/(^|\s)openid($|\s)/)&&(c="openid "+c);let u=s.loginUrl+l+"response_type="+encodeURIComponent(s.responseType)+"&client_id="+encodeURIComponent(s.clientId)+"&state="+encodeURIComponent(e)+"&redirect_uri="+encodeURIComponent(o)+"&scope="+encodeURIComponent(c);if(this.responseType.includes("code")&&!this.disablePKCE){const[e,t]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",t):this._storage.setItem("PKCE_verifier",t),u+="&code_challenge="+e,u+="&code_challenge_method=S256"}t&&(u+="&login_hint="+encodeURIComponent(t)),s.resource&&(u+="&resource="+encodeURIComponent(s.resource)),s.oidc&&(u+="&nonce="+encodeURIComponent(a)),i&&(u+="&prompt=none");for(const e of Object.keys(r))u+="&"+encodeURIComponent(e)+"="+encodeURIComponent(r[e]);if(this.customQueryParams)for(const e of Object.getOwnPropertyNames(this.customQueryParams))u+="&"+e+"="+encodeURIComponent(this.customQueryParams[e]);return u})}initImplicitFlowInternal(e="",t=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let n={},i=null;"string"==typeof t?i=t:"object"==typeof t&&(n=t),this.createLoginUrl(e,i,null,!1,n).then(this.config.openUri).catch(e=>{console.error("Error in initImplicitFlow",e),this.inImplicitFlow=!1})}initImplicitFlow(e="",t=""){""!==this.loginUrl?this.initImplicitFlowInternal(e,t):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(e=>"discovery_document_loaded"===e.type)).subscribe(n=>this.initImplicitFlowInternal(e,t))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(e){const t=this;if(e.onTokenReceived){const n={idClaims:t.getIdentityClaims(),idToken:t.getIdToken(),accessToken:t.getAccessToken(),state:t.state};e.onTokenReceived(n)}}storeAccessTokenResponse(e,t,n,i,r){if(this._storage.setItem("access_token",e),i&&!Array.isArray(i)?this._storage.setItem("granted_scopes",JSON.stringify(i.split(" "))):i&&Array.isArray(i)&&this._storage.setItem("granted_scopes",JSON.stringify(i)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),n){const e=1e3*n,t=this.dateTimeService.new().getTime()+e;this._storage.setItem("expires_at",""+t)}t&&this._storage.setItem("refresh_token",t),r&&r.forEach((e,t)=>{this._storage.setItem(t,e)})}tryLogin(e=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(e).then(e=>!0):this.tryLoginImplicitFlow(e)}parseQueryString(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):{}}tryLoginCodeFlow(e=null){const t=(e=e||{}).customHashFragment?e.customHashFragment.substring(1):window.location.search,n=this.getCodePartsFromUrl(t),i=n.code,r=n.state,s=n.session_state;if(!e.preventClearHashAfterLogin){const e=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,e)}let[o,a]=this.parseState(r);if(this.state=a,n.error){this.debug("error trying to login"),this.handleLoginError(e,n);const t=new OAuthErrorEvent("code_error",{},n);return this.eventsSubject.next(t),Promise.reject(t)}if(!e.disableNonceCheck){if(!o)return Promise.resolve();if(!e.disableOAuth2StateCheck&&!this.validateNonce(o)){const e=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(e),Promise.reject(e)}return this.storeSessionState(s),i?this.getTokenFromCode(i,e).then(e=>null):Promise.resolve()}}getCodePartsFromUrl(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(e,t){let n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",e).set("redirect_uri",t.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let e;e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),e?n=n.set("code_verifier",e):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(n,t)}fetchAndProcessToken(e,t){t=t||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);n=n.set("Authorization","Basic "+e)}return this.useHttpBasicAuth||(e=e.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(e=e.set("client_secret",this.dummyClientSecret)),new Promise((i,r)=>{if(this.customQueryParams)for(let t of Object.getOwnPropertyNames(this.customQueryParams))e=e.set(t,this.customQueryParams[t]);this.http.post(this.tokenEndpoint,e,{headers:n}).subscribe(e=>{this.debug("refresh tokenResponse",e),this.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,e.scope,this.extractRecognizedCustomParameters(e)),this.oidc&&e.id_token?this.processIdToken(e.id_token,e.access_token,t.disableNonceCheck).then(t=>{this.storeIdToken(t),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),i(e)}).catch(e=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",e)),console.error("Error validating tokens"),console.error(e),r(e)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),i(e))},e=>{console.error("Error getting token",e),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",e)),r(e)})})}tryLoginImplicitFlow(e=null){let t;t=(e=e||{}).customHashFragment?this.urlHelper.getHashFragmentParams(e.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",t);const n=t.state;let[i,r]=this.parseState(n);if(this.state=r,t.error){this.debug("error trying to login"),this.handleLoginError(e,t);const n=new OAuthErrorEvent("token_error",{},t);return this.eventsSubject.next(n),Promise.reject(n)}const s=t.access_token,o=t.id_token,a=t.session_state,l=t.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!s)return Promise.resolve(!1);if(this.requestAccessToken&&!e.disableOAuth2StateCheck&&!n)return Promise.resolve(!1);if(this.oidc&&!o)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!a&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!e.disableNonceCheck&&!this.validateNonce(i)){const e=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(e),Promise.reject(e)}return this.requestAccessToken&&this.storeAccessTokenResponse(s,null,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,l),this.oidc?this.processIdToken(o,s,e.disableNonceCheck).then(t=>e.validationHandler?e.validationHandler({accessToken:s,idClaims:t.idTokenClaims,idToken:t.idToken,state:n}).then(e=>t):t).then(t=>(this.storeIdToken(t),this.storeSessionState(a),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(e),this.inImplicitFlow=!1,!0)).catch(e=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",e)),this.logger.error("Error validating tokens"),this.logger.error(e),Promise.reject(e))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(e),Promise.resolve(!0))}parseState(e){let t=e,n="";if(e){const i=e.indexOf(this.config.nonceStateSeparator);i>-1&&(t=e.substr(0,i),n=e.substr(i+this.config.nonceStateSeparator.length))}return[t,n]}validateNonce(e){let t;return t=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),t===e||(console.error("Validating access_token failed, wrong state/nonce.",t,e),!1)}storeIdToken(e){this._storage.setItem("id_token",e.idToken),this._storage.setItem("id_token_claims_obj",e.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+e.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(e){this._storage.setItem("session_state",e)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(e,t){e.onLoginError&&e.onLoginError(t),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(e=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:e}processIdToken(e,t,n=!1){const i=e.split("."),r=b64DecodeUnicode(this.padBase64(i[0])),s=JSON.parse(r),o=b64DecodeUnicode(this.padBase64(i[1])),a=JSON.parse(o);let l;if(l=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(a.aud)){if(a.aud.every(e=>e!==this.clientId)){const e="Wrong audience: "+a.aud.join(",");return this.logger.warn(e),Promise.reject(e)}}else if(a.aud!==this.clientId){const e="Wrong audience: "+a.aud;return this.logger.warn(e),Promise.reject(e)}if(!a.sub){const e="No sub claim in id_token";return this.logger.warn(e),Promise.reject(e)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==a.sub){const e=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${a.sub}`;return this.logger.warn(e),Promise.reject(e)}if(!a.iat){const e="No iat claim in id_token";return this.logger.warn(e),Promise.reject(e)}if(!this.skipIssuerCheck&&a.iss!==this.issuer){const e="Wrong issuer: "+a.iss;return this.logger.warn(e),Promise.reject(e)}if(!n&&a.nonce!==l){const e="Wrong nonce: "+a.nonce;return this.logger.warn(e),Promise.reject(e)}if(!this.hasOwnProperty("responseType")||"code"!==this.responseType&&"id_token"!==this.responseType||(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!a.at_hash){const e="An at_hash is needed!";return this.logger.warn(e),Promise.reject(e)}const c=this.dateTimeService.now(),u=1e3*a.iat,d=1e3*a.exp,h=this.getClockSkewInMsec();if(u-h>=c||d+h<=c){const e="Token has expired";return console.error(e),console.error({now:c,issuedAtMSec:u,expiresAtMSec:d}),Promise.reject(e)}const p={accessToken:t,idToken:e,jwks:this.jwks,idTokenClaims:a,idTokenHeader:s,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(p).then(t=>({idToken:e,idTokenClaims:a,idTokenClaimsJson:o,idTokenHeader:s,idTokenHeaderJson:r,idTokenExpiresAt:d})):this.checkAtHash(p).then(t=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!t){const e="Wrong at_hash";return this.logger.warn(e),Promise.reject(e)}return this.checkSignature(p).then(t=>{const n={idToken:e,idTokenClaims:a,idTokenClaimsJson:o,idTokenHeader:s,idTokenHeaderJson:r,idTokenExpiresAt:d};return this.disableAtHashCheck?n:this.checkAtHash(p).then(e=>{if(this.requestAccessToken&&!e){const e="Wrong at_hash";return this.logger.warn(e),Promise.reject(e)}return n})})})}getIdentityClaims(){const e=this._storage.getItem("id_token_claims_obj");return e?JSON.parse(e):null}getGrantedScopes(){const e=this._storage.getItem("granted_scopes");return e?JSON.parse(e):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(e){for(;e.length%4!=0;)e+="=";return e}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const e=this._storage.getItem("expires_at"),t=this.dateTimeService.new();return!(e&&parseInt(e,10)=0&&null!==this._storage.getItem(e)?JSON.parse(this._storage.getItem(e)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(e={},t=""){let n=!1;"boolean"==typeof e&&(n=e,e={});const i=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(e=>this._storage.removeItem(e)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl)return;if(n)return;if(!i&&!this.postLogoutRedirectUri)return;let r;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)r=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(i)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});i&&(n=n.set("id_token_hint",i));const s=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";s&&(n=n.set("post_logout_redirect_uri",s),t&&(n=n.set("state",t)));for(let t in e)n=n.set(t,e[t]);r=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+n.toString()}this.config.openUri(r)}createAndSaveNonce(){const e=this;return this.createNonce().then(function(t){return e.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",t):e._storage.setItem("nonce",t),t})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const e=this.document.getElementById(this.silentRefreshIFrameName);e&&e.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const t=this.document.getElementById(this.sessionCheckIFrameName);t&&t.remove()}createNonce(){return new Promise(e=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let n=45,i="";const r="undefined"==typeof self?null:self.crypto||self.msCrypto;if(r){let e=new Uint8Array(n);r.getRandomValues(e),e.map||(e.map=Array.prototype.map),e=e.map(e=>t.charCodeAt(e%t.length)),i=String.fromCharCode.apply(null,e)}else for(;0"discovery_document_loaded"===e.type)).subscribe(n=>this.initCodeFlowInternal(e,t))}initCodeFlowInternal(e="",t={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let n={},i=null;"string"==typeof t?i=t:"object"==typeof t&&(n=t),this.createLoginUrl(e,i,null,!1,n).then(this.config.openUri).catch(e=>{console.error("Error in initAuthorizationCodeFlow"),console.error(e)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const e=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(e,"sha-256")),e]})}extractRecognizedCustomParameters(e){let t=new Map;return this.config.customTokenParameters?(this.config.customTokenParameters.forEach(n=>{e[n]&&t.set(n,JSON.stringify(e[n]))}),t):t}revokeTokenAndLogout(e={},t=!1){let n=this.revocationEndpoint,i=this.getAccessToken(),r=this.getRefreshToken();if(!i)return;let s=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),o=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);o=o.set("Authorization","Basic "+e)}if(this.useHttpBasicAuth||(s=s.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(s=s.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const a of Object.getOwnPropertyNames(this.customQueryParams))s=s.set(a,this.customQueryParams[a]);return new Promise((a,l)=>{let c,u;if(i){let e=s.set("token",i).set("token_type_hint","access_token");c=this.http.post(n,e,{headers:o})}else c=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(r){let e=s.set("token",r).set("token_type_hint","refresh_token");u=this.http.post(n,e,{headers:o})}else u=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);t&&(c=c.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(e=>0===e.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(e))),u=u.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(e=>0===e.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(e)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([c,u]).subscribe(t=>{this.logOut(e),a(t),this.logger.info("Token successfully revoked")},e=>{this.logger.error("Error revoking token",e),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",e)),l(e)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return e.\u0275fac=function(t){return new(t||e)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:e,factory:e.\u0275fac}),e})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(e){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(e)}}let DefaultOAuthInterceptor=(()=>{class e{constructor(e,t,n){this.oAuthService=e,this.errorHandler=t,this.moduleConfig=n}checkUrl(e){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(e):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(t=>e.toLowerCase().startsWith(t.toLowerCase()))}intercept(e,t){const n=e.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(n)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(e=>!!e)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(e=>"token_received"===e.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(e=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(e=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(n=>{if(n){const t=e.headers.set("Authorization","Bearer "+n);e=e.clone({headers:t})}return t.handle(e).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(e=>this.errorHandler.handleError(e)))})):t.handle(e).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(e=>this.errorHandler.handleError(e))):t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:e,factory:e.\u0275fac}),e})();class NullValidationHandler{validateSignature(e){return Promise.resolve(null)}validateAtHash(e){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class e{static forRoot(t=null,n=NullValidationHandler){return{ngModule:e,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:n},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:t},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:e}),e.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),e})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},26698:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),n=t[1];return 3*(t[0]+n)/4-n},t.toByteArray=function(e){var t,n,s=l(e),o=s[0],a=s[1],c=new r(function(e,t,n){return 3*(t+n)/4-n}(0,o,a)),u=0,d=a>0?o-4:o;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,i=e.length,r=i%3,s=[],o=16383,a=0,l=i-r;al?l:a+o));return 1===r?s.push(n[(t=e[i-1])>>2]+n[t<<4&63]+"=="):2===r&&s.push(n[(t=(e[i-2]<<8)+e[i-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),s.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=s.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,i){for(var r,s=[],o=t;o>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},63841:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={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=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i=n(18),r=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,i){void 0===i&&(i=!1);var r=e.getVersionPrecision(t),s=e.getVersionPrecision(n),o=Math.max(r,s),a=0,l=e.map([t,n],function(t){var n=o-e.getVersionPrecision(t),i=t+new Array(n+1).join(".0");return e.map(i.split("."),function(e){return new Array(20-e.length).join("0")+e}).reverse()});for(i&&(a=o-Math.min(r,s)),o-=1;o>=a;){if(l[0][o]>l[1][o])return 1;if(l[0][o]===l[1][o]){if(o===a)return 0;o-=1}else if(l[0][o]1?r-1:0),o=1;o0){var o=Object.keys(n),l=a.default.find(o,function(e){return t.isOS(e)});if(l){var c=this.satisfies(n[l]);if(void 0!==c)return c}var u=a.default.find(o,function(e){return t.isPlatform(e)});if(u){var d=this.satisfies(n[u]);if(void 0!==d)return d}}if(s>0){var h=Object.keys(r),p=a.default.find(h,function(e){return t.isBrowser(e,!0)});if(void 0!==p)return this.compareVersion(r[p])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),i=e.toLowerCase(),r=a.default.getBrowserTypeByAlias(i);return t&&r&&(i=r.toLowerCase()),i===n},t.compareVersion=function(e){var t=[0],n=e,i=!1,r=this.getBrowserVersion();if("string"==typeof r)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(i=!0,n=e.substr(2)):t=[],t.push(">"===e[0]?1:-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(i=!0,n=e.substr(1)),t.indexOf(a.default.compareVersions(r,n,i))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}();t.default=c,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,r=(i=n(17))&&i.__esModule?i:{default:i},s=/version\/(\d+(\.?_?\d+)+)/i,o=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=r.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=r.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=r.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=r.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=r.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=r.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=r.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=r.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=r.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=r.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=r.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=r.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=r.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=r.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=r.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=r.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=r.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=r.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=r.default.getFirstMatch(s,e)||r.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=r.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=r.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=r.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=r.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=r.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=r.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=r.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=r.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=r.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=r.default.getFirstMatch(s,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:r.default.getFirstMatch(t,e),version:r.default.getSecondMatch(t,e)}}}];t.default=o,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,r=(i=n(17))&&i.__esModule?i:{default:i},s=n(18),o=[{test:[/Roku\/DVP/],describe:function(e){var t=r.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:s.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=r.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=r.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=r.default.getWindowsVersionName(t);return{name:s.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:s.OS_MAP.iOS},n=r.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=r.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=r.default.getMacOSVersionName(t),i={name:s.OS_MAP.MacOS,version:t};return n&&(i.versionName=n),i}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=r.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:s.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=r.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=r.default.getAndroidVersionName(t),i={name:s.OS_MAP.Android,version:t};return n&&(i.versionName=n),i}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=r.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:s.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=r.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||r.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||r.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:s.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=r.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=r.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:s.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:s.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=r.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.PlayStation4,version:t}}}];t.default=o,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,r=(i=n(17))&&i.__esModule?i:{default:i},s=n(18);t.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=r.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:s.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=r.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:s.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}}],e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,r=(i=n(17))&&i.__esModule?i:{default:i},s=n(18),o=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:s.ENGINE_MAP.Blink};var t=r.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:s.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:s.ENGINE_MAP.Trident},n=r.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:s.ENGINE_MAP.Presto},n=r.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:s.ENGINE_MAP.Gecko},n=r.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:s.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:s.ENGINE_MAP.WebKit},n=r.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=o,e.exports=t.default}})},23833:(e,t,n)=>{"use strict";var i=n(26698),r=n(42390),s=n(6265);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(e).length;default:if(i)return N(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function g(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function _(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,i,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,i,r){var s,o=1,a=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,a/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r){var u=-1;for(s=n;sa&&(n=a-l),s=n;s>=0;s--){for(var d=!0,h=0;hr&&(i=r):i=r;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var o=0;o>8,r.push(n%256),r.push(i);return r}(t,e.length-n),e,n,i)}function C(e,t,n){return i.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r239?4:c>223?3:c>191?2:1;if(r+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(s=e[r+1]))&&(l=(31&c)<<6|63&s)>127&&(u=l);break;case 3:o=e[r+2],128==(192&(s=e[r+1]))&&128==(192&o)&&(l=(15&c)<<12|(63&s)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[r+2],a=e[r+3],128==(192&(s=e[r+1]))&&128==(192&o)&&128==(192&a)&&(l=(15&c)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(i.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=d}return function(e){var t=e.length;if(t<=E)return String.fromCharCode.apply(String,e);for(var n="",i=0;i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,i,r){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var s=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(t>>>=0),a=Math.min(s,o),c=this.slice(i,r),u=e.slice(t,n),d=0;dr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return x(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function T(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;rr)&&(n=r);for(var s="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,n,i,r,s){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function I(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,s=Math.min(e.length-n,2);r>>8*(i?r:1-r)}function R(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,s=Math.min(e.length-n,4);r>>8*(i?r:3-r)&255}function Y(e,t,n,i,r,s){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,i,s){return s||Y(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function j(e,t,n,i,s){return s||Y(e,0,n,8),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(r*=256);)i+=this[e+--t]*r;return i},l.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var i=this[e],r=1,s=0;++s=(r*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var i=t,r=1,s=this[e+--i];i>0&&(r*=256);)s+=this[e+--i]*r;return s>=(r*=128)&&(s-=Math.pow(2,8*t)),s},l.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){e=+e,t|=0,n|=0,i||O(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+r]=e/s&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);O(this,e,t,n,r-1,-r)}var s=0,o=1,a=0;for(this[t]=255&e;++s>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);O(this,e,t,n,r-1,-r)}var s=n-1,o=1,a=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/o>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(s<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&s.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&s.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function B(e){return i.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}},87065:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaults:()=>i.d,Animation:()=>a,Animations:()=>c,ArcElement:()=>rt,BarController:()=>M,BarElement:()=>xt,BasePlatform:()=>ne,BasicPlatform:()=>ie,BubbleController:()=>E,CategoryScale:()=>ln,Chart:()=>Je,DatasetController:()=>w,Decimation:()=>Mt,DomPlatform:()=>ge,DoughnutController:()=>T,Element:()=>_e,Filler:()=>Bt,Interaction:()=>V,Legend:()=>Vt,LineController:()=>A,LineElement:()=>ht,LinearScale:()=>un,LogarithmicScale:()=>hn,PieController:()=>P,PointElement:()=>ft,PolarAreaController:()=>D,RadarController:()=>L,RadialLinearScale:()=>yn,Scale:()=>Ee,ScatterController:()=>O,Ticks:()=>ye,TimeScale:()=>En,TimeSeriesScale:()=>An,Title:()=>Wt,Tooltip:()=>on,_adapters:()=>F,animator:()=>r,controllers:()=>I,elements:()=>St,layouts:()=>te,plugins:()=>an,registerables:()=>Pn,registry:()=>Ae,scales:()=>Dn});var i=n(25233),r=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,i){const r=t.duration;t.listeners[i].forEach(i=>i({chart:e,initial:t.initial,numSteps:r,currentStep:Math.min(n-t.start,r)}))}_refresh(){const e=this;e._request||(e._running=!0,e._request=i.r.call(window,()=>{e._update(),e._request=null,e._running&&e._refresh()}))}_update(e=Date.now()){const t=this;let n=0;t._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const s=i.items;let o,a=s.length-1,l=!1;for(;a>=0;--a)o=s[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(e),l=!0):(s[a]=s[s.length-1],s.pop());l&&(r.draw(),t._notify(r,i,e,"progress")),s.length||(i.running=!1,t._notify(r,i,e,"complete"),i.initial=!1),n+=s.length}),t._lastDate=e,0===n&&(t._running=!1)}_getAnims(e){const t=this._charts;let n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const n=t.items;let i=n.length-1;for(;i>=0;--i)n[i].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}};const s="transparent",o={boolean:(e,t,n)=>n>.5?t:e,color(e,t,n){const r=(0,i.c)(e||s),o=r.valid&&(0,i.c)(t||s);return o&&o.valid?o.mix(r,n).hexString():t},number:(e,t,n)=>e+(t-e)*n};class a{constructor(e,t,n,r){const s=t[n];r=(0,i.a)([e.to,r,s,e.from]);const a=(0,i.a)([e.from,s,r]);this._active=!0,this._fn=e.fn||o[e.type||typeof a],this._easing=i.e[e.easing]||i.e.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){const r=this;if(r._active){r._notify(!1);const s=r._target[r._prop],o=n-r._start,a=r._duration-o;r._start=n,r._duration=Math.floor(Math.max(a,e.duration)),r._total+=o,r._loop=!!e.loop,r._to=(0,i.a)([e.to,t,s,e.from]),r._from=(0,i.a)([e.from,s,t])}}cancel(){const e=this;e._active&&(e.tick(Date.now()),e._active=!1,e._notify(!1))}tick(e){const t=this,n=e-t._start,i=t._duration,r=t._prop,s=t._from,o=t._loop,a=t._to;let l;if(t._active=s!==a&&(o||n1?2-l:l,l=t._easing(Math.min(1,Math.max(0,l))),t._target[r]=t._fn(s,a,l))}wait(){const e=this._promises||(this._promises=[]);return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){const t=e?"res":"rej",n=this._promises||[];for(let i=0;i"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),i.d.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),i.d.describe("animations",{_fallback:"animation"}),i.d.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}});class c{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!(0,i.i)(e))return;const t=this._properties;Object.getOwnPropertyNames(e).forEach(n=>{const r=e[n];if(!(0,i.i)(r))return;const s={};for(const e of l)s[e]=r[e];((0,i.b)(r.properties)&&r.properties||[n]).forEach(e=>{e!==n&&t.has(e)||t.set(e,s)})})}_animateOptions(e,t){const n=t.options,i=function(e,t){if(!t)return;let n=e.options;if(n)return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n;e.options=t}(e,n);if(!i)return[];const r=this._createAnimations(i,n);return n.$shared&&function(e,t){const n=[],i=Object.keys(t);for(let r=0;r{e.options=n},()=>{}),r}_createAnimations(e,t){const n=this._properties,i=[],r=e.$animations||(e.$animations={}),s=Object.keys(t),o=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if("$"===c.charAt(0))continue;if("options"===c){i.push(...this._animateOptions(e,t));continue}const u=t[c];let d=r[c];const h=n.get(c);if(d){if(h&&d.active()){d.update(h,u,o);continue}d.cancel()}h&&h.duration?(r[c]=d=new a(h,e,c,u),i.push(d)):e[c]=u}return i}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const n=this._createAnimations(e,t);return n.length?(r.add(this._chart,n),!0):void 0}}function u(e,t){const n=e&&e.options||{},i=n.reverse,r=void 0===n.min?t:0,s=void 0===n.max?t:0;return{start:i?s:r,end:i?r:s}}function d(e,t){const n=[],i=e._getSortedDatasetMetas(t);let r,s;for(r=0,s=i.length;r0||!n&&t<0)return i.index}return null}function g(e,t){const{chart:n,_cachedMeta:i}=e,r=n._stacks||(n._stacks={}),{iScale:s,vScale:o,index:a}=i,l=s.axis,c=o.axis,u=function(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}(s,o,i),d=t.length;let h;for(let p=0;pn[e].axis===t).shift()}function v(e,t){t=t||e._parsed;for(const n of t){const t=n._stacks;if(!t||void 0===t[e.vScale.id]||void 0===t[e.vScale.id][e.index])return;delete t[e.vScale.id][e.index]}}const y=e=>"reset"===e||"none"===e,b=(e,t)=>t?e:Object.assign({},e);class w{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this.initialize()}initialize(){const e=this,t=e._cachedMeta;e.configure(),e.linkScales(),t._stacked=p(t.vScale,t),e.addElements()}updateIndex(e){this.index=e}linkScales(){const e=this,t=e.chart,n=e._cachedMeta,r=e.getDataset(),s=(e,t,n,i)=>"x"===e?t:"r"===e?i:n,o=n.xAxisID=(0,i.v)(r.xAxisID,_(t,"x")),a=n.yAxisID=(0,i.v)(r.yAxisID,_(t,"y")),l=n.rAxisID=(0,i.v)(r.rAxisID,_(t,"r")),c=n.indexAxis,u=n.iAxisID=s(c,o,a,l),d=n.vAxisID=s(c,a,o,l);n.xScale=e.getScaleForId(o),n.yScale=e.getScaleForId(a),n.rScale=e.getScaleForId(l),n.iScale=e.getScaleForId(u),n.vScale=e.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&(0,i.u)(this._data,this),e._stacked&&v(e)}_dataCheck(){const e=this,t=e.getDataset(),n=t.data||(t.data=[]);(0,i.i)(n)?e._data=function(e){const t=Object.keys(e),n=new Array(t.length);let i,r,s;for(i=0,r=t.length;i0&&r._parsed[e-1];if(!1===n._parsing)r._parsed=s,r._sorted=!0,d=s;else{d=(0,i.b)(s[e])?n.parseArrayData(r,s,e,t):(0,i.i)(s[e])?n.parseObjectData(r,s,e,t):n.parsePrimitiveData(r,s,e,t);const o=()=>null===u[l]||p&&u[l]_||p<_}for(f=0;f=0;--f)if(!v()){n.updateRangeFromParsed(u,e,g,c);break}return u}getAllParsedValues(e){const t=this._cachedMeta._parsed,n=[];let r,s,o;for(r=0,s=t.length;r=0&&er.getContext(n,s),h);return m.$shared&&(m.$shared=c,o[a]=Object.freeze(b(m,c))),m}_resolveAnimations(e,t,n){const i=this,r=i.chart,s=i._cachedDataOpts,o=`animation-${t}`,a=s[o];if(a)return a;let l;if(!1!==r.options.animation){const r=i.chart.config,s=r.datasetAnimationScopeKeys(i._type,t),o=r.getOptionScopes(i.getDataset(),s);l=r.createResolver(o,i.getContext(e,n,t))}const u=new c(r,l&&l.animations);return l&&l._cacheable&&(s[o]=Object.freeze(u)),u}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||y(e)||this.chart._animationsDisabled}updateElement(e,t,n,i){y(i)?Object.assign(e,n):this._resolveAnimations(t,i).update(e,n)}updateSharedOptions(e,t,n){e&&!y(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,i){e.active=i;const r=this.getStyle(t,i);this._resolveAnimations(t,n,i).update(e,{options:!i&&this.getSharedOptions(r)||r})}removeHoverStyle(e,t,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,t,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this,n=t._cachedMeta.data.length,i=t._data.length;i>n?t._insertElements(n,i-n,e):i{for(e.length+=t,a=e.length-1;a>=o;a--)e[a]=e[a-t]};for(l(s),a=e;ae-t))}return e._cache.$bar}(e);let n,r,s,o,a=e._length;const l=()=>{32767!==s&&-32768!==s&&((0,i.h)(o)&&(a=Math.min(a,Math.abs(s-o)||a)),o=s)};for(n=0,r=t.length;nMath.abs(a)&&(l=a,c=o),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:r,end:s,min:o,max:a}}(e,t,n,r):t[n.axis]=n.parse(e,r),t}function k(e,t,n,i){const r=e.iScale,s=e.vScale,o=r.getLabels(),a=r===s,l=[];let c,u,d,h;for(c=n,u=n+i;c0?(g+=e,d-=e):d<0&&(g-=e,d+=e)}return{size:d,base:g,head:u,center:u+d/2}}_calculateBarIndexPixels(e,t){const n=this,r=t.scale,s=n.options,o=s.skipNull,a=(0,i.v)(s.maxBarThickness,1/0);let l,c;if(t.grouped){const r=o?n._getStackCount(e):t.stackCount,u="flex"===s.barThickness?function(e,t,n,i){const r=t.pixels,s=r[e];let o=e>0?r[e-1]:null,a=e=0;--i)n=Math.max(n,e[i].size()/2,t[i]._custom);return n>0&&n}getLabelAndValue(e){const t=this._cachedMeta,{xScale:n,yScale:i}=t,r=this.getParsed(e),s=n.getLabelForValue(r.x),o=i.getLabelForValue(r.y),a=r._custom;return{label:t.label,value:"("+s+", "+o+(a?", "+a:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,i){const r=this,s="reset"===i,{xScale:o,yScale:a}=r._cachedMeta,l=r.resolveDataElementOptions(t,i),c=r.getSharedOptions(l),u=r.includeOptions(i,c);for(let d=t;d""}}}};class T extends w{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const n=this.getDataset().data,i=this._cachedMeta;let r,s;for(r=e,s=e+t;r(0,i.q)(e,l,c)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>(0,i.q)(e,l,c)?-1:Math.min(t,t*n,r,r*n),g=f(0,u,h),_=f(i.H,d,p),v=m(i.P,u,h),y=m(i.P+i.H,d,p);r=(g-v)/2,s=(_-y)/2,o=-(g+v)/2,a=-(_+y)/2}return{ratioX:r,ratioY:s,offsetX:o,offsetY:a}}(h,d,c),_=Math.max(Math.min((r.width-a)/p,(r.height-a)/f)/2,0),v=(0,i.o)(t.options.radius,_),y=(v-Math.max(v*c,0))/t._getVisibleDatasetWeightTotal();t.offsetX=m*v,t.offsetY=g*v,s.total=t.calculateTotal(),t.outerRadius=v-y*t._getRingWeightOffset(t.index),t.innerRadius=Math.max(t.outerRadius-y*u,0),t.updateElements(o,0,o.length,e)}_circumference(e,t){const n=this,r=n.options,s=n._cachedMeta,o=n._getCircumference();return t&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||null===s._parsed[e]?0:n.calculateCircumference(s._parsed[e]*o/i.T)}updateElements(e,t,n,i){const r=this,s="reset"===i,o=r.chart,a=o.chartArea,l=(a.left+a.right)/2,c=(a.top+a.bottom)/2,u=s&&o.options.animation.animateScale,d=u?0:r.innerRadius,h=u?0:r.outerRadius,p=r.resolveDataElementOptions(t,i),f=r.getSharedOptions(p),m=r.includeOptions(i,f);let g,_=r._getRotation();for(g=0;g0&&!isNaN(e)?i.T*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this.chart,n=t.data.labels||[],r=(0,i.p)(this._cachedMeta._parsed[e],t.options.locale);return{label:n[e]||"",value:r}}getMaxBorderWidth(e){const t=this;let n=0;const i=t.chart;let r,s,o,a,l;if(!e)for(r=0,s=i.data.datasets.length;r{const i=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:!e.getDataVisibility(n),index:n}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title:()=>"",label(e){let t=e.label;const n=": "+e.formattedValue;return(0,i.b)(t)?(t=t.slice(),t[0]+=n):t+=n,t}}}}};class A extends w{initialize(){this.enableOptionSharing=!0,super.initialize()}update(e){const t=this,n=t._cachedMeta,{dataset:r,data:s=[],_dataset:o}=n,a=t.chart._animationsDisabled;let{start:l,count:c}=function(e,t,n){const r=t.length;let s=0,o=r;if(e._sorted){const{iScale:a,_parsed:l}=e,c=a.axis,{min:u,max:d,minDefined:h,maxDefined:p}=a.getUserBounds();h&&(s=(0,i.x)(Math.min((0,i.y)(l,a.axis,u).lo,n?r:(0,i.y)(t,c,a.getPixelForValue(u)).lo),0,r-1)),o=p?(0,i.x)(Math.max((0,i.y)(l,a.axis,d).hi+1,n?0:(0,i.y)(t,c,a.getPixelForValue(d)).hi+1),s,r)-s:r-s}return{start:s,count:o}}(n,s,a);t._drawStart=l,t._drawCount=c,function(e){const{xScale:t,yScale:n,_scaleRanges:i}=e,r={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!i)return e._scaleRanges=r,!0;const s=i.xmin!==t.min||i.xmax!==t.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,r),s}(n)&&(l=0,c=s.length),r._decimated=!!o._decimated,r.points=s;const u=t.resolveDatasetElementOptions(e);t.options.showLine||(u.borderWidth=0),u.segment=t.options.segment,t.updateElement(r,void 0,{animated:!a,options:u},e),t.updateElements(s,l,c,e)}updateElements(e,t,n,r){const s=this,o="reset"===r,{xScale:a,yScale:l,_stacked:c}=s._cachedMeta,u=s.resolveDataElementOptions(t,r),d=s.getSharedOptions(u),h=s.includeOptions(r,d),p=s.options.spanGaps,f=(0,i.w)(p)?p:Number.POSITIVE_INFINITY,m=s.chart._animationsDisabled||o||"none"===r;let g=t>0&&s.getParsed(t-1);for(let _=t;_0&&n.x-g.x>f,u.parsed=n,h&&(u.options=d||s.resolveDataElementOptions(_,r)),m||s.updateElement(t,_,u,r),g=n}s.updateSharedOptions(d,r,u)}getMaxOverflow(){const e=this,t=e._cachedMeta,n=t.dataset,i=n.options&&n.options.borderWidth||0,r=t.data||[];if(!r.length)return i;const s=r[0].size(e.resolveDataElementOptions(0)),o=r[r.length-1].size(e.resolveDataElementOptions(r.length-1));return Math.max(i,s,o)/2}draw(){this._cachedMeta.dataset.updateControlPoints(this.chart.chartArea),super.draw()}}A.id="line",A.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},A.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class D extends w{constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}_updateRadius(){const e=this,t=e.chart,n=t.chartArea,i=t.options,r=Math.min(n.right-n.left,n.bottom-n.top),s=Math.max(r/2,0),o=(s-Math.max(i.cutoutPercentage?s/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();e.outerRadius=s-o*e.index,e.innerRadius=e.outerRadius-o}updateElements(e,t,n,r){const s=this,o="reset"===r,a=s.chart,l=s.getDataset(),c=a.options.animation,u=s._cachedMeta.rScale,d=u.xCenter,h=u.yCenter,p=u.getIndexAngle(0)-.5*i.P;let f,m=p;const g=360/s.countVisibleElements();for(f=0;f{!isNaN(e.data[i])&&this.chart.getDataVisibility(i)&&t++}),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?(0,i.t)(this.resolveDataElementOptions(e,t).angle||n):0}}D.id="polarArea",D.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},D.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((t,n)=>{const i=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:!e.getDataVisibility(n),index:n}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title:()=>"",label:e=>e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class P extends T{}P.id="pie",P.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class L extends w{getLabelAndValue(e){const t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(n[t.axis])}}update(e){const t=this,n=t._cachedMeta,i=n.dataset,r=n.data||[],s=n.iScale.getLabels();if(i.points=r,"resize"!==e){const n=t.resolveDatasetElementOptions(e);t.options.showLine||(n.borderWidth=0),t.updateElement(i,void 0,{_loop:!0,_fullLoop:s.length===r.length,options:n},e)}t.updateElements(r,0,r.length,e)}updateElements(e,t,n,i){const r=this,s=r.getDataset(),o=r._cachedMeta.rScale,a="reset"===i;for(let l=t;l"",label:e=>"("+e.label+", "+e.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var I=Object.freeze({__proto__:null,BarController:M,BubbleController:E,DoughnutController:T,LineController:A,PolarAreaController:D,PieController:P,RadarController:L,ScatterController:O});function R(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}class Y{constructor(e){this.options=e||{}}formats(){return R()}parse(e,t){return R()}format(e,t){return R()}add(e,t,n){return R()}diff(e,t,n){return R()}startOf(e,t,n){return R()}endOf(e,t){return R()}}Y.override=function(e){Object.assign(Y.prototype,e)};var F={_date:Y};function j(e,t){return"native"in e?{x:e.x,y:e.y}:(0,i.z)(e,t)}function H(e,t,n,r){const{controller:s,data:o,_sorted:a}=e,l=s._cachedMeta.iScale;if(l&&t===l.axis&&a&&o.length){const e=l._reversePixels?i.B:i.y;if(!r)return e(o,t,n);if(s._sharedOptions){const i=o[0],r="function"==typeof i.getRange&&i.getRange(t);if(r){const i=e(o,t,n-r),s=e(o,t,n+r);return{lo:i.lo,hi:s.hi}}}}return{lo:0,hi:o.length-1}}function N(e,t,n,i,r){const s=e.getSortedVisibleDatasetMetas(),o=n[t];for(let a=0,l=s.length;a{e[a](r[o],i)&&s.push({element:e,datasetIndex:t,index:n}),e.inRange(r.x,r.y,i)&&(l=!0)}),n.intersect&&!l?[]:s}var V={modes:{index(e,t,n,i){const r=j(t,e),s=n.axis||"x",o=n.intersect?B(e,r,s,i):U(e,r,s,!1,i),a=[];return o.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{const t=o[0].index,n=e.data[t];n&&!n.skip&&a.push({element:n,datasetIndex:e.index,index:t})}),a):[]},dataset(e,t,n,i){const r=j(t,e),s=n.axis||"xy";let o=n.intersect?B(e,r,s,i):U(e,r,s,!1,i);if(o.length>0){const t=o[0].datasetIndex,n=e.getDatasetMeta(t).data;o=[];for(let e=0;eB(e,j(t,e),n.axis||"xy",i),nearest:(e,t,n,i)=>U(e,j(t,e),n.axis||"xy",n.intersect,i),x:(e,t,n,i)=>(n.axis="x",z(e,t,n,i)),y:(e,t,n,i)=>(n.axis="y",z(e,t,n,i))}};const q=["left","top","right","bottom"];function W(e,t){return e.filter(e=>e.pos===t)}function $(e,t){return e.filter(e=>-1===q.indexOf(e.pos)&&e.box.axis===t)}function G(e,t){return e.sort((e,n)=>{const i=t?n:e,r=t?e:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function Z(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function K(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Q(e,t,n){const r=n.box,s=e.maxPadding;(0,i.i)(n.pos)||(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?r.height:r.width,e[n.pos]+=n.size),r.getPadding&&K(s,r.getPadding());const o=Math.max(0,t.outerWidth-Z(s,e,"left","right")),a=Math.max(0,t.outerHeight-Z(s,e,"top","bottom")),l=o!==e.w,c=a!==e.h;return e.w=o,e.h=a,n.horizontal?{same:l,other:c}:{same:c,other:l}}function J(e,t){const n=t.maxPadding;return function(e){const i={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{i[e]=Math.max(t[e],n[e])}),i}(e?["left","right"]:["top","bottom"])}function X(e,t,n){const i=[];let r,s,o,a,l,c;for(r=0,s=e.length,l=0;re.box.fullSize),!0),i=G(W(t,"left"),!0),r=G(W(t,"right")),s=G(W(t,"top"),!0),o=G(W(t,"bottom")),a=$(t,"x"),l=$(t,"y");return{fullSize:n,leftAndTop:i.concat(s),rightAndBottom:r.concat(l).concat(o).concat(a),chartArea:W(t,"chartArea"),vertical:i.concat(r).concat(l),horizontal:s.concat(o).concat(a)}}(e.boxes),c=l.vertical,u=l.horizontal;(0,i.D)(e.boxes,e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()});const d=c.reduce((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1,0)||1,h=Object.freeze({outerWidth:t,outerHeight:n,padding:s,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/d,hBoxMaxHeight:a/2}),p=Object.assign({},s);K(p,(0,i.C)(r));const f=Object.assign({maxPadding:p,w:o,h:a,x:s.left,y:s.top},s);!function(e,t){let n,i,r;for(n=0,i=e.length;n{const n=t.box;Object.assign(n,e.chartArea),n.update(f.w,f.h)})}};class ne{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,i){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,i?Math.floor(t/i):n)}}isAttached(e){return!0}}class ie extends ne{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}}const re={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},se=e=>null===e||""===e,oe=!!i.J&&{passive:!0};function ae(e,t,n){e.canvas.removeEventListener(t,n,oe)}function le(e,t,n){const r=e.canvas,s=r&&(0,i.F)(r)||r,o=new MutationObserver(e=>{const t=(0,i.F)(s);e.forEach(e=>{for(let i=0;i{e.forEach(e=>{for(let t=0;t{n.currentDevicePixelRatio!==e&&t()}))}function pe(e,t,n){const r=e.canvas,s=r&&(0,i.F)(r);if(!s)return;const o=(0,i.I)((e,t)=>{const i=s.clientWidth;n(e,t),i{const t=e[0],n=t.contentRect.width,i=t.contentRect.height;0===n&&0===i||o(n,i)});return a.observe(s),function(e,t){ue.size||window.addEventListener("resize",he),ue.set(e,t)}(e,o),a}function fe(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){ue.delete(e),ue.size||window.removeEventListener("resize",he)}(e)}function me(e,t,n){const r=e.canvas,s=(0,i.I)(t=>{null!==e.ctx&&n(function(e,t){const n=re[e.type]||e.type,{x:r,y:s}=(0,i.z)(e,t);return{type:n,chart:t,native:e,x:void 0!==r?r:null,y:void 0!==s?s:null}}(t,e))},e,e=>{const t=e[0];return[t,t.offsetX,t.offsetY]});return function(e,t,n){e.addEventListener(t,n,oe)}(r,t,s),s}class ge extends ne{acquireContext(e,t){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){const n=e.style,r=e.getAttribute("height"),s=e.getAttribute("width");if(e.$chartjs={initial:{height:r,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",se(s)){const t=(0,i.G)(e,"width");void 0!==t&&(e.width=t)}if(se(r))if(""===e.style.height)e.height=e.width/(t||2);else{const t=(0,i.G)(e,"height");void 0!==t&&(e.height=t)}}(e,t),n):null}releaseContext(e){const t=e.canvas;if(!t.$chartjs)return!1;const n=t.$chartjs.initial;["height","width"].forEach(e=>{const r=n[e];(0,i.j)(r)?t.removeAttribute(e):t.setAttribute(e,r)});const r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t.$chartjs,!0}addEventListener(e,t,n){this.removeEventListener(e,t),(e.$proxies||(e.$proxies={}))[t]=({attach:le,detach:ce,resize:pe}[t]||me)(e,t,n)}removeEventListener(e,t){const n=e.$proxies||(e.$proxies={}),i=n[t];i&&(({attach:fe,detach:fe,resize:fe}[t]||ae)(e,t,i),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return(0,i.E)(e,t,n,r)}isAttached(e){const t=(0,i.F)(e);return!(!t||!(0,i.F)(t))}}class _e{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}hasValue(){return(0,i.w)(this.x)&&(0,i.w)(this.y)}getProps(e,t){const n=this,i=this.$animations;if(!t||!i)return n;const r={};return e.forEach(e=>{r[e]=i[e]&&i[e].active()?i[e]._to:n[e]}),r}}_e.defaults={},_e.defaultRoutes=void 0;const ve={values:e=>(0,i.b)(e)?e:""+e,numeric(e,t,n){if(0===e)return"0";const r=this.chart.options.locale;let s,o=e;if(n.length>1){const t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>1e15)&&(s="scientific"),o=function(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}(e,n)}const a=(0,i.K)(Math.abs(o)),l=Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:s,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),(0,i.p)(e,r,c)},logarithmic(e,t,n){if(0===e)return"0";const r=e/Math.pow(10,Math.floor((0,i.K)(e)));return 1===r||2===r||5===r?ve.numeric.call(this,e,t,n):""}};var ye={formatters:ve};function be(e,t,n,r,s){const o=(0,i.v)(r,0),a=Math.min((0,i.v)(s,e.length),e.length);let l,c,u,d=0;for(n=Math.ceil(n),s&&(l=s-r,n=l/Math.floor(l/n)),u=o;u<0;)d++,u=Math.round(o+d*n);for(c=Math.max(o,0);ct.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ye.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),i.d.route("scale.ticks","color","","color"),i.d.route("scale.grid","color","","borderColor"),i.d.route("scale.grid","borderColor","","borderColor"),i.d.route("scale.title","color","","color"),i.d.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e}),i.d.describe("scales",{_fallback:"scale"});const we=(e,t,n)=>"top"===t||"left"===t?e[t]+n:e[t]-n;function xe(e,t){const n=[],i=e.length/t,r=e.length;let s=0;for(;so+a)))return c}function ke(e){return e.drawTicks?e.tickLength:0}function Ce(e,t){if(!e.display)return 0;const n=(0,i.W)(e.font,t),r=(0,i.C)(e.padding);return((0,i.b)(e.text)?e.text.length:1)*n.lineHeight+r.height}function Me(e,t,n){let r=(0,i.X)(e);return(n&&"right"!==t||!n&&"right"===t)&&(r=(e=>"left"===e?"right":"right"===e?"left":e)(r)),r}class Ee extends _e{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){const t=this;t.options=e.setContext(t.getContext()),t.axis=e.axis,t._userMin=t.parse(e.min),t._userMax=t.parse(e.max),t._suggestedMin=t.parse(e.suggestedMin),t._suggestedMax=t.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:r}=this;return e=(0,i.M)(e,Number.POSITIVE_INFINITY),t=(0,i.M)(t,Number.NEGATIVE_INFINITY),n=(0,i.M)(n,Number.POSITIVE_INFINITY),r=(0,i.M)(r,Number.NEGATIVE_INFINITY),{min:(0,i.M)(e,n),max:(0,i.M)(t,r),minDefined:(0,i.g)(e),maxDefined:(0,i.g)(t)}}getMinMax(e){const t=this;let n,{min:r,max:s,minDefined:o,maxDefined:a}=t.getUserBounds();if(o&&a)return{min:r,max:s};const l=t.getMatchingVisibleMetas();for(let i=0,c=l.length;ir)return function(e,t,n,i){let r,s=0,o=n[0];for(i=Math.ceil(i),r=0;rs)return e}return Math.max(s,1)}(s,t,r);if(o>0){let e,n;const r=o>1?Math.round((l-a)/(o-1)):null;for(be(t,c,u,(0,i.j)(r)?0:a-r,a),e=0,n=o-1;e=o||r<=1||!e.isHorizontal())return void(e.labelRotation=s);const d=e._getLabelSizes(),h=d.widest.width,p=d.highest.height,f=(0,i.x)(e.chart.width-h,0,e.maxWidth);a=t.offset?e.maxWidth/r:f/(r-1),h+6>a&&(a=f/(r-(t.offset?.5:1)),l=e.maxHeight-ke(t.grid)-n.padding-Ce(t.title,e.chart.options.font),c=Math.sqrt(h*h+p*p),u=(0,i.Q)(Math.min(Math.asin(Math.min((d.highest.height+6)/a,1)),Math.asin(Math.min(l/c,1))-Math.asin(p/c))),u=Math.max(s,Math.min(o,u))),e.labelRotation=u}afterCalculateLabelRotation(){(0,i.N)(this.options.afterCalculateLabelRotation,[this])}beforeFit(){(0,i.N)(this.options.beforeFit,[this])}fit(){const e=this,t={width:0,height:0},{chart:n,options:{ticks:r,title:s,grid:o}}=e,a=e._isVisible(),l=e.isHorizontal();if(a){const a=Ce(s,n.options.font);if(l?(t.width=e.maxWidth,t.height=ke(o)+a):(t.height=e.maxHeight,t.width=ke(o)+a),r.display&&e.ticks.length){const{first:n,last:s,widest:o,highest:a}=e._getLabelSizes(),c=2*r.padding,u=(0,i.t)(e.labelRotation),d=Math.cos(u),h=Math.sin(u);l?t.height=Math.min(e.maxHeight,t.height+(r.mirror?0:h*o.width+d*a.height)+c):t.width=Math.min(e.maxWidth,t.width+(r.mirror?0:d*o.width+h*a.height)+c),e._calculatePadding(n,s,h,d)}}e._handleMargins(),l?(e.width=e._length=n.width-e._margins.left-e._margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e._margins.top-e._margins.bottom)}_calculatePadding(e,t,n,i){const r=this,{ticks:{align:s,padding:o},position:a}=r.options,l=0!==r.labelRotation,c="top"!==a&&"x"===r.axis;if(r.isHorizontal()){const a=r.getPixelForTick(0)-r.left,u=r.right-r.getPixelForTick(r.ticks.length-1);let d=0,h=0;l?c?(d=i*e.width,h=n*t.height):(d=n*e.height,h=i*t.width):"start"===s?h=t.width:"end"===s?d=e.width:(d=e.width/2,h=t.width/2),r.paddingLeft=Math.max((d-a+o)*r.width/(r.width-a),0),r.paddingRight=Math.max((h-u+o)*r.width/(r.width-u),0)}else{let n=t.height/2,i=e.height/2;"start"===s?(n=0,i=e.height):"end"===s&&(n=t.height,i=0),r.paddingTop=n+o,r.paddingBottom=i+o}}_handleMargins(){const e=this;e._margins&&(e._margins.left=Math.max(e.paddingLeft,e._margins.left),e._margins.top=Math.max(e.paddingTop,e._margins.top),e._margins.right=Math.max(e.paddingRight,e._margins.right),e._margins.bottom=Math.max(e.paddingBottom,e._margins.bottom))}afterFit(){(0,i.N)(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){const t=this;t.beforeTickToLabelConversion(),t.generateTickLabels(e),t.afterTickToLabelConversion()}_getLabelSizes(){const e=this;let t=e._labelSizes;if(!t){const n=e.options.ticks.sampleSize;let i=e.ticks;n{const n=e.gc,i=n.length/2;let r;if(i>t){for(r=0;r({width:s[e]||0,height:o[e]||0});return{first:x(0),last:x(t-1),widest:x(b),highest:x(w),widths:s,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){const t=this;t._reversePixels&&(e=1-e);const n=t._startPixel+e*t._length;return(0,i.S)(t._alignToPixels?(0,i.U)(t.chart,n,0):n)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this,n=t.ticks||[];if(e>=0&&el*s?l/r:c/s:c*s0}_computeGridLineItems(e){const t=this,n=t.axis,r=t.chart,s=t.options,{grid:o,position:a}=s,l=o.offset,c=t.isHorizontal(),u=t.ticks.length+(l?1:0),d=ke(o),h=[],p=o.setContext(t.getContext()),f=p.drawBorder?p.borderWidth:0,m=f/2,g=function(e){return(0,i.U)(r,e,f)};let _,v,y,b,w,x,S,k,C,M,E,T;if("top"===a)_=g(t.bottom),x=t.bottom-d,k=_-m,M=g(e.top)+m,T=e.bottom;else if("bottom"===a)_=g(t.top),M=e.top,T=g(e.bottom)-m,x=_+m,k=t.top+d;else if("left"===a)_=g(t.right),w=t.right-d,S=_-m,C=g(e.left)+m,E=e.right;else if("right"===a)_=g(t.left),C=e.left,E=g(e.right)-m,w=_+m,S=t.left+d;else if("x"===n){if("center"===a)_=g((e.top+e.bottom)/2+.5);else if((0,i.i)(a)){const e=Object.keys(a)[0];_=g(t.chart.scales[e].getPixelForValue(a[e]))}M=e.top,T=e.bottom,x=_+m,k=x+d}else if("y"===n){if("center"===a)_=g((e.left+e.right)/2);else if((0,i.i)(a)){const e=Object.keys(a)[0];_=g(t.chart.scales[e].getPixelForValue(a[e]))}w=_-m,S=w-d,C=e.left,E=e.right}for(v=0;vt.value===e);return i>=0?n.setContext(t.getContext(i)).lineWidth:0}drawGrid(e){const t=this,n=t.options.grid,i=t.ctx,r=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));let s,o;const a=(e,t,n)=>{n.width&&n.color&&(i.save(),i.lineWidth=n.width,i.strokeStyle=n.color,i.setLineDash(n.borderDash||[]),i.lineDashOffset=n.borderDashOffset,i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.stroke(),i.restore())};if(n.display)for(s=0,o=r.length;s{const r=n.split("."),s=r.pop(),o=[e].concat(r).join("."),a=t[n].split("."),l=a.pop(),c=a.join(".");i.d.route(o,s,c,l)})}(t,e.defaultRoutes),e.descriptors&&i.d.describe(t,e.descriptors)}(e,a,r),t.override&&i.d.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,n=e.id,r=this.scope;n in t&&delete t[n],r&&n in i.d[r]&&(delete i.d[r][n],this.override&&delete i.Z[n])}}var Ae=new class{constructor(){this.controllers=new Te(w,"datasets",!0),this.elements=new Te(_e,"elements"),this.plugins=new Te(Object,"plugins"),this.scales=new Te(Ee,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,n){const r=this;[...t].forEach(t=>{const s=n||r._getRegistryForType(t);n||s.isForType(t)||s===r.plugins&&t.id?r._exec(e,s,t):(0,i.D)(t,t=>{const i=n||r._getRegistryForType(t);r._exec(e,i,t)})})}_exec(e,t,n){const r=(0,i.a0)(e);(0,i.N)(n["before"+r],[],n),t[e](n),(0,i.N)(n["after"+r],[],n)}_getRegistryForType(e){for(let t=0;te.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(i(t,n),e,"stop"),this._notify(i(n,t),e,"start")}}function Pe(e,t){return t||!1!==e?!0===e?{}:e:null}function Le(e,t,n,i){const r=e.pluginScopeKeys(t),s=e.getOptionScopes(n,r);return e.createResolver(s,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Oe(e,t){return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||(i.d.datasets[e]||{}).indexAxis||"x"}function Ie(e,t){return"x"===e||"y"===e?e:t.axis||("top"===(n=t.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||e.charAt(0).toLowerCase();var n}function Re(e){const t=e.options||(e.options={});t.plugins=(0,i.v)(t.plugins,{}),t.scales=function(e,t){const n=i.Z[e.type]||{scales:{}},r=t.scales||{},s=Oe(e.type,t),o=Object.create(null),a=Object.create(null);return Object.keys(r).forEach(e=>{const t=r[e],l=Ie(e,t),c=function(e,t){return e===t?"_index_":"_value_"}(l,s),u=n.scales||{};o[l]=o[l]||e,a[e]=(0,i.a6)(Object.create(null),[{axis:l},t,u[l],u[c]])}),e.data.datasets.forEach(n=>{const s=n.type||e.type,l=n.indexAxis||Oe(s,t),c=(i.Z[s]||{}).scales||{};Object.keys(c).forEach(e=>{const t=function(e,t){let n=e;return"_index_"===e?n=t:"_value_"===e&&(n="x"===t?"y":"x"),n}(e,l),s=n[t+"AxisID"]||o[t]||t;a[s]=a[s]||Object.create(null),(0,i.a6)(a[s],[{axis:t},r[s],c[e]])})}),Object.keys(a).forEach(e=>{const t=a[e];(0,i.a6)(t,[i.d.scales[t.type],i.d.scale])}),a}(e,t)}function Ye(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Fe=new Map,je=new Set;function He(e,t){let n=Fe.get(e);return n||(n=t(),Fe.set(e,n),je.add(n)),n}const Ne=(e,t,n)=>{const r=(0,i.f)(t,n);void 0!==r&&e.add(r)};class Be{constructor(e){this._config=function(e){return(e=e||{}).data=Ye(e.data),Re(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Ye(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Re(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return He(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return He(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return He(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){const t=e.id;return He(`${this.type}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){const n=this._scopeCache;let i=n.get(e);return i&&!t||(i=new Map,n.set(e,i)),i}getOptionScopes(e,t,n){const{options:r,type:s}=this,o=this._cachedScopes(e,n),a=o.get(t);if(a)return a;const l=new Set;t.forEach(t=>{e&&(l.add(e),t.forEach(t=>Ne(l,e,t))),t.forEach(e=>Ne(l,r,e)),t.forEach(e=>Ne(l,i.Z[s]||{},e)),t.forEach(e=>Ne(l,i.d,e)),t.forEach(e=>Ne(l,i.a1,e))});const c=[...l];return je.has(t)&&o.set(t,c),c}chartOptionScopes(){const{options:e,type:t}=this;return[e,i.Z[t]||{},i.d.datasets[t]||{},{type:t},i.d,i.a1]}resolveNamedOptions(e,t,n,r=[""]){const s={$shared:!0},{resolver:o,subPrefixes:a}=Ue(this._resolverCache,e,r);let l=o;if(function(e,t){const{isScriptable:n,isIndexable:r}=(0,i.a5)(e);for(const s of t)if(n(s)&&(0,i.a2)(e[s])||r(s)&&(0,i.b)(e[s]))return!0;return!1}(o,t)){s.$shared=!1,n=(0,i.a2)(n)?n():n;const t=this.createResolver(e,n,a);l=(0,i.a3)(o,n,t)}for(const i of t)s[i]=l[i];return s}createResolver(e,t,n=[""],r){const{resolver:s}=Ue(this._resolverCache,e,n);return(0,i.i)(t)?(0,i.a3)(s,t,void 0,r):s}}function Ue(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const s=n.join();let o=r.get(s);return o||(o={resolver:(0,i.a4)(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes("hover"))},r.set(s,o)),o}const ze=["top","bottom","left","right","chartArea"];function Ve(e,t){return"top"===e||"bottom"===e||-1===ze.indexOf(e)&&"x"===t}function qe(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function We(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),(0,i.N)(n&&n.onComplete,[e],t)}function $e(e){const t=e.chart,n=t.options.animation;(0,i.N)(n&&n.onProgress,[e],t)}function Ge(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Ze(e){return Ge()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Ke={},Qe=e=>{const t=Ze(e);return Object.values(Ke).filter(e=>e.canvas===t).pop()};class Je{constructor(e,t){const n=this;this.config=t=new Be(t);const s=Ze(e),o=Qe(s);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const a=t.createResolver(t.chartOptionScopes(),n.getContext());this.platform=n._initializePlatform(s,t);const l=n.platform.acquireContext(s,a.aspectRatio),c=l&&l.canvas,u=c&&c.height,d=c&&c.width;this.id=(0,i.a7)(),this.ctx=l,this.canvas=c,this.width=d,this.height=u,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._sortedMetasets=[],this.scales={},this.scale=void 0,this._plugins=new De,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,i.a8)(()=>this.update("resize"),a.resizeDelay||0),Ke[n.id]=n,l&&c?(r.listen(n,"complete",We),r.listen(n,"progress",$e),n._initialize(),n.attached&&n.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:s}=this;return(0,i.j)(e)?t&&s?s:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){const e=this;return e.notifyPlugins("beforeInit"),e.options.responsive?e.resize():(0,i.a9)(e,e.options.devicePixelRatio),e.bindEvents(),e.notifyPlugins("afterInit"),e}_initializePlatform(e,t){return t.platform?new t.platform:!Ge()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?new ie:new ge}clear(){return(0,i.aa)(this.canvas,this.ctx),this}stop(){return r.stop(this),this}resize(e,t){r.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const n=this,r=n.options,s=n.platform.getMaximumSize(n.canvas,e,t,r.maintainAspectRatio&&n.aspectRatio),o=n.currentDevicePixelRatio,a=r.devicePixelRatio||n.platform.getDevicePixelRatio();n.width===s.width&&n.height===s.height&&o===a||(n.width=s.width,n.height=s.height,n._aspectRatio=n.aspectRatio,(0,i.a9)(n,a,!0),n.notifyPlugins("resize",{size:s}),(0,i.N)(r.onResize,[n,s],n),n.attached&&n._doResize()&&n.render())}ensureScalesHaveIDs(){(0,i.D)(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){const e=this,t=e.options,n=t.scales,r=e.scales,s=Object.keys(r).reduce((e,t)=>(e[t]=!1,e),{});let o=[];n&&(o=o.concat(Object.keys(n).map(e=>{const t=n[e],i=Ie(e,t),r="r"===i,s="x"===i;return{options:t,dposition:r?"chartArea":s?"bottom":"left",dtype:r?"radialLinear":s?"category":"linear"}}))),(0,i.D)(o,n=>{const o=n.options,a=o.id,l=Ie(a,o),c=(0,i.v)(o.type,n.dtype);void 0!==o.position&&Ve(o.position,l)===Ve(n.dposition)||(o.position=n.dposition),s[a]=!0;let u=null;a in r&&r[a].type===c?u=r[a]:(u=new(Ae.getScale(c))({id:a,type:c,ctx:e.ctx,chart:e}),r[u.id]=u),u.init(o,t)}),(0,i.D)(s,(e,t)=>{e||delete r[t]}),(0,i.D)(r,t=>{te.configure(e,t,t.options),te.addBox(e,t)})}_updateMetasetIndex(e,t){const n=this._metasets,i=e.index;i!==t&&(n[i]=n[t],n[t]=e,e.index=t)}_updateMetasets(){const e=this,t=e._metasets,n=e.data.datasets.length,i=t.length;if(i>n){for(let t=n;tn.length&&delete e._stacks,t.forEach((t,i)=>{0===n.filter(e=>e===t._dataset).length&&e._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=this,t=[],n=e.data.datasets;let r,s;for(e._removeUnreferencedMetasets(),r=0,s=n.length;r{e.getDatasetMeta(n).controller.reset()},e)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this,n=t.config;n.update(),t._options=n.createResolver(n.chartOptionScopes(),t.getContext()),(0,i.D)(t.scales,e=>{te.removeBox(t,e)});const r=t._animationsDisabled=!t.options.animation;t.ensureScalesHaveIDs(),t.buildOrUpdateScales();const s=new Set(Object.keys(t._listeners)),o=new Set(t.options.events);if((0,i.ab)(s,o)||(t.unbindEvents(),t.bindEvents()),t._plugins.invalidate(),!1===t.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const a=t.buildOrUpdateControllers();t.notifyPlugins("beforeElementsUpdate");let l=0;for(let i=0,c=t.data.datasets.length;i{e.reset()}),t._updateDatasets(e),t.notifyPlugins("afterUpdate",{mode:e}),t._layers.sort(qe("z","_idx")),t._lastEvent&&t._eventHandler(t._lastEvent,!0),t.render()}_updateLayout(e){const t=this;if(!1===t.notifyPlugins("beforeLayout",{cancelable:!0}))return;te.update(t,t.width,t.height,e);const n=t.chartArea,r=n.width<=0||n.height<=0;t._layers=[],(0,i.D)(t.boxes,e=>{r&&"chartArea"===e.position||(e.configure&&e.configure(),t._layers.push(...e._layers()))},t),t._layers.forEach((e,t)=>{e._idx=t}),t.notifyPlugins("afterLayout")}_updateDatasets(e){const t=this,n="function"==typeof e;if(!1!==t.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let i=0,r=t.data.datasets.length;i=0;--n)e._drawDataset(t[n]);e.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this,n=t.ctx,r=e._clip,s=t.chartArea,o={meta:e,index:e.index,cancelable:!0};!1!==t.notifyPlugins("beforeDatasetDraw",o)&&((0,i.k)(n,{left:!1===r.left?0:s.left-r.left,right:!1===r.right?t.width:s.right+r.right,top:!1===r.top?0:s.top-r.top,bottom:!1===r.bottom?t.height:s.bottom+r.bottom}),e.controller.draw(),(0,i.m)(n),o.cancelable=!1,t.notifyPlugins("afterDatasetDraw",o))}getElementsAtEventForMode(e,t,n,i){const r=V.modes[t];return"function"==typeof r?r(this,e,n,i):[]}getDatasetMeta(e){const t=this.data.datasets[e],n=this._metasets;let i=n.filter(e=>e&&e._dataset===t).pop();return i||(i=n[e]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1}),i}getContext(){return this.$context||(this.$context={chart:this,type:"chart"})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const n=this.getDatasetMeta(e);return"boolean"==typeof n.hidden?!n.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateDatasetVisibility(e,t){const n=this,i=t?"show":"hide",r=n.getDatasetMeta(e),s=r.controller._resolveAnimations(void 0,i);n.setDatasetVisibility(e,t),s.update(r,{visible:t}),n.update(t=>t.datasetIndex===e?i:void 0)}hide(e){this._updateDatasetVisibility(e,!1)}show(e){this._updateDatasetVisibility(e,!0)}_destroyDatasetMeta(e){const t=this,n=t._metasets&&t._metasets[e];n&&n.controller&&(n.controller._destroy(),delete t._metasets[e])}destroy(){const e=this,{canvas:t,ctx:n}=e;let s,o;for(e.stop(),r.remove(e),s=0,o=e.data.datasets.length;s{n.addEventListener(e,i,r),t[i]=r},s=(i,r)=>{t[i]&&(n.removeEventListener(e,i,r),delete t[i])};let o=function(t,n,i){t.offsetX=n,t.offsetY=i,e._eventHandler(t)};if((0,i.D)(e.options.events,e=>r(e,o)),e.options.responsive){let t;o=(t,n)=>{e.canvas&&e.resize(t,n)};const i=()=>{s("attach",i),e.attached=!0,e.resize(),r("resize",o),r("detach",t)};t=()=>{e.attached=!1,s("resize",o),r("attach",i)},n.isAttached(e.canvas)?i():t()}else e.attached=!0}unbindEvents(){const e=this,t=e._listeners;t&&(e._listeners={},(0,i.D)(t,(t,n)=>{e.platform.removeEventListener(e,n,t)}))}updateHoverStyle(e,t,n){const i=n?"set":"remove";let r,s,o,a;for("dataset"===t&&(r=this.getDatasetMeta(e[0].datasetIndex),r.controller["_"+i+"DatasetHoverStyle"]()),o=0,a=e.length;o{const i=t.getDatasetMeta(e);if(!i)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:i.data[n],index:n}});!(0,i.ac)(r,n)&&(t._active=r,t._updateHoverStyles(r,n))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}_updateHoverStyles(e,t,n){const i=this,r=i.options.hover,s=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),o=s(t,e),a=n?e:s(e,t);o.length&&i.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&i.updateHoverStyle(a,r.mode,!0)}_eventHandler(e,t){const n=this,i={event:e,replay:t,cancelable:!0},r=t=>(t.options.events||this.options.events).includes(e.type);if(!1===n.notifyPlugins("beforeEvent",i,r))return;const s=n._handleEvent(e,t);return i.cancelable=!1,n.notifyPlugins("afterEvent",i,r),(s||i.changed)&&n.render(),n}_handleEvent(e,t){const n=this,{_active:r=[],options:s}=n,o=s.hover;let a=[],l=!1,c=null;return"mouseout"!==e.type&&(a=n.getElementsAtEventForMode(e,o.mode,o,t),c="click"===e.type?n._lastEvent:e),n._lastEvent=null,(0,i.A)(e,n.chartArea,n._minPadding)&&((0,i.N)(s.onHover,[e,a,n],n),"mouseup"!==e.type&&"click"!==e.type&&"contextmenu"!==e.type||(0,i.N)(s.onClick,[e,a,n],n)),l=!(0,i.ac)(a,r),(l||t)&&(n._active=a,n._updateHoverStyles(a,r,t)),n._lastEvent=c,l}}const Xe=()=>(0,i.D)(Je.instances,e=>e._plugins.invalidate()),et=!0;function tt(e,t){const{startAngle:n,endAngle:r,pixelMargin:s,x:o,y:a,outerRadius:l,innerRadius:c}=t;let u=s/l;e.beginPath(),e.arc(o,a,l,n-u,r+u),c>s?(u=s/c,e.arc(o,a,c,r+u,n-u,!0)):e.arc(o,a,s,r+i.H,n-i.H),e.closePath(),e.clip()}function nt(e,t,n,i){return{x:n+e*Math.cos(t),y:i+e*Math.sin(t)}}function it(e,t){const{x:n,y:r,startAngle:s,endAngle:o,pixelMargin:a}=t,l=Math.max(t.outerRadius-a,0),c=t.innerRadius+a,{outerStart:u,outerEnd:d,innerStart:h,innerEnd:p}=function(e,t,n,r){const s=(0,i.ae)(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),o=(n-t)/2,a=Math.min(o,r*t/2),l=e=>{const t=(n-Math.min(o,e))*r/2;return(0,i.x)(e,0,Math.min(o,t))};return{outerStart:l(s.outerStart),outerEnd:l(s.outerEnd),innerStart:(0,i.x)(s.innerStart,0,a),innerEnd:(0,i.x)(s.innerEnd,0,a)}}(t,c,l,o-s),f=l-u,m=l-d,g=s+u/f,_=o-d/m,v=c+h,y=c+p,b=s+h/v,w=o-p/y;if(e.beginPath(),e.arc(n,r,l,g,_),d>0){const t=nt(m,_,n,r);e.arc(t.x,t.y,d,_,o+i.H)}const x=nt(y,o,n,r);if(e.lineTo(x.x,x.y),p>0){const t=nt(y,w,n,r);e.arc(t.x,t.y,p,o+i.H,w+Math.PI)}if(e.arc(n,r,c,o-p/c,s+h/c,!0),h>0){const t=nt(v,b,n,r);e.arc(t.x,t.y,h,b+Math.PI,s-i.H)}const S=nt(f,s,n,r);if(e.lineTo(S.x,S.y),u>0){const t=nt(f,g,n,r);e.arc(t.x,t.y,u,s-i.H,g)}e.closePath()}Object.defineProperties(Je,{defaults:{enumerable:et,value:i.d},instances:{enumerable:et,value:Ke},overrides:{enumerable:et,value:i.Z},registry:{enumerable:et,value:Ae},version:{enumerable:et,value:"3.2.1"},getChart:{enumerable:et,value:Qe},register:{enumerable:et,value:(...e)=>{Ae.add(...e),Xe()}},unregister:{enumerable:et,value:(...e)=>{Ae.remove(...e),Xe()}}});class rt extends _e{constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){const r=this.getProps(["x","y"],n),{angle:s,distance:o}=(0,i.ad)(r,{x:e,y:t}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:u,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n);return(d>=i.T||(0,i.q)(s,a,l))&&o>=c&&o<=u}getCenterPoint(e){const{x:t,y:n,startAngle:i,endAngle:r,innerRadius:s,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),a=(i+r)/2,l=(s+o)/2;return{x:t+Math.cos(a)*l,y:n+Math.sin(a)*l}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const t=this,n=t.options,r=n.offset||0;if(t.pixelMargin="inner"===n.borderAlign?.33:0,t.fullCircles=Math.floor(t.circumference/i.T),!(0===t.circumference||t.innerRadius<0||t.outerRadius<0)){if(e.save(),r&&t.circumferencea&&s>a)?i+c-l:c-l}}function lt(e,t,n,r){const{points:s,options:o}=t,{count:a,start:l,loop:c,ilen:u}=at(s,n,r),d=function(e){return e.stepped?i.al:e.tension||"monotone"===e.cubicInterpolationMode?i.am:ot}(o);let h,p,f,{move:m=!0,reverse:g}=r||{};for(h=0;h<=u;++h)p=s[(l+(g?u-h:h))%a],p.skip||(m?(e.moveTo(p.x,p.y),m=!1):d(e,f,p,g,o.stepped),f=p);return c&&(p=s[(l+(g?u:0))%a],d(e,f,p,g,o.stepped)),!!c}function ct(e,t,n,i){const r=t.points,{count:s,start:o,ilen:a}=at(r,n,i),{move:l=!0,reverse:c}=i||{};let u,d,h,p,f,m,g=0,_=0;const v=e=>(o+(c?a-e:e))%s,y=()=>{p!==f&&(e.lineTo(g,f),e.lineTo(g,p),e.lineTo(g,m))};for(l&&(d=r[v(0)],e.moveTo(d.x,d.y)),u=0;u<=a;++u){if(d=r[v(u)],d.skip)continue;const t=d.x,n=d.y,i=0|t;i===h?(nf&&(f=n),g=(_*g+t)/++_):(y(),e.lineTo(t,n),h=i,_=0,p=f=n),m=n}y()}function ut(e){const t=e.options;return e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||t.borderDash&&t.borderDash.length?lt:ct}rt.id="arc",rt.defaults={borderAlign:"center",borderColor:"#fff",borderRadius:0,borderWidth:2,offset:0,angle:void 0},rt.defaultRoutes={backgroundColor:"backgroundColor"};const dt="function"==typeof Path2D;class ht extends _e{constructor(e){super(),this.animated=!0,this.options=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,e&&Object.assign(this,e)}updateControlPoints(e){const t=this,n=t.options;!n.tension&&"monotone"!==n.cubicInterpolationMode||n.stepped||t._pointsUpdated||((0,i.af)(t._points,n,e,n.spanGaps?t._loop:t._fullLoop),t._pointsUpdated=!0)}set points(e){const t=this;t._points=e,delete t._segments,delete t._path,t._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,i.ag)(this,this.options.segment))}first(){const e=this.segments;return e.length&&this.points[e[0].start]}last(){const e=this.segments,t=e.length;return t&&this.points[e[t-1].end]}interpolate(e,t){const n=this,r=n.options,s=e[t],o=n.points,a=(0,i.ah)(n,{property:t,start:s,end:s});if(!a.length)return;const l=[],c=function(e){return e.stepped?i.ai:e.tension||"monotone"===e.cubicInterpolationMode?i.aj:i.ak}(r);let u,d;for(u=0,d=a.length;u"borderDash"!==e&&"fill"!==e};class ft extends _e{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){const i=this.options,{x:r,y:s}=this.getProps(["x","y"],n);return Math.pow(e-r,2)+Math.pow(t-s,2)e.x):_t(t,"bottom","top",e.base=o.left&&t<=o.right)&&(s||n>=o.top&&n<=o.bottom)}function wt(e,t){e.rect(t.x,t.y,t.w,t.h)}ft.id="point",ft.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},ft.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class xt extends _e{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,e&&Object.assign(this,e)}draw(e){const t=this.options,{inner:n,outer:r}=function(e){const t=mt(e),n=t.right-t.left,r=t.bottom-t.top,s=function(e,t,n){const r=e.options.borderWidth,s=gt(e),o=(0,i.ap)(r);return{t:yt(s.top,o.top,0,n),r:yt(s.right,o.right,0,t),b:yt(s.bottom,o.bottom,0,n),l:yt(s.left,o.left,0,t)}}(e,n/2,r/2),o=function(e,t,n){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),s=e.options.borderRadius,o=(0,i.aq)(s),a=Math.min(t,n),l=gt(e),c=r||(0,i.i)(s);return{topLeft:yt(!c||l.top||l.left,o.topLeft,0,a),topRight:yt(!c||l.top||l.right,o.topRight,0,a),bottomLeft:yt(!c||l.bottom||l.left,o.bottomLeft,0,a),bottomRight:yt(!c||l.bottom||l.right,o.bottomRight,0,a)}}(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:o},inner:{x:t.left+s.l,y:t.top+s.t,w:n-s.l-s.r,h:r-s.t-s.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(s.t,s.l)),topRight:Math.max(0,o.topRight-Math.max(s.t,s.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(s.b,s.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(s.b,s.r))}}}}(this),s=(o=r.radius).topLeft||o.topRight||o.bottomLeft||o.bottomRight?i.ao:wt;var o;e.save(),r.w===n.w&&r.h===n.h||(e.beginPath(),s(e,r),e.clip(),s(e,n),e.fillStyle=t.borderColor,e.fill("evenodd")),e.beginPath(),s(e,n),e.fillStyle=t.backgroundColor,e.fill(),e.restore()}inRange(e,t,n){return bt(this,e,t,n)}inXRange(e,t){return bt(this,e,null,t)}inYRange(e,t){return bt(this,null,e,t)}getCenterPoint(e){const{x:t,y:n,base:i,horizontal:r}=this.getProps(["x","y","base","horizontal"],e);return{x:r?(t+i)/2:t,y:r?n:(n+i)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}xt.id="bar",xt.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,enableBorderRadius:!0,pointStyle:void 0},xt.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var St=Object.freeze({__proto__:null,ArcElement:rt,LineElement:ht,PointElement:ft,BarElement:xt});function kt(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{value:t})}}function Ct(e){e.data.datasets.forEach(e=>{kt(e)})}var Mt={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled)return void Ct(e);const r=e.width;e.data.datasets.forEach((t,s)=>{const{_data:o,indexAxis:a}=t,l=e.getDatasetMeta(s),c=o||t.data;if("y"===(0,i.a)([a,e.options.indexAxis]))return;if("line"!==l.type)return;const u=e.scales[l.xAxisID];if("linear"!==u.type&&"time"!==u.type)return;if(e.options.parsing)return;let d,{start:h,count:p}=function(e,t){const n=t.length;let r,s=0;const{iScale:o}=e,{min:a,max:l,minDefined:c,maxDefined:u}=o.getUserBounds();return c&&(s=(0,i.x)((0,i.y)(t,o.axis,a).lo,0,n-1)),r=u?(0,i.x)((0,i.y)(t,o.axis,l).hi+1,s,n)-s:n-s,{start:s,count:r}}(l,c);if(p<=4*r)kt(t);else{switch((0,i.j)(o)&&(t._data=c,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),n.algorithm){case"lttb":d=function(e,t,n,i,r){const s=r.samples||i;if(s>=n)return e.slice(t,t+n);const o=[],a=(n-2)/(s-2);let l=0;const c=t+n-1;let u,d,h,p,f,m=t;for(o[l++]=e[m],u=0;uh&&(h=p,d=e[i],f=i);o[l++]=d,m=f}return o[l++]=e[c],o}(c,h,p,r,n);break;case"min-max":d=function(e,t,n,r){let s,o,a,l,c,u,d,h,p,f,m=0,g=0;const _=[],v=e[t].x,y=e[t+n-1].x-v;for(s=t;sf&&(f=l,d=s),m=(g*m+o.x)/++g;else{const n=s-1;if(!(0,i.j)(u)&&!(0,i.j)(d)){const t=Math.min(u,d),i=Math.max(u,d);t!==h&&t!==n&&_.push({...e[t],x:m}),i!==h&&i!==n&&_.push({...e[i],x:m})}s>0&&n!==h&&_.push(e[n]),_.push(o),c=t,g=0,p=f=l,u=d=h=s}}return _}(c,h,p,r);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=d}})},destroy(e){Ct(e)}};function Et(e,t,n){const r=function(e){const t=e.options,n=t.fill;let r=(0,i.v)(n&&n.target,n);return void 0===r&&(r=!!t.backgroundColor),!1!==r&&null!==r&&(!0===r?"origin":r)}(e);if((0,i.i)(r))return!isNaN(r.value)&&r;let s=parseFloat(r);return(0,i.g)(s)&&Math.floor(s)===s?("-"!==r[0]&&"+"!==r[0]||(s=t+s),!(s===t||s<0||s>=n)&&s):["origin","start","end","stack"].indexOf(r)>=0&&r}class Tt{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,n){const{x:r,y:s,radius:o}=this;return e.arc(r,s,o,(t=t||{start:0,end:i.T}).end,t.start,!0),!n.bounds}interpolate(e){const{x:t,y:n,radius:i}=this,r=e.angle;return{x:t+Math.cos(r)*i,y:n+Math.sin(r)*i,angle:r}}}const At=e=>"line"===e.type&&!e.hidden;function Dt(e,t,n){const i=[];for(let r=0;r=t&&r<=i){a=r===t,l=r===i;break}}return{first:a,last:l,point:i}}function Lt(e,t){let n=[],r=!1;return(0,i.b)(e)?(r=!0,n=e):n=function(e,t){const{x:n=null,y:i=null}=e||{},r=t.points,s=[];return t.segments.forEach(e=>{const t=r[e.start],o=r[e.end];null!==i?(s.push({x:t.x,y:i}),s.push({x:o.x,y:i})):null!==n&&(s.push({x:n,y:t.y}),s.push({x:n,y:o.y}))}),s}(e,t),n.length?new ht({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Ot(e,t,n){let r=e[t].fill;const s=[t];let o;if(!n)return r;for(;!1!==r&&-1===s.indexOf(r);){if(!(0,i.g)(r))return r;if(o=e[r],!o)return!1;if(o.visible)return r;s.push(r),r=o.fill}return!1}function It(e,t,n){e.beginPath(),t.path(e),e.lineTo(t.last().x,n),e.lineTo(t.first().x,n),e.closePath(),e.clip()}function Rt(e,t,n,r){if(r)return;let s=t[e],o=n[e];return"angle"===e&&(s=(0,i.as)(s),o=(0,i.as)(o)),{property:e,start:s,end:o}}function Yt(e,t,n,i){return e&&t?i(e[n],t[n]):e?e[n]:t?t[n]:0}function Ft(e,t,n){const{top:i,bottom:r}=t.chart.chartArea,{property:s,start:o,end:a}=n||{};"x"===s&&(e.beginPath(),e.rect(o,i,a-o,r-i),e.clip())}function jt(e,t,n,i){const r=t.interpolate(n,i);r&&e.lineTo(r.x,r.y)}function Ht(e,t){const{line:n,target:r,property:s,color:o,scale:a}=t,l=function(e,t,n){const r=e.segments,s=e.points,o=t.points,a=[];for(const l of r){const e=Rt(n,s[l.start],s[l.end],l.loop);if(!t.segments){a.push({source:l,target:e,start:s[l.start],end:s[l.end]});continue}const r=(0,i.ah)(t,e);for(const t of r){const r=Rt(n,o[t.start],o[t.end],t.loop),c=(0,i.ar)(l,s,r);for(const i of c)a.push({source:i,target:t,start:{[n]:Yt(e,r,"start",Math.max)},end:{[n]:Yt(e,r,"end",Math.min)}})}}return a}(n,r,s);for(const{source:i,target:c,start:u,end:d}of l){const{style:{backgroundColor:t=o}={}}=i;e.save(),e.fillStyle=t,Ft(e,a,Rt(s,u,d)),e.beginPath();const l=!!n.pathSegment(e,i);l?e.closePath():jt(e,r,d,s);const h=!!r.pathSegment(e,c,{move:l,reverse:!0}),p=l&&h;p||jt(e,r,u,s),e.closePath(),e.fill(p?"evenodd":"nonzero"),e.restore()}}function Nt(e,t,n){const r=function(e){const{chart:t,fill:n,line:r}=e;if((0,i.g)(n))return function(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}(t,n);if("stack"===n)return function(e){const{chart:t,scale:n,index:i,line:r}=e,s=[],o=r.segments,a=r.points,l=function(e,t){const n=[],i=e.getSortedVisibleDatasetMetas();for(let r=0;r=0;--o){const t=r[o].$filler;t&&(t.line.updateControlPoints(s),i&&Nt(e.ctx,t,s))}},beforeDatasetsDraw(e,t,n){if("beforeDatasetsDraw"!==n.drawTime)return;const i=e.getSortedVisibleDatasetMetas();for(let r=i.length-1;r>=0;--r){const t=i[r].$filler;t&&Nt(e.ctx,t,e.chartArea)}},beforeDatasetDraw(e,t,n){const i=t.meta.$filler;i&&!1!==i.fill&&"beforeDatasetDraw"===n.drawTime&&Nt(e.ctx,i,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Ut=(e,t)=>{let{boxHeight:n=t,boxWidth:i=t}=e;return e.usePointStyle&&(n=Math.min(n,t),i=Math.min(i,t)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(t,n)}};class zt extends _e{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){const i=this;i.maxWidth=e,i.maxHeight=t,i._margins=n,i.setDimensions(),i.buildLabels(),i.fit()}setDimensions(){const e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height)}buildLabels(){const e=this,t=e.options.labels||{};let n=(0,i.N)(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter(n=>t.filter(n,e.chart.data))),t.sort&&(n=n.sort((n,i)=>t.sort(n,i,e.chart.data))),e.options.reverse&&n.reverse(),e.legendItems=n}fit(){const e=this,{options:t,ctx:n}=e;if(!t.display)return void(e.width=e.height=0);const r=t.labels,s=(0,i.W)(r.font),o=s.size,a=e._computeTitleHeight(),{boxWidth:l,itemHeight:c}=Ut(r,o);let u,d;n.font=s.string,e.isHorizontal()?(u=e.maxWidth,d=e._fitRows(a,o,l,c)+10):(d=e.maxHeight,u=e._fitCols(a,o,l,c)+10),e.width=Math.min(u,t.maxWidth||e.maxWidth),e.height=Math.min(d,t.maxHeight||e.maxHeight)}_fitRows(e,t,n,i){const r=this,{ctx:s,maxWidth:o,options:{labels:{padding:a}}}=r,l=r.legendHitBoxes=[],c=r.lineWidths=[0],u=i+a;let d=e;s.textAlign="left",s.textBaseline="middle";let h=-1,p=-u;return r.legendItems.forEach((e,r)=>{const f=n+t/2+s.measureText(e.text).width;(0===r||c[c.length-1]+f+2*a>o)&&(d+=u,c[c.length-(r>0?0:1)]=0,p+=u,h++),l[r]={left:0,top:p,row:h,width:f,height:i},c[c.length-1]+=f+a}),d}_fitCols(e,t,n,i){const r=this,{ctx:s,maxHeight:o,options:{labels:{padding:a}}}=r,l=r.legendHitBoxes=[],c=r.columnSizes=[],u=o-e;let d=a,h=0,p=0,f=0,m=0,g=0;return r.legendItems.forEach((e,r)=>{const o=n+t/2+s.measureText(e.text).width;r>0&&p+t+2*a>u&&(d+=h+a,c.push({width:h,height:p}),f+=h+a,g++,m=0,h=p=0),h=Math.max(h,o),p+=t+a,l[r]={left:f,top:m,col:g,width:o,height:i},m+=i+a}),d+=h,c.push({width:h,height:p}),d}adjustHitBoxes(){const e=this;if(!e.options.display)return;const t=e._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:s}}}=e;if(this.isHorizontal()){let o=0,a=(0,i.Y)(r,e.left+s,e.right-e.lineWidths[o]);for(const l of n)o!==l.row&&(o=l.row,a=(0,i.Y)(r,e.left+s,e.right-e.lineWidths[o])),l.top+=e.top+t+s,l.left=a,a+=l.width+s}else{let o=0,a=(0,i.Y)(r,e.top+t+s,e.bottom-e.columnSizes[o].height);for(const l of n)l.col!==o&&(o=l.col,a=(0,i.Y)(r,e.top+t+s,e.bottom-e.columnSizes[o].height)),l.top=a,l.left+=e.left+s,a+=l.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){const e=this;if(e.options.display){const t=e.ctx;(0,i.k)(t,e),e._draw(),(0,i.m)(t)}}_draw(){const e=this,{options:t,columnSizes:n,lineWidths:r,ctx:s}=e,{align:o,labels:a}=t,l=i.d.color,c=(0,i.at)(t.rtl,e.left,e.width),u=(0,i.W)(a.font),{color:d,padding:h}=a,p=u.size,f=p/2;let m;e.drawTitle(),s.textAlign=c.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=u.string;const{boxWidth:g,boxHeight:_,itemHeight:v}=Ut(a,p),y=e.isHorizontal(),b=this._computeTitleHeight();m=y?{x:(0,i.Y)(o,e.left+h,e.right-r[0]),y:e.top+h+b,line:0}:{x:e.left+h,y:(0,i.Y)(o,e.top+b+h,e.bottom-n[0].height),line:0},(0,i.au)(e.ctx,t.textDirection);const w=v+h;e.legendItems.forEach((t,x)=>{s.strokeStyle=t.fontColor||d,s.fillStyle=t.fontColor||d;const S=s.measureText(t.text).width,k=c.textAlign(t.textAlign||(t.textAlign=a.textAlign)),C=g+p/2+S;let M=m.x,E=m.y;c.setWidth(e.width),y?x>0&&M+C+h>e.right&&(E=m.y+=w,m.line++,M=m.x=(0,i.Y)(o,e.left+h,e.right-r[m.line])):x>0&&E+w>e.bottom&&(M=m.x=M+n[m.line].width+h,m.line++,E=m.y=(0,i.Y)(o,e.top+b+h,e.bottom-n[m.line].height)),function(e,t,n){if(isNaN(g)||g<=0||isNaN(_)||_<0)return;s.save();const r=(0,i.v)(n.lineWidth,1);if(s.fillStyle=(0,i.v)(n.fillStyle,l),s.lineCap=(0,i.v)(n.lineCap,"butt"),s.lineDashOffset=(0,i.v)(n.lineDashOffset,0),s.lineJoin=(0,i.v)(n.lineJoin,"miter"),s.lineWidth=r,s.strokeStyle=(0,i.v)(n.strokeStyle,l),s.setLineDash((0,i.v)(n.lineDash,[])),a.usePointStyle){const o={radius:g*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},a=c.xPlus(e,g/2);(0,i.an)(s,o,a,t+f)}else{const o=t+Math.max((p-_)/2,0),a=c.leftForLtr(e,g),l=(0,i.aq)(n.borderRadius);s.beginPath(),Object.values(l).some(e=>0!==e)?(0,i.ao)(s,{x:a,y:o,w:g,h:_,radius:l}):s.rect(a,o,g,_),s.fill(),0!==r&&s.stroke()}s.restore()}(c.x(M),E,t),M=(0,i.av)(k,M+g+f,e.right),function(e,t,n){(0,i.V)(s,n.text,e,t+v/2,u,{strikethrough:n.hidden,textAlign:n.textAlign})}(c.x(M),E,t),y?m.x+=C+h:m.y+=w}),(0,i.aw)(e.ctx,t.textDirection)}drawTitle(){const e=this,t=e.options,n=t.title,r=(0,i.W)(n.font),s=(0,i.C)(n.padding);if(!n.display)return;const o=(0,i.at)(t.rtl,e.left,e.width),a=e.ctx,l=n.position,c=s.top+r.size/2;let u,d=e.left,h=e.width;if(this.isHorizontal())h=Math.max(...e.lineWidths),u=e.top+c,d=(0,i.Y)(t.align,d,e.right-h);else{const n=e.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);u=c+(0,i.Y)(t.align,e.top,e.bottom-n-t.labels.padding-e._computeTitleHeight())}const p=(0,i.Y)(l,d,d+h);a.textAlign=o.textAlign((0,i.X)(l)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=r.string,(0,i.V)(a,n.text,p,u,r)}_computeTitleHeight(){const e=this.options.title,t=(0,i.W)(e.font),n=(0,i.C)(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){const n=this;let i,r,s;if(e>=n.left&&e<=n.right&&t>=n.top&&t<=n.bottom)for(s=n.legendHitBoxes,i=0;i=r.left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return n.legendItems[i];return null}handleEvent(e){const t=this,n=t.options;if(!function(e,t){return!("mousemove"!==e||!t.onHover&&!t.onLeave)||!(!t.onClick||"click"!==e&&"mouseup"!==e)}(e.type,n))return;const r=t._getLegendItemAt(e.x,e.y);if("mousemove"===e.type){const a=t._hoveredItem,l=(o=r,null!==(s=a)&&null!==o&&s.datasetIndex===o.datasetIndex&&s.index===o.index);a&&!l&&(0,i.N)(n.onLeave,[e,a,t],t),t._hoveredItem=r,r&&!l&&(0,i.N)(n.onHover,[e,r,t],t)}else r&&(0,i.N)(n.onClick,[e,r,t],t);var s,o}}var Vt={id:"legend",_element:zt,start(e,t,n){const i=e.legend=new zt({ctx:e.ctx,options:n,chart:e});te.configure(e,i,n),te.addBox(e,i)},stop(e){te.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const i=e.legend;te.configure(e,i,n),i.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const i=t.datasetIndex,r=n.chart;r.isDatasetVisible(i)?(r.hide(i),t.hidden=!0):(r.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:s,color:o}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{const a=e.controller.getStyle(n?0:void 0),l=(0,i.C)(a.borderWidth);return{text:t[e.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!e.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:a.borderColor,pointStyle:r||a.pointStyle,rotation:a.rotation,textAlign:s||a.textAlign,borderRadius:0,datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class qt extends _e{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const n=this,r=n.options;if(n.left=0,n.top=0,!r.display)return void(n.width=n.height=n.right=n.bottom=0);n.width=n.right=e,n.height=n.bottom=t;const s=(0,i.b)(r.text)?r.text.length:1;n._padding=(0,i.C)(r.padding);const o=s*(0,i.W)(r.font).lineHeight+n._padding.height;n.isHorizontal()?n.height=o:n.width=o}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:n,bottom:r,right:s,options:o}=this,a=o.align;let l,c,u,d=0;return this.isHorizontal()?(c=(0,i.Y)(a,n,s),u=t+e,l=s-n):("left"===o.position?(c=n+e,u=(0,i.Y)(a,r,t),d=-.5*i.P):(c=s-e,u=(0,i.Y)(a,t,r),d=.5*i.P),l=r-t),{titleX:c,titleY:u,maxWidth:l,rotation:d}}draw(){const e=this,t=e.ctx,n=e.options;if(!n.display)return;const r=(0,i.W)(n.font),s=r.lineHeight/2+e._padding.top,{titleX:o,titleY:a,maxWidth:l,rotation:c}=e._drawArgs(s);(0,i.V)(t,n.text,0,0,r,{color:n.color,maxWidth:l,rotation:c,textAlign:(0,i.X)(n.align),textBaseline:"middle",translation:[o,a]})}}var Wt={id:"title",_element:qt,start(e,t,n){!function(e,t){const n=new qt({ctx:e.ctx,options:t,chart:e});te.configure(e,n,t),te.addBox(e,n),e.titleBlock=n}(e,n)},stop(e){te.removeBox(e,e.titleBlock),delete e.titleBlock},beforeUpdate(e,t,n){const i=e.titleBlock;te.configure(e,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const $t={average(e){if(!e.length)return!1;let t,n,i=0,r=0,s=0;for(t=0,n=e.length;t-1?e.split("\n"):e}function Kt(e,t){const{element:n,datasetIndex:i,index:r}=t,s=e.getDatasetMeta(i).controller,{label:o,value:a}=s.getLabelAndValue(r);return{chart:e,label:o,parsed:s.getParsed(r),raw:e.data.datasets[i].data[r],formattedValue:a,dataset:s.getDataset(),dataIndex:r,datasetIndex:i,element:n}}function Qt(e,t){const n=e._chart.ctx,{body:r,footer:s,title:o}=e,{boxWidth:a,boxHeight:l}=t,c=(0,i.W)(t.bodyFont),u=(0,i.W)(t.titleFont),d=(0,i.W)(t.footerFont),h=o.length,p=s.length,f=r.length,m=(0,i.C)(t.padding);let g=m.height,_=0,v=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);v+=e.beforeBody.length+e.afterBody.length,h&&(g+=h*u.lineHeight+(h-1)*t.titleSpacing+t.titleMarginBottom),v&&(g+=f*(t.displayColors?Math.max(l,c.lineHeight):c.lineHeight)+(v-f)*c.lineHeight+(v-1)*t.bodySpacing),p&&(g+=t.footerMarginTop+p*d.lineHeight+(p-1)*t.footerSpacing);let y=0;const b=function(e){_=Math.max(_,n.measureText(e).width+y)};return n.save(),n.font=u.string,(0,i.D)(e.title,b),n.font=c.string,(0,i.D)(e.beforeBody.concat(e.afterBody),b),y=t.displayColors?a+2:0,(0,i.D)(r,e=>{(0,i.D)(e.before,b),(0,i.D)(e.lines,b),(0,i.D)(e.after,b)}),y=0,n.font=d.string,(0,i.D)(e.footer,b),n.restore(),_+=m.width,{width:_,height:g}}function Jt(e,t,n,i){const{x:r,width:s}=n,{width:o,chartArea:{left:a,right:l}}=e;let c="center";return"center"===i?c=r<=(a+l)/2?"left":"right":r<=s/2?c="left":r>=o-s/2&&(c="right"),function(e,t,n,i){const{x:r,width:s}=i,o=n.caretSize+n.caretPadding;return"left"===e&&r+s+o>t.width||"right"===e&&r-s-o<0||void 0}(c,e,t,n)&&(c="center"),c}function Xt(e,t,n){const i=t.yAlign||function(e,t){const{y:n,height:i}=t;return ne.height-i/2?"bottom":"center"}(e,n);return{xAlign:t.xAlign||Jt(e,t,n,i),yAlign:i}}function en(e,t,n,r){const{caretSize:s,caretPadding:o,cornerRadius:a}=e,{xAlign:l,yAlign:c}=n,u=s+o,d=a+o;let h=function(e,t){let{x:n,width:i}=e;return"right"===t?n-=i:"center"===t&&(n-=i/2),n}(t,l);const p=function(e,t,n){let{y:i,height:r}=e;return"top"===t?i+=n:i-="bottom"===t?r+n:r/2,i}(t,c,u);return"center"===c?"left"===l?h+=u:"right"===l&&(h-=u):"left"===l?h-=d:"right"===l&&(h+=d),{x:(0,i.x)(h,0,r.width-t.width),y:(0,i.x)(p,0,r.height-t.height)}}function tn(e,t,n){const r=(0,i.C)(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function nn(e){return Gt([],Zt(e))}function rn(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class sn extends _e{constructor(e){super(),this.opacity=0,this._active=[],this._chart=e._chart,this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this,t=e._cachedAnimations;if(t)return t;const n=e._chart,i=e.options.setContext(e.getContext()),r=i.enabled&&n.options.animation&&i.animations,s=new c(e._chart,r);return r._cacheable&&(e._cachedAnimations=Object.freeze(s)),s}getContext(){const e=this;return e.$context||(e.$context=(t=e._chart.getContext(),n=e,i=e._tooltipItems,Object.assign(Object.create(t),{tooltip:n,tooltipItems:i,type:"tooltip"})));var t,n,i}getTitle(e,t){const n=this,{callbacks:i}=t,r=i.beforeTitle.apply(n,[e]),s=i.title.apply(n,[e]),o=i.afterTitle.apply(n,[e]);let a=[];return a=Gt(a,Zt(r)),a=Gt(a,Zt(s)),a=Gt(a,Zt(o)),a}getBeforeBody(e,t){return nn(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const n=this,{callbacks:r}=t,s=[];return(0,i.D)(e,e=>{const t={before:[],lines:[],after:[]},i=rn(r,e);Gt(t.before,Zt(i.beforeLabel.call(n,e))),Gt(t.lines,i.label.call(n,e)),Gt(t.after,Zt(i.afterLabel.call(n,e))),s.push(t)}),s}getAfterBody(e,t){return nn(t.callbacks.afterBody.apply(this,[e]))}getFooter(e,t){const n=this,{callbacks:i}=t,r=i.beforeFooter.apply(n,[e]),s=i.footer.apply(n,[e]),o=i.afterFooter.apply(n,[e]);let a=[];return a=Gt(a,Zt(r)),a=Gt(a,Zt(s)),a=Gt(a,Zt(o)),a}_createItems(e){const t=this,n=t._active,r=t._chart.data,s=[],o=[],a=[];let l,c,u=[];for(l=0,c=n.length;le.filter(t,n,i,r))),e.itemSort&&(u=u.sort((t,n)=>e.itemSort(t,n,r))),(0,i.D)(u,n=>{const i=rn(e.callbacks,n);s.push(i.labelColor.call(t,n)),o.push(i.labelPointStyle.call(t,n)),a.push(i.labelTextColor.call(t,n))}),t.labelColors=s,t.labelPointStyles=o,t.labelTextColors=a,t.dataPoints=u,u}update(e,t){const n=this,i=n.options.setContext(n.getContext()),r=n._active;let s,o=[];if(r.length){const e=$t[i.position].call(n,r,n._eventPosition);o=n._createItems(i),n.title=n.getTitle(o,i),n.beforeBody=n.getBeforeBody(o,i),n.body=n.getBody(o,i),n.afterBody=n.getAfterBody(o,i),n.footer=n.getFooter(o,i);const t=n._size=Qt(n,i),a=Object.assign({},e,t),l=Xt(n._chart,i,a),c=en(i,a,l,n._chart);n.xAlign=l.xAlign,n.yAlign=l.yAlign,s={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==n.opacity&&(s={opacity:0});n._tooltipItems=o,n.$context=void 0,s&&n._resolveAnimations().update(n,s),e&&i.external&&i.external.call(n,{chart:n._chart,tooltip:n,replay:t})}drawCaret(e,t,n,i){const r=this.getCaretPosition(e,n,i);t.lineTo(r.x1,r.y1),t.lineTo(r.x2,r.y2),t.lineTo(r.x3,r.y3)}getCaretPosition(e,t,n){const{xAlign:i,yAlign:r}=this,{cornerRadius:s,caretSize:o}=n,{x:a,y:l}=e,{width:c,height:u}=t;let d,h,p,f,m,g;return"center"===r?(m=l+u/2,"left"===i?(d=a,h=d-o,f=m+o,g=m-o):(d=a+c,h=d+o,f=m-o,g=m+o),p=d):(h="left"===i?a+s+o:"right"===i?a+c-s-o:this.caretX,"top"===r?(f=l,m=f-o,d=h-o,p=h+o):(f=l+u,m=f+o,d=h+o,p=h-o),g=f),{x1:d,x2:h,x3:p,y1:f,y2:m,y3:g}}drawTitle(e,t,n){const r=this,s=r.title,o=s.length;let a,l,c;if(o){const u=(0,i.at)(n.rtl,r.x,r.width);for(e.x=tn(r,n.titleAlign,n),t.textAlign=u.textAlign(n.titleAlign),t.textBaseline="middle",a=(0,i.W)(n.titleFont),l=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,c=0;c0!==e)?(e.beginPath(),e.fillStyle=s.multiKeyBackground,(0,i.ao)(e,{x:t,y:f,w:u,h:c,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),(0,i.ao)(e,{x:n,y:f+1,w:u-2,h:c-2,radius:o}),e.fill()):(e.fillStyle=s.multiKeyBackground,e.fillRect(t,f,u,c),e.strokeRect(t,f,u,c),e.fillStyle=a.backgroundColor,e.fillRect(n,f+1,u-2,c-2))}e.fillStyle=o.labelTextColors[n]}drawBody(e,t,n){const r=this,{body:s}=r,{bodySpacing:o,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:u}=n,d=(0,i.W)(n.bodyFont);let h=d.lineHeight,p=0;const f=(0,i.at)(n.rtl,r.x,r.width),m=function(n){t.fillText(n,f.x(e.x+p),e.y+h/2),e.y+=h+o},g=f.textAlign(a);let _,v,y,b,w,x,S;for(t.textAlign=a,t.textBaseline="middle",t.font=d.string,e.x=tn(r,g,n),t.fillStyle=n.bodyColor,(0,i.D)(r.beforeBody,m),p=l&&"right"!==g?"center"===a?u/2+1:u+2:0,b=0,x=s.length;b0&&t.stroke()}_updateAnimationTarget(e){const t=this,n=t._chart,i=t.$animations,r=i&&i.x,s=i&&i.y;if(r||s){const i=$t[e.position].call(t,t._active,t._eventPosition);if(!i)return;const o=t._size=Qt(t,e),a=Object.assign({},i,t._size),l=Xt(n,e,a),c=en(e,a,l,n);r._to===c.x&&s._to===c.y||(t.xAlign=l.xAlign,t.yAlign=l.yAlign,t.width=o.width,t.height=o.height,t.caretX=i.x,t.caretY=i.y,t._resolveAnimations().update(t,c))}}draw(e){const t=this,n=t.options.setContext(t.getContext());let r=t.opacity;if(!r)return;t._updateAnimationTarget(n);const s={width:t.width,height:t.height},o={x:t.x,y:t.y};r=Math.abs(r)<.001?0:r;const a=(0,i.C)(n.padding);n.enabled&&(t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length)&&(e.save(),e.globalAlpha=r,t.drawBackground(o,e,s,n),(0,i.au)(e,n.textDirection),o.y+=a.top,t.drawTitle(o,e,n),t.drawBody(o,e,n),t.drawFooter(o,e,n),(0,i.aw)(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const n=this,r=n._active,s=e.map(({datasetIndex:e,index:t})=>{const i=n._chart.getDatasetMeta(e);if(!i)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:i.data[t],index:t}}),o=!(0,i.ac)(r,s),a=n._positionChanged(s,t);(o||a)&&(n._active=s,n._eventPosition=t,n.update(!0))}handleEvent(e,t){const n=this,r=n.options,s=n._active||[];let o=!1,a=[];"mouseout"!==e.type&&(a=n._chart.getElementsAtEventForMode(e,r.mode,r,t),r.reverse&&a.reverse());const l=n._positionChanged(a,e);return o=t||!(0,i.ac)(a,s)||l,o&&(n._active=a,(r.enabled||r.external)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0,t))),o}_positionChanged(e,t){const{caretX:n,caretY:i,options:r}=this,s=$t[r.position].call(this,e,t);return!1!==s&&(n!==s.x||i!==s.y)}}sn.positioners=$t;var on={id:"tooltip",_element:sn,positioners:$t,afterInit(e,t,n){n&&(e.tooltip=new sn({_chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip,n={tooltip:t};!1!==e.notifyPlugins("beforeTooltipDraw",n)&&(t&&t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n))},afterEvent(e,t){e.tooltip&&e.tooltip.handleEvent(t.event,t.replay)&&(t.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:i.ax,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},an=Object.freeze({__proto__:null,Decimation:Mt,Filler:Bt,Legend:Vt,Title:Wt,Tooltip:on});class ln extends Ee{constructor(e){super(e),this._startValue=void 0,this._valueRange=0}parse(e,t){if((0,i.j)(e))return null;const n=this.getLabels();return((e,t)=>null===e?null:(0,i.x)(Math.round(e),0,t))(t=isFinite(t)&&n[t]===e?t:function(e,t,n){const i=e.indexOf(t);return-1===i?((e,t,n)=>"string"==typeof t?e.push(t)-1:isNaN(t)?null:n)(e,t,n):i!==e.lastIndexOf(t)?n:i}(n,e,(0,i.v)(t,e)),n.length-1)}determineDataLimits(){const e=this,{minDefined:t,maxDefined:n}=e.getUserBounds();let{min:i,max:r}=e.getMinMax(!0);"ticks"===e.options.bounds&&(t||(i=0),n||(r=e.getLabels().length-1)),e.min=i,e.max=r}buildTicks(){const e=this,t=e.min,n=e.max,i=e.options.offset,r=[];let s=e.getLabels();s=0===t&&n===s.length-1?s:s.slice(t,n+1),e._valueRange=Math.max(s.length-(i?0:1),1),e._startValue=e.min-(i?.5:0);for(let o=t;o<=n;o++)r.push({value:o});return r}getLabelForValue(e){const t=this.getLabels();return e>=0&&et.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){const t=this;return Math.round(t._startValue+t.getDecimalForPixel(e)*t._valueRange)}getBasePixel(){return this.bottom}}ln.id="category",ln.defaults={ticks:{callback:ln.prototype.getLabelForValue}};class cn extends Ee{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return(0,i.j)(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const e=this,{beginAtZero:t,stacked:n}=e.options,{minDefined:r,maxDefined:s}=e.getUserBounds();let{min:o,max:a}=e;const l=e=>o=r?o:e,c=e=>a=s?a:e;if(t||n){const e=(0,i.s)(o),t=(0,i.s)(a);e<0&&t<0?c(0):e>0&&t>0&&l(0)}o===a&&(c(a+1),t||l(o-1)),e.min=o,e.max=a}getTickLimit(){const e=this,t=e.options.ticks;let n,{maxTicksLimit:i,stepSize:r}=t;return r?n=Math.ceil(e.max/r)-Math.floor(e.min/r)+1:(n=e.computeTickLimit(),i=i||11),i&&(n=Math.min(i,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this,t=e.options,n=t.ticks;let r=e.getTickLimit();r=Math.max(2,r);const s=function(e,t){const n=[],{step:r,min:s,max:o,precision:a,count:l,maxTicks:c,maxDigits:u,horizontal:d}=e,h=r||1,p=c-1,{min:f,max:m}=t,g=!(0,i.j)(s),_=!(0,i.j)(o),v=!(0,i.j)(l),y=(m-f)/u;let b,w,x,S,k=(0,i.aA)((m-f)/p/h)*h;if(k<1e-14&&!g&&!_)return[{value:f},{value:m}];S=Math.ceil(m/k)-Math.floor(f/k),S>p&&(k=(0,i.aA)(S*k/p/h)*h),(0,i.j)(a)||(b=Math.pow(10,a),k=Math.ceil(k*b)/b),w=Math.floor(f/k)*k,x=Math.ceil(m/k)*k,g&&_&&r&&(0,i.aB)((o-s)/r,k/1e3)?(S=Math.min((o-s)/k,c),k=(o-s)/S,w=s,x=o):v?(w=g?s:w,x=_?o:x,S=l-1,k=(x-w)/S):(S=(x-w)/k,S=(0,i.aC)(S,Math.round(S),k/1e3)?Math.round(S):Math.ceil(S)),b=Math.pow(10,(0,i.j)(a)?(0,i.aD)(k):a),w=Math.round(w*b)/b,x=Math.round(x*b)/b;let C=0;for(g&&(n.push({value:s}),w<=s&&C++,(0,i.aC)(Math.round((w+C*k)*b)/b,s,y*(d?(""+s).length:1))&&C++);C0?n:null;this._zero=!0}determineDataLimits(){const e=this,{min:t,max:n}=e.getMinMax(!0);e.min=(0,i.g)(t)?Math.max(0,t):null,e.max=(0,i.g)(n)?Math.max(0,n):null,e.options.beginAtZero&&(e._zero=!0),e.handleTickRangeOptions()}handleTickRangeOptions(){const e=this,{minDefined:t,maxDefined:n}=e.getUserBounds();let r=e.min,s=e.max;const o=e=>r=t?r:e,a=e=>s=n?s:e,l=(e,t)=>Math.pow(10,Math.floor((0,i.K)(e))+t);r===s&&(r<=0?(o(1),a(10)):(o(l(r,-1)),a(l(s,1)))),r<=0&&o(l(s,-1)),s<=0&&a(l(r,1)),e._zero&&e.min!==e._suggestedMin&&r===l(e.min,0)&&o(l(r,-1)),e.min=r,e.max=s}buildTicks(){const e=this,t=e.options,n=function(e,t){const n=Math.floor((0,i.K)(t.max)),r=Math.ceil(t.max/Math.pow(10,n)),s=[];let o=(0,i.M)(e.min,Math.pow(10,Math.floor((0,i.K)(t.min)))),a=Math.floor((0,i.K)(o)),l=Math.floor(o/Math.pow(10,a)),c=a<0?Math.pow(10,Math.abs(a)):1;do{s.push({value:o,major:dn(o)}),++l,10===l&&(l=1,++a,c=a>=0?1:c),o=Math.round(l*Math.pow(10,a)*c)/c}while(ar?{start:t-n,end:t}:{start:t,end:t+n}}function mn(e){return 0===e||180===e?"center":e<180?"left":"right"}function gn(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function _n(e,t,n,r){const{ctx:s}=e;if(n)s.arc(e.xCenter,e.yCenter,t,0,i.T);else{let n=e.getPointPosition(0,t);s.moveTo(n.x,n.y);for(let i=1;i{const r=(0,i.N)(t.options.pointLabels.callback,[e,n],t);return r||0===r?r:""})}fit(){const e=this,t=e.options;t.display&&t.pointLabels.display?function(e){const t={l:0,r:e.width,t:0,b:e.height-e.paddingTop},n={};let r,s,o;const a=[],l=[],c=e.getLabels().length;for(r=0;rt.r&&(t.r=g.end,n.r=f),_.startt.b&&(t.b=_.end,n.b=f)}var u,d,h;e._setReductions(e.drawingArea,t,n),e._pointLabelItems=[];const p=e.options,f=pn(p),m=e.getDistanceFromCenterForValue(p.ticks.reverse?e.min:e.max);for(r=0;r=0;s--){const t=r.setContext(e.getContext(s)),o=(0,i.W)(t.font),{x:a,y:l,textAlign:c,left:u,top:d,right:h,bottom:p}=e._pointLabelItems[s],{backdropColor:f}=t;if(!(0,i.j)(f)){const e=(0,i.C)(t.backdropPadding);n.fillStyle=f,n.fillRect(u-e.left,d-e.top,h-u+e.width,p-d+e.height)}(0,i.V)(n,e._pointLabels[s],a,l+o.lineHeight/2,o,{color:t.color,textAlign:c,textBaseline:"middle"})}}(e,o),s.display&&e.ticks.forEach((t,n)=>{if(0!==n){l=e.getDistanceFromCenterForValue(t.value);const i=s.setContext(e.getContext(n-1));!function(e,t,n,i){const r=e.ctx,s=t.circular,{color:o,lineWidth:a}=t;!s&&!i||!o||!a||n<0||(r.save(),r.strokeStyle=o,r.lineWidth=a,r.setLineDash(t.borderDash),r.lineDashOffset=t.borderDashOffset,r.beginPath(),_n(e,n,s,i),r.closePath(),r.stroke(),r.restore())}(e,i,l,o)}}),r.display){for(t.save(),a=e.getLabels().length-1;a>=0;a--){const i=r.setContext(e.getContext(a)),{color:s,lineWidth:o}=i;o&&s&&(t.lineWidth=o,t.strokeStyle=s,t.setLineDash(i.borderDash),t.lineDashOffset=i.borderDashOffset,l=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),c=e.getPointPosition(a,l),t.beginPath(),t.moveTo(e.xCenter,e.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const e=this,t=e.ctx,n=e.options,r=n.ticks;if(!r.display)return;const s=e.getIndexAngle(0);let o,a;t.save(),t.translate(e.xCenter,e.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",e.ticks.forEach((s,l)=>{if(0===l&&!n.reverse)return;const c=r.setContext(e.getContext(l)),u=(0,i.W)(c.font);if(o=e.getDistanceFromCenterForValue(e.ticks[l].value),c.showLabelBackdrop){a=t.measureText(s.label).width,t.fillStyle=c.backdropColor;const e=(0,i.C)(c.backdropPadding);t.fillRect(-a/2-e.left,-o-u.size/2-e.top,a+e.width,u.size+e.height)}(0,i.V)(t,s.label,0,-o,u,{color:c.color})}),t.restore()}drawTitle(){}}yn.id="radialLinear",yn.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ye.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5}},yn.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},yn.descriptors={angleLines:{_fallback:"grid"}};const bn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},wn=Object.keys(bn);function xn(e,t){return e-t}function Sn(e,t){if((0,i.j)(t))return null;const n=e._adapter,{parser:r,round:s,isoWeekday:o}=e._parseOpts;let a=t;return"function"==typeof r&&(a=r(a)),(0,i.g)(a)||(a="string"==typeof r?n.parse(a,r):n.parse(a)),null===a?null:(s&&(a="week"!==s||!(0,i.w)(o)&&!0!==o?n.startOf(a,s):n.startOf(a,"isoWeek",o)),+a)}function kn(e,t,n,i){const r=wn.length;for(let s=wn.indexOf(e);s=t?n[r]:n[s]]=!0}}else e[t]=!0}function Mn(e,t,n){const i=[],r={},s=t.length;let o,a;for(o=0;o=0&&(t[l].major=!0);return t}(e,i,r,n):i}class En extends Ee{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t){const n=e.time||(e.time={}),r=this._adapter=new F._date(e.adapters.date);(0,i.a6)(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:Sn(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this,t=e.options,n=e._adapter,r=t.time.unit||"day";let{min:s,max:o,minDefined:a,maxDefined:l}=e.getUserBounds();function c(e){a||isNaN(e.min)||(s=Math.min(s,e.min)),l||isNaN(e.max)||(o=Math.max(o,e.max))}a&&l||(c(e._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||c(e.getMinMax(!1))),s=(0,i.g)(s)&&!isNaN(s)?s:+n.startOf(Date.now(),r),o=(0,i.g)(o)&&!isNaN(o)?o:+n.endOf(Date.now(),r)+1,e.min=Math.min(s,o-1),e.max=Math.max(s+1,o)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}buildTicks(){const e=this,t=e.options,n=t.time,r=t.ticks,s="labels"===r.source?e.getLabelTimestamps():e._generate();"ticks"===t.bounds&&s.length&&(e.min=e._userMin||s[0],e.max=e._userMax||s[s.length-1]);const o=e.min,a=(0,i.aF)(s,o,e.max);return e._unit=n.unit||(r.autoSkip?kn(n.minUnit,e.min,e.max,e._getLabelCapacity(o)):function(e,t,n,i,r){for(let s=wn.length-1;s>=wn.indexOf(n);s--){const n=wn[s];if(bn[n].common&&e._adapter.diff(r,i,n)>=t-1)return n}return wn[n?wn.indexOf(n):0]}(e,a.length,n.minUnit,e.min,e.max)),e._majorUnit=r.major.enabled&&"year"!==e._unit?function(e){for(let t=wn.indexOf(e)+1,n=wn.length;t1e5*l)throw new Error(n+" and "+r+" are too far apart with stepSize of "+l+" "+a);const m="data"===s.ticks.source&&e.getDataTimestamps();for(h=f,p=0;he-t).map(e=>+e)}getLabelForValue(e){const t=this.options.time;return this._adapter.format(e,t.tooltipFormat?t.tooltipFormat:t.displayFormats.datetime)}_tickFormatFunction(e,t,n,r){const s=this,o=s.options,a=o.time.displayFormats,l=s._unit,c=s._majorUnit,u=c&&a[c],d=n[t],h=s._adapter.format(e,r||(c&&u&&d&&d.major?u:l&&a[l])),p=o.ticks.callback;return p?(0,i.N)(p,[h,t,n],s):h}generateTickLabels(e){let t,n,i;for(t=0,n=e.length;t0?a:1}getDataTimestamps(){const e=this;let t,n,i=e._cache.data||[];if(i.length)return i;const r=e.getMatchingVisibleMetas();if(e._normalized&&r.length)return e._cache.data=r[0].controller.getAllParsedValues(e);for(t=0,n=r.length;tt&&o0&&!(0,i.j)(t)?t/n._maxIndex:n.getDecimalForValue(e);return n.getPixelForDecimal((r.start+s)*r.factor)}getDecimalForValue(e){return Tn(this._table,e)/this._maxIndex}getValueForPixel(e){const t=this,n=t._offsets,i=t.getDecimalForPixel(e)/n.factor-n.end;return Tn(t._table,i*this._maxIndex,!0)}}An.id="timeseries",An.defaults=En.defaults;var Dn=Object.freeze({__proto__:null,CategoryScale:ln,LinearScale:un,LogarithmicScale:hn,RadialLinearScale:yn,TimeScale:En,TimeSeriesScale:An});const Pn=[I,St,an,Dn]},25233:(e,t,n)=>{"use strict";n.d(t,{$:()=>C,A:()=>Qe,B:()=>gt,C:()=>ut,D:()=>b,E:()=>$t,F:()=>Nt,G:()=>Kt,H:()=>H,I:()=>r,J:()=>Zt,K:()=>U,L:()=>q,M:()=>m,N:()=>y,O:()=>pt,P:()=>I,Q:()=>Q,R:()=>We,S:()=>se,T:()=>R,U:()=>Ge,V:()=>nt,W:()=>dt,X:()=>o,Y:()=>a,Z:()=>Be,_:()=>wt,a:()=>ht,a0:()=>D,a1:()=>Ue,a2:()=>L,a3:()=>St,a4:()=>xt,a5:()=>kt,a6:()=>M,a7:()=>u,a8:()=>s,a9:()=>Gt,aA:()=>V,aB:()=>G,aC:()=>$,aD:()=>J,aE:()=>$e,aF:()=>_t,aG:()=>ft,aa:()=>Ze,ab:()=>O,ac:()=>w,ad:()=>X,ae:()=>at,af:()=>Ht,ag:()=>un,ah:()=>cn,ai:()=>Jt,aj:()=>Xt,ak:()=>Qt,al:()=>et,am:()=>tt,an:()=>Ke,ao:()=>it,ap:()=>lt,aq:()=>ct,ar:()=>ln,as:()=>ne,at:()=>nn,au:()=>rn,av:()=>l,aw:()=>sn,ax:()=>c,ay:()=>ee,az:()=>Z,b:()=>h,c:()=>He,d:()=>qe,e:()=>ce,f:()=>A,g:()=>f,h:()=>P,i:()=>p,j:()=>d,k:()=>Je,l:()=>yt,m:()=>Xe,n:()=>_,o:()=>v,p:()=>tn,q:()=>ie,r:()=>i,s:()=>z,t:()=>K,u:()=>bt,v:()=>g,w:()=>W,x:()=>re,y:()=>mt,z:()=>qt});const i="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function r(e,t,n){const r=n||(e=>Array.prototype.slice.call(e));let s=!1,o=[];return function(...n){o=r(n),s||(s=!0,i.call(window,()=>{s=!1,e.apply(t,o)}))}}function s(e,t){let n;return function(){return t?(clearTimeout(n),n=setTimeout(e,t)):e(),t}}const o=e=>"start"===e?"left":"end"===e?"right":"center",a=(e,t,n)=>"start"===e?t:"end"===e?n:(t+n)/2,l=(e,t,n)=>"right"===e?n:"center"===e?(t+n)/2:t;function c(){}const u=function(){let e=0;return function(){return e++}}();function d(e){return null==e}function h(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function p(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}const f=e=>("number"==typeof e||e instanceof Number)&&isFinite(+e);function m(e,t){return f(e)?e:t}function g(e,t){return void 0===e?t:e}const _=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100:e/t,v=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function y(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)}function b(e,t,n,i){let r,s,o;if(h(e))if(s=e.length,i)for(r=s-1;r>=0;r--)t.call(n,e[r],r);else for(r=0;rn;)e=e[t.substr(n,i-n)],n=i+1,i=T(t,n);return e}function D(e){return e.charAt(0).toUpperCase()+e.slice(1)}const P=e=>void 0!==e,L=e=>"function"==typeof e,O=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0},I=Math.PI,R=2*I,Y=R+I,F=Number.POSITIVE_INFINITY,j=I/180,H=I/2,N=I/4,B=2*I/3,U=Math.log10,z=Math.sign;function V(e){const t=Math.pow(10,Math.floor(U(e))),n=e/t;return(n<=1?1:n<=2?2:n<=5?5:10)*t}function q(e){const t=[],n=Math.sqrt(e);let i;for(i=1;ie-t).pop(),t}function W(e){return!isNaN(parseFloat(e))&&isFinite(e)}function $(e,t,n){return Math.abs(e-t)=e}function Z(e,t,n){let i,r,s;for(i=0,r=e.length;ia&&l0===e||1===e,ae=(e,t,n)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*R/n),le=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*R/n)+1,ce={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*H),easeOutSine:e=>Math.sin(e*H),easeInOutSine:e=>-.5*(Math.cos(I*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>oe(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>oe(e)?e:ae(e,.075,.3),easeOutElastic:e=>oe(e)?e:le(e,.075,.3),easeInOutElastic(e){const t=.1125;return oe(e)?e:e<.5?.5*ae(2*e,t,.45):.5+.5*le(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-ce.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?.5*ce.easeInBounce(2*e):.5*ce.easeOutBounce(2*e-1)+.5},ue={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},de="0123456789ABCDEF",he=e=>de[15&e],pe=e=>de[(240&e)>>4]+de[15&e],fe=e=>(240&e)>>4==(15&e);function me(e){return e+.5|0}const ge=(e,t,n)=>Math.max(Math.min(e,n),t);function _e(e){return ge(me(2.55*e),0,255)}function ve(e){return ge(me(255*e),0,255)}function ye(e){return ge(me(e/2.55)/100,0,1)}function be(e){return ge(me(100*e),0,100)}const we=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,xe=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Se(e,t,n){const i=t*Math.min(n,1-n),r=(t,r=(t+e/30)%12)=>n-i*Math.max(Math.min(r-3,9-r,1),-1);return[r(0),r(8),r(4)]}function ke(e,t,n){const i=(i,r=(i+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function Ce(e,t,n){const i=Se(e,1,.5);let r;for(t+n>1&&(r=1/(t+n),t*=r,n*=r),r=0;r<3;r++)i[r]*=1-t-n,i[r]+=t;return i}function Me(e){const t=e.r/255,n=e.g/255,i=e.b/255,r=Math.max(t,n,i),s=Math.min(t,n,i),o=(r+s)/2;let a,l,c;return r!==s&&(c=r-s,l=o>.5?c/(2-r-s):c/(r+s),a=r===t?(n-i)/c+(n=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=ve(e[3]))):(t=Ie(e,{r:0,g:0,b:0,a:1})).a=ve(t.a),t}class Ye{constructor(e){if(e instanceof Ye)return e;const t=typeof e;let n;var i,r,s;"object"===t?n=Re(e):"string"===t&&(s=(i=e).length,"#"===i[0]&&(4===s||5===s?r={r:255&17*ue[i[1]],g:255&17*ue[i[2]],b:255&17*ue[i[3]],a:5===s?17*ue[i[4]]:255}:7!==s&&9!==s||(r={r:ue[i[1]]<<4|ue[i[2]],g:ue[i[3]]<<4|ue[i[4]],b:ue[i[5]]<<4|ue[i[6]],a:9===s?ue[i[7]]<<4|ue[i[8]]:255})),n=r||function(e){Le||(Le=function(){const e={},t=Object.keys(Pe),n=Object.keys(De);let i,r,s,o,a;for(i=0;i>16&255,s>>8&255,255&s]}return e}(),Le.transparent=[0,0,0,0]);const t=Le[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}(e)||function(e){return"r"===e.charAt(0)?function(e){const t=we.exec(e);let n,i,r,s=255;if(t){if(t[7]!==n){const e=+t[7];s=255&(t[8]?_e(e):255*e)}return n=+t[1],i=+t[3],r=+t[5],n=255&(t[2]?_e(n):n),i=255&(t[4]?_e(i):i),r=255&(t[6]?_e(r):r),{r:n,g:i,b:r,a:s}}}(e):function(e){const t=xe.exec(e);let n,i=255;if(!t)return;t[5]!==n&&(i=t[6]?_e(+t[5]):ve(+t[5]));const r=Ae(+t[2]),s=+t[3]/100,o=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return Ee(Ce,e,t,n)}(r,s,o):"hsv"===t[1]?function(e,t,n){return Ee(ke,e,t,n)}(r,s,o):Te(r,s,o),{r:n[0],g:n[1],b:n[2],a:i}}(e)}(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=Ie(this._rgb);return e&&(e.a=ye(e.a)),e}set rgb(e){this._rgb=Re(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${ye(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):this._rgb;var e}hexString(){return this._valid?(t=function(e){return fe(e.r)&&fe(e.g)&&fe(e.b)&&fe(e.a)}(e=this._rgb)?he:pe,e?"#"+t(e.r)+t(e.g)+t(e.b)+(e.a<255?t(e.a):""):e):this._rgb;var e,t}hslString(){return this._valid?function(e){if(!e)return;const t=Me(e),n=t[0],i=be(t[1]),r=be(t[2]);return e.a<255?`hsla(${n}, ${i}%, ${r}%, ${ye(e.a)})`:`hsl(${n}, ${i}%, ${r}%)`}(this._rgb):this._rgb}mix(e,t){const n=this;if(e){const i=n.rgb,r=e.rgb;let s;const o=t===s?.5:t,a=2*o-1,l=i.a-r.a,c=((a*l==-1?a:(a+l)/(1+a*l))+1)/2;s=1-c,i.r=255&c*i.r+s*r.r+.5,i.g=255&c*i.g+s*r.g+.5,i.b=255&c*i.b+s*r.b+.5,i.a=o*i.a+(1-o)*r.a,n.rgb=i}return n}clone(){return new Ye(this.rgb)}alpha(e){return this._rgb.a=ve(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=me(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Oe(this._rgb,2,e),this}darken(e){return Oe(this._rgb,2,-e),this}saturate(e){return Oe(this._rgb,1,e),this}desaturate(e){return Oe(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=Me(e);n[0]=Ae(n[0]+t),n=Te(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}function Fe(e){return new Ye(e)}const je=e=>e instanceof CanvasGradient||e instanceof CanvasPattern;function He(e){return je(e)?e:Fe(e)}function Ne(e){return je(e)?e:Fe(e).saturate(.5).darken(.1).hexString()}const Be=Object.create(null),Ue=Object.create(null);function ze(e,t){if(!t)return e;const n=t.split(".");for(let i=0,r=n.length;ie.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Ne(t.backgroundColor),this.hoverBorderColor=(e,t)=>Ne(t.borderColor),this.hoverColor=(e,t)=>Ne(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.describe(e)}set(e,t){return Ve(this,e,t)}get(e){return ze(this,e)}describe(e,t){return Ve(Ue,e,t)}override(e,t){return Ve(Be,e,t)}route(e,t,n,i){const r=ze(this,e),s=ze(this,n),o="_"+t;Object.defineProperties(r,{[o]:{value:r[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[o],t=s[i];return p(e)?Object.assign({},t,e):g(e,t)},set(e){this[o]=e}}})}}({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function We(e,t,n,i,r){let s=t[r];return s||(s=t[r]=e.measureText(r).width,n.push(r)),s>i&&(i=s),i}function $e(e,t,n,i){let r=(i=i||{}).data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},s=i.garbageCollect=[],i.font=t),e.save(),e.font=t;let o=0;const a=n.length;let l,c,u,d,p;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function Qe(e,t,n){return n=n||.5,e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&""!==s.strokeColor;let l,c;for(e.save(),s.translation&&e.translate(s.translation[0],s.translation[1]),d(s.rotation)||e.rotate(s.rotation),e.font=r.string,s.color&&(e.fillStyle=s.color),s.textAlign&&(e.textAlign=s.textAlign),s.textBaseline&&(e.textBaseline=s.textBaseline),l=0;lg(e[n],e[t[n]]):t=>e[t]:()=>e;for(const o of r)n[o]=+s(o)||0;return n}function lt(e){return at(e,{top:"y",right:"x",bottom:"y",left:"x"})}function ct(e){return at(e,["topLeft","topRight","bottomLeft","bottomRight"])}function ut(e){const t=lt(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function dt(e,t){let n=g((e=e||{}).size,(t=t||qe.font).size);"string"==typeof n&&(n=parseInt(n,10));let i=g(e.style,t.style);i&&!(""+i).match(st)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const r={family:g(e.family,t.family),lineHeight:ot(g(e.lineHeight,t.lineHeight),n),size:n,style:i,weight:g(e.weight,t.weight),string:""};return r.string=function(e){return!e||d(e.size)||d(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(r),r}function ht(e,t,n,i){let r,s,o,a=!0;for(r=0,s=e.length;re[n]1;)i=s+r>>1,n(i)?s=i:r=i;return{lo:s,hi:r}}const mt=(e,t,n)=>ft(e,n,i=>e[i][t]ft(e,n,i=>e[i][t]>=n);function _t(e,t,n){let i=0,r=e.length;for(;ii&&e[r-1]>n;)r--;return i>0||r{const n="_onData"+D(t),i=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){const r=i.apply(this,t);return e._chartjs.listeners.forEach(e=>{"function"==typeof e[n]&&e[n](...t)}),r}})}))}function bt(e,t){const n=e._chartjs;if(!n)return;const i=n.listeners,r=i.indexOf(t);-1!==r&&i.splice(r,1),i.length>0||(vt.forEach(t=>{delete e[t]}),delete e._chartjs)}function wt(e){const t=new Set;let n,i;for(n=0,i=e.length;n{r.push(e)}),r}function xt(e,t=[""],n=e,i,r=(()=>e[0])){P(i)||(i=Ot("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:i,_getTarget:r,override:r=>xt([r,...e],t,n,i)};return new Proxy(s,{deleteProperty:(t,n)=>(delete t[n],delete t._keys,delete e[0][n],!0),get:(n,i)=>Et(n,i,()=>function(e,t,n,i){let r;for(const s of t)if(r=Ot(Ct(s,e),n),P(r))return Mt(e,r)?Pt(n,i,e,r):r}(i,t,e,n)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>It(e).includes(t),ownKeys:e=>It(e),set:(e,t,n)=>((e._storage||(e._storage=r()))[t]=n,delete e[t],delete e._keys,!0)})}function St(e,t,n,i){const r={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:kt(e,i),setContext:t=>St(e,t,n,i),override:r=>St(e.override(r),t,n,i)};return new Proxy(r,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,t,n)=>Et(e,t,()=>function(e,t,n){const{_proxy:i,_context:r,_subProxy:s,_descriptors:o}=e;let a=i[t];return L(a)&&o.isScriptable(t)&&(a=function(e,t,n,i){const{_proxy:r,_context:s,_subProxy:o,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+[...a].join("->")+"->"+e);return a.add(e),t=t(s,o||i),a.delete(e),p(t)&&(t=Pt(r._scopes,r,e,t)),t}(t,a,e,n)),h(a)&&a.length&&(a=function(e,t,n,i){const{_proxy:r,_context:s,_subProxy:o,_descriptors:a}=n;if(P(s.index)&&i(e))t=t[s.index%t.length];else if(p(t[0])){const n=t,i=r._scopes.filter(e=>e!==n);t=[];for(const l of n){const n=Pt(i,r,e,l);t.push(St(n,s,o&&o[e],a))}}return t}(t,a,e,o.isIndexable)),Mt(t,a)&&(a=St(a,r,s&&s[t],o)),a}(e,t,n)),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,i)=>(e[n]=i,delete t[n],!0)})}function kt(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:i=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:n,indexable:i,isScriptable:L(n)?n:()=>n,isIndexable:L(i)?i:()=>i}}const Ct=(e,t)=>e?e+D(t):t,Mt=(e,t)=>p(t)&&"adapters"!==e;function Et(e,t,n){let i=e[t];return P(i)||(i=n(),P(i)&&(e[t]=i)),i}function Tt(e,t,n){return L(e)?e(t,n):e}const At=(e,t)=>!0===e?t:"string"==typeof e?A(t,e):void 0;function Dt(e,t,n,i){for(const r of t){const t=At(n,r);if(t){e.add(t);const r=Tt(t._fallback,n,t);if(P(r)&&r!==n&&r!==i)return r}else if(!1===t&&P(i)&&n!==i)return null}return!1}function Pt(e,t,n,i){const r=t._rootScopes,s=Tt(t._fallback,n,i),o=[...e,...r],a=new Set;a.add(i);let l=Lt(a,o,n,s||n);return null!==l&&(!P(s)||s===n||(l=Lt(a,o,s,l),null!==l))&&xt([...a],[""],r,s,()=>{const e=t._getTarget();return n in e||(e[n]={}),e[n]})}function Lt(e,t,n,i){for(;n;)n=Dt(e,t,n,i);return n}function Ot(e,t){for(const n of t){if(!n)continue;const t=n[e];if(P(t))return t}}function It(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const n of e)for(const e of Object.keys(n).filter(e=>!e.startsWith("_")))t.add(e);return[...t]}(e._scopes)),t}const Rt=Number.EPSILON||1e-14,Yt=(e,t)=>t!e.skip)),"monotone"===t.cubicInterpolationMode)!function(e){const t=e.length,n=Array(t).fill(0),i=Array(t);let r,s,o,a=Yt(e,0);for(r=0;rwindow.getComputedStyle(e,null),zt=["top","right","bottom","left"];function Vt(e,t,n){const i={};n=n?"-"+n:"";for(let r=0;r<4;r++){const s=zt[r];i[s]=parseFloat(e[t+"-"+s+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function qt(e,t){const{canvas:n,currentDevicePixelRatio:i}=t,r=Ut(n),s="border-box"===r.boxSizing,o=Vt(r,"padding"),a=Vt(r,"border","width"),{x:l,y:c,box:u}=function(e,t){const n=e.native||e,i=n.touches,r=i&&i.length?i[0]:n,{offsetX:s,offsetY:o}=r;let a,l,c=!1;if(((e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot))(s,o,n.target))a=s,l=o;else{const e=t.getBoundingClientRect();a=r.clientX-e.left,l=r.clientY-e.top,c=!0}return{x:a,y:l,box:c}}(e,n),d=o.left+(u&&a.left),h=o.top+(u&&a.top);let{width:p,height:f}=t;return s&&(p-=o.width+a.width,f-=o.height+a.height),{x:Math.round((l-d)/p*n.width/i),y:Math.round((c-h)/f*n.height/i)}}const Wt=e=>Math.round(10*e)/10;function $t(e,t,n,i){const r=Ut(e),s=Vt(r,"margin"),o=Bt(r.maxWidth,e,"clientWidth")||F,a=Bt(r.maxHeight,e,"clientHeight")||F,l=function(e,t,n){let i,r;if(void 0===t||void 0===n){const s=Nt(e);if(s){const e=s.getBoundingClientRect(),o=Ut(s),a=Vt(o,"border","width"),l=Vt(o,"padding");t=e.width-l.width-a.width,n=e.height-l.height-a.height,i=Bt(o.maxWidth,s,"clientWidth"),r=Bt(o.maxHeight,s,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:i||F,maxHeight:r||F}}(e,t,n);let{width:c,height:u}=l;if("content-box"===r.boxSizing){const e=Vt(r,"border","width"),t=Vt(r,"padding");c-=t.width+e.width,u-=t.height+e.height}return c=Math.max(0,c-s.width),u=Math.max(0,i?Math.floor(c/i):u-s.height),c=Wt(Math.min(c,o,l.maxWidth)),u=Wt(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Wt(c/2)),{width:c,height:u}}function Gt(e,t,n){const i=e.currentDevicePixelRatio=t||1,{canvas:r,width:s,height:o}=e;r.height=o*i,r.width=s*i,e.ctx.setTransform(i,0,0,i,0,0),r.style&&(n||!r.style.height&&!r.style.width)&&(r.style.height=o+"px",r.style.width=s+"px")}const Zt=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}return e}();function Kt(e,t){const n=function(e,t){return Ut(e).getPropertyValue(t)}(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Qt(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Jt(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:"middle"===i?n<.5?e.y:t.y:"after"===i?n<1?e.y:t.y:n>0?t.y:e.y}}function Xt(e,t,n,i){const r={x:e.cp2x,y:e.cp2y},s={x:t.cp1x,y:t.cp1y},o=Qt(e,r,n),a=Qt(r,s,n),l=Qt(s,t,n),c=Qt(o,a,n),u=Qt(a,l,n);return Qt(c,u,n)}const en=new Map;function tn(e,t,n){return function(e,t){t=t||{};const n=e+JSON.stringify(t);let i=en.get(n);return i||(i=new Intl.NumberFormat(e,t),en.set(n,i)),i}(t,n).format(e)}function nn(e,t,n){return e?function(e,t){return{x:n=>e+e+t-n,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,n):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function rn(e,t){let n,i;"ltr"!==t&&"rtl"!==t||(n=e.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)}function sn(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function on(e){return"angle"===e?{between:ie,compare:te,normalize:ne}:{between:(e,t,n)=>e>=Math.min(t,n)&&e<=Math.max(n,t),compare:(e,t)=>e-t,normalize:e=>e}}function an({start:e,end:t,count:n,loop:i,style:r}){return{start:e%n,end:t%n,loop:i&&(t-e+1)%n==0,style:r}}function ln(e,t,n){if(!n)return[e];const{property:i,start:r,end:s}=n,o=t.length,{compare:a,between:l,normalize:c}=on(i),{start:u,end:d,loop:h,style:p}=function(e,t,n){const{property:i,start:r,end:s}=n,{between:o,normalize:a}=on(i),l=t.length;let c,u,{start:d,end:h,loop:p}=e;if(p){for(d+=l,h+=l,c=0,u=l;cr&&e[s%t].skip;)s--;return s%=t,{start:r,end:s}}(n,r,s,i);return function(e,t,n){return n&&n.setContext&&t?function(e,t,n){const i=t.length,r=[];let s=e[0].start,o=s;for(const l of e){let e,c,u=t[s%i];for(o=s+1;o<=l.end;o++){const d=t[o%i];c={backgroundColor:(a=n.setContext({type:"segment",p0:u,p1:d})).backgroundColor,borderCapStyle:a.borderCapStyle,borderDash:a.borderDash,borderDashOffset:a.borderDashOffset,borderJoinStyle:a.borderJoinStyle,borderWidth:a.borderWidth,borderColor:a.borderColor},dn(c,e)&&(r.push({start:s,end:o-1,loop:l.loop,style:e}),e=c,s=o-1),u=d,e=c}s{"use strict";t.Q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var i={},s=t||{},a=e.split(r),l=s.decode||n,c=0;c>>2]|=(n[s>>>2]>>>24-s%4*8&255)<<24-(i+s)%4*8;else for(s=0;s>>2]=n[s>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],r=function(t){t=t;var n=987654321,i=4294967295;return function(){var r=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},s=0;s>>2]>>>24-r%4*8&255;i.push((s>>>4).toString(16)),i.push((15&s).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new o.init(n,t/2)}},c=a.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r>>2]>>>24-r%4*8&255));return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new o.init(n,t)}},u=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,r=n.sigBytes,s=this.blockSize,a=r/(4*s),l=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,c=e.min(4*l,r);if(l){for(var u=0;u>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,a=0;a<4&&s+.75*a>>6*(3-a)&63));var l=i.charAt(64);if(l)for(;r.length%4;)r.push(l);return r.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s>>6-o%4*2;i[s>>>2]|=(a|l)<<24-s%4*8,s++}return r.create(i,s)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)},1709:function(e,t,n){var i;e.exports=(i=n(83790),n(47355),n(65022),i.HmacSHA256)},65022:function(e,t,n){var i,r;e.exports=(i=n(83790),r=i.enc.Utf8,void(i.algo.HMAC=i.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),o=this._iKey=t.clone(),a=s.words,l=o.words,c=0;c>>2]|=e[r]<<24-r%4*8;t.call(this,i,n)}else t.apply(this,arguments)}).prototype=e}}(),i.lib.WordArray)},47355:function(e,t,n){var i;e.exports=(i=n(83790),function(e){var t=i,n=t.lib,r=n.WordArray,s=n.Hasher,o=t.algo,a=[],l=[];!function(){function t(t){for(var n=e.sqrt(t),i=2;i<=n;i++)if(!(t%i))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var i=2,r=0;r<64;)t(i)&&(r<8&&(a[r]=n(e.pow(i,.5))),l[r]=n(e.pow(i,1/3)),r++),i++}();var c=[],u=o.SHA256=s.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],s=n[2],o=n[3],a=n[4],u=n[5],d=n[6],h=n[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var f=c[p-15],m=c[p-2];c[p]=((f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3)+c[p-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+c[p-16]}var g=i&r^i&s^r&s,_=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&d)+l[p]+c[p];h=d,d=u,u=a,a=o+_|0,o=s,s=r,r=i,i=_+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+g)|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+s|0,n[3]=n[3]+o|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=e.floor(i/4294967296),n[15+(r+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=s._createHelper(u),t.HmacSHA256=s._createHmacHelper(u)}(Math),i.SHA256)},39633:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a(Array.isArray(e)?[]:{},e,t):e}function r(e,t,n){return e.concat(t).map(function(e){return i(e,n)})}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function o(e,t){try{return t in e}catch(n){return!1}}function a(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||r,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=i;var c=Array.isArray(n);return c===Array.isArray(e)?c?l.arrayMerge(e,n,l):function(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach(function(t){r[t]=i(e[t],n)}),s(t).forEach(function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(r[s]=o(e,s)&&n.isMergeableObject(t[s])?function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a}(s,n)(e[s],t[s],n):i(t[s],n))}),r}(e,n,l):i(n,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return a(e,n,t)},{})},e.exports=a},1486:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,r,s;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(s=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=i;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,s[r]))return!1;for(r=i;0!=r--;){var o=s[r];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}},4793:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,i="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(n=t.cmp,function(e){return function(t,i){return n({key:t,value:e[t]},{key:i,value:e[i]})}}),s=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,o;if(Array.isArray(t)){for(o="[",n=0;n=64;){for(o=n[0],a=n[1],l=n[2],c=n[3],u=n[4],d=n[5],h=n[6],p=n[7],m=0;m<16;m++)e[m]=(255&i[g=r+4*m])<<24|(255&i[g+1])<<16|(255&i[g+2])<<8|255&i[g+3];for(m=16;m<64;m++)e[m]=((_=((f=e[m-2])>>>17|f<<15)^(f>>>19|f<<13)^f>>>10)+e[m-7]|0)+((v=((f=e[m-15])>>>7|f<<25)^(f>>>18|f<<14)^f>>>3)+e[m-16]|0);for(m=0;m<64;m++)_=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&d^~u&h)|0)+(p+(t[m]+e[m]|0)|0)|0,v=((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+(o&a^o&l^a&l)|0,p=h,h=d,d=u,u=c+_|0,c=l,l=a,a=o,o=_+v|0;n[0]+=o,n[1]+=a,n[2]+=l,n[3]+=c,n[4]+=u,n[5]+=d,n[6]+=h,n[7]+=p,r+=64,s-=64}return r}var i=function(){function t(){this.digestLength=e.digestLength,this.blockSize=e.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return t.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},t.prototype.clean=function(){for(var e=0;e0){for(;this.bufferLength<64&&t>0;)this.buffer[this.bufferLength++]=e[i++],t--;64===this.bufferLength&&(n(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(t>=64&&(i=n(this.temp,this.state,e,i,t),t%=64);t>0;)this.buffer[this.bufferLength++]=e[i++],t--;return this},t.prototype.finish=function(e){if(!this.finished){var t=this.bytesHashed,i=this.bufferLength,r=t/536870912|0,s=t<<3,o=t%64<56?64:128;this.buffer[i]=128;for(var a=i+1;a>>24&255,this.buffer[o-7]=r>>>16&255,this.buffer[o-6]=r>>>8&255,this.buffer[o-5]=r>>>0&255,this.buffer[o-4]=s>>>24&255,this.buffer[o-3]=s>>>16&255,this.buffer[o-2]=s>>>8&255,this.buffer[o-1]=s>>>0&255,n(this.temp,this.state,this.buffer,0,o),this.finished=!0}for(a=0;a<8;a++)e[4*a+0]=this.state[a]>>>24&255,e[4*a+1]=this.state[a]>>>16&255,e[4*a+2]=this.state[a]>>>8&255,e[4*a+3]=this.state[a]>>>0&255;return this},t.prototype.digest=function(){var e=new Uint8Array(this.digestLength);return this.finish(e),e},t.prototype._saveState=function(e){for(var t=0;tthis.blockSize)(new i).update(e).finish(t).clean();else for(var n=0;n1&&t.update(e),n&&t.update(n),t.update(i),t.finish(e),i[0]++}e.HMAC=r,e.hash=s,e.default=s,e.hmac=o;var l=new Uint8Array(e.digestLength);e.hkdf=function(e,t,n,i){void 0===t&&(t=l),void 0===i&&(i=32);for(var s=new Uint8Array([1]),c=o(t,e),u=new r(c),d=new Uint8Array(u.digestLength),h=d.length,p=new Uint8Array(i),f=0;f>>24&255,a[1]=h>>>16&255,a[2]=h>>>8&255,a[3]=h>>>0&255,s.reset(),s.update(t),s.update(a),s.finish(c);for(var p=0;p{var i;!function(r,s,o,a){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=s.createElement("div"),d=Math.round,h=Math.abs,p=Date.now;function f(e,t,n){return setTimeout(w(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(g(e,n[t],n),!0)}function g(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==a)for(i=0;i\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",s=r.console&&(r.console.warn||r.console.log);return s&&s.call(r.console,i,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(e===a||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n-1}function T(e){return e.trim().split(/\s+/g)}function A(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;in[t]}):i.sort()),i}function L(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),s=0;s1&&!n.firstMultiple?n.firstMultiple=V(t):1===r&&(n.firstMultiple=!1);var s=n.firstInput,o=n.firstMultiple,l=o?o.center:s.center,c=t.center=q(i);t.timeStamp=p(),t.deltaTime=t.timeStamp-s.timeStamp,t.angle=Z(l,c),t.distance=G(l,c),function(e,t){var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},s=e.prevInput||{};1!==t.eventType&&4!==s.eventType||(r=e.prevDelta={x:s.deltaX||0,y:s.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}(n,t),t.offsetDirection=$(t.deltaX,t.deltaY);var u,d,f=W(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=f.x,t.overallVelocityY=f.y,t.overallVelocity=h(f.x)>h(f.y)?f.x:f.y,t.scale=o?(u=o.pointers,G((d=i)[0],d[1],B)/G(u[0],u[1],B)):1,t.rotation=o?function(e,t){return Z(t[1],t[0],B)+Z(e[1],e[0],B)}(o.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,i,r,s,o=e.lastInterval||t,l=t.timeStamp-o.timeStamp;if(8!=t.eventType&&(l>25||o.velocity===a)){var c=t.deltaX-o.deltaX,u=t.deltaY-o.deltaY,d=W(l,c,u);i=d.x,r=d.y,n=h(d.x)>h(d.y)?d.x:d.y,s=$(c,u),e.lastInterval=t}else n=o.velocity,i=o.velocityX,r=o.velocityY,s=o.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=s}(n,t);var m=e.element;M(t.srcEvent.target,m)&&(m=t.srcEvent.target),t.target=m}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function V(e){for(var t=[],n=0;n=h(t)?e<0?2:4:t<0?8:16}function G(e,t,n){n||(n=N);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function Z(e,t,n){return n||(n=N),180*Math.atan2(t[n[1]]-e[n[1]],t[n[0]]-e[n[0]])/Math.PI}U.prototype={handler:function(){},init:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(I(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(I(this.element),this.evWin,this.domHandler)}};var K={mousedown:1,mousemove:2,mouseup:4},Q="mousedown",J="mousemove mouseup";function X(){this.evEl=Q,this.evWin=J,this.pressed=!1,U.apply(this,arguments)}b(X,U,{handler:function(e){var t=K[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:H,srcEvent:e}))}});var ee={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},te={2:j,3:"pen",4:H,5:"kinect"},ne="pointerdown",ie="pointermove pointerup pointercancel";function re(){this.evEl=ne,this.evWin=ie,U.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(ne="MSPointerDown",ie="MSPointerMove MSPointerUp MSPointerCancel"),b(re,U,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=ee[i],s=te[e.pointerType]||e.pointerType,o=s==j,a=A(t,e.pointerId,"pointerId");1&r&&(0===e.button||o)?a<0&&(t.push(e),a=t.length-1):12&r&&(n=!0),a<0||(t[a]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:s,srcEvent:e}),n&&t.splice(a,1))}});var se={touchstart:1,touchmove:2,touchend:4,touchcancel:8},oe="touchstart",ae="touchstart touchmove touchend touchcancel";function le(){this.evTarget=oe,this.evWin=ae,this.started=!1,U.apply(this,arguments)}function ce(e,t){var n=D(e.touches),i=D(e.changedTouches);return 12&t&&(n=P(n.concat(i),"identifier",!0)),[n,i]}b(le,U,{handler:function(e){var t=se[e.type];if(1===t&&(this.started=!0),this.started){var n=ce.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:j,srcEvent:e})}}});var ue={touchstart:1,touchmove:2,touchend:4,touchcancel:8},de="touchstart touchmove touchend touchcancel";function he(){this.evTarget=de,this.targetIds={},U.apply(this,arguments)}function pe(e,t){var n=D(e.touches),i=this.targetIds;if(3&t&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,s,o=D(e.changedTouches),a=[],l=this.target;if(s=n.filter(function(e){return M(e.target,l)}),1===t)for(r=0;r-1&&i.splice(e,1)},2500)}}function _e(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function i(n){t.manager.emit(n,e)}n<8&&i(t.options.event+De(n)),i(t.options.event),e.additionalEvent&&i(e.additionalEvent),n>=8&&i(t.options.event+De(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=Te},canEmit:function(){for(var e=0;et.threshold&&r&t.direction},attrTest:function(e){return Oe.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=Pe(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),b(Re,Oe,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Se]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){1!==e.scale&&(e.additionalEvent=this.options.event+(e.scale<1?"in":"out")),this._super.emit.call(this,e)}}),b(Ye,Ae,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[we]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distancet.time;if(this._input=e,!i||!n||12&e.eventType&&!r)this.reset();else if(1&e.eventType)this.reset(),this._timer=f(function(){this.state=8,this.tryEmit()},t.time,this);else if(4&e.eventType)return 8;return Te},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}}),b(Fe,Oe,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Se]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),b(je,Oe,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Ie.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&h(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=Pe(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),b(He,Ae,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[xe]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance{t.read=function(e,t,n,i,r){var s,o,a=8*r-i-1,l=(1<>1,u=-7,d=n?r-1:0,h=n?-1:1,p=e[t+d];for(d+=h,s=p&(1<<-u)-1,p>>=-u,u+=a;u>0;s=256*s+e[t+d],d+=h,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=i;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===s)s=1-c;else{if(s===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),s-=c}return(p?-1:1)*o*Math.pow(2,s-i)},t.write=function(e,t,n,i,r,s){var o,a,l,c=8*s-r-1,u=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:s-1,f=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=u?(a=0,o=u):o+d>=1?(a=(t*l-1)*Math.pow(2,r),o+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;e[n+p]=255&a,p+=f,a/=256,r-=8);for(o=o<0;e[n+p]=255&o,p+=f,o/=256,c-=8);e[n+p-f]|=128*m}},6265:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},12842:(e,t,n)=>{e.exports=self.fetch||(self.fetch=n(73010).default||n(73010))},63418:(e,t,n)=>{var i,r,s;void 0===(r="function"==typeof(i=s=function(){function e(){for(var e=0,t={};e{"use strict";var t=e.exports=function(e,t,i){"function"==typeof t&&(i=t,t={}),n(t,"function"==typeof(i=t.cb||i)?i:i.pre||function(){},i.post||function(){},e,"",e)};function n(e,i,r,s,o,a,l,c,u,d){if(s&&"object"==typeof s&&!Array.isArray(s)){for(var h in i(s,o,a,l,c,u,d),s){var p=s[h];if(Array.isArray(p)){if(h in t.arrayKeywords)for(var f=0;f{var i=n(31311)(n(58568),"DataView");e.exports=i},27868:(e,t,n)=>{var i=n(18944),r=n(18790),s=n(40218),o=n(80072),a=n(3575);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var i=n(49849),r=n(71903),s=n(3825),o=n(30766),a=n(2154);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var i=n(31311)(n(58568),"Map");e.exports=i},98856:(e,t,n)=>{var i=n(58289),r=n(19581),s=n(61608),o=n(8901),a=n(12399);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var i=n(31311)(n(58568),"Promise");e.exports=i},97423:(e,t,n)=>{var i=n(31311)(n(58568),"Set");e.exports=i},30964:(e,t,n)=>{var i=n(58170),r=n(31816),s=n(86246),o=n(95499),a=n(17114),l=n(68677);function c(e){var t=this.__data__=new i(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=o,c.prototype.has=a,c.prototype.set=l,e.exports=c},80920:(e,t,n)=>{var i=n(58568);e.exports=i.Symbol},34601:(e,t,n)=>{var i=n(58568);e.exports=i.Uint8Array},67936:(e,t,n)=>{var i=n(31311)(n(58568),"WeakMap");e.exports=i},86932:e=>{e.exports=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)}},41492:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,s=[];++n{var i=n(24899),r=n(66776),s=n(47712),o=n(80354),a=n(66758),l=n(51156),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=s(e),u=!n&&r(e),d=!n&&!u&&o(e),h=!n&&!u&&!d&&l(e),p=n||u||d||h,f=p?i(e.length,String):[],m=f.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||f.push(g);return f}},426:e=>{e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n{var i=n(61216),r=n(870);e.exports=function(e,t,n){(void 0!==n&&!r(e[t],n)||void 0===n&&!(t in e))&&i(e,t,n)}},25823:(e,t,n)=>{var i=n(61216),r=n(870),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];s.call(e,t)&&r(o,n)&&(void 0!==n||t in e)||i(e,t,n)}},67477:(e,t,n)=>{var i=n(870);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},22369:(e,t,n)=>{var i=n(79399),r=n(48600);e.exports=function(e,t){return e&&i(t,r(t),e)}},96907:(e,t,n)=>{var i=n(79399),r=n(10752);e.exports=function(e,t){return e&&i(t,r(t),e)}},61216:(e,t,n)=>{var i=n(5327);e.exports=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},26968:(e,t,n)=>{var i=n(30964),r=n(41492),s=n(25823),o=n(22369),a=n(96907),l=n(68340),c=n(49327),u=n(34280),d=n(3851),h=n(82249),p=n(49933),f=n(32234),m=n(81438),g=n(25353),_=n(94868),v=n(47712),y=n(80354),b=n(49333),w=n(17305),x=n(8274),S=n(48600),k=n(10752),C="[object Arguments]",M="[object Function]",E="[object Object]",T={};T[C]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[E]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[M]=T["[object WeakMap]"]=!1,e.exports=function e(t,n,A,D,P,L){var O,I=1&n,R=2&n,Y=4&n;if(A&&(O=P?A(t,D,P,L):A(t)),void 0!==O)return O;if(!w(t))return t;var F=v(t);if(F){if(O=m(t),!I)return c(t,O)}else{var j=f(t),H=j==M||"[object GeneratorFunction]"==j;if(y(t))return l(t,I);if(j==E||j==C||H&&!P){if(O=R||H?{}:_(t),!I)return R?d(t,a(O,t)):u(t,o(O,t))}else{if(!T[j])return P?t:{};O=g(t,j,I)}}L||(L=new i);var N=L.get(t);if(N)return N;L.set(t,O),x(t)?t.forEach(function(i){O.add(e(i,n,A,i,t,L))}):b(t)&&t.forEach(function(i,r){O.set(r,e(i,n,A,r,t,L))});var B=F?void 0:(Y?R?p:h:R?k:S)(t);return r(B||t,function(i,r){B&&(i=t[r=i]),s(O,r,e(i,n,A,r,t,L))}),O}},56004:(e,t,n)=>{var i=n(17305),r=Object.create,s=function(){function e(){}return function(t){if(!i(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=s},48486:(e,t,n)=>{var i=n(43999)();e.exports=i},53425:(e,t,n)=>{var i=n(426),r=n(47712);e.exports=function(e,t,n){var s=t(e);return r(e)?s:i(s,n(e))}},3219:(e,t,n)=>{var i=n(80920),r=n(55053),s=n(91059),o=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):s(e)}},80561:(e,t,n)=>{var i=n(3219),r=n(3902);e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},75080:(e,t,n)=>{var i=n(32234),r=n(3902);e.exports=function(e){return r(e)&&"[object Map]"==i(e)}},96450:(e,t,n)=>{var i=n(70458),r=n(23744),s=n(17305),o=n(54568),a=/^\[object .+?Constructor\]$/,l=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!s(e)||r(e))&&(i(e)?l:a).test(o(e))}},15104:(e,t,n)=>{var i=n(32234),r=n(3902);e.exports=function(e){return r(e)&&"[object Set]"==i(e)}},94154:(e,t,n)=>{var i=n(3219),r=n(93490),s=n(3902),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,e.exports=function(e){return s(e)&&r(e.length)&&!!o[i(e)]}},97272:(e,t,n)=>{var i=n(4444),r=n(75427),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}},40623:(e,t,n)=>{var i=n(17305),r=n(4444),s=n(3601),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return s(e);var t=r(e),n=[];for(var a in e)("constructor"!=a||!t&&o.call(e,a))&&n.push(a);return n}},75705:(e,t,n)=>{var i=n(30964),r=n(39008),s=n(48486),o=n(76876),a=n(17305),l=n(10752),c=n(42342);e.exports=function e(t,n,u,d,h){t!==n&&s(n,function(s,l){if(h||(h=new i),a(s))o(t,n,l,u,e,d,h);else{var p=d?d(c(t,l),s,l+"",t,n,h):void 0;void 0===p&&(p=s),r(t,l,p)}},l)}},76876:(e,t,n)=>{var i=n(39008),r=n(68340),s=n(35596),o=n(49327),a=n(94868),l=n(66776),c=n(47712),u=n(56633),d=n(80354),h=n(70458),p=n(17305),f=n(7629),m=n(51156),g=n(42342),_=n(65208);e.exports=function(e,t,n,v,y,b,w){var x=g(e,n),S=g(t,n),k=w.get(S);if(k)i(e,n,k);else{var C=b?b(x,S,n+"",e,t,w):void 0,M=void 0===C;if(M){var E=c(S),T=!E&&d(S),A=!E&&!T&&m(S);C=S,E||T||A?c(x)?C=x:u(x)?C=o(x):T?(M=!1,C=r(S,!0)):A?(M=!1,C=s(S,!0)):C=[]:f(S)||l(S)?(C=x,l(x)?C=_(x):p(x)&&!h(x)||(C=a(S))):M=!1}M&&(w.set(S,C),y(C,S,v,b,w),w.delete(S)),i(e,n,C)}}},37165:(e,t,n)=>{var i=n(19903),r=n(90877),s=n(13382);e.exports=function(e,t){return s(r(e,t,i),e+"")}},89866:(e,t,n)=>{var i=n(60583),r=n(5327),s=n(19903);e.exports=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:s},24899:e=>{e.exports=function(e,t){for(var n=-1,i=Array(e);++n{e.exports=function(e){return function(t){return e(t)}}},37162:(e,t,n)=>{var i=n(34601);e.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},68340:(e,t,n)=>{e=n.nmd(e);var i=n(58568),r=t&&!t.nodeType&&t,s=r&&e&&!e.nodeType&&e,o=s&&s.exports===r?i.Buffer:void 0,a=o?o.allocUnsafe:void 0;e.exports=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}},54849:(e,t,n)=>{var i=n(37162);e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},1226:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},48366:(e,t,n)=>{var i=n(80920),r=i?i.prototype:void 0,s=r?r.valueOf:void 0;e.exports=function(e){return s?Object(s.call(e)):{}}},35596:(e,t,n)=>{var i=n(37162);e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},49327:e=>{e.exports=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n{var i=n(25823),r=n(61216);e.exports=function(e,t,n,s){var o=!n;n||(n={});for(var a=-1,l=t.length;++a{var i=n(79399),r=n(18461);e.exports=function(e,t){return i(e,r(e),t)}},3851:(e,t,n)=>{var i=n(79399),r=n(59524);e.exports=function(e,t){return i(e,r(e),t)}},68685:(e,t,n)=>{var i=n(58568);e.exports=i["__core-js_shared__"]},57082:(e,t,n)=>{var i=n(37165),r=n(10139);e.exports=function(e){return i(function(t,n){var i=-1,s=n.length,o=s>1?n[s-1]:void 0,a=s>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(s--,o):void 0,a&&r(n[0],n[1],a)&&(o=s<3?void 0:o,s=1),t=Object(t);++i{e.exports=function(e){return function(t,n,i){for(var r=-1,s=Object(t),o=i(t),a=o.length;a--;){var l=o[e?a:++r];if(!1===n(s[l],l,s))break}return t}}},5327:(e,t,n)=>{var i=n(31311),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=r},52127:e=>{var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},82249:(e,t,n)=>{var i=n(53425),r=n(18461),s=n(48600);e.exports=function(e){return i(e,s,r)}},49933:(e,t,n)=>{var i=n(53425),r=n(59524),s=n(10752);e.exports=function(e){return i(e,s,r)}},65810:(e,t,n)=>{var i=n(51117);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},31311:(e,t,n)=>{var i=n(96450),r=n(44458);e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},45410:(e,t,n)=>{var i=n(11621)(Object.getPrototypeOf,Object);e.exports=i},55053:(e,t,n)=>{var i=n(80920),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=i?i.toStringTag:void 0;e.exports=function(e){var t=s.call(e,a),n=e[a];try{e[a]=void 0;var i=!0}catch(l){}var r=o.call(e);return i&&(t?e[a]=n:delete e[a]),r}},18461:(e,t,n)=>{var i=n(20703),r=n(20668),s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;e.exports=o?function(e){return null==e?[]:(e=Object(e),i(o(e),function(t){return s.call(e,t)}))}:r},59524:(e,t,n)=>{var i=n(426),r=n(45410),s=n(18461),o=n(20668);e.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)i(t,s(e)),e=r(e);return t}:o},32234:(e,t,n)=>{var i=n(22550),r=n(6647),s=n(68443),o=n(97423),a=n(67936),l=n(3219),c=n(54568),u="[object Map]",d="[object Promise]",h="[object Set]",p="[object WeakMap]",f="[object DataView]",m=c(i),g=c(r),_=c(s),v=c(o),y=c(a),b=l;(i&&b(new i(new ArrayBuffer(1)))!=f||r&&b(new r)!=u||s&&b(s.resolve())!=d||o&&b(new o)!=h||a&&b(new a)!=p)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,i=n?c(n):"";if(i)switch(i){case m:return f;case g:return u;case _:return d;case v:return h;case y:return p}return t}),e.exports=b},44458:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},18944:(e,t,n)=>{var i=n(54263);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},18790:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},40218:(e,t,n)=>{var i=n(54263),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},80072:(e,t,n)=>{var i=n(54263),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},3575:(e,t,n)=>{var i=n(54263);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},81438:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,i=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(i.index=e.index,i.input=e.input),i}},25353:(e,t,n)=>{var i=n(37162),r=n(54849),s=n(1226),o=n(48366),a=n(35596);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return i(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return r(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 a(e,n);case"[object Map]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return s(e);case"[object Set]":return new l;case"[object Symbol]":return o(e)}}},94868:(e,t,n)=>{var i=n(56004),r=n(45410),s=n(4444);e.exports=function(e){return"function"!=typeof e.constructor||s(e)?{}:i(r(e))}},66758:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e{var i=n(870),r=n(9140),s=n(66758),o=n(17305);e.exports=function(e,t,n){if(!o(n))return!1;var a=typeof t;return!!("number"==a?r(n)&&s(t,n.length):"string"==a&&t in n)&&i(n[t],e)}},51117:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},23744:(e,t,n)=>{var i,r=n(68685),s=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!s&&s in e}},4444:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},49849:e=>{e.exports=function(){this.__data__=[],this.size=0}},71903:(e,t,n)=>{var i=n(67477),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},3825:(e,t,n)=>{var i=n(67477);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},30766:(e,t,n)=>{var i=n(67477);e.exports=function(e){return i(this.__data__,e)>-1}},2154:(e,t,n)=>{var i=n(67477);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},58289:(e,t,n)=>{var i=n(27868),r=n(58170),s=n(6647);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(s||r),string:new i}}},19581:(e,t,n)=>{var i=n(65810);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},61608:(e,t,n)=>{var i=n(65810);e.exports=function(e){return i(this,e).get(e)}},8901:(e,t,n)=>{var i=n(65810);e.exports=function(e){return i(this,e).has(e)}},12399:(e,t,n)=>{var i=n(65810);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},54263:(e,t,n)=>{var i=n(31311)(Object,"create");e.exports=i},75427:(e,t,n)=>{var i=n(11621)(Object.keys,Object);e.exports=i},3601:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},80166:(e,t,n)=>{e=n.nmd(e);var i=n(52127),r=t&&!t.nodeType&&t,s=r&&e&&!e.nodeType&&e,o=s&&s.exports===r&&i.process,a=function(){try{return s&&s.require&&s.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},91059:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},11621:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},90877:(e,t,n)=>{var i=n(86932),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var s=arguments,o=-1,a=r(s.length-t,0),l=Array(a);++o{var i=n(52127),r="object"==typeof self&&self&&self.Object===Object&&self,s=i||r||Function("return this")();e.exports=s},42342:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},13382:(e,t,n)=>{var i=n(89866),r=n(74001)(i);e.exports=r},74001:e=>{var t=Date.now;e.exports=function(e){var n=0,i=0;return function(){var r=t(),s=16-(r-i);if(i=r,s>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},31816:(e,t,n)=>{var i=n(58170);e.exports=function(){this.__data__=new i,this.size=0}},86246:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},95499:e=>{e.exports=function(e){return this.__data__.get(e)}},17114:e=>{e.exports=function(e){return this.__data__.has(e)}},68677:(e,t,n)=>{var i=n(58170),r=n(6647),s=n(98856);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var o=n.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new s(o)}return n.set(e,t),this.size=n.size,this}},54568:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},38961:(e,t,n)=>{var i=n(26968);e.exports=function(e){return i(e,5)}},60583:e=>{e.exports=function(e){return function(){return e}}},870:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},19903:e=>{e.exports=function(e){return e}},66776:(e,t,n)=>{var i=n(80561),r=n(3902),s=Object.prototype,o=s.hasOwnProperty,a=s.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},47712:e=>{e.exports=Array.isArray},9140:(e,t,n)=>{var i=n(70458),r=n(93490);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},56633:(e,t,n)=>{var i=n(9140),r=n(3902);e.exports=function(e){return r(e)&&i(e)}},80354:(e,t,n)=>{e=n.nmd(e);var i=n(58568),r=n(1950),s=t&&!t.nodeType&&t,o=s&&e&&!e.nodeType&&e,a=o&&o.exports===s?i.Buffer:void 0;e.exports=(a?a.isBuffer:void 0)||r},70458:(e,t,n)=>{var i=n(3219),r=n(17305);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},93490:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},49333:(e,t,n)=>{var i=n(75080),r=n(97633),s=n(80166),o=s&&s.isMap,a=o?r(o):i;e.exports=a},17305:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3902:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},7629:(e,t,n)=>{var i=n(3219),r=n(45410),s=n(3902),o=Function.prototype.toString,a=Object.prototype.hasOwnProperty,l=o.call(Object);e.exports=function(e){if(!s(e)||"[object Object]"!=i(e))return!1;var t=r(e);if(null===t)return!0;var n=a.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&o.call(n)==l}},8274:(e,t,n)=>{var i=n(15104),r=n(97633),s=n(80166),o=s&&s.isSet,a=o?r(o):i;e.exports=a},51156:(e,t,n)=>{var i=n(94154),r=n(97633),s=n(80166),o=s&&s.isTypedArray,a=o?r(o):i;e.exports=a},48600:(e,t,n)=>{var i=n(48421),r=n(97272),s=n(9140);e.exports=function(e){return s(e)?i(e):r(e)}},10752:(e,t,n)=>{var i=n(48421),r=n(40623),s=n(9140);e.exports=function(e){return s(e)?i(e,!0):r(e)}},81940:(e,t,n)=>{var i=n(75705),r=n(57082)(function(e,t,n){i(e,t,n)});e.exports=r},20668:e=>{e.exports=function(){return[]}},1950:e=>{e.exports=function(){return!1}},65208:(e,t,n)=>{var i=n(79399),r=n(10752);e.exports=function(e){return i(e,r(e))}},90776:function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(29609))},42758:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(e){return function(i,r,s,o){var a=t(i),l=n[e][t(i)];return 2===a&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n(29609))},64980:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n(29609))},9602:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,r,s,o){var a=n(t),l=i[e][n(t)];return 2===a&&(l=l[r?0:1]),l.replace(/%d/i,t)}},s=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(29609))},52500:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n(29609))},36909:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n(29609))},92735:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n(29609))},67634:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(e){return function(t,n,s,o){var a=i(t),l=r[e][i(t)];return 2===a&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(29609))},27798:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(29609))},29949:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n(29609))},44590:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n(29609))},15938:function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(29609))},51942:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t?e<4?e:e+12:"\u09ad\u09cb\u09b0"===t||"\u09b8\u0995\u09be\u09b2"===t?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===t?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===t||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n(29609))},60595:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n(29609))},4756:function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n(29609))},17277:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var i=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,s=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:s,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:s,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(29609))},4166:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(29609))},13943:function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(29609))},53474:function(e,t,n){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||i?r+(s(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(s(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(s(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(s(e)?"dny":"dn\xed"):r+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?r+(s(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(s(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},92218:function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n(29609))},21061:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(29609))},82743:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},28580:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},3264:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},31899:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},98784:function(e,t,n){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,n){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n(29609))},54654:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n(29609))},56277:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(29609))},76896:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(29609))},71609:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(29609))},24557:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(29609))},15836:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(29609))},30262:function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(29609))},43586:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(29609))},38965:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(29609))},62777:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(29609))},3128:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(29609))},69179:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n(29609))},83256:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n(29609))},63357:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n(29609))},2654:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},57287:function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(29609))},73875:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,n){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n(29609))},73431:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,r,s){var o="";switch(r){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":o=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":o=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":o=s?"tunnin":"tuntia";break;case"d":return s?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=s?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return s?"kuukauden":"kuukausi";case"MM":o=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":o=s?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,s)+" "+o}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},39606:function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(29609))},41781:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},11539:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(29609))},19847:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(29609))},61717:function(e,t,n){!function(e){"use strict";var t=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(29609))},42250:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(29609))},47665:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(29609))},85214:function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(29609))},36154:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(29609))},68222:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n(29609))},18518:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(29609))},89221:function(e,t,n){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n(29609))},64743:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n(29609))},77339:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},i=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];e.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n(29609))},13224:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(29609))},50856:function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(i||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(i||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" h\xf3nap":" h\xf3napja");case"MM":return r+(i||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||t?" \xe9v":" \xe9ve");case"yy":return r+(i||t?" \xe9v":" \xe9ve")}return""}function i(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},76855:function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n(29609))},2190:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(29609))},53887:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,r){var s=e+" ";switch(i){case"s":return n||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?s+(n||r?"sek\xfandur":"sek\xfandum"):s+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?s+(n||r?"m\xedn\xfatur":"m\xedn\xfatum"):n?s+"m\xedn\xfata":s+"m\xedn\xfatu";case"hh":return t(e)?s+(n||r?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?s+"dagar":s+(r?"daga":"d\xf6gum"):n?s+"dagur":s+(r?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?s+"m\xe1nu\xf0ir":s+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?s+"m\xe1nu\xf0ur":s+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||r?"\xe1r":"\xe1ri";case"yy":return t(e)?s+(n||r?"\xe1r":"\xe1rum"):s+(n||r?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},85890:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(29609))},19270:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(29609))},46595:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n(29609))},93081:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(29609))},27477:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(e,t,n){return"\u10d8"===n?t+"\u10e8\u10d8":t+n+"\u10e8\u10d8"})},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n(29609))},13978:function(e,t,n){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(29609))},19205:function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,n){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(29609))},60025:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n(29609))},50427:function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n(29609))},79089:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,n){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(29609))},19314:function(e,t,n){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(29609))},23136:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},29115:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n(29609))},27087:function(e,t,n){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function s(e,t,s,o){var a=e+" ";return 1===e?a+n(0,t,s[0],o):t?a+(i(e)?r(s)[1]:r(s)[0]):o?a+r(s)[1]:a+(i(e)?r(s)[1]:r(s)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:s,m:n,mm:s,h:n,hh:s,d:n,dd:s,M:n,MM:s,y:n,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(29609))},95683:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},79454:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(29609))},35507:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(29609))},98466:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n(29609))},82933:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n(29609))},19477:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,t,n){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(n(29609))},43597:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===t||"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t||"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n(29609))},99965:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(29609))},85529:function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(29609))},30259:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(29609))},88061:function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(29609))},72618:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},28452:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n(29609))},60413:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(29609))},1885:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(29609))},45107:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},71763:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(29609))},702:function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n(29609))},31711:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return i+(r(e)?"godziny":"godzin");case"ww":return i+(r(e)?"tygodnie":"tygodni");case"MM":return i+(r(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:s,M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},58238:function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n(29609))},10594:function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(29609))},74681:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(29609))},16201:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n(29609))},62912:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n(29609))},6002:function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},67942:function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n(29609))},25577:function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var s=e+" ";switch(n){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?s+(i(e)?"sekundy":"sek\xfand"):s+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?s+(i(e)?"min\xfaty":"min\xfat"):s+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(i(e)?"hodiny":"hod\xedn"):s+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?s+(i(e)?"dni":"dn\xed"):s+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?s+(i(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?s+(i(e)?"roky":"rokov"):s+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},41775:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return r+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return r+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return r+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return r+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(29609))},36823:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},83848:function(e,t,n){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(29609))},59038:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(29609))},96173:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(29609))},5788:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(29609))},76882:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(29609))},82678:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(29609))},82797:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n(29609))},52447:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(29609))},31335:function(e,t,n){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(29609))},68667:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n(29609))},9222:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(29609))},99914:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(29609))},71389:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var s=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,s="";return n>0&&(s+=t[n]+"vatlh"),i>0&&(s+=(""!==s?" ":"")+t[i]+"maH"),r>0&&(s+=(""!==s?" ":"")+t[r]),""===s?"pagh":s}(e);switch(i){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},3578:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(29609))},36969:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?r[n][0]:r[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(29609))},690:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(29609))},76509:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n(29609))},20055:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n(29609))},22452:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n(29609))},91151:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n(29609))},46547:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(29609))},31555:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n(29609))},16541:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(29609))},42401:function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(29609))},2341:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n(29609))},80619:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n(29609))},67058:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1200?"\u4e0a\u5348":1200===i?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n(29609))},89141:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n(29609))},22782:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n(29609))},29609:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,i=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},R={};function Y(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(R[e]=r),t&&(R[t[0]]=function(){return P(r.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=j(t,e.localeData()),I[t]=I[t]||function(e){var t,n,i,r=e.match(L);for(t=0,n=r.length;t=0&&O.test(e);)e=e.replace(O,i),O.lastIndex=0,n-=1;return e}var H={};function N(e,t){var n=e.toLowerCase();H[n]=H[n+"s"]=H[t]=e}function B(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function U(e){var t,n,i={};for(n in e)a(e,n)&&(t=B(n))&&(i[t]=e[n]);return i}var z={};function V(e,t){z[e]=t}function q(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function $(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=W(t)),n}function G(e,t){return function(n){return null!=n?(K(this,e,n),r.updateOffset(this,t),this):Z(this,e)}}function Z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&q(e.year())&&1===e.month()&&29===e.date()?(n=$(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),xe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Q,J=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,ie=/\d\d?/,re=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,ae=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function fe(e,t,n){Q[e]=T(t)?t:function(e,i){return e&&n?n:t}}function me(e,t){return a(Q,e)?Q[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var _e,ve={};function ye(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=$(e)}),n=0;n68?1900:2e3)};var Oe=G("FullYear",!0);function Ie(e,t,n,i,r,s,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,i,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,s,o),a}function Re(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ye(e,t,n){var i=7+t-n;return-(7+Re(e,0,i).getUTCDay()-t)%7+i-1}function Fe(e,t,n,i,r){var s,o,a=1+7*(t-1)+(7+n-i)%7+Ye(e,i,r);return a<=0?o=Le(s=e-1)+a:a>Le(e)?(s=e+1,o=a-Le(e)):(s=e,o=a),{year:s,dayOfYear:o}}function je(e,t,n){var i,r,s=Ye(e.year(),t,n),o=Math.floor((e.dayOfYear()-s-1)/7)+1;return o<1?i=o+He(r=e.year()-1,t,n):o>He(e.year(),t,n)?(i=o-He(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function He(e,t,n){var i=Ye(e,t,n),r=Ye(e+1,t,n);return(Le(e)-i+r)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),V("week",5),V("isoWeek",5),fe("w",ie),fe("ww",ie,X),fe("W",ie),fe("WW",ie,X),be(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=$(e)}),Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),fe("d",ie),fe("e",ie),fe("E",ie),fe("dd",function(e,t){return t.weekdaysMinRegex(e)}),fe("ddd",function(e,t){return t.weekdaysShortRegex(e)}),fe("dddd",function(e,t){return t.weekdaysRegex(e)}),be(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:m(n).invalidWeekday=e}),be(["d","e","E"],function(e,t,n,i){t[i]=$(e)});var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ue="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ve=pe,qe=pe,We=pe;function $e(e,t,n){var i,r,s,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=_e.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=_e.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=_e.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=_e.call(this._weekdaysParse,o))||-1!==(r=_e.call(this._shortWeekdaysParse,o))||-1!==(r=_e.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=_e.call(this._shortWeekdaysParse,o))||-1!==(r=_e.call(this._weekdaysParse,o))||-1!==(r=_e.call(this._minWeekdaysParse,o))?r:null:-1!==(r=_e.call(this._minWeekdaysParse,o))||-1!==(r=_e.call(this._weekdaysParse,o))||-1!==(r=_e.call(this._shortWeekdaysParse,o))?r:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,i,r,s,o=[],a=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=ge(this.weekdaysMin(n,"")),r=ge(this.weekdaysShort(n,"")),s=ge(this.weekdays(n,"")),o.push(i),a.push(r),l.push(s),c.push(i),c.push(r),c.push(s);o.sort(e),a.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ze(){return this.hours()%12||12}function Ke(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Qe(e,t){return t._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Ze),Y("k",["kk",2],0,function(){return this.hours()||24}),Y("hmm",0,0,function(){return""+Ze.apply(this)+P(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Ze.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),Ke("a",!0),Ke("A",!1),N("hour","h"),V("hour",13),fe("a",Qe),fe("A",Qe),fe("H",ie),fe("h",ie),fe("k",ie),fe("HH",ie,X),fe("hh",ie,X),fe("kk",ie,X),fe("hmm",re),fe("hmmss",se),fe("Hmm",re),fe("Hmmss",se),ye(["H","HH"],3),ye(["k","kk"],function(e,t,n){var i=$(e);t[3]=24===i?0:i}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[3]=$(e),m(n).bigHour=!0}),ye("hmm",function(e,t,n){var i=e.length-2;t[3]=$(e.substr(0,i)),t[4]=$(e.substr(i)),m(n).bigHour=!0}),ye("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=$(e.substr(0,i)),t[4]=$(e.substr(i,2)),t[5]=$(e.substr(r)),m(n).bigHour=!0}),ye("Hmm",function(e,t,n){var i=e.length-2;t[3]=$(e.substr(0,i)),t[4]=$(e.substr(i))}),ye("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=$(e.substr(0,i)),t[4]=$(e.substr(i,2)),t[5]=$(e.substr(r))});var Je,Xe=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Se,monthsShort:ke,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:ze,weekdaysShort:Ue,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n0;){if(i=st(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&it(r,n)>=t-1)break;t--}s++}return Je}(e)}function ct(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>xe(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ft=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vt(e){var t,n,i,r,s,o,a=e._i,l=ut.exec(a)||dt.exec(a);if(l){for(m(e).iso=!0,t=0,n=pt.length;t7)&&(l=!0)):(s=e._locale._week.dow,o=e._locale._week.doy,c=je(Ct(),s,o),n=bt(t.gg,e._a[0],c.year),i=bt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+s,(t.e<0||t.e>6)&&(l=!0)):r=s),i<1||i>He(n,s,o)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(a=Fe(n,i,r,s,o),e._a[0]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(o=bt(e._a[0],i[0]),(e._dayOfYear>Le(o)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Re(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Re:Ie).apply(null,a),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(m(e).weekdayMismatch=!0)}}function xt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],m(e).empty=!0;var t,n,i,s,o,a,l=""+e._i,c=l.length,u=0;for(i=j(e._f,e._locale).match(L)||[],t=0;t0&&m(e).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),u+=n.length),R[s]?(n?m(e).empty=!1:m(e).unusedTokens.push(s),we(s,n,e)):e._strict&&!n&&m(e).unusedTokens.push(s);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(a=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(a,e._a[0])),wt(e),ct(e)}else yt(e);else vt(e)}function St(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new w(ct(t)):(d(t)?e._d=t:s(n)?function(e){var t,n,i,r,s,o,a=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:_()});function Tt(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Ct();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-sn:new Date(e,t,n).valueOf()}function ln(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-sn:Date.UTC(e,t,n)}function cn(e,t){return t.erasAbbrRegex(e)}function un(){var e,t,n=[],i=[],r=[],s=[],o=this.eras();for(e=0,t=o.length;e(s=He(e,i,r))&&(t=s),pn.call(this,e,t,n,i,r))}function pn(e,t,n,i,r){var s=Fe(e,t,n,i,r),o=Re(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),fe("N",cn),fe("NN",cn),fe("NNN",cn),fe("NNNN",function(e,t){return t.erasNameRegex(e)}),fe("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?m(n).era=r:m(n).invalidEra=e}),fe("y",ce),fe("yy",ce),fe("yyy",ce),fe("yyyy",ce),fe("yo",function(e,t){return t._eraYearOrdinalRegex||ce}),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),t[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,r):parseInt(e,10)}),Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),fe("G",ue),fe("g",ue),fe("GG",ie,X),fe("gg",ie,X),fe("GGGG",ae,te),fe("gggg",ae,te),fe("GGGGG",le,ne),fe("ggggg",le,ne),be(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=$(e)}),be(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),N("quarter","Q"),V("quarter",7),fe("Q",J),ye("Q",function(e,t){t[1]=3*($(e)-1)}),Y("D",["DD",2],"Do","date"),N("date","D"),V("date",9),fe("D",ie),fe("DD",ie,X),fe("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],2),ye("Do",function(e,t){t[2]=$(e.match(ie)[0])});var fn=G("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),V("dayOfYear",4),fe("DDD",oe),fe("DDDD",ee),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=$(e)}),Y("m",["mm",2],0,"minute"),N("minute","m"),V("minute",14),fe("m",ie),fe("mm",ie,X),ye(["m","mm"],4);var mn=G("Minutes",!1);Y("s",["ss",2],0,"second"),N("second","s"),V("second",15),fe("s",ie),fe("ss",ie,X),ye(["s","ss"],5);var gn,_n,vn=G("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),V("millisecond",16),fe("S",oe,J),fe("SS",oe,X),fe("SSS",oe,ee),gn="SSSS";gn.length<=9;gn+="S")fe(gn,ce);function yn(e,t){t[6]=$(1e3*("0."+e))}for(gn="S";gn.length<=9;gn+="S")ye(gn,yn);_n=G("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var bn=w.prototype;function wn(e){return e}bn.add=Wt,bn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Zt(arguments[0])?(e=arguments[0],t=void 0):Kt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Ct(),i=Yt(n,this).startOf("day"),s=r.calendarFormat(this,i)||"sameElse",o=t&&(T(t[s])?t[s].call(this,n):t[s]);return this.format(o||this.localeData().calendar(s,this,Ct(n)))},bn.clone=function(){return new w(this)},bn.diff=function(e,t,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=Yt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=B(t)){case"year":s=Qt(this,i)/12;break;case"month":s=Qt(this,i);break;case"quarter":s=Qt(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:W(s)},bn.endOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ln:an,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=rn-on(t+(this._isUTC?0:this.utcOffset()*nn),rn)-1;break;case"minute":t=this._d.valueOf(),t+=nn-on(t,nn)-1;break;case"second":t=this._d.valueOf(),t+=tn-on(t,tn)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},bn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=F(this,e);return this.localeData().postformat(t)},bn.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Ct(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},bn.fromNow=function(e){return this.from(Ct(),e)},bn.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Ct(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},bn.toNow=function(e){return this.to(Ct(),e)},bn.get=function(e){return T(this[e=B(e)])?this[e]():this},bn.invalidAt=function(){return m(this).overflow},bn.isAfter=function(e,t){var n=x(e)?e:Ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?F(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(n,"Z")):F(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},bn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(bn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),bn.toJSON=function(){return this.isValid()?this.toISOString():null},bn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},bn.unix=function(){return Math.floor(this.valueOf()/1e3)},bn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},bn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},bn.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},bn.isLocal=function(){return!!this.isValid()&&!this._isUTC},bn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},bn.isUtc=jt,bn.isUTC=jt,bn.zoneAbbr=function(){return this._isUTC?"UTC":""},bn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},bn.dates=k("dates accessor is deprecated. Use date instead.",fn),bn.months=k("months accessor is deprecated. Use month instead",De),bn.years=k("years accessor is deprecated. Use year instead",Oe),bn.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),bn.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=St(t))._a?(e=t._isUTC?f(t._a):Ct(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),o=0;for(i=0;i0):this._isDSTShifted=!1,this._isDSTShifted});var xn=D.prototype;function Sn(e,t,n,i){var r=lt(),s=f().set(i,t);return r[n](s,e)}function kn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return Sn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Sn(e,i,n,"month");return r}function Cn(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,s=lt(),o=e?s._week.dow:0,a=[];if(null!=n)return Sn(t,(n+o)%7,i,"day");for(r=0;r<7;r++)a[r]=Sn(t,(r+o)%7,i,"day");return a}xn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return T(i)?i.call(t,n):i},xn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(L).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},xn.invalidDate=function(){return this._invalidDate},xn.ordinal=function(e){return this._ordinal.replace("%d",e)},xn.preparse=wn,xn.postformat=wn,xn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return T(r)?r(e,t,n,i):r.replace(/%d/i,e)},xn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},xn.set=function(e){var t,n;for(n in e)a(e,n)&&(T(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.eras=function(e,t){var n,i,s,o=this._eras||lt("en")._eras;for(n=0,i=o.length;n=0)return l[i]},xn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},xn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||un.call(this),e?this._erasAbbrRegex:this._erasRegex},xn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||un.call(this),e?this._erasNameRegex:this._erasRegex},xn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||un.call(this),e?this._erasNarrowRegex:this._erasRegex},xn.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ce).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},xn.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ce.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function(e,t,n){var i,r,s;if(this._monthsParseExact)return Te.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},xn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Ee),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Me),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function(e){return je(e,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function(){return this._week.doy},xn.firstDayOfWeek=function(){return this._week.dow},xn.weekdays=function(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(n,this._week.dow):e?n[e.day()]:n},xn.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},xn.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},xn.weekdaysParse=function(e,t,n){var i,r,s;if(this._weekdaysParseExact)return $e.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},xn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=We),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},xn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===$(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=k("moment.lang is deprecated. Use moment.locale instead.",ot),r.langData=k("moment.langData is deprecated. Use moment.localeData instead.",lt);var Mn=Math.abs;function En(e,t,n,i){var r=Bt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Tn(e){return e<0?Math.floor(e):Math.ceil(e)}function An(e){return 4800*e/146097}function Dn(e){return 146097*e/4800}function Pn(e){return function(){return this.as(e)}}var Ln=Pn("ms"),On=Pn("s"),In=Pn("m"),Rn=Pn("h"),Yn=Pn("d"),Fn=Pn("w"),jn=Pn("M"),Hn=Pn("Q"),Nn=Pn("y");function Bn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Un=Bn("milliseconds"),zn=Bn("seconds"),Vn=Bn("minutes"),qn=Bn("hours"),Wn=Bn("days"),$n=Bn("months"),Gn=Bn("years"),Zn=Math.round,Kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Qn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Jn=Math.abs;function Xn(e){return(e>0)-(e<0)||+e}function ei(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,s,o,a,l=Jn(this._milliseconds)/1e3,c=Jn(this._days),u=Jn(this._months),d=this.asSeconds();return d?(e=W(l/60),t=W(e/60),l%=60,e%=60,n=W(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=Xn(this._months)!==Xn(d)?"-":"",o=Xn(this._days)!==Xn(d)?"-":"",a=Xn(this._milliseconds)!==Xn(d)?"-":"",r+"P"+(n?s+n+"Y":"")+(u?s+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+i+"S":"")):"P0D"}var ti=Dt.prototype;return ti.isValid=function(){return this._isValid},ti.abs=function(){var e=this._data;return this._milliseconds=Mn(this._milliseconds),this._days=Mn(this._days),this._months=Mn(this._months),e.milliseconds=Mn(e.milliseconds),e.seconds=Mn(e.seconds),e.minutes=Mn(e.minutes),e.hours=Mn(e.hours),e.months=Mn(e.months),e.years=Mn(e.years),this},ti.add=function(e,t){return En(this,e,t,1)},ti.subtract=function(e,t){return En(this,e,t,-1)},ti.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(n=this._months+An(t=this._days+i/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Dn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},ti.asMilliseconds=Ln,ti.asSeconds=On,ti.asMinutes=In,ti.asHours=Rn,ti.asDays=Yn,ti.asWeeks=Fn,ti.asMonths=jn,ti.asQuarters=Hn,ti.asYears=Nn,ti.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12):NaN},ti._bubble=function(){var e,t,n,i,r,s=this._milliseconds,o=this._days,a=this._months,l=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Tn(Dn(a)+o),o=0,a=0),l.milliseconds=s%1e3,e=W(s/1e3),l.seconds=e%60,t=W(e/60),l.minutes=t%60,n=W(t/60),l.hours=n%24,o+=W(n/24),a+=r=W(An(o)),o-=Tn(Dn(r)),i=W(a/12),a%=12,l.days=o,l.months=a,l.years=i,this},ti.clone=function(){return Bt(this)},ti.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},ti.milliseconds=Un,ti.seconds=zn,ti.minutes=Vn,ti.hours=qn,ti.days=Wn,ti.weeks=function(){return W(this.days()/7)},ti.months=$n,ti.years=Gn,ti.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=Kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(s=Object.assign({},Kn,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),i=function(e,t,n,i){var r=Bt(e).abs(),s=Zn(r.as("s")),o=Zn(r.as("m")),a=Zn(r.as("h")),l=Zn(r.as("d")),c=Zn(r.as("M")),u=Zn(r.as("w")),d=Zn(r.as("y")),h=s<=n.ss&&["s",s]||s0,h[4]=i,Qn.apply(null,h)}(this,!r,s,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},ti.toISOString=ei,ti.toString=ei,ti.toJSON=ei,ti.locale=Jt,ti.localeData=en,ti.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ei),ti.lang=Xt,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),fe("x",ue),fe("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date($(e))}),r.version="2.29.1",t=Ct,r.fn=bn,r.min=function(){return Tt("isBefore",[].slice.call(arguments,0))},r.max=function(){return Tt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return Ct(1e3*e)},r.months=function(e,t){return kn(e,t,"months")},r.isDate=d,r.locale=ot,r.invalid=_,r.duration=Bt,r.isMoment=x,r.weekdays=function(e,t,n){return Cn(e,t,n,"weekdays")},r.parseZone=function(){return Ct.apply(null,arguments).parseZone()},r.localeData=lt,r.isDuration=Pt,r.monthsShort=function(e,t){return kn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return Cn(e,t,n,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(A(tt[e]._config,t)):(null!=(i=st(e))&&(r=i._config),t=A(r,t),null==i&&(t.abbr=e),(n=new D(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(e)):null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return C(tt)},r.weekdaysShort=function(e,t,n){return Cn(e,t,n,"weekdaysShort")},r.normalizeUnits=B,r.relativeTimeRounding=function(e){return void 0===e?Zn:"function"==typeof e&&(Zn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Kn[e]&&(void 0===t?Kn[e]:(Kn[e]=t,"s"===e&&(Kn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=bn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},35241:(e,t,n)=>{"use strict";n.d(t,{Do:()=>s,EW:()=>o,BS:()=>a,Ei:()=>l,uj:()=>c,C1:()=>u});var i=n(47338);const r=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[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])?)*$/;function s(e){return null==(e=(0,i.gy)(e))||0===e.length||r.test(e)?{}:{email:{pattern:r.toString(),actual:e}}}function o(e){return t=>(t=(0,i.gy)(t))===e?{}:{equalTo:{comparand:e,actual:t}}}function a(e){if(null==e)throw new Error(`The maxLength Validation function requires the maxLength parameter to be a non-null number, got ${e}!`);return t=>{if(null==(t=(0,i.gy)(t)))return{};const n=t.length;return n<=e?{}:{maxLength:{maxLength:e,value:t,actualLength:n}}}}function l(e){if(null==e)throw new Error(`The minLength Validation function requires the minLength parameter to be a non-null number, got ${e}!`);return t=>{if(null==(t=(0,i.gy)(t)))return{};const n=t.length;return 0===n||n>=e?{}:{minLength:{minLength:e,value:t,actualLength:n}}}}function c(e){if(null==e)throw new Error(`The pattern Validation function requires the pattern parameter to be a non-null string or regular expression, got ${e}!`);return t=>null==(t=(0,i.gy)(t))||0===t.length||e.test(t)?{}:{pattern:{pattern:e.toString(),actual:t}}}function u(e){return null!=(e=(0,i.gy)(e))&&0!==e.length?{}:{required:{actual:e}}}},47338:(e,t,n)=>{"use strict";n.d(t,{d6:()=>_,aO:()=>g,i6:()=>_e,CR:()=>De,Wz:()=>Pe,j9:()=>Oe,I_:()=>Le,rc:()=>P,_2:()=>c,BZ:()=>R,j6:()=>$,h$:()=>he,wp:()=>de,c_:()=>te,sO:()=>ce,gy:()=>Y,mD:()=>le,Gu:()=>ue,me:()=>ne});var i=n(31572);function r(e,t,n,i){var r,s=arguments.length,o=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(o=(s<3?r(o):s>3?r(t,n,o):r(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t){return function(n,i){t(n,i,e)}}var o=n(61511),a=n(16073),l=n(61593);let c=(()=>{class e{constructor(t,n){this.controlId=t,this.value=n,this.type=e.TYPE}}return e.TYPE="ngrx/forms/SET_VALUE",e})(),u=(()=>{class e{constructor(t,n){this.controlId=t,this.errors=n,this.type=e.TYPE}}return e.TYPE="ngrx/forms/SET_ERRORS",e})(),d=(()=>{class e{constructor(t,n,i){this.controlId=t,this.name=n,this.value=i,this.type=e.TYPE}}return e.TYPE="ngrx/forms/SET_ASYNC_ERROR",e})(),h=(()=>{class e{constructor(t,n){this.controlId=t,this.name=n,this.type=e.TYPE}}return e.TYPE="ngrx/forms/CLEAR_ASYNC_ERROR",e})(),p=(()=>{class e{constructor(t,n){this.controlId=t,this.name=n,this.type=e.TYPE}}return e.TYPE="ngrx/forms/START_ASYNC_VALIDATION",e})(),f=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/MARK_AS_DIRTY",e})(),m=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/MARK_AS_PRISTINE",e})(),g=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/ENABLE",e})(),_=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/DISABLE",e})(),v=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/MARK_AS_TOUCHED",e})(),y=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/MARK_AS_UNTOUCHED",e})(),b=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/FOCUS",e})(),w=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/UNFOCUS",e})(),x=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/MARK_AS_SUBMITTED",e})(),S=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/MARK_AS_UNSUBMITTED",e})(),k=(()=>{class e{constructor(t,n,i){this.controlId=t,this.value=n,this.index=i,this.type=e.TYPE}}return e.TYPE="ngrx/forms/ADD_ARRAY_CONTROL",e})(),C=(()=>{class e{constructor(t,n,i){this.controlId=t,this.name=n,this.value=i,this.type=e.TYPE}}return e.TYPE="ngrx/forms/ADD_GROUP_CONTROL",e})(),M=(()=>{class e{constructor(t,n){this.controlId=t,this.index=n,this.type=e.TYPE}}return e.TYPE="ngrx/forms/REMOVE_ARRAY_CONTROL",e})(),E=(()=>{class e{constructor(t,n,i){this.controlId=t,this.fromIndex=n,this.toIndex=i,this.type=e.TYPE}}return e.TYPE="ngrx/forms/SWAP_ARRAY_CONTROL",e})(),T=(()=>{class e{constructor(t,n,i){this.controlId=t,this.fromIndex=n,this.toIndex=i,this.type=e.TYPE}}return e.TYPE="ngrx/forms/MOVE_ARRAY_CONTROL",e})(),A=(()=>{class e{constructor(t,n){this.controlId=t,this.name=n,this.type=e.TYPE}}return e.TYPE="ngrx/forms/REMOVE_CONTROL",e})(),D=(()=>{class e{constructor(t,n,i){this.controlId=t,this.name=n,this.value=i,this.type=e.TYPE}}return e.TYPE="ngrx/forms/SET_USER_DEFINED_PROPERTY",e})(),P=(()=>{class e{constructor(t){this.controlId=t,this.type=e.TYPE}}return e.TYPE="ngrx/forms/RESET",e})();function L(e){return!!e.type&&e.type.startsWith("ngrx/forms/")}const O=[c.TYPE,u.TYPE,d.TYPE,h.TYPE,p.TYPE,f.TYPE,m.TYPE,g.TYPE,_.TYPE,v.TYPE,y.TYPE,b.TYPE,w.TYPE,x.TYPE,S.TYPE,C.TYPE,A.TYPE,k.TYPE,M.TYPE,D.TYPE,P.TYPE,E.TYPE,T.TYPE];function I(e){return!!e&&""===e.__boxed}function R(e){return{__boxed:"",value:e}}function Y(e){return["string","boolean","number","undefined"].indexOf(typeof e)>=0||null===e?e:I(e)?e.value:Array.isArray(e)?e.map(Y):Object.keys(e).reduce((t,n)=>Object.assign(t,{[n]:Y(e[n])}),{})}function F(e){return 0===Object.keys(e).length}const j={treatUndefinedAndMissingKeyAsSame:!1};function H(e,t,n={}){const{treatUndefinedAndMissingKeyAsSame:i}=Object.assign({},j,n),r=[],s=[];function o(e,t){let n;if(isNaN(e)&&isNaN(t)&&"number"==typeof e&&"number"==typeof t)return!0;if(e===t)return!0;if("function"==typeof e&&"function"==typeof t||e instanceof Date&&t instanceof Date||e instanceof RegExp&&t instanceof RegExp||e instanceof String&&t instanceof String||e instanceof Number&&t instanceof Number)return e.toString()===t.toString();if(!(e instanceof Object&&t instanceof Object))return!1;if(e.isPrototypeOf(t)||t.isPrototypeOf(e))return!1;if(e.constructor!==t.constructor)return!1;if(r.indexOf(e)>-1||s.indexOf(t)>-1)return!1;for(n in t)if(!i||!t.hasOwnProperty(n)||e.hasOwnProperty(n)||void 0!==t[n]){if(t.hasOwnProperty(n)!==e.hasOwnProperty(n))return!1;if(typeof t[n]!=typeof e[n])return!1}for(n in e){if(t.hasOwnProperty(n)!==e.hasOwnProperty(n)&&(!i||!e.hasOwnProperty(n)||t.hasOwnProperty(n)||void 0!==e[n]))return!1;switch(typeof e[n]){case"object":case"function":if(r.push(e),s.push(t),!o(e[n],t[n]))return!1;r.pop(),s.pop();break;default:if(e[n]!==t[n])return!1}}return!0}if(arguments.length<=1)throw new Error("Need two or more arguments to compare");return o(e,t)}function N(e){return!!e&&e.hasOwnProperty("id")&&e.hasOwnProperty("value")&&e.hasOwnProperty("errors")}function B(e){return N(e)&&e.hasOwnProperty("controls")&&Array.isArray(e.controls)}function U(e){return N(e)&&e.hasOwnProperty("controls")&&!Array.isArray(e.controls)&&"function"!=typeof e.controls}function z(e,t){return I(t)?q(e,t):null!==t&&Array.isArray(t)?function(e,t){const n=t.map((t,n)=>z(`${e}.${n}`,t));return G(e,n,t,{},[],{},{wasOrShouldBeEnabled:!0})}(e,t):null!==t&&"object"==typeof t?$(e,t):q(e,t)}function V(e){if(null===e||["string","number","boolean","undefined"].indexOf(typeof e)>=0)return e;if(!I(e))throw new Error(`Form control states only support undefined, null, string, number, and boolean values as well as boxed values; got ${JSON.stringify(e)} of type ${typeof e}`);if(null===e.value||["string","number","boolean","undefined"].indexOf(typeof e.value)>=0)return e;const t=JSON.stringify(e);if(H(e,JSON.parse(t),{treatUndefinedAndMissingKeyAsSame:!0}))return e;throw new Error(`A form control value must be serializable (i.e. value === JSON.parse(JSON.stringify(value))), got: ${JSON.stringify(e)}`)}function q(e,t){return{id:e,value:V(t),errors:{},pendingValidations:[],isValidationPending:!1,isValid:!0,isInvalid:!1,isEnabled:!0,isDisabled:!1,isDirty:!1,isPristine:!0,isTouched:!1,isUntouched:!0,isSubmitted:!1,isUnsubmitted:!0,isFocused:!1,isUnfocused:!0,userDefinedProperties:{}}}function W(e,t,n,i,r,s,o){n=function(e,t){let n=Object.keys(t).length!==Object.keys(e).length;const i=Object.keys(e).reduce((i,r)=>(n=n||t[r]!==e[r].value,i[r]=e[r].value,i),{});return n?i:t}(t,n),i=function(e,t){let n=!1;const i=Object.keys(t).filter(e=>!e.startsWith("_")).reduce((e,n)=>Object.assign(e,{[n]:t[n]}),{}),r=Object.keys(e).reduce((i,r)=>{const s=e[r].errors;return F(s)?n=n||t.hasOwnProperty(`_${r}`):(n=n||t[`_${r}`]!==s,Object.assign(i,{[`_${r}`]:e[r].errors})),i},i);return n=n||Object.keys(t).length!==Object.keys(r).length,n?r:t}(t,i);const a=F(i),l=o.wasOrShouldBeDirty||Object.keys(t).some(e=>t[e].isDirty),c=o.wasOrShouldBeEnabled||Object.keys(t).some(e=>t[e].isEnabled),u=o.wasOrShouldBeTouched||Object.keys(t).some(e=>t[e].isTouched),d=o.wasOrShouldBeSubmitted||Object.keys(t).some(e=>t[e].isSubmitted);return{id:e,value:n,errors:i,pendingValidations:r,isValidationPending:r.length>0||Object.keys(t).some(e=>t[e].isValidationPending),isValid:a,isInvalid:!a,isEnabled:c,isDisabled:!c,isDirty:l,isPristine:!l,isTouched:u,isUntouched:!u,isSubmitted:d,isUnsubmitted:!d,userDefinedProperties:s,controls:t}}function $(e,t){const n=Object.keys(t).map(n=>[n,z(`${e}.${n}`,t[n])]).reduce((e,[t,n])=>Object.assign(e,{[t]:n}),{});return W(e,n,t,{},[],{},{wasOrShouldBeEnabled:!0})}function G(e,t,n,i,r,s,o){const a=t;n=function(e,t){let n=Object.keys(t).length!==Object.keys(e).length;const i=e.map((e,i)=>(n=n||t[i]!==e.value,e.value));return n?i:t}(a,n),i=function(e,t){let n=!1;const i=Object.keys(t).filter(e=>!e.startsWith("_")).reduce((e,n)=>Object.assign(e,{[n]:t[n]}),{}),r=e.reduce((e,i,r)=>{const s=i.errors;return F(s)?n=n||t.hasOwnProperty(`_${r}`):(n=n||t[`_${r}`]!==s,Object.assign(e,{[`_${r}`]:s})),e},i);return n=n||Object.keys(t).length!==Object.keys(r).length,n?r:t}(a,i);const l=F(i),c=o.wasOrShouldBeDirty||a.some(e=>e.isDirty),u=o.wasOrShouldBeEnabled||a.some(e=>e.isEnabled),d=o.wasOrShouldBeTouched||a.some(e=>e.isTouched),h=o.wasOrShouldBeSubmitted||a.some(e=>e.isSubmitted);return{id:e,value:n,errors:i,pendingValidations:r,isValidationPending:r.length>0||a.some(e=>e.isValidationPending),isValid:l,isInvalid:!l,isEnabled:u,isDisabled:!u,isDirty:c,isPristine:!c,isTouched:d,isUntouched:!d,isSubmitted:h,isUnsubmitted:!h,userDefinedProperties:s,controls:t}}function Z(e,t){if(!e)throw new Error("The control state must be defined!");return function(e,t){if(U(e)||B(e))throw new Error("The state must be a control state");return t.controlId!==e.id?e:e=function(e,t){return t.type!==P.TYPE||e.isPristine&&e.isUntouched&&e.isUnsubmitted?e:Object.assign(Object.assign({},e),{isDirty:!1,isPristine:!0,isTouched:!1,isUntouched:!0,isSubmitted:!1,isUnsubmitted:!0})}(e=function(e,t){return t.type!==D.TYPE||e.userDefinedProperties[t.name]===t.value?e:Object.assign(Object.assign({},e),{userDefinedProperties:Object.assign(Object.assign({},e.userDefinedProperties),{[t.name]:t.value})})}(e=function(e,t){return t.type!==S.TYPE||e.isUnsubmitted?e:Object.assign(Object.assign({},e),{isSubmitted:!1,isUnsubmitted:!0})}(e=function(e,t){return t.type!==x.TYPE||e.isSubmitted?e:Object.assign(Object.assign({},e),{isSubmitted:!0,isUnsubmitted:!1})}(e=function(e,t){return t.type!==y.TYPE||e.isUntouched?e:Object.assign(Object.assign({},e),{isTouched:!1,isUntouched:!0})}(e=function(e,t){return t.type!==v.TYPE||e.isTouched?e:Object.assign(Object.assign({},e),{isTouched:!0,isUntouched:!1})}(e=function(e,t){return t.type!==m.TYPE||e.isPristine?e:Object.assign(Object.assign({},e),{isDirty:!1,isPristine:!0})}(e=function(e,t){return t.type!==f.TYPE||e.isDirty?e:Object.assign(Object.assign({},e),{isDirty:!0,isPristine:!1})}(e=function(e,t){return t.type!==w.TYPE||e.isUnfocused?e:Object.assign(Object.assign({},e),{isFocused:!1,isUnfocused:!0})}(e=function(e,t){return t.type!==b.TYPE||e.isFocused?e:Object.assign(Object.assign({},e),{isFocused:!0,isUnfocused:!1})}(e=function(e,t){return t.type!==_.TYPE||e.isDisabled?e:Object.assign(Object.assign({},e),{isEnabled:!1,isDisabled:!0,isValid:!0,isInvalid:!1,errors:{},pendingValidations:[],isValidationPending:!1})}(e=function(e,t){return t.type!==g.TYPE||e.isEnabled?e:Object.assign(Object.assign({},e),{isEnabled:!0,isDisabled:!1})}(e=function(e,t){if(t.type!==h.TYPE)return e;const n=`$${t.name}`;let i=e.errors;i.hasOwnProperty(n)&&(i=Object.assign({},e.errors),delete i[n]);const r=e.pendingValidations.filter(e=>e!==t.name),s=F(i);return i===e.errors&&s===e.isValid&&r.length===e.pendingValidations.length?e:Object.assign(Object.assign({},e),{isValid:s,isInvalid:!s,errors:i,pendingValidations:r,isValidationPending:r.length>0})}(e=function(e,t){if(t.type!==d.TYPE)return e;if(e.isDisabled)return e;const n=`$${t.name}`;let i=t.value;H(e.errors[n],t.value)&&(i=e.errors[n]);const r=Object.assign(Object.assign({},e.errors),{[n]:i}),s=e.pendingValidations.filter(e=>e!==t.name);return Object.assign(Object.assign({},e),{isValid:!1,isInvalid:!0,errors:r,pendingValidations:s,isValidationPending:s.length>0})}(e=function(e,t){return t.type!==p.TYPE||e.pendingValidations.indexOf(t.name)>=0?e:Object.assign(Object.assign({},e),{pendingValidations:[...e.pendingValidations,t.name],isValidationPending:!0})}(e=function(e,t){if(t.type!==u.TYPE)return e;if(e.isDisabled)return e;if(e.errors===t.errors)return e;if(H(e.errors,t.errors))return e;if(!t.errors||"object"!=typeof t.errors||Array.isArray(t.errors))throw new Error(`Control errors must be an object; got ${t.errors}`);if(Object.keys(t.errors).some(e=>e.startsWith("$")))throw new Error(`Control errors must not use $ as a prefix; got ${JSON.stringify(t.errors)}`);const n=Object.keys(e.errors).filter(e=>e.startsWith("$")).reduce((t,n)=>Object.assign(t,{[n]:e.errors[n]}),{}),i=F(n)?t.errors:Object.assign(n,t.errors),r=F(i);return Object.assign(Object.assign({},e),{isValid:r,isInvalid:!r,errors:i})}(e=function(e,t){return t.type!==c.TYPE||e.value===t.value?e:Object.assign(Object.assign({},e),{value:V(t.value)})}(e,t),t),t),t),t),t),t),t),t),t),t),t),t),t),t),t),t)}(e,t)}function K(e,t){let n=!1;const i=e.map(e=>{const i=ee(e,t(e.id));return n=n||e!==i,i});return n?i:e}function Q(e,t){const n=function(e,t){let n=!1;const i=e.map(e=>{const i=ee(e,t);return n=n||e!==i,i});return n?i:e}(e.controls,t);return e.controls===n?e:G(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}function J(e,t){return e.id===t?e:U(e)?function(e,t){const n=Object.keys(e.controls).reduce((n,i)=>Object.assign(n,{[i]:J(e.controls[i],`${t}.${i}`)}),{});return Object.assign(Object.assign({},e),{id:t,controls:n})}(e,t):B(e)?function(e,t){const n=e.controls.map((e,n)=>J(e,`${t}.${n}`));return Object.assign(Object.assign({},e),{id:t,controls:n})}(e,t):Object.assign(Object.assign({},e),{id:t})}function X(e,t){if(!e)throw new Error("The array state must be defined!");return function(e,t){if(!B(e))throw new Error("The state must be an array state");if(!L(t))return e;if(!t.controlId.startsWith(e.id))return e;switch(t.type){case b.TYPE:case w.TYPE:case C.TYPE:case A.TYPE:return Q(e,t)}return function(e,t){if(t.type!==T.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);const n=t.fromIndex,i=t.toIndex;if(n===i)return e;if(n<0||i<0)throw new Error(`fromIndex ${n} or toIndex ${n} was negative`);if(n>=e.controls.length||i>=e.controls.length)throw new Error(`fromIndex ${n} or toIndex ${i} is out of bounds with the length of the controls ${e.controls.length}`);let r=function(e,t,n){const i=e[t],r=e.length;if(t>n)return[...e.slice(0,n),i,...e.slice(n,t),...e.slice(t+1,r)];{const s=n+1;return[...e.slice(0,t),...e.slice(t+1,s),i,...e.slice(s,r)]}}(e.controls,n,i);return r=r.map((t,n)=>J(t,`${e.id}.${n}`)),G(e.id,r,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!0,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==E.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);const n=t.fromIndex,i=t.toIndex;if(n===i)return e;if(n<0||i<0)throw new Error(`fromIndex ${n} or toIndex ${n} was negative`);if(n>=e.controls.length||i>=e.controls.length)throw new Error(`fromIndex ${n} or toIndex ${i} is out of bounds with the length of the controls ${e.controls.length}`);let r=function(e,t,n){const i=[...e];return[i[t],i[n]]=[i[n],i[t]],i}(e.controls,n,i);return r=r.map((t,r)=>r>=n||r>=i?J(t,`${e.id}.${r}`):t),G(e.id,r,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!0,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==M.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);if(t.index>=e.controls.length||t.index<0)throw new Error(`Index ${t.index} is out of bounds for array '${e.id}' with length ${e.controls.length}!`);const n=t.index,i=e.controls.filter((e,t)=>t!==n).map((t,n)=>J(t,`${e.id}.${n}`));return G(e.id,i,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!0,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==k.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);const n=void 0===t.index?e.controls.length:t.index;if(n>e.controls.length||n<0)throw new Error(`Index ${n} is out of bounds for array '${e.id}' with length ${e.controls.length}!`);let i=[...e.controls];return i.splice(n,0,z(`${e.id}.${n}`,t.value)),i=i.map((t,n)=>J(t,`${e.id}.${n}`)),G(e.id,i,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!0,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){return t.type!==P.TYPE?e:t.controlId!==e.id?Q(e,t):e.isPristine&&e.isUntouched&&e.isUnsubmitted?e:G(e.id,K(e.controls,e=>new P(e)),e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!1,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:!1,wasOrShouldBeSubmitted:!1})}(e=function(e,t){return t.type!==D.TYPE?e:t.controlId!==e.id?Q(e,t):e.userDefinedProperties[t.name]===t.value?e:Object.assign(Object.assign({},e),{userDefinedProperties:Object.assign(Object.assign({},e.userDefinedProperties),{[t.name]:t.value})})}(e=function(e,t){return t.type!==S.TYPE?e:t.controlId!==e.id?Q(e,t):e.isUnsubmitted?e:G(e.id,K(e.controls,e=>new S(e)),e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:!1})}(e=function(e,t){if(t.type!==x.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);const n=K(e.controls,e=>new x(e));return n===e.controls?e:G(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:!0})}(e=function(e,t){return t.type!==y.TYPE?e:t.controlId!==e.id?Q(e,t):e.isUntouched?e:G(e.id,K(e.controls,e=>new y(e)),e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:!1,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==v.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);const n=K(e.controls,e=>new v(e));return n===e.controls?e:G(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:!0,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){return t.type!==m.TYPE?e:t.controlId!==e.id?Q(e,t):e.isPristine?e:G(e.id,K(e.controls,e=>new m(e)),e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!1,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==f.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);const n=K(e.controls,e=>new f(e));return n===e.controls?e:G(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!0,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){return t.type!==_.TYPE?e:t.controlId!==e.id?Q(e,t):e.isDisabled?e:G(e.id,K(e.controls,e=>new _(e)),e.value,{},[],e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:!1,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==g.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);const n=K(e.controls,e=>new g(e));return n===e.controls&&e.isEnabled?e:G(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:!0,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==h.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);const n=`$${t.name}`;let i=e.errors;e.errors.hasOwnProperty(n)&&(i=Object.assign({},e.errors),delete i[n]);const r=e.pendingValidations.filter(e=>e!==t.name);return i===e.errors&&r.length===e.pendingValidations.length?e:G(e.id,e.controls,e.value,i,r,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==d.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);if(e.isDisabled)return e;const n=`$${t.name}`;let i=t.value;H(e.errors[n],t.value)&&(i=e.errors[n]);const r=Object.assign(Object.assign({},e.errors),{[n]:i}),s=e.pendingValidations.filter(e=>e!==t.name);return G(e.id,e.controls,e.value,r,s,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==p.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);if(e.pendingValidations.indexOf(t.name)>=0)return e;const n=[...e.pendingValidations,t.name];return G(e.id,e.controls,e.value,e.errors,n,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==u.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);if(e.isDisabled)return e;if(e.errors===t.errors)return e;if(H(e.errors,t.errors))return e;if(!t.errors||"object"!=typeof t.errors||Array.isArray(t.errors))throw new Error(`Control errors must be an object; got ${t.errors}`);if(Object.keys(t.errors).some(e=>e.startsWith("_")))throw new Error(`Control errors must not use underscore as a prefix; got ${JSON.stringify(t.errors)}`);if(Object.keys(t.errors).some(e=>e.startsWith("$")))throw new Error(`Control errors must not use $ as a prefix; got ${JSON.stringify(t.errors)}`);const n=Object.keys(e.errors).filter(e=>e.startsWith("_")||e.startsWith("$")).reduce((t,n)=>Object.assign(t,{[n]:e.errors[n]}),{}),i=Object.assign(n,t.errors);return G(e.id,e.controls,e.value,i,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==c.TYPE)return e;if(t.controlId!==e.id)return Q(e,t);if(e.value===t.value)return e;if(t.value instanceof Date)throw new Error("Date values are not supported. Please used serialized strings instead.");const n=t.value,i=n.map((t,n)=>e.controls[n]?ee(e.controls[n],new c(e.controls[n].id,t)):z(`${e.id}.${n}`,t));return G(e.id,i,n,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e,t),t),t),t),t),t),t),t),t),t),t),t),t),t),t),t),t),t),t)}(e,t)}function ee(e,t){if(!e)throw new Error("The form state must be defined!");if(!N(e))throw new Error(`state must be a form state, got ${e}`);return U(e)?se(e,t):B(e)?X(e,t):Z(e,t)}function te(){return{reducer:(e,t)=>N(e)?ee(e,t):function(e,t){return Object.keys(e).reduce((e,n)=>function(e,t,n){const i=e[t];return N(i)?Object.assign(Object.assign({},e),{[t]:ee(i,n)}):e}(e,n,t),e)}(e,t),types:O}}function ne(e,t,n){return(i,r)=>{const s=e(i,r),o=t(s);if(o===s)return n(o,s);const a=Object.keys(s).find(e=>s[e]===o),l=n(o,s);return l===o?s:Object.assign(Object.assign({},s),{[a]:l})}}function ie(e,t){let n=!1;const i=Object.keys(e).reduce((i,r)=>(Object.assign(i,{[r]:ee(e[r],t(e[r].id))}),n=n||i[r]!==e[r],i),{});return n?i:e}function re(e,t){const n=function(e,t){let n=!1;const i=Object.keys(e).map(n=>[n,ee(e[n],t)]).reduce((t,[i,r])=>(n=n||r!==e[i],Object.assign(t,{[i]:r})),{});return n?i:e}(e.controls,t);return e.controls===n?e:W(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}function se(e,t){if(!e)throw new Error("The group state must be defined!");return function(e,t){if(!U(e))throw new Error("The state must be a group state");if(!L(t))return e;if(!t.controlId.startsWith(e.id))return e;switch(t.type){case b.TYPE:case w.TYPE:case k.TYPE:case M.TYPE:case T.TYPE:case E.TYPE:return re(e,t)}return function(e,t){return t.type!==P.TYPE?e:t.controlId!==e.id?re(e,t):e.isPristine&&e.isUntouched&&e.isUnsubmitted?e:W(e.id,ie(e.controls,e=>new P(e)),e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!1,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:!1,wasOrShouldBeSubmitted:!1})}(e=function(e,t){return t.type!==D.TYPE?e:t.controlId!==e.id?re(e,t):e.userDefinedProperties[t.name]===t.value?e:Object.assign(Object.assign({},e),{userDefinedProperties:Object.assign(Object.assign({},e.userDefinedProperties),{[t.name]:t.value})})}(e=function(e,t){if(t.type!==A.TYPE)return e;if(t.controlId!==e.id)return re(e,t);if(!e.controls.hasOwnProperty(t.name))throw new Error(`Group '${e.id}' does not have child control '${t.name}'!`);const n=Object.assign({},e.controls);return delete n[t.name],W(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!0,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==C.TYPE)return e;if(t.controlId!==e.id)return re(e,t);if(e.controls.hasOwnProperty(t.name))throw new Error(`Group '${e.id}' already has child control '${t.name}'!`);const n=Object.assign({},e.controls,{[t.name]:z(`${e.id}.${t.name}`,t.value)});return W(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!0,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){return t.type!==S.TYPE?e:t.controlId!==e.id?re(e,t):e.isUnsubmitted?e:W(e.id,ie(e.controls,e=>new S(e)),e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:!1})}(e=function(e,t){if(t.type!==x.TYPE)return e;if(t.controlId!==e.id)return re(e,t);const n=ie(e.controls,e=>new x(e));return n===e.controls?e:W(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:!0})}(e=function(e,t){return t.type!==y.TYPE?e:t.controlId!==e.id?re(e,t):e.isUntouched?e:W(e.id,ie(e.controls,e=>new y(e)),e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:!1,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==v.TYPE)return e;if(t.controlId!==e.id)return re(e,t);const n=ie(e.controls,e=>new v(e));return n===e.controls?e:W(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:!0,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){return t.type!==m.TYPE?e:t.controlId!==e.id?re(e,t):e.isPristine?e:W(e.id,ie(e.controls,e=>new m(e)),e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!1,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==f.TYPE)return e;if(t.controlId!==e.id)return re(e,t);const n=ie(e.controls,e=>new f(e));return n===e.controls?e:W(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:!0,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){return t.type!==_.TYPE?e:t.controlId!==e.id?re(e,t):e.isDisabled?e:W(e.id,ie(e.controls,e=>new _(e)),e.value,{},[],e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:!1,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==g.TYPE)return e;if(t.controlId!==e.id)return re(e,t);const n=ie(e.controls,e=>new g(e));return n===e.controls?e:W(e.id,n,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:!0,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==h.TYPE)return e;if(t.controlId!==e.id)return re(e,t);const n=`$${t.name}`;let i=e.errors;i.hasOwnProperty(n)&&(i=Object.assign({},e.errors),delete i[n]);const r=e.pendingValidations.filter(e=>e!==t.name);return i===e.errors&&r.length===e.pendingValidations.length?e:W(e.id,e.controls,e.value,i,r,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==d.TYPE)return e;if(t.controlId!==e.id)return re(e,t);if(e.isDisabled)return e;const n=`$${t.name}`;let i=t.value;H(e.errors[n],t.value)&&(i=e.errors[n]);const r=Object.assign(Object.assign({},e.errors),{[n]:i}),s=e.pendingValidations.filter(e=>e!==t.name);return W(e.id,e.controls,e.value,r,s,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==p.TYPE)return e;if(t.controlId!==e.id)return re(e,t);if(e.pendingValidations.indexOf(t.name)>=0)return e;const n=[...e.pendingValidations,t.name];return W(e.id,e.controls,e.value,e.errors,n,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==u.TYPE)return e;if(t.controlId!==e.id)return re(e,t);if(e.isDisabled)return e;if(e.errors===t.errors)return e;if(H(e.errors,t.errors))return e;if(!t.errors||"object"!=typeof t.errors||Array.isArray(t.errors))throw new Error(`Control errors must be an object; got ${t.errors}`);if(Object.keys(t.errors).some(e=>e.startsWith("_")))throw new Error(`Control errors must not use underscore as a prefix; got ${JSON.stringify(t.errors)}`);if(Object.keys(t.errors).some(e=>e.startsWith("$")))throw new Error(`Control errors must not use $ as a prefix; got ${JSON.stringify(t.errors)}`);const n=Object.keys(e.errors).filter(e=>e.startsWith("_")||e.startsWith("$")).reduce((t,n)=>Object.assign(t,{[n]:e.errors[n]}),{}),i=Object.assign(n,t.errors);return W(e.id,e.controls,e.value,i,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e=function(e,t){if(t.type!==c.TYPE)return e;if(t.controlId!==e.id)return re(e,t);if(e.value===t.value)return e;if(t.value instanceof Date)throw new Error("Date values are not supported. Please used serialized strings instead.");const n=t.value,i=Object.keys(n).reduce((t,i)=>(Object.assign(t,e.controls[i]?{[i]:ee(e.controls[i],new c(e.controls[i].id,n[i]))}:{[i]:z(`${e.id}.${i}`,n[i])}),t),{});return W(e.id,i,n,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted})}(e,t),t),t),t),t),t),t),t),t),t),t),t),t),t),t),t),t)}(e,t)}function oe(e,t){return B(e)?X(e,t):U(e)?se(e,t):Z(e,t)}function ae(e){if(!e)throw new Error("state must not be undefined!");return e}function le(e,t,...n){if(U(e))return(Array.isArray(t)?t:[t]).concat(...n).reduce((e,t)=>{return(n=t,e=>{const t=function(e){return t=>{let n=!1;const i=Object.keys(t.controls).reduce((i,r)=>{const s=t.controls[r];if(Object.assign(i,{[r]:s}),e.hasOwnProperty(r)){const o=e[r](s,t);n=n||o!==s,Object.assign(i,{[r]:o})}return i},{});return n?i:t.controls}}(n)(e);return t!==e.controls?W(e.id,t,e.value,e.errors,e.pendingValidations,e.userDefinedProperties,{wasOrShouldBeDirty:e.isDirty,wasOrShouldBeEnabled:e.isEnabled,wasOrShouldBeTouched:e.isTouched,wasOrShouldBeSubmitted:e.isSubmitted}):e})(e);var n},e);let i=Array.isArray(e)?e:[e];return i=void 0===t?i:i.concat(t),e=>le(ae(e),i.concat(n))}function ce(e,t){return N(e)?oe(e,new c(e.id,t)):t=>ce(ae(t),e)}function ue(e,t,...n){if(N(e)){const i=(Array.isArray(t)?t:[t]).concat(...n).reduce((t,n)=>Object.assign(t,n(e.value)),{});return ee(e,new u(e.id,i))}let i=Array.isArray(e)?e:[e];return i=void 0===t?i:i.concat(t),e=>ue(ae(e),i.concat(n))}function de(e){return oe(e,new g(e.id))}function he(e){return oe(e,new _(e.id))}const pe=new i.OlP("NgrxFormViewAdapter");var fe;let me=(()=>{let e=fe=class{constructor(e,t){this.renderer=e,this.elementRef=t,this.nativeIdWasSet=!1,this.onChange=()=>{},this.onTouched=()=>{}}set ngrxFormControlState(e){if(!e)throw new Error("The control state must not be undefined!");this.state=e,e.id!==this.elementRef.nativeElement.id&&this.nativeIdWasSet&&this.renderer.setProperty(this.elementRef.nativeElement,"id",e.id)}ngAfterViewInit(){const e=this.elementRef.nativeElement.id;this.state.id!==e&&!e&&(this.renderer.setProperty(this.elementRef.nativeElement,"id",this.state.id),this.nativeIdWasSet=!0)}setViewValue(e){this.renderer.setProperty(this.elementRef.nativeElement,"checked",e)}setOnChangeCallback(e){this.onChange=e}setOnTouchedCallback(e){this.onTouched=e}setIsDisabled(e){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",e)}handleInput({target:e}){this.onChange(e.checked)}};return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Qsj),i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["input","type","checkbox","ngrxFormControlState",""]],hostBindings:function(e,t){1&e&&i.NdJ("blur",function(){return t.onTouched()})("change",function(e){return t.handleInput(e)})},inputs:{ngrxFormControlState:"ngrxFormControlState"},features:[i._Bn([{provide:pe,useExisting:(0,i.Gpc)(()=>fe),multi:!0}])]}),e})();var ge;let _e=(()=>{let e=ge=class{constructor(e,t,n=null,i=null){this.renderer=e,this.elementRef=t,this.platformId=n,this.nativeIdWasSet=!1,this.onChange=()=>{},this.onTouched=()=>{},this.isComposing=!1,this.isCompositionSupported=(0,o.NF)(this.platformId||"")&&!function(e){return/android (\d+)/.test(e.userAgent.toLowerCase())}(i||window.navigator)}set ngrxFormControlState(e){if(!e)throw new Error("The control state must not be undefined!");this.state=e,e.id!==this.elementRef.nativeElement.id&&this.nativeIdWasSet&&this.renderer.setProperty(this.elementRef.nativeElement,"id",e.id)}ngAfterViewInit(){const e=this.elementRef.nativeElement.id;this.state.id!==e&&!e&&(this.renderer.setProperty(this.elementRef.nativeElement,"id",this.state.id),this.nativeIdWasSet=!0)}setViewValue(e){this.renderer.setProperty(this.elementRef.nativeElement,"value",null==e?"":e)}setOnChangeCallback(e){this.onChange=e}setOnTouchedCallback(e){this.onTouched=e}setIsDisabled(e){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",e)}handleInput({target:e}){this.isCompositionSupported&&this.isComposing||this.onChange(e.value)}compositionStart(){this.isComposing=!0}compositionEnd({target:e}){this.isComposing=!1,this.isCompositionSupported&&this.onChange(e.value)}};return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(i.Lbi,8),i.Y36("ngrx-forms/never",8))},e.\u0275dir=i.lG2({type:e,selectors:[["input","ngrxFormControlState","",3,"type","checkbox",3,"type","number",3,"type","radio",3,"type","range"],["textarea","ngrxFormControlState",""]],hostBindings:function(e,t){1&e&&i.NdJ("blur",function(){return t.onTouched()})("input",function(e){return t.handleInput(e)})("compositionstart",function(){return t.compositionStart()})("compositionend",function(e){return t.compositionEnd(e)})},inputs:{ngrxFormControlState:"ngrxFormControlState"},features:[i._Bn([{provide:pe,useExisting:(0,i.Gpc)(()=>ge),multi:!0}])]}),e=ge=r([s(2,(0,i.FiY)()),s(2,(0,i.tBr)(i.Lbi)),s(3,(0,i.FiY)()),s(3,(0,i.tBr)("ngrx-forms/never"))],e),e})();var ve;let ye=(()=>{let e=ve=class{constructor(e,t){this.renderer=e,this.elementRef=t,this.nativeIdWasSet=!1,this.onChange=()=>{},this.onTouched=()=>{}}set ngrxFormControlState(e){if(!e)throw new Error("The control state must not be undefined!");this.state=e,e.id!==this.elementRef.nativeElement.id&&this.nativeIdWasSet&&this.renderer.setProperty(this.elementRef.nativeElement,"id",e.id)}ngAfterViewInit(){const e=this.elementRef.nativeElement.id;this.state.id!==e&&!e&&(this.renderer.setProperty(this.elementRef.nativeElement,"id",this.state.id),this.nativeIdWasSet=!0)}setViewValue(e){this.renderer.setProperty(this.elementRef.nativeElement,"value",null===e?"":e)}setOnChangeCallback(e){this.onChange=e}setOnTouchedCallback(e){this.onTouched=e}setIsDisabled(e){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",e)}handleInput({target:e}){const t=e.value;this.onChange(""===t?null:parseFloat(t))}};return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Qsj),i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["input","type","number","ngrxFormControlState",""]],hostBindings:function(e,t){1&e&&i.NdJ("blur",function(){return t.onTouched()})("change",function(e){return t.handleInput(e)})("input",function(e){return t.handleInput(e)})},inputs:{ngrxFormControlState:"ngrxFormControlState"},features:[i._Bn([{provide:pe,useExisting:(0,i.Gpc)(()=>ve),multi:!0}])]}),e})();var be;let we=(()=>{let e=be=class{constructor(e,t){this.renderer=e,this.elementRef=t,this.optionMap={},this.idCounter=0,this.selectedId=null,this.value=void 0,this.nativeIdWasSet=!1,this.onChangeFn=()=>{},this.onTouched=()=>{}}set ngrxFormControlState(e){if(!e)throw new Error("The control state must not be undefined!");this.state=e,e.id!==this.elementRef.nativeElement.id&&this.nativeIdWasSet&&this.renderer.setProperty(this.elementRef.nativeElement,"id",e.id)}ngAfterViewInit(){const e=this.elementRef.nativeElement.id;this.state.id!==e&&!e&&(this.renderer.setProperty(this.elementRef.nativeElement,"id",this.state.id),this.nativeIdWasSet=!0)}setViewValue(e){this.value=e,this.selectedId=this.getOptionId(e),null===this.selectedId&&this.renderer.setProperty(this.elementRef.nativeElement,"selectedIndex",-1),this.renderer.setProperty(this.elementRef.nativeElement,"value",this.selectedId)}onChange({target:e}){this.selectedId=e.value;const t=this.optionMap[this.selectedId];this.value=t,this.onChangeFn(t)}setOnChangeCallback(e){this.onChangeFn=e}setOnTouchedCallback(e){this.onTouched=e}setIsDisabled(e){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",e)}createOptionId(){const e=this.idCounter.toString();return this.idCounter+=1,e}updateOptionValue(e,t){this.optionMap[e]=t,this.selectedId===e?this.onChangeFn(t):t===this.value&&this.setViewValue(t)}deregisterOption(e){delete this.optionMap[e]}getOptionId(e){for(const t of Array.from(Object.keys(this.optionMap)))if(this.optionMap[t]===e)return t;return null}};return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Qsj),i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["select","ngrxFormControlState","",3,"multiple",""]],hostBindings:function(e,t){1&e&&i.NdJ("blur",function(){return t.onTouched()})("change",function(e){return t.onChange(e)})},inputs:{ngrxFormControlState:"ngrxFormControlState"},features:[i._Bn([{provide:pe,useExisting:(0,i.Gpc)(()=>be),multi:!0}])]}),e})();var xe;let Se=(()=>{let e=xe=class{constructor(e,t){this.renderer=e,this.elementRef=t,this.options={},this.optionValues={},this.idCounter=0,this.selectedIds=[],this.nativeIdWasSet=!1,this.onChangeFn=()=>{},this.onTouched=()=>{}}set ngrxFormControlState(e){if(!e)throw new Error("The control state must not be undefined!");this.state=e,e.id!==this.elementRef.nativeElement.id&&this.nativeIdWasSet&&this.renderer.setProperty(this.elementRef.nativeElement,"id",e.id)}ngAfterViewInit(){const e=this.elementRef.nativeElement.id;this.state.id!==e&&!e&&(this.renderer.setProperty(this.elementRef.nativeElement,"id",this.state.id),this.nativeIdWasSet=!0)}setViewValue(e){if(null===e&&(e=[]),!Array.isArray(e))throw new Error(`the value provided to a NgrxSelectMultipleViewAdapter must be null or an array; got ${e} of type ${typeof e}`);this.selectedIds=e.map(e=>this.getOptionId(e)).filter(e=>null!==e).map(e=>e),Object.keys(this.options).forEach(e=>this.options[e].isSelected=this.selectedIds.indexOf(e)>=0)}onChange(){this.selectedIds=Object.keys(this.options).filter(e=>this.options[e].isSelected);const e=this.selectedIds.map(e=>this.optionValues[e]);this.onChangeFn(e)}setOnChangeCallback(e){this.onChangeFn=e}setOnTouchedCallback(e){this.onTouched=e}setIsDisabled(e){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",e)}registerOption(e){const t=this.idCounter.toString();return this.options[t]=e,this.idCounter+=1,t}updateOptionValue(e,t){this.optionValues[e]=t,this.selectedIds.indexOf(e)>=0&&this.onChange()}deregisterOption(e){delete this.options[e],delete this.optionValues[e]}getOptionId(e){for(const t of Array.from(Object.keys(this.optionValues)))if(this.optionValues[t]===e)return t;return null}};return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Qsj),i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["select","multiple","","ngrxFormControlState",""]],hostBindings:function(e,t){1&e&&i.NdJ("blur",function(){return t.onTouched()})("change",function(){return t.onChange()})},inputs:{ngrxFormControlState:"ngrxFormControlState"},features:[i._Bn([{provide:pe,useExisting:(0,i.Gpc)(()=>xe),multi:!0}])]}),e})();var ke;let Ce=(()=>{let e=ke=class{constructor(e,t){this.renderer=e,this.elementRef=t,this.nativeNameWasSet=!1,this.onChange=()=>{},this.onTouched=()=>{}}set value(e){e!==this.latestValue&&(this.latestValue=e,this.isChecked&&this.onChange())}set ngrxFormControlState(e){if(!e)throw new Error("The control state must not be undefined!");this.state=e,e.id!==this.elementRef.nativeElement.name&&this.nativeNameWasSet&&this.renderer.setProperty(this.elementRef.nativeElement,"name",e.id)}ngOnInit(){this.isChecked=this.elementRef.nativeElement.checked}ngAfterViewInit(){const e=this.elementRef.nativeElement.name;this.state.id!==e&&!e&&(this.renderer.setProperty(this.elementRef.nativeElement,"name",this.state.id),this.nativeNameWasSet=!0)}setViewValue(e){this.isChecked=e===this.latestValue,this.renderer.setProperty(this.elementRef.nativeElement,"checked",this.isChecked)}setOnChangeCallback(e){this.onChange=()=>e(this.latestValue)}setOnTouchedCallback(e){this.onTouched=e}setIsDisabled(e){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",e)}};return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Qsj),i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["input","type","radio","ngrxFormControlState",""]],hostBindings:function(e,t){1&e&&i.NdJ("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{value:"value",ngrxFormControlState:"ngrxFormControlState"},features:[i._Bn([{provide:pe,useExisting:(0,i.Gpc)(()=>ke),multi:!0}])]}),e})();var Me;const Ee=[me,(()=>{let e=Me=class{constructor(e,t){this.renderer=e,this.elementRef=t,this.nativeIdWasSet=!1,this.onChange=()=>{},this.onTouched=()=>{}}set ngrxFormControlState(e){if(!e)throw new Error("The control state must not be undefined!");this.state=e,e.id!==this.elementRef.nativeElement.id&&this.nativeIdWasSet&&this.renderer.setProperty(this.elementRef.nativeElement,"id",e.id)}ngAfterViewInit(){const e=this.elementRef.nativeElement.id;this.state.id!==e&&!e&&(this.renderer.setProperty(this.elementRef.nativeElement,"id",this.state.id),this.nativeIdWasSet=!0)}setViewValue(e){this.renderer.setProperty(this.elementRef.nativeElement,"value",parseFloat(e))}setOnChangeCallback(e){this.onChange=e}setOnTouchedCallback(e){this.onTouched=e}setIsDisabled(e){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",e)}handleInput({target:e}){const t=e.value;this.onChange(""===t?null:parseFloat(t))}};return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Qsj),i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["input","type","range","ngrxFormControlState",""]],hostBindings:function(e,t){1&e&&i.NdJ("blur",function(){return t.onTouched()})("change",function(e){return t.handleInput(e)})("input",function(e){return t.handleInput(e)})},inputs:{ngrxFormControlState:"ngrxFormControlState"},features:[i._Bn([{provide:pe,useExisting:(0,i.Gpc)(()=>Me),multi:!0}])]}),e})(),ye,we,Se,Ce];var Te=function(e){return e.CHANGE="change",e.BLUR="blur",e.NEVER="never",e}({});class Ae{constructor(e){this.valueAccessor=e}setViewValue(e){this.valueAccessor.writeValue(e)}setOnChangeCallback(e){this.valueAccessor.registerOnChange(e)}setOnTouchedCallback(e){this.valueAccessor.registerOnTouched(e)}setIsDisabled(e){this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(e)}}let De=(()=>{let e=class{constructor(e,t,n,i,r){if(this.el=e,this.dom=t,this.actionsSubject=n,this.isInitialized=!1,this.focusTrackingIsEnabled=!1,this.ngrxUpdateOn=Te.CHANGE,this.ngrxValueConverter={convertViewToStateValue:e=>"object"==typeof e&&null!==e?R(e):e,convertStateToViewValue:Y},i=i||[],(r=r||[]).length>1)throw new Error("More than one custom control value accessor matches!");this.viewAdapter=r.length>0?new Ae(r[0]):function(e){if(!e)throw new Error("No view adapter matches!");let t,n,i;if(e.forEach(e=>{if(e.constructor===_e)t=e;else if(r=e,Ee.some(e=>r.constructor===e)){if(n)throw new Error("More than one built-in view adapter matches!");n=e}else{if(i)throw new Error("More than one custom view adapter matches!");i=e}var r}),i)return i;if(n)return n;if(t)return t;throw new Error("No valid view adapter!")}(i)}set ngrxFormControlState(e){if(!e)throw new Error("The control state must not be undefined!");const t=this.state;this.state=e,this.isInitialized&&(this.updateViewIfControlIdChanged(e,t),this.updateViewIfValueChanged(e,t),this.updateViewIfIsDisabledChanged(e,t),this.updateViewIfIsFocusedChanged(e,t))}set ngrxEnableFocusTracking(e){if(e&&!this.dom)throw new Error("focus tracking is only supported on the browser platform");this.focusTrackingIsEnabled=e}get focusRegionStartAttr(){return this.state&&this.state.isFocused?"":null}updateViewIfControlIdChanged(e,t){t&&e.id===t.id||(this.stateValue=e.value,this.viewValue=this.ngrxValueConverter.convertStateToViewValue(this.stateValue),this.viewAdapter.setViewValue(this.viewValue),this.viewAdapter.setIsDisabled&&this.viewAdapter.setIsDisabled(e.isDisabled))}updateViewIfValueChanged(e,t){e.value!==this.stateValue&&(this.stateValue=e.value,this.viewValue=this.ngrxValueConverter.convertStateToViewValue(e.value),this.viewAdapter.setViewValue(this.viewValue))}updateViewIfIsDisabledChanged(e,t){this.viewAdapter.setIsDisabled&&(t&&e.isDisabled===t.isDisabled||this.viewAdapter.setIsDisabled(e.isDisabled))}updateViewIfIsFocusedChanged(e,t){this.focusTrackingIsEnabled&&(t&&e.isFocused===t.isFocused||(e.isFocused?this.el.nativeElement.focus():this.el.nativeElement.blur()))}dispatchAction(e){if(null===this.actionsSubject)throw new Error("ActionsSubject must be present in order to dispatch actions!");this.actionsSubject.next(e)}ngOnInit(){if(!this.state)throw new Error("The form state must not be undefined!");this.isInitialized=!0,this.updateViewIfControlIdChanged(this.state,void 0),this.updateViewIfValueChanged(this.state,void 0),this.updateViewIfIsDisabledChanged(this.state,void 0),this.updateViewIfIsFocusedChanged(this.state,void 0);const e=()=>{this.state.isPristine&&this.dispatchAction(new f(this.state.id))},t=()=>{this.stateValue=this.ngrxValueConverter.convertViewToStateValue(this.viewValue),this.stateValue!==this.state.value&&(this.dispatchAction(new c(this.state.id,this.stateValue)),e())};this.viewAdapter.setOnChangeCallback(e=>{this.viewValue=e,this.ngrxUpdateOn===Te.CHANGE&&t()}),this.viewAdapter.setOnTouchedCallback(()=>{this.state.isTouched||this.ngrxUpdateOn===Te.NEVER||this.dispatchAction(new v(this.state.id)),this.ngrxUpdateOn===Te.BLUR&&t()})}ngAfterViewInit(){this.viewAdapter.setViewValue(this.viewValue),this.viewAdapter.setIsDisabled&&this.viewAdapter.setIsDisabled(this.state.isDisabled)}onFocusChange(){if(!this.focusTrackingIsEnabled)return;const e=this.el.nativeElement===this.dom.activeElement;e!==this.state.isFocused&&this.dispatchAction(e?new b(this.state.id):new w(this.state.id))}};return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(o.K0,8),i.Y36(l.UO,8),i.Y36(pe,10),i.Y36(a.JU,10))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngrxFormControlState","",3,"ngrxFormsAction",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.NdJ("focusin",function(){return t.onFocusChange()})("focusout",function(){return t.onFocusChange()}),2&e&&i.uIk("cdk-focus-region-start",t.focusRegionStartAttr)},inputs:{ngrxUpdateOn:"ngrxUpdateOn",ngrxValueConverter:"ngrxValueConverter",ngrxFormControlState:"ngrxFormControlState",ngrxEnableFocusTracking:"ngrxEnableFocusTracking"}}),e=r([s(1,(0,i.FiY)()),s(1,(0,i.tBr)(o.K0)),s(2,(0,i.FiY)()),s(2,(0,i.tBr)(l.UO)),s(3,(0,i.PiD)()),s(3,(0,i.FiY)()),s(3,(0,i.tBr)(pe)),s(4,(0,i.PiD)()),s(4,(0,i.FiY)()),s(4,(0,i.tBr)(a.JU))],e),e})(),Pe=(()=>{let e=class{constructor(e){this.actionsSubject=e,this.actionsSubject=e}dispatchAction(e){if(null===this.actionsSubject)throw new Error("ActionsSubject must be present in order to dispatch actions!");this.actionsSubject.next(e)}ngOnInit(){if(!this.state)throw new Error("The form state must not be undefined!")}onSubmit(e){e.preventDefault(),this.state.isUnsubmitted&&this.dispatchAction(new x(this.state.id))}};return e.\u0275fac=function(t){return new(t||e)(i.Y36(l.UO,8))},e.\u0275dir=i.lG2({type:e,selectors:[["form","ngrxFormState","",3,"ngrxFormsAction",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(e){return t.onSubmit(e)})},inputs:{state:["ngrxFormState","state"]}}),e=r([s(0,(0,i.FiY)()),s(0,(0,i.tBr)(l.UO))],e),e})(),Le=(()=>{let e=class{set ngrxFormControlState(e){this.state=e}set ngrxFormState(e){this.state=e}get isValid(){return this.state.isValid}get isInvalid(){return this.state.isInvalid}get isDirty(){return this.state.isDirty}get isPristine(){return this.state.isPristine}get isTouched(){return this.state.isTouched}get isUntouched(){return this.state.isUntouched}get isSubmitted(){return this.state.isSubmitted}get isUnsubmitted(){return this.state.isUnsubmitted}get isValidationPending(){return this.state.isValidationPending}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["form","ngrxFormState",""],["","ngrxFormControlState",""]],hostVars:18,hostBindings:function(e,t){2&e&&i.ekj("ngrx-forms-valid",t.isValid)("ngrx-forms-invalid",t.isInvalid)("ngrx-forms-dirty",t.isDirty)("ngrx-forms-pristine",t.isPristine)("ngrx-forms-touched",t.isTouched)("ngrx-forms-untouched",t.isUntouched)("ngrx-forms-submitted",t.isSubmitted)("ngrx-forms-unsubmitted",t.isUnsubmitted)("ngrx-forms-validation-pending",t.isValidationPending)},inputs:{ngrxFormControlState:"ngrxFormControlState",ngrxFormState:"ngrxFormState"}}),e})(),Oe=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})()},96190:(e,t,n)=>{"use strict";n.d(t,{tM:()=>h});var i=n(39633),r=n.n(i),s=n(61593);const o=/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/,a=(e,t)=>"string"==typeof t&&o.test(t)?new Date(t):t,l=(e,t)=>t;function c(e,t){return t.reduce((t,n)=>{if("string"==typeof n||"number"==typeof n){const i=null==e?void 0:e[n];void 0!==i&&(t[n]=i)}else for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=c(e[i],n[i]));return t},{})}const u=(e,t,n,i,r,s)=>{if(s)try{if(!0!==s(e))return}catch(o){if(o instanceof TypeError)return;throw o}t.forEach(t=>{let s,a,l,u=e[t];if("object"==typeof t){let n=Object.keys(t)[0];if(u=e[n],void 0!==u&&t[n]){if(t[n].serialize)u=t[n].serialize(u);else{let e;t[n].reduce?e=t[n]:t[n].filter&&(e=t[n].filter),e&&(u=c(u,e)),t[n].encrypt&&t[n].decrypt?"function"==typeof t[n].encrypt&&(l=t[n].encrypt):(t[n].encrypt||t[n].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${t[n]}' key object.`)}s=t[n].replacer,a=t[n].space}t=n}if(void 0!==u&&void 0!==n)try{l&&(u=l("string"==typeof u?u:JSON.stringify(u,s,a))),n.setItem(i(t),"string"==typeof u?u:JSON.stringify(u,s,a))}catch(o){console.warn("Unable to save state to localStorage:",o)}else if(void 0===u&&r)try{n.removeItem(i(t))}catch(o){console.warn(`Exception on removing/cleaning undefined '${t}' state`,o)}})},d=(e,t,n)=>{if((n.type===s.qg||n.type===s.wb)&&t){const n={arrayMerge:(e,t,n)=>t};e=r()(e,t,n)}return e},h=e=>t=>{(void 0===e.storage&&!e.checkStorageAvailability||e.checkStorageAvailability&&"undefined"!=typeof window)&&(e.storage=localStorage||window.localStorage),void 0===e.storageKeySerializer&&(e.storageKeySerializer=e=>e),void 0===e.restoreDates&&(e.restoreDates=!0);let n=e.mergeReducer;void 0!==n&&"function"==typeof n||(n=d);const i=e.keys.map(e=>{let t=e;if("object"==typeof e&&(t=Object.keys(e)[0]),"string"!=typeof t)throw new TypeError("localStorageSync Unknown Parameter Type: Expected type of string, got "+typeof t);return e}),r=e.rehydrate?(o=e.storage,c=e.storageKeySerializer,h=e.restoreDates,i.reduce((e,t)=>{let n,i,r=t,s=h?a:l;if("object"==typeof r&&(r=Object.keys(r)[0],"function"==typeof t[r]?s=t[r]:(t[r].reviver&&(s=t[r].reviver),t[r].deserialize&&(n=t[r].deserialize)),t[r].encrypt&&t[r].decrypt?"function"==typeof t[r].encrypt&&"function"==typeof t[r].decrypt?i=t[r].decrypt:console.error(`Either encrypt or decrypt is not a function on '${t[r]}' key object.`):(t[r].encrypt||t[r].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${t[r]}' key object.`)),void 0!==o){let t=o.getItem(c(r));if(t){i&&(t=i(t));const o=new RegExp("{|\\[");let a=t;return("null"===t||"true"===t||"false"===t||o.test(t.charAt(0)))&&(a=JSON.parse(t,s)),Object.assign({},e,{[r]:n?n(a):a})}}return e},{})):void 0;var o,c,h;return function(o,a){let l;return l=a.type!==s.qg||o?Object.assign({},o):t(o,a),l=n(l,r,a),l=t(l,a),a.type!==s.qg&&u(l,i,e.storage,e.storageKeySerializer,e.removeOnUndefined,e.syncCondition),l}}},25181:(e,t,n)=>{"use strict";n.d(t,{FN:()=>L,PR:()=>w,Rh:()=>I,_W:()=>P});var i=n(31572),r=n(10709),s=n(55959),o=n(30269),a=n(61511);const l=["toast-component",""];function c(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw().remove()}),i.TgZ(1,"span",6),i._uU(2,"\xd7"),i.qZA(),i.qZA()}}function u(e,t){if(1&e&&(i.ynx(0),i._uU(1),i.BQk()),2&e){const e=i.oxw(2);i.xp6(1),i.hij("[",e.duplicatesCount+1,"]")}}function d(e,t){if(1&e&&(i.TgZ(0,"div"),i._uU(1),i.YNc(2,u,2,1,"ng-container",4),i.qZA()),2&e){const e=i.oxw();i.Tol(e.options.titleClass),i.uIk("aria-label",e.title),i.xp6(1),i.hij(" ",e.title," "),i.xp6(1),i.Q6J("ngIf",e.duplicatesCount)}}function h(e,t){if(1&e&&i._UZ(0,"div",7),2&e){const e=i.oxw();i.Tol(e.options.messageClass),i.Q6J("innerHTML",e.message,i.oJD)}}function p(e,t){if(1&e&&(i.TgZ(0,"div",8),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.Tol(e.options.messageClass),i.uIk("aria-label",e.message),i.xp6(1),i.hij(" ",e.message," ")}}function f(e,t){if(1&e&&(i.TgZ(0,"div"),i._UZ(1,"div",9),i.qZA()),2&e){const e=i.oxw();i.xp6(1),i.Udp("width",e.width+"%")}}function m(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw().remove()}),i.TgZ(1,"span",6),i._uU(2,"\xd7"),i.qZA(),i.qZA()}}function g(e,t){if(1&e&&(i.ynx(0),i._uU(1),i.BQk()),2&e){const e=i.oxw(2);i.xp6(1),i.hij("[",e.duplicatesCount+1,"]")}}function _(e,t){if(1&e&&(i.TgZ(0,"div"),i._uU(1),i.YNc(2,g,2,1,"ng-container",4),i.qZA()),2&e){const e=i.oxw();i.Tol(e.options.titleClass),i.uIk("aria-label",e.title),i.xp6(1),i.hij(" ",e.title," "),i.xp6(1),i.Q6J("ngIf",e.duplicatesCount)}}function v(e,t){if(1&e&&i._UZ(0,"div",7),2&e){const e=i.oxw();i.Tol(e.options.messageClass),i.Q6J("innerHTML",e.message,i.oJD)}}function y(e,t){if(1&e&&(i.TgZ(0,"div",8),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.Tol(e.options.messageClass),i.uIk("aria-label",e.message),i.xp6(1),i.hij(" ",e.message," ")}}function b(e,t){if(1&e&&(i.TgZ(0,"div"),i._UZ(1,"div",9),i.qZA()),2&e){const e=i.oxw();i.xp6(1),i.Udp("width",e.width+"%")}}class w{constructor(e,t,n,i,r,o){this.toastId=e,this.config=t,this.message=n,this.title=i,this.toastType=r,this.toastRef=o,this._onTap=new s.xQ,this._onAction=new s.xQ,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}}const x={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},S=new i.OlP("ToastConfig");class k{constructor(e,t){this.component=e,this.injector=t}attach(e,t){return this._attachedHost=e,e.attach(this,t)}detach(){const e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class C extends class{attach(e,t){return this._attachedPortal=e,this.attachComponentPortal(e,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}}{constructor(e,t,n){super(),this._hostDomElement=e,this._componentFactoryResolver=t,this._appRef=n}attachComponentPortal(e,t){const n=this._componentFactoryResolver.resolveComponentFactory(e.component);let i;return i=n.create(e.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let M=(()=>{class e{constructor(e){this._document=e}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._document.createElement("div");e.classList.add("overlay-container"),this._document.body.appendChild(e),this._containerElement=e}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.K0))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(a.K0))},token:e,providedIn:"root"}),e})();class E{constructor(e){this._portalHost=e}attach(e,t=!0){return this._portalHost.attach(e,t)}detach(){return this._portalHost.detach()}}let T=(()=>{class e{constructor(e,t,n,i){this._overlayContainer=e,this._componentFactoryResolver=t,this._appRef=n,this._document=i,this._paneElements=new Map}create(e,t){return this._createOverlayRef(this.getPaneElement(e,t))}getPaneElement(e="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[e]||(this._paneElements.get(t)[e]=this._createPaneElement(e,t)),this._paneElements.get(t)[e]}_createPaneElement(e,t){const n=this._document.createElement("div");return n.id="toast-container",n.classList.add(e),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(e){return new C(e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(e){return new E(this._createPortalHost(e))}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(M),i.LFG(i._Vd),i.LFG(i.z2F),i.LFG(a.K0))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(M),i.LFG(i._Vd),i.LFG(i.z2F),i.LFG(a.K0))},token:e,providedIn:"root"}),e})();class A{constructor(e){this._overlayRef=e,this.duplicatesCount=0,this._afterClosed=new s.xQ,this._activate=new s.xQ,this._manualClose=new s.xQ,this._resetTimeout=new s.xQ,this._countDuplicate=new s.xQ}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,t){e&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class D{constructor(e,t){this._toastPackage=e,this._parentInjector=t}get(e,t,n){return e===w?this._toastPackage:this._parentInjector.get(e,t,n)}}let P=(()=>{class e{constructor(e,t,n,i,r){this.overlay=t,this._injector=n,this.sanitizer=i,this.ngZone=r,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},e.default),e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},e.default.iconClasses),e.config.iconClasses))}show(e,t,n={},i=""){return this._preBuildNotification(i,e,t,this.applyConfig(n))}success(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",e,t,this.applyConfig(n))}error(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",e,t,this.applyConfig(n))}info(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",e,t,this.applyConfig(n))}warning(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",e,t,this.applyConfig(n))}clear(e){for(const t of this.toasts)if(void 0!==e){if(t.toastId===e)return void t.toastRef.manualClose()}else t.toastRef.manualClose()}remove(e){const t=this._findToast(e);if(!t)return!1;if(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActivethis._buildNotification(e,t,n,i)):this._buildNotification(e,t,n,i)}_buildNotification(e,t,n,r){if(!r.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(n,t,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&n||t)&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=t;let o=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(o=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const a=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let l=t;t&&r.enableHtml&&(l=this.sanitizer.sanitize(i.q3G.HTML,t));const c=new A(a),u=new w(this.index,r,l,n,e,c),d=new D(u,this._injector),h=new k(r.toastComponent,d),p=a.attach(h,this.toastrConfig.newestOnTop);c.componentInstance=p.instance;const f={toastId:this.index,title:n||"",message:t||"",toastRef:c,onShown:c.afterActivate(),onHidden:c.afterClosed(),onTap:u.onTap(),onAction:u.onAction(),portal:p};return o||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{f.toastRef.activate()})),this.toasts.push(f),f}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(S),i.LFG(T),i.LFG(i.zs3),i.LFG(o.H7),i.LFG(i.R0b))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(S),i.LFG(T),i.LFG(i.gxx),i.LFG(o.H7),i.LFG(i.R0b))},token:e,providedIn:"root"}),e})(),L=(()=>{class e{constructor(e,t,n){this.toastrService=e,this.toastPackage=t,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state.value&&(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(e),t)):this.timeout=setTimeout(()=>e(),t)}outsideInterval(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(e),t)):this.intervalId=setInterval(()=>e(),t)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(P),i.Y36(w),i.Y36(i.R0b))},e.\u0275cmp=i.Xpm({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.tapToast()})("mouseenter",function(){return t.stickAround()})("mouseleave",function(){return t.delayedHideToast()}),2&e&&(i.d8E("@flyInOut",t.state),i.Tol(t.toastClasses),i.Udp("display",t.displayStyle))},attrs:l,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(e,t){1&e&&(i.YNc(0,c,3,0,"button",0),i.YNc(1,d,3,5,"div",1),i.YNc(2,h,1,3,"div",2),i.YNc(3,p,2,4,"div",3),i.YNc(4,f,2,2,"div",4)),2&e&&(i.Q6J("ngIf",t.options.closeButton),i.xp6(1),i.Q6J("ngIf",t.title),i.xp6(1),i.Q6J("ngIf",t.message&&t.options.enableHtml),i.xp6(1),i.Q6J("ngIf",t.message&&!t.options.enableHtml),i.xp6(1),i.Q6J("ngIf",t.options.progressBar))},directives:[a.O5],encapsulation:2,data:{animation:[(0,r.X$)("flyInOut",[(0,r.SB)("inactive",(0,r.oB)({opacity:0})),(0,r.SB)("active",(0,r.oB)({opacity:1})),(0,r.SB)("removed",(0,r.oB)({opacity:0})),(0,r.eR)("inactive => active",(0,r.jt)("{{ easeTime }}ms {{ easing }}")),(0,r.eR)("active => removed",(0,r.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),e})();const O=Object.assign(Object.assign({},x),{toastComponent:L});let I=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[{provide:S,useValue:{default:O,config:t}}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[a.ez]]}),e})(),R=(()=>{class e{constructor(e,t,n){this.toastrService=e,this.toastPackage=t,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state&&(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(P),i.Y36(w),i.Y36(i.z2F))},e.\u0275cmp=i.Xpm({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.tapToast()})("mouseenter",function(){return t.stickAround()})("mouseleave",function(){return t.delayedHideToast()}),2&e&&(i.Tol(t.toastClasses),i.Udp("display",t.displayStyle))},attrs:l,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(e,t){1&e&&(i.YNc(0,m,3,0,"button",0),i.YNc(1,_,3,5,"div",1),i.YNc(2,v,1,3,"div",2),i.YNc(3,y,2,4,"div",3),i.YNc(4,b,2,2,"div",4)),2&e&&(i.Q6J("ngIf",t.options.closeButton),i.xp6(1),i.Q6J("ngIf",t.title),i.xp6(1),i.Q6J("ngIf",t.message&&t.options.enableHtml),i.xp6(1),i.Q6J("ngIf",t.message&&!t.options.enableHtml),i.xp6(1),i.Q6J("ngIf",t.options.progressBar))},directives:[a.O5],encapsulation:2}),e})();Object.assign(Object.assign({},x),{toastComponent:R})},80198:e=>{e.exports=function e(t,n,i){function r(o,a){if(!n[o]){if(!t[o]){if(s)return s(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[o]={exports:{}};t[o][0].call(c.exports,function(e){return r(t[o][1][e]||e)},c,c.exports,e,t,n,i)}return n[o].exports}for(var s=void 0,o=0;o=0,wasm:t.indexOf("wasm")>=0};r.call(this,n),this.features={js:n.js,wasm:n.wasm&&this.has_wasm()},this.use(s),this.use(o)}i(a,r),a.prototype.resizeAndUnsharp=function(e,t){var n=this.resize(e,t);return e.unsharpAmount&&this.unsharp_mask(n,e.toWidth,e.toHeight,e.unsharpAmount,e.unsharpRadius,e.unsharpThreshold),n},t.exports=a},{"./mm_resize":4,inherits:15,multimath:16,"multimath/lib/unsharp_mask":19}],2:[function(e,t,n){"use strict";function i(e){return e<0?0:e>255?255:e}t.exports={convolveHorizontally:function(e,t,n,r,s,o){var a,l,c,u,d,h,p,f,m,g,_,v=0,y=0;for(m=0;m0;p--)u=u+(_=o[d++])*e[f+3]|0,c=c+_*e[f+2]|0,l=l+_*e[f+1]|0,a=a+_*e[f]|0,f=f+4|0;t[y+3]=i(u+8192>>14),t[y+2]=i(c+8192>>14),t[y+1]=i(l+8192>>14),t[y]=i(a+8192>>14),y=y+4*r|0}y=4*(m+1)|0,v=(m+1)*n*4|0}},convolveVertically:function(e,t,n,r,s,o){var a,l,c,u,d,h,p,f,m,g,_,v=0,y=0;for(m=0;m0;p--)u=u+(_=o[d++])*e[f+3]|0,c=c+_*e[f+2]|0,l=l+_*e[f+1]|0,a=a+_*e[f]|0,f=f+4|0;t[y+3]=i(u+8192>>14),t[y+2]=i(c+8192>>14),t[y+1]=i(l+8192>>14),t[y]=i(a+8192>>14),y=y+4*r|0}y=4*(m+1)|0,v=(m+1)*n*4|0}}}},{}],3:[function(e,t,n){"use strict";t.exports="AGFzbQEAAAABFAJgBn9/f39/fwBgB39/f39/f38AAg8BA2VudgZtZW1vcnkCAAEDAwIAAQQEAXAAAAcZAghjb252b2x2ZQAACmNvbnZvbHZlSFYAAQkBAArmAwLBAwEQfwJAIANFDQAgBEUNACAFQQRqIRVBACEMQQAhDQNAIA0hDkEAIRFBACEHA0AgB0ECaiESAn8gBSAHQQF0IgdqIgZBAmouAQAiEwRAQQAhCEEAIBNrIRQgFSAHaiEPIAAgDCAGLgEAakECdGohEEEAIQlBACEKQQAhCwNAIBAoAgAiB0EYdiAPLgEAIgZsIAtqIQsgB0H/AXEgBmwgCGohCCAHQRB2Qf8BcSAGbCAKaiEKIAdBCHZB/wFxIAZsIAlqIQkgD0ECaiEPIBBBBGohECAUQQFqIhQNAAsgEiATagwBC0EAIQtBACEKQQAhCUEAIQggEgshByABIA5BAnRqIApBgMAAakEOdSIGQf8BIAZB/wFIG0EQdEGAgPwHcUEAIAZBAEobIAtBgMAAakEOdSIGQf8BIAZB/wFIG0EYdEEAIAZBAEobciAJQYDAAGpBDnUiBkH/ASAGQf8BSBtBCHRBgP4DcUEAIAZBAEobciAIQYDAAGpBDnUiBkH/ASAGQf8BSBtB/wFxQQAgBkEAShtyNgIAIA4gA2ohDiARQQFqIhEgBEcNAAsgDCACaiEMIA1BAWoiDSADRw0ACwsLIQACQEEAIAIgAyAEIAUgABAAIAJBACAEIAUgBiABEAALCw=="},{}],4:[function(e,t,n){"use strict";t.exports={name:"resize",fn:e("./resize"),wasm_fn:e("./resize_wasm"),wasm_src:e("./convolve_wasm_base64")}},{"./convolve_wasm_base64":3,"./resize":5,"./resize_wasm":8}],5:[function(e,t,n){"use strict";var i=e("./resize_filter_gen"),r=e("./convolve").convolveHorizontally,s=e("./convolve").convolveVertically;t.exports=function(e){var t=e.src,n=e.width,o=e.height,a=e.toWidth,l=e.toHeight,c=e.scaleX||e.toWidth/e.width,u=e.scaleY||e.toHeight/e.height,d=e.offsetX||0,h=e.offsetY||0,p=e.dest||new Uint8Array(a*l*4),f=void 0===e.quality?3:e.quality,m=e.alpha||!1,g=i(f,n,a,c,d),_=i(f,o,l,u,h),v=new Uint8Array(a*o*4);return r(t,v,n,o,a,g),s(v,p,o,a,l,_),m||function(e,t,n){for(var i=3,r=t*n*4|0;i>1]+=r(1-v),b=0;b0&&0===p[w];)w--;if(x=w-b+1,T[A++]=c+b,T[A++]=x,D)for(g=b;g<=w;g++)T[A++]=p[g];else T.set(p.subarray(b,w+1),A),A+=x}else T[A++]=0,T[A++]=0}return T}},{"./resize_filter_info":7}],7:[function(e,t,n){"use strict";t.exports=[{win:.5,filter:function(e){return e>=-.5&&e<.5?1:0}},{win:1,filter:function(e){if(e<=-1||e>=1)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*(.54+.46*Math.cos(t/1))}},{win:2,filter:function(e){if(e<=-2||e>=2)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/2)/(t/2)}},{win:3,filter:function(e){if(e<=-3||e>=3)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/3)/(t/3)}}]},{}],8:[function(e,t,n){"use strict";var i=e("./resize_filter_gen"),r=!0;try{r=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0]}catch(o){}function s(e,t,n){if(r)t.set(function(e){return new Uint8Array(e.buffer,0,e.byteLength)}(e),n);else for(var i=n,s=0;s>8&255}}t.exports=function(e){var t=e.src,n=e.width,r=e.height,o=e.toWidth,a=e.toHeight,l=e.scaleX||e.toWidth/e.width,c=e.scaleY||e.toHeight/e.height,u=e.offsetX||0,d=e.offsetY||0,h=e.dest||new Uint8Array(o*a*4),p=void 0===e.quality?3:e.quality,f=e.alpha||!1,m=i(p,n,o,l,u),g=i(p,r,a,c,d),_=this.__align(0+Math.max(t.byteLength,h.byteLength)),v=this.__align(_+r*o*4),y=this.__align(v+m.byteLength),b=this.__instance("resize",y+g.byteLength),w=new Uint8Array(this.__memory.buffer),x=new Uint32Array(this.__memory.buffer),S=new Uint32Array(t.buffer);return x.set(S),s(m,w,v),s(g,w,y),(b.exports.convolveHV||b.exports._convolveHV)(v,y,_,n,r,o,a),new Uint32Array(h.buffer).set(new Uint32Array(this.__memory.buffer,0,a*o)),f||function(e,t,n){for(var i=3,r=t*n*4|0;ie.idle&&(n.destroy(),1))}),this.timeoutId=0!==this.available.length?setTimeout(function(){return e.gc()},100):0},t.exports=i},{}],10:[function(e,t,n){"use strict";t.exports=function(e,t,n,i,r,s){var o=(2*s+2+1)/r;if(o>.5)return[[n,i]];var a=Math.ceil(Math.log(Math.min(n/e,i/t))/Math.log(o));if(a<=1)return[[n,i]];for(var l=[],c=0;c=e.toWidth&&(a=e.toWidth-t),(n=o-e.destTileBorder)<0&&(n=0),n+(l=o+h+e.destTileBorder-n)>=e.toHeight&&(l=e.toHeight-n),p={toX:t,toY:n,toWidth:a,toHeight:l,toInnerX:i,toInnerY:o,toInnerWidth:d,toInnerHeight:h,offsetX:t/c-r(t/c),offsetY:n/u-r(n/u),scaleX:c,scaleY:u,x:r(t/c),y:r(n/u),width:s(a/c),height:s(l/u)},f.push(p);return f}},{}],12:[function(e,t,n){"use strict";function i(e){return Object.prototype.toString.call(e)}t.exports.isCanvas=function(e){var t=i(e);return"[object HTMLCanvasElement]"===t||"[object OffscreenCanvas]"===t||"[object Canvas]"===t},t.exports.isImage=function(e){return"[object HTMLImageElement]"===i(e)},t.exports.isImageBitmap=function(e){return"[object ImageBitmap]"===i(e)},t.exports.limiter=function(e){var t=0,n=[];function i(){t=0;m--)l=a*g+o*_+c*v+u*y,u=c,o=a,a=e[d],t[h]=n[p]+(c=l),d--,p--,h-=s}}t.exports=function(e,t,n,u){if(u){var d=new Uint16Array(e.length),h=new Float32Array(Math.max(t,n)),p=function(e){e<.5&&(e=.5);var t=Math.exp(.527076)/e,n=Math.exp(-t),c=Math.exp(-2*t),u=(1-n)*(1-n)/(1+2*t*n-c);return i=u,r=u*(t-1)*n,s=u*(t+1)*n,o=-u*c,a=2*n,l=-c,new Float32Array([i,r,s,o,a,l,(i+r)/(1-a-l),(s+o)/(1-a-l)])}(u);c(e,d,h,p,t,n),c(d,e,h,p,n,t)}}},{}],15:[function(e,t,n){t.exports="function"==typeof Object.create?function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},{}],16:[function(e,t,n){"use strict";var i=e("object-assign"),r=e("./lib/base64decode"),s=e("./lib/wa_detect"),o={js:!0,wasm:!0};function a(e){if(!(this instanceof a))return new a(e);var t=i({},o,e||{});if(this.options=t,this.__cache={},this.__init_promise=null,this.__modules=t.modules||{},this.__memory=null,this.__wasm={},this.__isLE=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0],!this.options.js&&!this.options.wasm)throw new Error('mathlib: at least "js" or "wasm" should be enabled')}a.prototype.has_wasm=s,a.prototype.use=function(e){return this.__modules[e.name]=e,this[e.name]=this.options.wasm&&this.has_wasm()&&e.wasm_fn?e.wasm_fn:e.fn,this},a.prototype.init=function(){if(this.__init_promise)return this.__init_promise;if(!this.options.js&&this.options.wasm&&!this.has_wasm())return Promise.reject(new Error('mathlib: only "wasm" was enabled, but it\'s not supported'));var e=this;return this.__init_promise=Promise.all(Object.keys(e.__modules).map(function(t){var n=e.__modules[t];return e.options.wasm&&e.has_wasm()&&n.wasm_fn?e.__wasm[t]?null:WebAssembly.compile(e.__base64decode(n.wasm_src)).then(function(n){e.__wasm[t]=n}):null})).then(function(){return e}),this.__init_promise},a.prototype.__base64decode=r,a.prototype.__reallocate=function(e){if(!this.__memory)return this.__memory=new WebAssembly.Memory({initial:Math.ceil(e/65536)}),this.__memory;var t=this.__memory.buffer.byteLength;return t>2),r=0,s=0,o=0;o>16&255,i[s++]=r>>8&255,i[s++]=255&r),r=r<<6|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(o));var a=n%4*6;return 0===a?(i[s++]=r>>16&255,i[s++]=r>>8&255,i[s++]=255&r):18===a?(i[s++]=r>>10&255,i[s++]=r>>2&255):12===a&&(i[s++]=r>>4&255),i}},{}],18:[function(e,t,n){"use strict";t.exports=function(e,t,n){for(var i,r,s,o=t*n,a=new Uint16Array(o),l=0;l=(r=e[4*l+1])&&i>=s?i:r>=s&&r>=i?r:s)+(i<=r&&i<=s?i:r<=s&&r<=i?r:s))>>1;return a}},{}],19:[function(e,t,n){"use strict";t.exports={name:"unsharp_mask",fn:e("./unsharp_mask"),wasm_fn:e("./unsharp_mask_wasm"),wasm_src:e("./unsharp_mask_wasm_base64")}},{"./unsharp_mask":20,"./unsharp_mask_wasm":21,"./unsharp_mask_wasm_base64":22}],20:[function(e,t,n){"use strict";var i=e("glur/mono16"),r=e("./hsl_l16");t.exports=function(e,t,n,s,o,a){var l,c,u,d,h,p,f,m,g,_,v,y,b;if(!(0===s||o<.5)){o>2&&(o=2);var w=r(e,t,n),x=new Uint16Array(w);i(x,t,n,o);for(var S=s/100*4096+.5|0,k=257*a|0,C=t*n,M=0;M=k&&(u=e[2+(b=4*M)],p=257*((m=(l=e[b])>=(c=e[b+1])&&l>=u?l:c>=l&&c>=u?c:u)+(f=l<=c&&l<=u?l:c<=l&&c<=u?c:u))>>1,f===m?d=h=0:(h=p<=32767?4095*(m-f)/(m+f)|0:4095*(m-f)/(510-m-f)|0,d=l===m?65535*(c-u)/(6*(m-f))|0:c===m?21845+(65535*(u-l)/(6*(m-f))|0):43690+(65535*(l-c)/(6*(m-f))|0)),(p+=S*y+2048>>12)>65535?p=65535:p<0&&(p=0),0===h?l=c=u=p>>8:(g=2*p-(_=p<=32767?p*(4096+h)+2048>>12:p+((65535-p)*h+2048>>12))>>8,_>>=8,l=(v=d+21845&65535)>=43690?g:v>=32767?g+(6*(_-g)*(43690-v)+32768>>16):v>=10922?_:g+(6*(_-g)*v+32768>>16),c=(v=65535&d)>=43690?g:v>=32767?g+(6*(_-g)*(43690-v)+32768>>16):v>=10922?_:g+(6*(_-g)*v+32768>>16),u=(v=d-21845&65535)>=43690?g:v>=32767?g+(6*(_-g)*(43690-v)+32768>>16):v>=10922?_:g+(6*(_-g)*v+32768>>16)),e[b]=l,e[b+1]=c,e[b+2]=u)}}},{"./hsl_l16":18,"glur/mono16":14}],21:[function(e,t,n){"use strict";t.exports=function(e,t,n,i,r,s){if(!(0===i||r<.5)){r>2&&(r=2);var o=t*n,a=4*o,l=2*o,c=2*o,u=4*Math.max(t,n),d=a,h=d+l,p=h+c,f=p+c,m=f+u,g=this.__instance("unsharp_mask",a+l+2*c+u+32,{exp:Math.exp}),_=new Uint32Array(e.buffer);new Uint32Array(this.__memory.buffer).set(_);var v=g.exports.hsl_l16||g.exports._hsl_l16;v(0,d,t,n),(v=g.exports.blurMono16||g.exports._blurMono16)(d,h,p,f,m,t,n,r),(v=g.exports.unsharp||g.exports._unsharp)(0,0,d,h,t,n,i,s),_.set(new Uint32Array(this.__memory.buffer,0,o))}}},{}],22:[function(e,t,n){"use strict";t.exports="AGFzbQEAAAABMQZgAXwBfGACfX8AYAZ/f39/f38AYAh/f39/f39/fQBgBH9/f38AYAh/f39/f39/fwACGQIDZW52A2V4cAAAA2VudgZtZW1vcnkCAAEDBgUBAgMEBQQEAXAAAAdMBRZfX2J1aWxkX2dhdXNzaWFuX2NvZWZzAAEOX19nYXVzczE2X2xpbmUAAgpibHVyTW9ubzE2AAMHaHNsX2wxNgAEB3Vuc2hhcnAABQkBAAqJEAXZAQEGfAJAIAFE24a6Q4Ia+z8gALujIgOaEAAiBCAEoCIGtjgCECABIANEAAAAAAAAAMCiEAAiBbaMOAIUIAFEAAAAAAAA8D8gBKEiAiACoiAEIAMgA6CiRAAAAAAAAPA/oCAFoaMiArY4AgAgASAEIANEAAAAAAAA8L+gIAKioiIHtjgCBCABIAQgA0QAAAAAAADwP6AgAqKiIgO2OAIIIAEgBSACoiIEtow4AgwgASACIAegIAVEAAAAAAAA8D8gBqGgIgKjtjgCGCABIAMgBKEgAqO2OAIcCwu3AwMDfwR9CHwCQCADKgIUIQkgAyoCECEKIAMqAgwhCyADKgIIIQwCQCAEQX9qIgdBAEgiCA0AIAIgAC8BALgiDSADKgIYu6IiDiAJuyIQoiAOIAq7IhGiIA0gAyoCBLsiEqIgAyoCALsiEyANoqCgoCIPtjgCACACQQRqIQIgAEECaiEAIAdFDQAgBCEGA0AgAiAOIBCiIA8iDiARoiANIBKiIBMgAC8BALgiDaKgoKAiD7Y4AgAgAkEEaiECIABBAmohACAGQX9qIgZBAUoNAAsLAkAgCA0AIAEgByAFbEEBdGogAEF+ai8BACIIuCINIAu7IhGiIA0gDLsiEqKgIA0gAyoCHLuiIg4gCrsiE6KgIA4gCbsiFKKgIg8gAkF8aioCALugqzsBACAHRQ0AIAJBeGohAiAAQXxqIQBBACAFQQF0ayEHIAEgBSAEQQF0QXxqbGohBgNAIAghAyAALwEAIQggBiANIBGiIAO4Ig0gEqKgIA8iECAToqAgDiAUoqAiDyACKgIAu6CrOwEAIAYgB2ohBiAAQX5qIQAgAkF8aiECIBAhDiAEQX9qIgRBAUoNAAsLCwvfAgIDfwZ8AkAgB0MAAAAAWw0AIARE24a6Q4Ia+z8gB0MAAAA/l7ujIgyaEAAiDSANoCIPtjgCECAEIAxEAAAAAAAAAMCiEAAiDraMOAIUIAREAAAAAAAA8D8gDaEiCyALoiANIAwgDKCiRAAAAAAAAPA/oCAOoaMiC7Y4AgAgBCANIAxEAAAAAAAA8L+gIAuioiIQtjgCBCAEIA0gDEQAAAAAAADwP6AgC6KiIgy2OAIIIAQgDiALoiINtow4AgwgBCALIBCgIA5EAAAAAAAA8D8gD6GgIgujtjgCGCAEIAwgDaEgC6O2OAIcIAYEQCAFQQF0IQogBiEJIAIhCANAIAAgCCADIAQgBSAGEAIgACAKaiEAIAhBAmohCCAJQX9qIgkNAAsLIAVFDQAgBkEBdCEIIAUhAANAIAIgASADIAQgBiAFEAIgAiAIaiECIAFBAmohASAAQX9qIgANAAsLC7wBAQV/IAMgAmwiAwRAQQAgA2shBgNAIAAoAgAiBEEIdiIHQf8BcSECAn8gBEH/AXEiAyAEQRB2IgRB/wFxIgVPBEAgAyIIIAMgAk8NARoLIAQgBCAHIAIgA0kbIAIgBUkbQf8BcQshCAJAIAMgAk0EQCADIAVNDQELIAQgByAEIAMgAk8bIAIgBUsbQf8BcSEDCyAAQQRqIQAgASADIAhqQYECbEEBdjsBACABQQJqIQEgBkEBaiIGDQALCwvTBgEKfwJAIAazQwAAgEWUQwAAyEKVu0QAAAAAAADgP6CqIQ0gBSAEbCILBEAgB0GBAmwhDgNAQQAgAi8BACADLwEAayIGQQF0IgdrIAcgBkEASBsgDk8EQCAAQQJqLQAAIQUCfyAALQAAIgYgAEEBai0AACIESSIJRQRAIAYiCCAGIAVPDQEaCyAFIAUgBCAEIAVJGyAGIARLGwshCAJ/IAYgBE0EQCAGIgogBiAFTQ0BGgsgBSAFIAQgBCAFSxsgCRsLIgogCGoiD0GBAmwiEEEBdiERQQAhDAJ/QQAiCSAIIApGDQAaIAggCmsiCUH/H2wgD0H+AyAIayAKayAQQYCABEkbbSEMIAYgCEYEQCAEIAVrQf//A2wgCUEGbG0MAQsgBSAGayAGIARrIAQgCEYiBhtB//8DbCAJQQZsbUHVqgFBqtUCIAYbagshCSARIAcgDWxBgBBqQQx1aiIGQQAgBkEAShsiBkH//wMgBkH//wNIGyEGAkACfwJAIAxB//8DcSIFBEAgBkH//wFKDQEgBUGAIGogBmxBgBBqQQx2DAILIAZBCHYiBiEFIAYhBAwCCyAFIAZB//8Dc2xBgBBqQQx2IAZqCyIFQQh2IQcgBkEBdCAFa0EIdiIGIQQCQCAJQdWqAWpB//8DcSIFQanVAksNACAFQf//AU8EQEGq1QIgBWsgByAGa2xBBmxBgIACakEQdiAGaiEEDAELIAchBCAFQanVAEsNACAFIAcgBmtsQQZsQYCAAmpBEHYgBmohBAsCfyAGIgUgCUH//wNxIghBqdUCSw0AGkGq1QIgCGsgByAGa2xBBmxBgIACakEQdiAGaiAIQf//AU8NABogByIFIAhBqdUASw0AGiAIIAcgBmtsQQZsQYCAAmpBEHYgBmoLIQUgCUGr1QJqQf//A3EiCEGp1QJLDQAgCEH//wFPBEBBqtUCIAhrIAcgBmtsQQZsQYCAAmpBEHYgBmohBgwBCyAIQanVAEsEQCAHIQYMAQsgCCAHIAZrbEEGbEGAgAJqQRB2IAZqIQYLIAEgBDoAACABQQFqIAU6AAAgAUECaiAGOgAACyADQQJqIQMgAkECaiECIABBBGohACABQQRqIQEgC0F/aiILDQALCwsL"},{}],23:[function(e,t,n){"use strict";var i;t.exports=function(){if(void 0!==i)return i;if(i=!1,"undefined"==typeof WebAssembly)return i;try{var e=new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,3,1,0,1,7,8,1,4,116,101,115,116,0,0,10,16,1,14,0,32,0,65,1,54,2,0,32,0,40,2,0,11]),t=new WebAssembly.Module(e);return 0!==new WebAssembly.Instance(t,{}).exports.test(4)&&(i=!0),i}catch(n){}return i}},{}],24:[function(e,t,n){"use strict";var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}t.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(r){return!1}}()?Object.assign:function(e,t){for(var n,a,l=o(e),c=1;ce.length)&&(t=e.length);for(var n=0,i=new Array(t);n=0)}catch(w){}var f=1;"undefined"!=typeof navigator&&(f=Math.min(navigator.hardwareConcurrency||1,4));var m,g,_={tile:1024,concurrency:f,features:["js","wasm","ww"],idle:2e3,createCanvas:function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,n}},v={quality:3,alpha:!1,unsharpAmount:0,unsharpRadius:0,unsharpThreshold:0};function y(){return{value:s(c),destroy:function(){if(this.value.terminate(),"undefined"!=typeof window){var e=window.URL||window.webkitURL||window.mozURL||window.msURL;e&&e.revokeObjectURL&&this.value.objectURL&&e.revokeObjectURL(this.value.objectURL)}}}}function b(e){if(!(this instanceof b))return new b(e);this.options=r({},_,e||{});var t="lk_".concat(this.options.concurrency);this.__limit=h[t]||l.limiter(this.options.concurrency),h[t]||(h[t]=this.__limit),this.features={js:!1,wasm:!1,cib:!1,ww:!1},this.__workersPool=null,this.__requested_features=[],this.__mathlib=null}b.prototype.init=function(){var t=this;if(this.__initPromise)return this.__initPromise;if(!1!==m&&!0!==m&&(m=!1,"undefined"!=typeof ImageData&&"undefined"!=typeof Uint8ClampedArray))try{new ImageData(new Uint8ClampedArray(400),10,10),m=!0}catch(u){}!1!==g&&!0!==g&&(g=!1,"undefined"!=typeof ImageBitmap&&(ImageBitmap.prototype&&ImageBitmap.prototype.close?g=!0:this.debug("ImageBitmap does not support .close(), disabled")));var n=this.options.features.slice();if(n.indexOf("all")>=0&&(n=["cib","wasm","js","ww"]),this.__requested_features=n,this.__mathlib=new o(n),n.indexOf("ww")>=0&&"undefined"!=typeof window&&"Worker"in window)try{e("webworkify")(function(){}).terminate(),this.features.ww=!0;var i="wp_".concat(JSON.stringify(this.options));h[i]?this.__workersPool=h[i]:(this.__workersPool=new a(y,this.options.idle),h[i]=this.__workersPool)}catch(u){}var s,c=this.__mathlib.init().then(function(e){r(t.features,e.features)});return s=g?l.cib_support(this.options.createCanvas).then(function(e){t.features.cib&&n.indexOf("cib")<0?t.debug("createImageBitmap() resize supported, but disabled by config"):n.indexOf("cib")>=0&&(t.features.cib=e)}):Promise.resolve(!1),this.__initPromise=Promise.all([c,s]).then(function(){return t}),this.__initPromise},b.prototype.resize=function(e,t,n){var s=this;this.debug("Start resize...");var o=r({},v);if(isNaN(n)?n&&(o=r(o,n)):o=r(o,{quality:n}),o.toWidth=t.width,o.toHeight=t.height,o.width=e.naturalWidth||e.width,o.height=e.naturalHeight||e.height,0===t.width||0===t.height)return Promise.reject(new Error("Invalid output size: ".concat(t.width,"x").concat(t.height)));o.unsharpRadius>2&&(o.unsharpRadius=2);var a=!1,c=null;o.cancelToken&&(c=o.cancelToken.then(function(e){throw a=!0,e},function(e){throw a=!0,e}));var h=Math.ceil(Math.max(3,2.5*o.unsharpRadius|0));return this.init().then(function(){if(a)return c;if(s.features.cib){var n=t.getContext("2d",{alpha:Boolean(o.alpha)});return s.debug("Resize via createImageBitmap()"),createImageBitmap(e,{resizeWidth:o.toWidth,resizeHeight:o.toHeight,resizeQuality:l.cib_quality_name(o.quality)}).then(function(e){if(a)return c;if(!o.unsharpAmount)return n.drawImage(e,0,0),e.close(),n=null,s.debug("Finished!"),t;s.debug("Unsharp result");var i=s.options.createCanvas(o.toWidth,o.toHeight),r=i.getContext("2d",{alpha:Boolean(o.alpha)});r.drawImage(e,0,0),e.close();var l=r.getImageData(0,0,o.toWidth,o.toHeight);return s.__mathlib.unsharp_mask(l.data,o.toWidth,o.toHeight,o.unsharpAmount,o.unsharpRadius,o.unsharpThreshold),n.putImageData(l,0,0),i.width=i.height=0,l=r=i=n=null,s.debug("Finished!"),t})}var f={},_=function(e,t,n){var i,r,o,u=!1;return Promise.resolve().then(function(){if(o=t.getContext("2d",{alpha:Boolean(n.alpha)}),l.isCanvas(e))return i=e.getContext("2d",{alpha:Boolean(n.alpha)}),null;if(l.isImageBitmap(e))return r=e,u=!0,null;if(l.isImage(e))return g?(s.debug("Decode image via createImageBitmap"),createImageBitmap(e).then(function(e){r=e}).catch(function(e){return null})):null;throw new Error('Pica: ".from" should be Image, Canvas or ImageBitmap')}).then(function(){if(a)return c;s.debug("Calculate tiles");var g=d({width:n.width,height:n.height,srcTileSize:s.options.tile,toWidth:n.toWidth,toHeight:n.toHeight,destTileBorder:h}).map(function(t){return function(t){return s.__limit(function(){if(a)return c;var u;if(l.isCanvas(e))s.debug("Get tile pixel data"),u=i.getImageData(t.x,t.y,t.width,t.height);else{s.debug("Draw tile imageBitmap/image to temporary canvas");var d=s.options.createCanvas(t.width,t.height),h=d.getContext("2d",{alpha:Boolean(n.alpha)});h.globalCompositeOperation="copy",h.drawImage(r||e,t.x,t.y,t.width,t.height,0,0,t.width,t.height),s.debug("Get tile pixel data"),u=h.getImageData(0,0,t.width,t.height),d.width=d.height=0,h=d=null}var g={src:u.data,width:t.width,height:t.height,toWidth:t.toWidth,toHeight:t.toHeight,scaleX:t.scaleX,scaleY:t.scaleY,offsetX:t.offsetX,offsetY:t.offsetY,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpRadius:n.unsharpRadius,unsharpThreshold:n.unsharpThreshold};return s.debug("Invoke resize math"),Promise.resolve().then(function(){return function(e){return Promise.resolve().then(function(){return s.features.ww?new Promise(function(t,n){var i=s.__workersPool.acquire();c&&c.catch(function(e){return n(e)}),i.value.onmessage=function(e){i.release(),e.data.err?n(e.data.err):t(e.data.result)},i.value.postMessage({opts:e,features:s.__requested_features,preload:{wasm_nodule:s.__mathlib.__}},[e.src.buffer])}):s.__mathlib.resizeAndUnsharp(e,f)})}(g)}).then(function(e){if(a)return c;var n;if(u=null,s.debug("Convert raw rgba tile result to ImageData"),m)n=new ImageData(new Uint8ClampedArray(e),t.toWidth,t.toHeight);else if((n=o.createImageData(t.toWidth,t.toHeight)).data.set)n.data.set(e);else for(var i=n.data.length-1;i>=0;i--)n.data[i]=e[i];return s.debug("Draw tile"),p?o.putImageData(n,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth+1e-5,t.toInnerHeight+1e-5):o.putImageData(n,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth,t.toInnerHeight),null})})}(t)});function _(){r&&(u||r.close(),r=null)}return s.debug("Process tiles"),Promise.all(g).then(function(){return s.debug("Finished!"),_(),t},function(e){throw _(),e})})};return function e(t,n,o,l){if(a)return c;var u,d,h,p=(d=t.shift(),h=2,function(e){if(Array.isArray(e))return e}(d)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){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(l){r=!0,s=l}finally{try{i||null==a.return||a.return()}finally{if(r)throw s}}return n}}(d,h)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(d,h)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=p[0],m=p[1],g=0===t.length;return l=r({},l,{toWidth:f,toHeight:m,quality:g?l.quality:Math.min(1,l.quality)}),g||(u=s.options.createCanvas(f,m)),_(n,g?o:u,l).then(function(){return g?o:(l.width=f,l.height=m,e(t,u,o,l))}).then(function(e){return u&&(u.width=u.height=0),e})}(u(o.width,o.height,o.toWidth,o.toHeight,s.options.tile,h),e,t,o)})},b.prototype.resizeBuffer=function(e){var t=this,n=r({},v,e);return this.init().then(function(){return t.__mathlib.resizeAndUnsharp(n)})},b.prototype.toBlob=function(e,t,n){return t=t||"image/png",new Promise(function(i){if(e.toBlob)e.toBlob(function(e){return i(e)},t,n);else if(e.convertToBlob)i(e.convertToBlob({type:t,quality:n}));else{for(var r=atob(e.toDataURL(t,n).split(",")[1]),s=r.length,o=new Uint8Array(s),a=0;a= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,p=String.fromCharCode;function f(e){throw RangeError(d[e])}function m(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function g(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+m((e=e.replace(u,".")).split("."),t).join(".")}function _(e){for(var t,n,i=[],r=0,s=e.length;r=55296&&t<=56319&&r65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+p(e)}).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function b(e,t,n){var i=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;i+=a)e=h(e/35);return h(i+36*e/(e+38))}function w(e){var t,n,i,r,s,l,c,u,d,p,m,g=[],_=e.length,y=0,w=128,x=72;for((n=e.lastIndexOf("-"))<0&&(n=0),i=0;i=128&&f("not-basic"),g.push(e.charCodeAt(i));for(r=n>0?n+1:0;r<_;){for(s=y,l=1,c=a;r>=_&&f("invalid-input"),((u=(m=e.charCodeAt(r++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:a)>=a||u>h((o-y)/l))&&f("overflow"),y+=u*l,!(u<(d=c<=x?1:c>=x+26?26:c-x));c+=a)l>h(o/(p=a-d))&&f("overflow"),l*=p;x=b(y-s,t=g.length+1,0==s),h(y/t)>o-w&&f("overflow"),w+=h(y/t),y%=t,g.splice(y++,0,w)}return v(g)}function x(e){var t,n,i,r,s,l,c,u,d,m,g,v,w,x,S,k=[];for(v=(e=_(e)).length,t=128,n=0,s=72,l=0;l=t&&gh((o-n)/(w=i+1))&&f("overflow"),n+=(c-t)*w,t=c,l=0;lo&&f("overflow"),g==t){for(u=n,d=a;!(u<(m=d<=s?1:d>=s+26?26:d-s));d+=a)k.push(p(y(m+(S=u-m)%(x=a-m),0))),u=h(S/x);k.push(p(y(u,0))),s=b(n,w,i==r),n=0,++i}++n,++t}return k.join("")}s={version:"1.3.2",ucs2:{decode:_,encode:v},decode:w,encode:x,toASCII:function(e){return g(e,function(e){return c.test(e)?"xn--"+x(e):e})},toUnicode:function(e){return g(e,function(e){return l.test(e)?w(e.slice(4).toLowerCase()):e})}},void 0===(i=(function(){return s}).call(t,n,t,e))||(e.exports=i)}()},40963:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,i,r){i=i||"=";var s={};if("string"!=typeof e||0===e.length)return s;var o=/\+/g;e=e.split(n=n||"&");var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var l=e.length;a>0&&l>a&&(l=a);for(var c=0;c=0?(u=f.substr(0,m),d=f.substr(m+1)):(u=f,d=""),h=decodeURIComponent(u),p=decodeURIComponent(d),t(s,h)?Array.isArray(s[h])?s[h].push(p):s[h]=[s[h],p]:s[h]=p}return s}},15341:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,i,r){return n=n||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(r){var s=encodeURIComponent(t(r))+i;return Array.isArray(e[r])?e[r].map(function(e){return s+encodeURIComponent(t(e))}).join(n):s+encodeURIComponent(t(e[r]))}).join(n):r?encodeURIComponent(t(r))+i+encodeURIComponent(t(e)):""}},96577:(e,t,n)=>{"use strict";t.decode=t.parse=n(40963),t.encode=t.stringify=n(15341)},78512:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var i=n(55959),r=n(13895);class s extends i.xQ{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.N;return this._value}next(e){super.next(this._value=e)}}},3103:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var i=n(70653),r=n(40878),s=n(31225);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(0,r.of)(this.value);case"E":return(0,s._)(this.error);case"C":return(0,i.c)()}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})()},71784:(e,t,n)=>{"use strict";n.d(t,{y:()=>c});var i=n(96673),r=n(55331),s=n(57498),o=n(56197),a=n(36541),l=n(51484);let c=(()=>{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.L)return e;if(e[r.b])return e[r.b]()}return e||t||n?new i.L(e,t,n):new i.L(s.c)}(e,t,n);if(a.add(o?o.call(a,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.v.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.L?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.L](){return this}pipe(...e){return 0===e.length?this:(0,a.U)(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=l.v.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},57498:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var i=n(51484),r=n(14294);const s={closed:!0,next(e){},error(e){if(i.v.useDeprecatedSynchronousErrorHandling)throw e;(0,r.z)(e)},complete(){}}},59829:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(96673);class r extends i.L{notifyNext(e,t,n,i,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},26019:(e,t,n)=>{"use strict";n.d(t,{t:()=>c});var i=n(55959),r=n(98489),s=n(87570),o=n(45),a=n(13895),l=n(19291);class c extends i.xQ{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){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new u(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 c;if(this.closed)throw new a.N;if(this.isStopped||this.hasError?c=s.w.EMPTY:(this.observers.push(e),c=new l.W(this,e)),i&&e.add(e=new o.ht(e,i)),t)for(let s=0;st&&(s=Math.max(s,r-t)),s>0&&i.splice(0,s),i}}class u{constructor(e,t){this.time=e,this.value=t}}},55959:(e,t,n)=>{"use strict";n.d(t,{Yc:()=>c,xQ:()=>u});var i=n(71784),r=n(96673),s=n(87570),o=n(13895),a=n(19291),l=n(55331);class c extends r.L{constructor(e){super(e),this.destination=e}}let u=(()=>{class e extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;rnew 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.w.EMPTY}}},19291:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var i=n(87570);class r extends i.w{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)}}},96673:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var i=n(85024),r=n(57498),s=n(87570),o=n(55331),a=n(51484),l=n(14294);class c extends s.w{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.c;break;case 1:if(!e){this.destination=r.c;break}if("object"==typeof e){e instanceof c?(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.b](){return this}static create(e,t,n){const i=new c(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 c{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let a=this;(0,i.m)(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==r.c&&(a=Object.create(t),(0,i.m)(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.v.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.v;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):(0,l.z)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;(0,l.z)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.v.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.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(e,t,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return a.v.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):((0,l.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},87570:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var i=n(98470),r=n(82056),s=n(85024);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._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:c,_subscriptions:u}=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;ee.concat(t instanceof o?t.errors:t),[])}},51484:(e,t,n)=>{"use strict";n.d(t,{v:()=>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}}},36882:(e,t,n)=>{"use strict";n.d(t,{IY:()=>o,Ds:()=>a,ft:()=>l});var i=n(96673),r=n(71784),s=n(16015);class o extends i.L{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.L{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function l(e,t){if(t.closed)return;if(e instanceof r.y)return e.subscribe(t);let n;try{n=(0,s.s)(e)(t)}catch(i){t.error(i)}return n}},42875:(e,t,n)=>{"use strict";n.d(t,{c:()=>a,N:()=>l});var i=n(55959),r=n(71784),s=n(87570),o=n(21564);class a extends r.y{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 s.w,e.add(this.source.subscribe(new c(this.getSubject(),this))),e.closed&&(this._connection=null,e=s.w.EMPTY)),e}refCount(){return(0,o.x)()(this)}}const l=(()=>{const e=a.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 c extends i.Yc{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()}}}},31305:(e,t,n)=>{"use strict";n.d(t,{aj:()=>c});var i=n(76163),r=n(98470),s=n(59829),o=n(77e3),a=n(99342);const l={};function c(...e){let t,n;return(0,i.K)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&(0,r.k)(e[0])&&(e=e[0]),(0,a.n)(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.L{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(l),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{"use strict";n.d(t,{z:()=>s});var i=n(40878),r=n(97471);function s(...e){return(0,r.J)(1)((0,i.of)(...e))}},31450:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var i=n(71784),r=n(19764),s=n(70653);function o(e){return new i.y(t=>{let n;try{n=e()}catch(i){return void t.error(i)}return(n?(0,r.D)(n):(0,s.c)()).subscribe(t)})}},70653:(e,t,n)=>{"use strict";n.d(t,{E:()=>r,c:()=>s});var i=n(71784);const r=new i.y(e=>e.complete());function s(e){return e?function(e){return new i.y(t=>e.schedule(()=>t.complete()))}(e):r}},3148:(e,t,n)=>{"use strict";n.d(t,{D:()=>l});var i=n(71784),r=n(98470),s=n(79996),o=n(82056),a=n(19764);function l(...e){if(1===e.length){const t=e[0];if((0,r.k)(t))return c(t,null);if((0,o.K)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return c(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return c(e=1===e.length&&(0,r.k)(e[0])?e[0]:e,null).pipe((0,s.U)(e=>t(...e)))}return c(e,null)}function c(e,t){return new i.y(n=>{const i=e.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,o=0;for(let l=0;l{u||(u=!0,o++),r[l]=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())}}))}})}},19764:(e,t,n)=>{"use strict";n.d(t,{D:()=>d});var i=n(71784),r=n(16015),s=n(87570),o=n(56197),a=n(62570),l=n(25686),c=n(5168),u=n(59653);function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.L]}(e))return function(e,t){return new i.y(n=>{const i=new s.w;return i.add(t.schedule(()=>{const r=e[o.L]();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((0,c.t)(e))return function(e,t){return new i.y(n=>{const i=new s.w;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((0,u.z)(e))return(0,a.r)(e,t);if(function(e){return e&&"function"==typeof e[l.hZ]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.y(n=>{const i=new s.w;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=e[l.hZ](),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.y?e:new i.y((0,r.s)(e))}},99342:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var i=n(71784),r=n(30625),s=n(62570);function o(e,t){return t?(0,s.r)(e,t):new i.y((0,r.V)(e))}},87254:(e,t,n)=>{"use strict";n.d(t,{R:()=>a});var i=n(71784),r=n(98470),s=n(85024),o=n(79996);function a(e,t,n,c){return(0,s.m)(n)&&(c=n,n=void 0),c?a(e,t,n).pipe((0,o.U)(e=>(0,r.k)(e)?c(...e):c(e))):new i.y(i=>{l(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function l(e,t,n,i,r){let s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const i=e;e.addEventListener(t,n,r),s=()=>i.removeEventListener(t,n,r)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const i=e;e.on(t,n),s=()=>i.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const i=e;e.addListener(t,n),s=()=>i.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,o=e.length;s{"use strict";n.d(t,{T:()=>a});var i=n(71784),r=n(76163),s=n(97471),o=n(99342);function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return(0,r.K)(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.y?e[0]:(0,s.J)(t)((0,o.n)(e,n))}},40878:(e,t,n)=>{"use strict";n.d(t,{of:()=>o});var i=n(76163),r=n(99342),s=n(62570);function o(...e){let t=e[e.length-1];return(0,i.K)(t)?(e.pop(),(0,s.r)(e,t)):(0,r.n)(e)}},3875:(e,t,n)=>{"use strict";n.d(t,{S3:()=>a});var i=n(98470),r=n(99342),s=n(59829),o=n(77e3);function a(...e){if(1===e.length){if(!(0,i.k)(e[0]))return e[0];e=e[0]}return(0,r.n)(e,void 0).lift(new l)}class l{call(e,t){return t.subscribe(new c(e))}}class c extends s.L{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{"use strict";n.d(t,{_:()=>r});var i=n(71784);function r(e,t){return new i.y(t?n=>t.schedule(s,0,{error:e,subscriber:n}):t=>t.error(e))}function s({error:e,subscriber:t}){t.error(e)}},81110:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var i=n(71784),r=n(48569),s=n(62293),o=n(76163);function a(e=0,t,n){let a=-1;return(0,s.k)(t)?a=Number(t)<1?1:Number(t):(0,o.K)(t)&&(n=t),(0,o.K)(n)||(n=r.P),new i.y(t=>{const i=(0,s.k)(e)?e:+e-n.now();return n.schedule(l,i,{index:0,period:a,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)}}},30810:(e,t,n)=>{"use strict";n.d(t,{e:()=>l});var i=n(48569),r=n(36882);class s{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new o(e,this.durationSelector))}}class o extends r.Ds{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const i=(0,r.ft)(n,new r.IY(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n(81110);function l(e,t=i.P){return n=()=>(0,a.H)(e,t),function(e){return e.lift(new s(n))};var n}},47727:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});var i=n(36882);function r(e){return function(t){const n=new s(e),i=t.lift(n);return n.caught=i}}class s{constructor(e){this.selector=e}call(e,t){return t.subscribe(new o(e,this.selector,this.caught))}}class o extends i.Ds{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 r=new i.IY(this);this.add(r);const s=(0,i.ft)(n,r);s!==r&&this.add(s)}}}},436:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var i=n(73982);function r(e,t){return(0,i.zg)(e,t,1)}},47701:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});var i=n(96673),r=n(48569);function s(e,t=r.P){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.L{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(l,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 l(e){e.debouncedNext()}},7768:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(96673);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.L{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()}}},60509:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var i=n(48569),r=n(38802),s=n(96673),o=n(3103);function a(e,t=i.P){const n=(0,r.J)(e)?+e-t.now():Math.abs(e);return e=>e.lift(new l(n,t))}class l{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 s.L{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 u(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(o.P.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(o.P.createComplete()),this.unsubscribe()}}class u{constructor(e,t){this.time=e,this.notification=t}}},98720:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(96673);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.L{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))}}},79243:(e,t,n)=>{"use strict";n.d(t,{jn:()=>r});var i=n(36882);function r(e,t=Number.POSITIVE_INFINITY,n){return t=(t||0)<1?Number.POSITIVE_INFINITY:t,i=>i.lift(new s(e,t,n))}class s{constructor(e,t,n){this.project=e,this.concurrent=t,this.scheduler=n}call(e,t){return t.subscribe(new o(e,this.project,this.concurrent,this.scheduler))}}class o extends i.Ds{constructor(e,t,n,i){super(e),this.project=t,this.concurrent=n,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,n0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}},43835:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});var i=n(96673);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.L{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)}}},11520:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var i=n(96673),r=n(87570);function s(e){return t=>t.lift(new o(e))}class o{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends i.L{constructor(e,t){super(e),this.add(new r.w(t))}}},3530:(e,t,n)=>{"use strict";n.d(t,{P:()=>c});var i=n(39665),r=n(43835),s=n(90611),o=n(7768),a=n(90790),l=n(13392);function c(e,t){const n=arguments.length>=2;return c=>c.pipe(e?(0,r.h)((t,n)=>e(t,n,c)):l.y,(0,s.q)(1),n?(0,o.d)(t):(0,a.T)(()=>new i.K))}},94237:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var i=n(96673),r=n(87570),s=n(71784),o=n(55959);function a(e,t,n,i){return r=>r.lift(new l(e,t,n,i))}class l{constructor(e,t,n,i){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=i}call(e,t){return t.subscribe(new c(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class c extends i.L{constructor(e,t,n,i,r){super(e),this.keySelector=t,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=r,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(e){let t;try{t=this.keySelector(e)}catch(n){return void this.error(n)}this._group(e,t)}_group(e,t){let n=this.groups;n||(n=this.groups=new Map);let i,r=n.get(t);if(this.elementSelector)try{i=this.elementSelector(e)}catch(s){this.error(s)}else i=e;if(!r){r=this.subjectSelector?this.subjectSelector():new o.xQ,n.set(t,r);const e=new d(t,r,this);if(this.destination.next(e),this.durationSelector){let e;try{e=this.durationSelector(new d(t,r))}catch(s){return void this.error(s)}this.add(e.subscribe(new u(t,r,this)))}}r.closed||r.next(i)}_error(e){const t=this.groups;t&&(t.forEach((t,n)=>{t.error(e)}),t.clear()),this.destination.error(e)}_complete(){const e=this.groups;e&&(e.forEach((e,t)=>{e.complete()}),e.clear()),this.destination.complete()}removeGroup(e){this.groups.delete(e)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class u extends i.L{constructor(e,t,n){super(t),this.key=e,this.group=t,this.parent=n}_next(e){this.complete()}_unsubscribe(){const{parent:e,key:t}=this;this.key=this.parent=null,e&&e.removeGroup(t)}}class d extends s.y{constructor(e,t,n){super(),this.key=e,this.groupSubject=t,this.refCountSubscription=n}_subscribe(e){const t=new r.w,{refCountSubscription:n,groupSubject:i}=this;return n&&!n.closed&&t.add(new h(n)),t.add(i.subscribe(e)),t}}class h extends r.w{constructor(e){super(),this.parent=e,e.count++}unsubscribe(){const e=this.parent;e.closed||this.closed||(super.unsubscribe(),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())}}},79996:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var i=n(96673);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.L{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)}}},97471:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var i=n(73982),r=n(13392);function s(e=Number.POSITIVE_INFINITY){return(0,i.zg)(r.y,e)}},73982:(e,t,n)=>{"use strict";n.d(t,{zg:()=>o,VS:()=>c});var i=n(79996),r=n(19764),s=n(36882);function o(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?s=>s.pipe(o((n,s)=>(0,r.D)(e(n,s)).pipe((0,i.U)((e,i)=>t(n,e,s,i))),n)):("number"==typeof t&&(n=t),t=>t.lift(new a(e,n)))}class a{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}class l extends s.Ds{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.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const c=o},45:(e,t,n)=>{"use strict";n.d(t,{QV:()=>s,ht:()=>a});var i=n(96673),r=n(3103);function s(e,t=0){return function(n){return n.lift(new o(e,t))}}class o{constructor(e,t=0){this.scheduler=e,this.delay=t}call(e,t){return t.subscribe(new a(e,this.scheduler,this.delay))}}class a extends i.L{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(a.dispatch,this.delay,new l(e,this.destination)))}_next(e){this.scheduleMessage(r.P.createNext(e))}_error(e){this.scheduleMessage(r.P.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(r.P.createComplete()),this.unsubscribe()}}class l{constructor(e,t){this.notification=e,this.destination=t}}},18863:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var i=n(2023),r=n(4991),s=n(7768),o=n(36541);function a(e,t){return arguments.length>=2?function(n){return(0,o.z)((0,i.R)(e,t),(0,r.h)(1),(0,s.d)(t))(n)}:function(t){return(0,o.z)((0,i.R)((t,n,i)=>e(t,n,i+1)),(0,r.h)(1))(t)}}},21564:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(96673);function r(){return function(e){return e.lift(new s(e))}}class s{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const i=new o(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class o extends i.L{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()}}},2023:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var i=n(96673);function r(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new s(e,t,n))}}class s{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new o(e,this.accumulator,this.seed,this.hasSeed))}}class o extends i.L{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)}}},1055:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var i=n(42875),r=n(21564),s=n(55959);function o(){return new s.xQ}function a(){return e=>{return(0,r.x)()((t=o,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,i.N);return r.source=e,r.subjectFactory=n,r})(e));var t}}},68303:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(26019);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,l=!1,c=!1;return function(u){let d;a++,!s||l?(l=!1,s=new i.t(e,t,r),d=s.subscribe(this),o=u.subscribe({next(e){s.next(e)},error(e){l=!0,s.error(e)},complete(){c=!0,o=void 0,s.complete()}}),c&&(o=void 0)):d=s.subscribe(this),this.add(()=>{a--,d.unsubscribe(),d=void 0,o&&!c&&n&&0===a&&(o.unsubscribe(),o=void 0,s=void 0)})}}(r))}},84698:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var i=n(96673);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.L{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}},56238:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var i=n(47930),r=n(76163);function s(...e){const t=e[e.length-1];return(0,r.K)(t)?(e.pop(),n=>(0,i.z)(e,n,t)):t=>(0,i.z)(e,t)}},44689:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var i=n(79996),r=n(19764),s=n(36882);function o(e,t){return"function"==typeof t?n=>n.pipe(o((n,s)=>(0,r.D)(e(n,s)).pipe((0,i.U)((e,i)=>t(n,e,s,i))))):t=>t.lift(new a(e))}class a{constructor(e){this.project=e}call(e,t){return t.subscribe(new l(e,this.project))}}class l extends s.Ds{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)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new s.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,s.ft)(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}},90611:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var i=n(96673),r=n(98402),s=n(70653);function o(e){return t=>0===e?(0,s.c)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new r.W}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends i.L{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()))}}},4991:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});var i=n(96673),r=n(98402),s=n(70653);function o(e){return function(t){return 0===e?(0,s.c)():t.lift(new a(e))}}class a{constructor(e){if(this.total=e,this.total<0)throw new r.W}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends i.L{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.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r{"use strict";n.d(t,{R:()=>r});var i=n(36882);function r(e){return t=>t.lift(new s(e))}class s{constructor(e){this.notifier=e}call(e,t){const n=new o(e),r=(0,i.ft)(this.notifier,new i.IY(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}class o extends i.Ds{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},66599:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var i=n(96673);function r(){}var s=n(85024);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 l(e,this.nextOrObserver,this.error,this.complete))}}class l extends i.L{constructor(e,t,n,i){super(e),this._tapNext=r,this._tapError=r,this._tapComplete=r,this._tapError=n||r,this._tapComplete=i||r,(0,s.m)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||r,this._tapError=t.error||r,this._tapComplete=t.complete||r)}_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()}}},90790:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var i=n(39665),r=n(96673);function s(e=l){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.L{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 l(){return new i.K}},29085:(e,t,n)=>{"use strict";n.d(t,{V:()=>u});var i=n(48569);const r=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();var s=n(38802),o=n(36882);class a{constructor(e,t,n,i){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=i}call(e,t){return t.subscribe(new l(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class l extends o.Ds{constructor(e,t,n,i,r){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=i,this.scheduler=r,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add((0,o.ft)(t,new o.IY(e)))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(l.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var c=n(31225);function u(e,t=i.P){return function(e,t,n=i.P){return i=>{let r=(0,s.J)(e),o=r?+e-n.now():Math.abs(e);return i.lift(new a(o,r,t,n))}}(e,(0,c._)(new r),t)}},22728:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var i=n(59829),r=n(77e3);function s(...e){return t=>{let n;return"function"==typeof e[e.length-1]&&(n=e.pop()),t.lift(new o(e,n))}}class o{constructor(e,t){this.observables=e,this.project=t}call(e,t){return t.subscribe(new a(e,this.observables,this.project))}}class a extends i.L{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;r0){const e=i.indexOf(n);-1!==e&&i.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)}}},62570:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var i=n(71784),r=n(87570);function s(e,t){return new i.y(n=>{const i=new r.w;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})}},8277:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var i=n(87570);class r extends i.w{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,i=!1;try{this.work(e)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_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}}},91098:(e,t,n)=>{"use strict";n.d(t,{v:()=>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}}}},91741:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var i=n(8277);class r extends i.o{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}var s=n(91098);class o extends s.v{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i{"use strict";n.d(t,{E:()=>h});let i=1;const r=(()=>Promise.resolve())(),s={};function o(e){return e in s&&(delete s[e],!0)}const a={setImmediate(e){const t=i++;return s[t]=!0,r.then(()=>o(t)&&e()),t},clearImmediate(e){o(e)}};var l=n(8277);class c extends l.o{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=a.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(a.clearImmediate(t),e.scheduled=void 0)}}var u=n(91098);class d extends u.v{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i{"use strict";n.d(t,{P:()=>r});var i=n(8277);const r=new(n(91098).v)(i.o)},98489:(e,t,n)=>{"use strict";n.d(t,{c:()=>l,N:()=>a});var i=n(8277);class r extends i.o{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 s=n(91098);class o extends s.v{}const a=new o(r),l=a},25686:(e,t,n)=>{"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,{hZ:()=>r});const r=i()},56197:(e,t,n)=>{"use strict";n.d(t,{L:()=>i});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},55331:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},98402:(e,t,n)=>{"use strict";n.d(t,{W:()=>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})()},39665:(e,t,n)=>{"use strict";n.d(t,{K:()=>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})()},13895:(e,t,n)=>{"use strict";n.d(t,{N:()=>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})()},14294:(e,t,n)=>{"use strict";function i(e){setTimeout(()=>{throw e},0)}n.d(t,{z:()=>i})},13392:(e,t,n)=>{"use strict";function i(e){return e}n.d(t,{y:()=>i})},98470:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});const i=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},59653:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});const i=e=>e&&"number"==typeof e.length&&"function"!=typeof e},38802:(e,t,n)=>{"use strict";function i(e){return e instanceof Date&&!isNaN(+e)}n.d(t,{J:()=>i})},85024:(e,t,n)=>{"use strict";function i(e){return"function"==typeof e}n.d(t,{m:()=>i})},62293:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(98470);function r(e){return!(0,i.k)(e)&&e-parseFloat(e)+1>=0}},82056:(e,t,n)=>{"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,{K:()=>i})},4710:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var i=n(71784);function r(e){return!!e&&(e instanceof i.y||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},5168:(e,t,n)=>{"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,{t:()=>i})},76163:(e,t,n)=>{"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,{K:()=>i})},36541:(e,t,n)=>{"use strict";n.d(t,{z:()=>r,U:()=>s});var i=n(13392);function r(...e){return s(e)}function s(e){return 0===e.length?i.y:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},16015:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var i=n(30625),r=n(14294),s=n(25686),o=n(56197),a=n(59653),l=n(5168),c=n(82056);const u=e=>{if(e&&"function"==typeof e[o.L])return u=e,e=>{const t=u[o.L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((0,a.z)(e))return(0,i.V)(e);if((0,l.t)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.z),e);if(e&&"function"==typeof e[s.hZ])return t=e,e=>{const n=t[s.hZ]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}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=(0,c.K)(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}},30625:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});const i=e=>t=>{for(let n=0,i=e.length;n{"use strict";n.d(t,{D:()=>a});var i=n(96673);class r extends i.L{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()}}var s=n(16015),o=n(71784);function a(e,t,n,i,a=new r(e,n,i)){if(!a.closed)return t instanceof o.y?t.subscribe(a):(0,s.s)(t)(a)}},84289:(e,t,n)=>{"use strict";n.d(t,{nF:()=>U,kz:()=>z,YC:()=>B});var i=n(31572),r=n(61511),s=n(34088),o=n(55959),a=n(40878);const l=["prevElRef"],c=["nextElRef"],u=["scrollbarElRef"],d=["paginationElRef"];function h(e,t){1&e&&(i.ynx(0),i._UZ(1,"div",6,7),i._UZ(3,"div",8,9),i.BQk())}function p(e,t){1&e&&i._UZ(0,"div",10,11)}function f(e,t){1&e&&i._UZ(0,"div",12,13)}function m(e,t){}function g(e,t){1&e&&i.YNc(0,m,0,0,"ng-template")}function _(e,t){}function v(e,t){1&e&&i.YNc(0,_,0,0,"ng-template")}function y(e,t){}function b(e,t){1&e&&i.YNc(0,y,0,0,"ng-template")}function w(e,t){}const x=function(e){return{$implicit:e}};function S(e,t){if(1&e&&(i.TgZ(0,"div",3),i.YNc(1,w,0,0,"ng-template",18),i.qZA()),2&e){const e=i.oxw().$implicit,t=i.oxw(2);i.Q6J("ngClass",t.zoomContainerClass),i.xp6(1),i.Q6J("ngTemplateOutlet",e.template)("ngTemplateOutletContext",i.VKq(3,x,e.slideData))}}function k(e,t){}function C(e,t){if(1&e&&(i.ynx(0),i.YNc(1,k,0,0,"ng-template",18),i.BQk()),2&e){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",e.template)("ngTemplateOutletContext",i.VKq(2,x,e.slideData))}}function M(e,t){if(1&e&&(i.TgZ(0,"div",15),i.YNc(1,S,2,5,"div",16),i.YNc(2,C,2,4,"ng-container",17),i.qZA()),2&e){const e=t.$implicit,n=i.oxw().key,r=i.oxw();i.Akn(r.style),i.Q6J("ngClass",(e.class?e.class+" ":"")+r.slideClass+(""!==n?" "+r.slideDuplicateClass:""))("ngSwitch",e.zoom),i.uIk("data-swiper-slide-index",e.virtualIndex?e.virtualIndex:e.slideIndex),i.xp6(1),i.Q6J("ngSwitchCase",!0)}}function E(e,t){1&e&&(i.YNc(0,M,3,6,"div",14),i.ALo(1,"async")),2&e&&i.Q6J("ngForOf",i.lcZ(1,1,t.loopSlides))}const T=[[["","slot","container-start"]],[["","slot","wrapper-start"]],[["","slot","wrapper-end"]],[["","slot","container-end"]]],A=function(e){return{loopSlides:e,key:"prepend"}},D=function(e){return{loopSlides:e,key:""}},P=function(e){return{loopSlides:e,key:"append"}},L=["[slot=container-start]","[slot=wrapper-start]","[slot=wrapper-end]","[slot=container-end]"];function O(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function I(e,t,n){return!0===Y(e)&&t&&!t.el||!("boolean"!=typeof t&&t.el!==(null==n?void 0:n.nativeElement)&&("string"==typeof t.el||"object"==typeof t.el))}function R(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0!==e[n]?e[n]&&!t[n]||(O(t[n])&&O(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:R(e[n],t[n]):e[n]=t[n]):e[n]=t[n]})}function Y(e){return null!=e&&"false"!=`${e}`}const F=["pagination","navigation","scrollbar","virtual"];function j(e,t={}){return O(e)?e:!0===Y(e)&&t}const H=["init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","_grid","_slidesPerGroup","_slidesPerGroupSkip","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopFillGroupWithBlank","loopPreventsSlide","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"].map(e=>e.replace(/_/,""));function N(e={}){const t={on:{}},n={};R(t,s.ZP.defaults),R(t,s.ZP.extendedDefaults),t._emitClasses=!0;const i={};return Object.keys(e).forEach(r=>{const s=r.replace(/^_/,"");void 0!==e[s]&&(H.indexOf(s)>=0?O(e[s])?(t[s]={},n[s]={},R(t[s],e[s]),R(n[s],e[s])):(t[s]=e[s],n[s]=e[s]):i[s]=e[s])}),{params:t,passedParams:n,rest:i}}let B=(()=>{class e{constructor(e){this.template=e,this.class="",this.slideData={isActive:!1,isPrev:!1,isNext:!1,isVisible:!1,isDuplicate:!1}}set zoom(e){this._zoom=Y(e)}get zoom(){return this._zoom}get classNames(){return this._classNames}set classNames(e){this._classNames!==e&&(this._classNames=e,this.slideData={isActive:this._hasClass(["swiper-slide-active","swiper-slide-duplicate-active"]),isVisible:this._hasClass(["swiper-slide-visible"]),isDuplicate:this._hasClass(["swiper-slide-duplicate"]),isPrev:this._hasClass(["swiper-slide-prev","swiper-slide-duplicate-prev"]),isNext:this._hasClass(["swiper-slide-next","swiper-slide-duplicate-next"])})}_hasClass(e){return e.some(e=>this._classNames.indexOf(e)>=0)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.Rgc))},e.\u0275dir=i.lG2({type:e,selectors:[["ng-template","swiperSlide",""]],inputs:{virtualIndex:"virtualIndex",class:"class",zoom:"zoom"}}),e})(),U=(()=>{class e{constructor(e,t,n,r){this._ngZone=e,this.elementRef=t,this._changeDetectorRef=n,this._platformId=r,this.slideClass="swiper-slide",this.wrapperClass="swiper-wrapper",this.showNavigation=!0,this.showPagination=!0,this.showScrollbar=!0,this.s__beforeBreakpoint=new i.vpe,this.s__containerClasses=new i.vpe,this.s__slideClass=new i.vpe,this.s__swiper=new i.vpe,this.s_activeIndexChange=new i.vpe,this.s_afterInit=new i.vpe,this.s_autoplay=new i.vpe,this.s_autoplayStart=new i.vpe,this.s_autoplayStop=new i.vpe,this.s_beforeDestroy=new i.vpe,this.s_beforeInit=new i.vpe,this.s_beforeLoopFix=new i.vpe,this.s_beforeResize=new i.vpe,this.s_beforeSlideChangeStart=new i.vpe,this.s_beforeTransitionStart=new i.vpe,this.s_breakpoint=new i.vpe,this.s_changeDirection=new i.vpe,this.s_click=new i.vpe,this.s_doubleTap=new i.vpe,this.s_doubleClick=new i.vpe,this.s_destroy=new i.vpe,this.s_fromEdge=new i.vpe,this.s_hashChange=new i.vpe,this.s_hashSet=new i.vpe,this.s_imagesReady=new i.vpe,this.s_init=new i.vpe,this.s_keyPress=new i.vpe,this.s_lazyImageLoad=new i.vpe,this.s_lazyImageReady=new i.vpe,this.s_loopFix=new i.vpe,this.s_momentumBounce=new i.vpe,this.s_navigationHide=new i.vpe,this.s_navigationShow=new i.vpe,this.s_observerUpdate=new i.vpe,this.s_orientationchange=new i.vpe,this.s_paginationHide=new i.vpe,this.s_paginationRender=new i.vpe,this.s_paginationShow=new i.vpe,this.s_paginationUpdate=new i.vpe,this.s_progress=new i.vpe,this.s_reachBeginning=new i.vpe,this.s_reachEnd=new i.vpe,this.s_realIndexChange=new i.vpe,this.s_resize=new i.vpe,this.s_scroll=new i.vpe,this.s_scrollbarDragEnd=new i.vpe,this.s_scrollbarDragMove=new i.vpe,this.s_scrollbarDragStart=new i.vpe,this.s_setTransition=new i.vpe,this.s_setTranslate=new i.vpe,this.s_slideChange=new i.vpe,this.s_slideChangeTransitionEnd=new i.vpe,this.s_slideChangeTransitionStart=new i.vpe,this.s_slideNextTransitionEnd=new i.vpe,this.s_slideNextTransitionStart=new i.vpe,this.s_slidePrevTransitionEnd=new i.vpe,this.s_slidePrevTransitionStart=new i.vpe,this.s_slideResetTransitionStart=new i.vpe,this.s_slideResetTransitionEnd=new i.vpe,this.s_sliderMove=new i.vpe,this.s_sliderFirstMove=new i.vpe,this.s_slidesLengthChange=new i.vpe,this.s_slidesGridLengthChange=new i.vpe,this.s_snapGridLengthChange=new i.vpe,this.s_snapIndexChange=new i.vpe,this.s_tap=new i.vpe,this.s_toEdge=new i.vpe,this.s_touchEnd=new i.vpe,this.s_touchMove=new i.vpe,this.s_touchMoveOpposite=new i.vpe,this.s_touchStart=new i.vpe,this.s_transitionEnd=new i.vpe,this.s_transitionStart=new i.vpe,this.s_update=new i.vpe,this.s_zoomChange=new i.vpe,this.s_swiper=new i.vpe,this.indexChange=new i.vpe,this._activeSlides=new o.xQ,this.containerClasses="swiper",this.slidesChanges=e=>{this.slides=e.map((e,t)=>(e.slideIndex=t,e.classNames=this.slideClass||"",e)),this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.virtual?this.swiperRef&&this.swiperRef.virtual&&this._ngZone.runOutsideAngular(()=>{this.swiperRef.virtual.slides=this.slides,this.swiperRef.virtual.update(!0)}):this.loopedSlides&&(this.prependSlides=(0,a.of)(this.slides.slice(this.slides.length-this.loopedSlides)),this.appendSlides=(0,a.of)(this.slides.slice(0,this.loopedSlides))),this._changeDetectorRef.detectChanges()},this.style=null,this.updateVirtualSlides=e=>{!this.swiperRef||this.currentVirtualData&&this.currentVirtualData.from===e.from&&this.currentVirtualData.to===e.to&&this.currentVirtualData.offset===e.offset||(this.style=this.swiperRef.isHorizontal()?{[this.swiperRef.rtlTranslate?"right":"left"]:`${e.offset}px`}:{top:`${e.offset}px`},this.currentVirtualData=e,this._activeSlides.next(e.slides),this._ngZone.run(()=>{this._changeDetectorRef.detectChanges()}),this._ngZone.runOutsideAngular(()=>{this.swiperRef.updateSlides(),this.swiperRef.updateProgress(),this.swiperRef.updateSlidesClasses(),this.swiperRef.lazy&&this.swiperRef.params.lazy.enabled&&this.swiperRef.lazy.load(),this.swiperRef.virtual.update(!0)}))}}set navigation(e){var t,n,i;const r="boolean"!=typeof this._navigation&&""!==this._navigation?null===(t=this._navigation)||void 0===t?void 0:t.nextEl:null,s="boolean"!=typeof this._navigation&&""!==this._navigation?null===(n=this._navigation)||void 0===n?void 0:n.prevEl:null;this._navigation=j(e,{nextEl:r||null,prevEl:s||null}),this.showNavigation=!(!0!==Y(e)||this._navigation&&"boolean"!=typeof this._navigation&&this._navigation.prevEl!==(null===(i=this._prevElRef)||void 0===i?void 0:i.nativeElement)&&(null!==this._navigation.prevEl||null!==this._navigation.nextEl)&&("string"==typeof this._navigation.nextEl||"string"==typeof this._navigation.prevEl||"object"==typeof this._navigation.nextEl||"object"==typeof this._navigation.prevEl))}get navigation(){return this._navigation}set pagination(e){var t;const n="boolean"!=typeof this._pagination&&""!==this._pagination?null===(t=this._pagination)||void 0===t?void 0:t.el:null;this._pagination=j(e,{el:n||null}),this.showPagination=I(e,this._pagination,this._paginationElRef)}get pagination(){return this._pagination}set scrollbar(e){var t;const n="boolean"!=typeof this._scrollbar&&""!==this._scrollbar?null===(t=this._scrollbar)||void 0===t?void 0:t.el:null;this._scrollbar=j(e,{el:n||null}),this.showScrollbar=I(e,this._scrollbar,this._scrollbarElRef)}get scrollbar(){return this._scrollbar}set virtual(e){this._virtual=j(e)}get virtual(){return this._virtual}set index(e){this.setIndex(e)}set config(e){this.updateSwiper(e);const{params:t}=N(e);Object.assign(this,t)}set prevElRef(e){this._prevElRef=e,this._setElement(e,this.navigation,"navigation","prevEl")}set nextElRef(e){this._nextElRef=e,this._setElement(e,this.navigation,"navigation","nextEl")}set scrollbarElRef(e){this._scrollbarElRef=e,this._setElement(e,this.scrollbar,"scrollbar")}set paginationElRef(e){this._paginationElRef=e,this._setElement(e,this.pagination,"pagination")}get activeSlides(){return this.virtual?this._activeSlides:(0,a.of)(this.slides)}get zoomContainerClass(){return this.zoom&&"boolean"!=typeof this.zoom?this.zoom.containerClass:"swiper-zoom-container"}_setElement(e,t,n,i="el"){if(!e||!t)return;if(t&&e.nativeElement){if(t[i]===e.nativeElement)return;t[i]=e.nativeElement}const r={};r[n]=!0,this.updateInitSwiper(r)}ngOnInit(){const{params:e}=N(this);Object.assign(this,e)}ngAfterViewInit(){this.childrenSlidesInit(),this.initSwiper(),this._changeDetectorRef.detectChanges(),setTimeout(()=>{this.s_swiper.emit(this.swiperRef)})}childrenSlidesInit(){this.slidesChanges(this.slidesEl),this.slidesEl.changes.subscribe(this.slidesChanges)}get isSwiperActive(){return this.swiperRef&&!this.swiperRef.destroyed}initSwiper(){const{params:e}=N(this);Object.assign(this,e),this._ngZone.runOutsideAngular(()=>{e.init=!1,e.virtual||(e.observer=!0),e.onAny=(e,...t)=>{const n=this["s_"+e];n&&n.emit(...t)},Object.assign(e.on,{_containerClasses:(e,t)=>{setTimeout(()=>{this.containerClasses=t})},_slideClasses:(e,t)=>{t.forEach(({slideEl:e,classNames:t},n)=>{const i=e.getAttribute("data-swiper-slide-index"),r=i?parseInt(i):n;if(this.virtual){const e=this.slides.find(e=>e.virtualIndex&&e.virtualIndex===r);if(e)return void(e.classNames=t)}this.slides[r]&&(this.slides[r].classNames=t)}),this._changeDetectorRef.detectChanges()}});const t=new s.ZP(e);if(t.loopCreate=()=>{},t.loopDestroy=()=>{},e.loop&&(t.loopedSlides=this.loopedSlides),t.virtual&&void 0!==t.params.virtual&&"boolean"!=typeof t.params.virtual&&t.params.virtual.enabled){t.virtual.slides=this.slides;const e={cache:!1,slides:this.slides,renderExternal:this.updateVirtualSlides,renderExternalUpdate:!1};R(t.params.virtual,e),R(t.originalParams.virtual,e)}if((0,r.NF)(this._platformId)){this.swiperRef=t.init(this.elementRef.nativeElement);const e=void 0!==this.swiperRef.params.virtual&&"boolean"!=typeof this.swiperRef.params.virtual&&this.swiperRef.params.virtual.enabled;this.swiperRef.virtual&&e&&this.swiperRef.virtual.update(!0),this._changeDetectorRef.detectChanges(),t.on("slideChange",()=>{this.indexChange.emit(this.swiperRef.realIndex)})}})}ngOnChanges(e){this.updateSwiper(e),this._changeDetectorRef.detectChanges()}updateInitSwiper(e){e&&this.swiperRef&&!this.swiperRef.destroyed&&this._ngZone.runOutsideAngular(()=>{const{pagination:t,navigation:n,scrollbar:i,thumbs:r}=this.swiperRef;e.pagination&&(this.pagination&&"boolean"!=typeof this.pagination&&this.pagination.el&&t&&!t.el?(this.updateParameter("pagination",this.pagination),t.init(),t.render(),t.update()):(t.destroy(),t.el=null)),e.scrollbar&&(this.scrollbar&&"boolean"!=typeof this.scrollbar&&this.scrollbar.el&&i&&!i.el?(this.updateParameter("scrollbar",this.scrollbar),i.init(),i.updateSize(),i.setTranslate()):(i.destroy(),i.el=null)),e.navigation&&(this.navigation&&"boolean"!=typeof this.navigation&&this.navigation.prevEl&&this.navigation.nextEl&&n&&!n.prevEl&&!n.nextEl?(this.updateParameter("navigation",this.navigation),n.init(),n.update()):n.prevEl&&n.nextEl&&(n.destroy(),n.nextEl=null,n.prevEl=null)),e.thumbs&&this.thumbs&&this.thumbs.swiper&&(this.updateParameter("thumbs",this.thumbs),r.init()&&r.update(!0)),e.controller&&this.controller&&this.controller.control&&(this.swiperRef.controller.control=this.controller.control),this.swiperRef.update()})}updateSwiper(e){this._ngZone.runOutsideAngular(()=>{var t,n;if(!e.config&&e&&this.swiperRef&&!this.swiperRef.destroyed){for(const i in e){if(F.indexOf(i)>=0)continue;const r=null!==(n=null===(t=e[i])||void 0===t?void 0:t.currentValue)&&void 0!==n?n:e[i];this.updateParameter(i,r)}e.allowSlideNext&&(this.swiperRef.allowSlideNext=this.allowSlideNext),e.allowSlidePrev&&(this.swiperRef.allowSlidePrev=this.allowSlidePrev),e.direction&&this.swiperRef.changeDirection(this.direction,!1),e.breakpoints&&(this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.swiperRef.currentBreakpoint=null,this.swiperRef.setBreakpoint()),(e.thumbs||e.controller)&&this.updateInitSwiper(e),this.swiperRef.update()}})}calcLoopedSlides(){if(!this.loop)return;let e=this.slidesPerView;if(this.breakpoints){const t=s.ZP.prototype.getBreakpoint(this.breakpoints),n=t in this.breakpoints?this.breakpoints[t]:void 0;n&&n.slidesPerView&&(e=n.slidesPerView)}if("auto"===e)return this.loopedSlides=this.slides.length,this.slides.length;let t=this.loopedSlides||e;return t?(this.loopAdditionalSlides&&(t+=this.loopAdditionalSlides),t>this.slides.length&&(t=this.slides.length),this.loopedSlides=t,t):void 0}updateParameter(e,t){if(!this.swiperRef||this.swiperRef.destroyed)return;const n=e.replace(/^_/,""),i=O(this.swiperRef.params[n]);if(Object.keys(this.swiperRef.modules).indexOf(n)>=0){const e=this.swiperRef.modules[n].params[n];i?R(this.swiperRef.params[n],e):this.swiperRef.params[n]=e}i&&O(t)?R(this.swiperRef.params[n],t):this.swiperRef.params[n]=t}setIndex(e,t,n){this.isSwiperActive?e!==this.swiperRef.activeIndex&&this._ngZone.runOutsideAngular(()=>{this.loop?this.swiperRef.slideToLoop(e,t,!n):this.swiperRef.slideTo(e,t,!n)}):this.initialSlide=e}ngOnDestroy(){this._ngZone.runOutsideAngular(()=>{var e;null===(e=this.swiperRef)||void 0===e||e.destroy(!0,!1)})}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(i.Lbi))},e.\u0275cmp=i.Xpm({type:e,selectors:[["swiper"],["","swiper",""]],contentQueries:function(e,t,n){if(1&e&&i.Suo(n,B,4),2&e){let e;i.iGM(e=i.CRH())&&(t.slidesEl=e)}},viewQuery:function(e,t){if(1&e&&(i.Gf(l,5),i.Gf(c,5),i.Gf(u,5),i.Gf(d,5)),2&e){let e;i.iGM(e=i.CRH())&&(t.prevElRef=e.first),i.iGM(e=i.CRH())&&(t.nextElRef=e.first),i.iGM(e=i.CRH())&&(t.scrollbarElRef=e.first),i.iGM(e=i.CRH())&&(t.paginationElRef=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&i.Tol(t.containerClasses)},inputs:{direction:"direction",touchEventsTarget:"touchEventsTarget",initialSlide:"initialSlide",speed:"speed",cssMode:"cssMode",updateOnWindowResize:"updateOnWindowResize",resizeObserver:"resizeObserver",nested:"nested",focusableElements:"focusableElements",width:"width",height:"height",preventInteractionOnTransition:"preventInteractionOnTransition",userAgent:"userAgent",url:"url",edgeSwipeDetection:"edgeSwipeDetection",edgeSwipeThreshold:"edgeSwipeThreshold",freeMode:"freeMode",autoHeight:"autoHeight",setWrapperSize:"setWrapperSize",virtualTranslate:"virtualTranslate",effect:"effect",breakpoints:"breakpoints",spaceBetween:"spaceBetween",slidesPerView:"slidesPerView",grid:"grid",slidesPerGroup:"slidesPerGroup",slidesPerGroupSkip:"slidesPerGroupSkip",centeredSlides:"centeredSlides",centeredSlidesBounds:"centeredSlidesBounds",slidesOffsetBefore:"slidesOffsetBefore",slidesOffsetAfter:"slidesOffsetAfter",normalizeSlideIndex:"normalizeSlideIndex",centerInsufficientSlides:"centerInsufficientSlides",watchOverflow:"watchOverflow",roundLengths:"roundLengths",touchRatio:"touchRatio",touchAngle:"touchAngle",simulateTouch:"simulateTouch",shortSwipes:"shortSwipes",longSwipes:"longSwipes",longSwipesRatio:"longSwipesRatio",longSwipesMs:"longSwipesMs",followFinger:"followFinger",allowTouchMove:"allowTouchMove",threshold:"threshold",touchMoveStopPropagation:"touchMoveStopPropagation",touchStartPreventDefault:"touchStartPreventDefault",touchStartForcePreventDefault:"touchStartForcePreventDefault",touchReleaseOnEdges:"touchReleaseOnEdges",uniqueNavElements:"uniqueNavElements",resistance:"resistance",resistanceRatio:"resistanceRatio",watchSlidesProgress:"watchSlidesProgress",grabCursor:"grabCursor",preventClicks:"preventClicks",preventClicksPropagation:"preventClicksPropagation",slideToClickedSlide:"slideToClickedSlide",preloadImages:"preloadImages",updateOnImagesReady:"updateOnImagesReady",loop:"loop",loopAdditionalSlides:"loopAdditionalSlides",loopedSlides:"loopedSlides",loopFillGroupWithBlank:"loopFillGroupWithBlank",loopPreventsSlide:"loopPreventsSlide",allowSlidePrev:"allowSlidePrev",allowSlideNext:"allowSlideNext",swipeHandler:"swipeHandler",noSwiping:"noSwiping",noSwipingClass:"noSwipingClass",noSwipingSelector:"noSwipingSelector",passiveListeners:"passiveListeners",containerModifierClass:"containerModifierClass",slideClass:"slideClass",slideBlankClass:"slideBlankClass",slideActiveClass:"slideActiveClass",slideDuplicateActiveClass:"slideDuplicateActiveClass",slideVisibleClass:"slideVisibleClass",slideDuplicateClass:"slideDuplicateClass",slideNextClass:"slideNextClass",slideDuplicateNextClass:"slideDuplicateNextClass",slidePrevClass:"slidePrevClass",slideDuplicatePrevClass:"slideDuplicatePrevClass",wrapperClass:"wrapperClass",runCallbacksOnInit:"runCallbacksOnInit",observeParents:"observeParents",observeSlideChildren:"observeSlideChildren",a11y:"a11y",autoplay:"autoplay",controller:"controller",coverflowEffect:"coverflowEffect",cubeEffect:"cubeEffect",fadeEffect:"fadeEffect",flipEffect:"flipEffect",creativeEffect:"creativeEffect",cardsEffect:"cardsEffect",hashNavigation:"hashNavigation",history:"history",keyboard:"keyboard",lazy:"lazy",mousewheel:"mousewheel",parallax:"parallax",thumbs:"thumbs",zoom:"zoom",class:"class",id:"id",navigation:"navigation",pagination:"pagination",scrollbar:"scrollbar",virtual:"virtual",index:"index",config:"config"},outputs:{s__beforeBreakpoint:"_beforeBreakpoint",s__containerClasses:"_containerClasses",s__slideClass:"_slideClass",s__swiper:"_swiper",s_activeIndexChange:"activeIndexChange",s_afterInit:"afterInit",s_autoplay:"autoplay",s_autoplayStart:"autoplayStart",s_autoplayStop:"autoplayStop",s_beforeDestroy:"beforeDestroy",s_beforeInit:"beforeInit",s_beforeLoopFix:"beforeLoopFix",s_beforeResize:"beforeResize",s_beforeSlideChangeStart:"beforeSlideChangeStart",s_beforeTransitionStart:"beforeTransitionStart",s_breakpoint:"breakpoint",s_changeDirection:"changeDirection",s_click:"click",s_doubleTap:"doubleTap",s_doubleClick:"doubleClick",s_destroy:"destroy",s_fromEdge:"fromEdge",s_hashChange:"hashChange",s_hashSet:"hashSet",s_imagesReady:"imagesReady",s_init:"init",s_keyPress:"keyPress",s_lazyImageLoad:"lazyImageLoad",s_lazyImageReady:"lazyImageReady",s_loopFix:"loopFix",s_momentumBounce:"momentumBounce",s_navigationHide:"navigationHide",s_navigationShow:"navigationShow",s_observerUpdate:"observerUpdate",s_orientationchange:"orientationchange",s_paginationHide:"paginationHide",s_paginationRender:"paginationRender",s_paginationShow:"paginationShow",s_paginationUpdate:"paginationUpdate",s_progress:"progress",s_reachBeginning:"reachBeginning",s_reachEnd:"reachEnd",s_realIndexChange:"realIndexChange",s_resize:"resize",s_scroll:"scroll",s_scrollbarDragEnd:"scrollbarDragEnd",s_scrollbarDragMove:"scrollbarDragMove",s_scrollbarDragStart:"scrollbarDragStart",s_setTransition:"setTransition",s_setTranslate:"setTranslate",s_slideChange:"slideChange",s_slideChangeTransitionEnd:"slideChangeTransitionEnd",s_slideChangeTransitionStart:"slideChangeTransitionStart",s_slideNextTransitionEnd:"slideNextTransitionEnd",s_slideNextTransitionStart:"slideNextTransitionStart",s_slidePrevTransitionEnd:"slidePrevTransitionEnd",s_slidePrevTransitionStart:"slidePrevTransitionStart",s_slideResetTransitionStart:"slideResetTransitionStart",s_slideResetTransitionEnd:"slideResetTransitionEnd",s_sliderMove:"sliderMove",s_sliderFirstMove:"sliderFirstMove",s_slidesLengthChange:"slidesLengthChange",s_slidesGridLengthChange:"slidesGridLengthChange",s_snapGridLengthChange:"snapGridLengthChange",s_snapIndexChange:"snapIndexChange",s_tap:"tap",s_toEdge:"toEdge",s_touchEnd:"touchEnd",s_touchMove:"touchMove",s_touchMoveOpposite:"touchMoveOpposite",s_touchStart:"touchStart",s_transitionEnd:"transitionEnd",s_transitionStart:"transitionStart",s_update:"update",s_zoomChange:"zoomChange",s_swiper:"swiper",indexChange:"indexChange"},features:[i.TTD],ngContentSelectors:L,decls:13,vars:17,consts:[[4,"ngIf"],["class","swiper-scrollbar",4,"ngIf"],["class","swiper-pagination",4,"ngIf"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["slidesTemplate",""],[1,"swiper-button-prev"],["prevElRef",""],[1,"swiper-button-next"],["nextElRef",""],[1,"swiper-scrollbar"],["scrollbarElRef",""],[1,"swiper-pagination"],["paginationElRef",""],[3,"ngClass","style","ngSwitch",4,"ngFor","ngForOf"],[3,"ngClass","ngSwitch"],[3,"ngClass",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){if(1&e&&(i.F$t(T),i.Hsn(0),i.YNc(1,h,5,0,"ng-container",0),i.YNc(2,p,2,0,"div",1),i.YNc(3,f,2,0,"div",2),i.TgZ(4,"div",3),i.Hsn(5,1),i.YNc(6,g,1,0,void 0,4),i.YNc(7,v,1,0,void 0,4),i.YNc(8,b,1,0,void 0,4),i.Hsn(9,2),i.qZA(),i.Hsn(10,3),i.YNc(11,E,2,3,"ng-template",null,5,i.W1O)),2&e){const e=i.MAs(12);i.xp6(1),i.Q6J("ngIf",t.navigation&&t.showNavigation),i.xp6(1),i.Q6J("ngIf",t.scrollbar&&t.showScrollbar),i.xp6(1),i.Q6J("ngIf",t.pagination&&t.showPagination),i.xp6(1),i.Q6J("ngClass",t.wrapperClass),i.uIk("id",t.id),i.xp6(2),i.Q6J("ngTemplateOutlet",e)("ngTemplateOutletContext",i.VKq(11,A,t.prependSlides)),i.xp6(1),i.Q6J("ngTemplateOutlet",e)("ngTemplateOutletContext",i.VKq(13,D,t.activeSlides)),i.xp6(1),i.Q6J("ngTemplateOutlet",e)("ngTemplateOutletContext",i.VKq(15,P,t.appendSlides))}},directives:[r.O5,r.mk,r.tP,r.sg,r.RF,r.n9,r.ED],pipes:[r.Ov],styles:["\n swiper {\n display: block;\n }\n "],encapsulation:2,changeDetection:0}),e})(),z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[r.ez]]}),e})()},34088:(e,t,n)=>{"use strict";function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(e={},t={}){Object.keys(t).forEach(n=>{void 0===e[n]?e[n]=t[n]:i(t[n])&&i(e[n])&&Object.keys(t[n]).length>0&&r(e[n],t[n])})}n.d(t,{Qr:()=>Z,W_:()=>W,tl:()=>G,ZP:()=>V});const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){const e="undefined"!=typeof document?document:{};return r(e,s),e}const a={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return r(e,a),e}class c extends Array{constructor(e){super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this)}}function u(e=[]){const t=[];return e.forEach(e=>{Array.isArray(e)?t.push(...u(e)):t.push(e)}),t}function d(e,t){return Array.prototype.filter.call(e,t)}function h(e,t){const n=l(),i=o();let r=[];if(!t&&e instanceof c)return e;if(!e)return new c(r);if("string"==typeof e){const n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let e="div";0===n.indexOf("e.split(" ")));return this.forEach(e=>{e.classList.add(...t)}),this},removeClass:function(...e){const t=u(e.map(e=>e.split(" ")));return this.forEach(e=>{e.classList.remove(...t)}),this},hasClass:function(...e){const t=u(e.map(e=>e.split(" ")));return d(this,e=>t.filter(t=>e.classList.contains(t)).length>0).length>0},toggleClass:function(...e){const t=u(e.map(e=>e.split(" ")));this.forEach(e=>{t.forEach(t=>{e.classList.toggle(t)})})},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=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)):i||(s.removeEventListener(e,n.proxyListener,r),o.splice(t,1))}}}return this},trigger:function(...e){const t=l(),n=e[0].split(" "),i=e[1];for(let r=0;rt>0),r.dispatchEvent(n),r.dom7EventData=[],delete r.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",function n(i){i.target===this&&(e.call(this,i),t.off("transitionend",n))}),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},styles:function(){const e=l();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=l(),t=o(),n=this[0],i=n.getBoundingClientRect(),r=t.body;return{top:i.top+(n===e?e.scrollY:n.scrollTop)-(n.clientTop||r.clientTop||0),left:i.left+(n===e?e.scrollX:n.scrollLeft)-(n.clientLeft||r.clientLeft||0)}}return null},css:function(e,t){const n=l();let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i{e.apply(t,[t,n])}),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return h([]);if(e<0){const n=t+e;return h(n<0?[]:[this[n]])}return h([this[e]])},append:function(...e){let t;const n=o();for(let i=0;i=0;i-=1)this[n].insertBefore(r.childNodes[i],this[n].childNodes[0])}else if(e instanceof c)for(i=0;i0?e?this[0].nextElementSibling&&h(this[0].nextElementSibling).is(e)?h([this[0].nextElementSibling]):h([]):h(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):h([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return h([]);for(;n.nextElementSibling;){const i=n.nextElementSibling;e?h(i).is(e)&&t.push(i):t.push(i),n=i}return h(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&h(t.previousElementSibling).is(e)?h([t.previousElementSibling]):h([]):h(t.previousElementSibling?[t.previousElementSibling]:[])}return h([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return h([]);for(;n.previousElementSibling;){const i=n.previousElementSibling;e?h(i).is(e)&&t.push(i):t.push(i),n=i}return h(t)},parent:function(e){const t=[];for(let n=0;n{Object.defineProperty(h.fn,e,{value:m[e],writable:!0})});const g=h;function _(e,t=0){return setTimeout(e,t)}function v(){return Date.now()}function y(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function b(...e){const t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let r=1;rn.indexOf(e)<0);for(let n=0,i=e.length;nr?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{s=(new Date).getTime(),null===o&&(o=s);const l=Math.max(Math.min((s-o)/a,1),0),c=.5-Math.cos(l*Math.PI)/2;let h=r+c*(t-r);if(u(h,t)&&(h=t),e.wrapperEl.scrollTo({[n]:h}),u(h,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:h})}),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(d)};d()}let S,k,C;function M(){return S||(S=function(){const e=l(),t=o();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(n){}return t}(),gestures:"ongesturestart"in e}}()),S}const 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.__emitterProxy&&delete r.__emitterProxy,t.apply(i,n)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){const n=this;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},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].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===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),i.unshift(r),(Array.isArray(n)?n:n.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(r,[e,...i])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(r,i)})}),t}};function T({swiper:e,runCallbacks:t,direction:n,step:i}){const{activeIndex:r,previousIndex:s}=e;let o=n;if(o||(o=r>s?"next":r0)return;if(r.isTouched&&r.isMoved)return;s.noSwipingClass&&""!==s.noSwipingClass&&u.target&&u.target.shadowRoot&&e.path&&e.path[0]&&(d=g(e.path[0]));const h=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`;if(s.noSwiping&&(u.target&&u.target.shadowRoot?function(e,t=this){return function t(n){return n&&n!==o()&&n!==l()?(n.assignedSlot&&(n=n.assignedSlot),n.closest(e)||t(n.getRootNode().host)):null}(t)}(h,u.target):d.closest(h)[0]))return void(t.allowClick=!0);if(s.swipeHandler&&!d.closest(s.swipeHandler)[0])return;a.currentX="touchstart"===u.type?u.targetTouches[0].pageX:u.pageX,a.currentY="touchstart"===u.type?u.targetTouches[0].pageY:u.pageY;const p=a.currentX,f=a.currentY,m=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,_=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(m&&(p<=_||p>=i.innerWidth-_)){if("prevent"!==m)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=f,r.touchStartTime=v(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==u.type){let e=!0;d.is(r.focusableElements)&&(e=!1),n.activeElement&&g(n.activeElement).is(r.focusableElements)&&n.activeElement!==d[0]&&n.activeElement.blur();const i=e&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!i||d[0].isContentEditable||u.preventDefault()}t.emit("touchStart",u)}function D(e){const t=o(),n=this,i=n.touchEventsData,{params:r,touches:s,rtlTranslate:a,enabled:l}=n;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",c));if(i.isTouchEvent&&"touchmove"!==c.type)return;const u="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),d="touchmove"===c.type?u.pageX:c.pageX,h="touchmove"===c.type?u.pageY:c.pageY;if(c.preventedByNestedSwiper)return s.startX=d,void(s.startY=h);if(!n.allowTouchMove)return n.allowClick=!1,void(i.isTouched&&(Object.assign(s,{startX:d,startY:h,currentX:d,currentY:h}),i.touchStartTime=v()));if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(hs.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(ds.startX&&n.translate>=n.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&g(c.target).is(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);if(i.allowTouchCallbacks&&n.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;s.currentX=d,s.currentY=h;const p=s.currentX-s.startX,f=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(p**2+f**2)=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,i.isScrolling=n.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",c),void 0===i.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation(),i.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)),n.emit("sliderMove",c),i.isMoved=!0;let m=n.isHorizontal()?p:f;s.diff=m,m*=r.touchRatio,a&&(m=-m),n.swipeDirection=m>0?"prev":"next",i.currentTranslate=m+i.startTranslate;let _=!0,y=r.resistanceRatio;if(r.touchReleaseOnEdges&&(y=0),m>0&&i.currentTranslate>n.minTranslate()?(_=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+m)**y)):m<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(m)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,void(s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function P(e){const t=this,n=t.touchEventsData,{params:i,touches:r,rtlTranslate:s,slidesGrid:o,enabled:a}=t;if(!a)return;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 c=v(),u=c-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(l),t.emit("tap click",l),u<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)),n.lastClickTime=v(),_(()=>{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 d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=i.followFinger?s?t.translate:-t.translate:-n.currentTranslate,i.cssMode)return;if(t.params.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let h=0,p=t.slidesSizesGrid[0];for(let g=0;g=o[g]&&d=o[g]&&(h=g,p=o[o.length-1]-o[o.length-2])}const f=(d-o[h])/p,m=hi.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(f>=i.longSwipesRatio?h+m:h),"prev"===t.swipeDirection&&t.slideTo(f>1-i.longSwipesRatio?h+m:h)}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(h+m),"prev"===t.swipeDirection&&t.slideTo(h)):t.slideTo(l.target===t.navigation.nextEl?h+m:h)}}function L(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:s}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),e.slideTo(("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slides.length-1:e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function O(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function I(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let r;e.previousTranslate=e.translate,e.translate=e.isHorizontal()?-t.scrollLeft:-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();r=0===s?0:(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let R=!1;function Y(){}const F=(e,t)=>{const n=o(),{params:i,touchEvents:r,el:s,wrapperEl:a,device:l,support:c}=e,u=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",h=t;if(c.touch){const t=!("touchstart"!==r.start||!c.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};s[d](r.start,e.onTouchStart,t),s[d](r.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:u}:u),s[d](r.end,e.onTouchEnd,t),r.cancel&&s[d](r.cancel,e.onTouchEnd,t)}else s[d](r.start,e.onTouchStart,!1),n[d](r.move,e.onTouchMove,u),n[d](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&s[d]("click",e.onClick,!0),i.cssMode&&a[d]("scroll",e.onScroll),e[h](i.updateOnWindowResize?l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",L,!0)},j=(e,t)=>e.grid&&t.grid&&t.grid.rows>1,H={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,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,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-",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,_emitClasses:!1};function N(e,t){return function(n={}){const i=Object.keys(n)[0],r=n[i];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===e[i]&&(e[i]={auto:!0}),i in e&&"enabled"in r?(!0===e[i]&&(e[i]={enabled:!0}),"object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),b(t,n)):b(t,n)):b(t,n)}}const B={eventsEmitter:E,update:{updateSize:function(){const e=this;let t,n;const i=e.$el;t=null!=e.params.width?e.params.width:i[0].clientWidth,n=null!=e.params.height?e.params.height:i[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(i.css("padding-left")||0,10)-parseInt(i.css("padding-right")||0,10),n=n-parseInt(i.css("padding-top")||0,10)-parseInt(i.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const i=e.params,{$wrapperEl:r,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&i.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=r.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let h=[];const p=[],f=[];let m=i.slidesOffsetBefore;"function"==typeof m&&(m=i.slidesOffsetBefore.call(e));let g=i.slidesOffsetAfter;"function"==typeof g&&(g=i.slidesOffsetAfter.call(e));const _=e.snapGrid.length,v=e.slidesGrid.length;let y=i.spaceBetween,b=-m,x=0,S=0;if(void 0===s)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*s),e.virtualSize=-y,u.css(o?{marginLeft:"",marginBottom:"",marginTop:""}:{marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&(w(e.wrapperEl,"--swiper-centered-offset-before",""),w(e.wrapperEl,"--swiper-centered-offset-after",""));const k=i.grid&&i.grid.rows>1&&e.grid;let C;k&&e.grid.initSlides(d);const M="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(e=>void 0!==i.breakpoints[e].slidesPerView).length>0;for(let w=0;w1&&h.push(e.virtualSize-s)}if(0===h.length&&(h=[0]),0!==i.spaceBetween){const n=e.isHorizontal()&&o?"marginLeft":t("marginRight");u.filter((e,t)=>!i.cssMode||t!==u.length-1).css({[n]:`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;f.forEach(t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)}),e-=i.spaceBetween;const t=e-s;h=h.map(e=>e<0?-m:e>t?t+g:e)}if(i.centerInsufficientSlides){let e=0;if(f.forEach(t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)}),e-=i.spaceBetween,e{h[n]=e-t}),p.forEach((e,n)=>{p[n]=e+t})}}if(Object.assign(e,{slides:u,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){w(e.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),w(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}d!==c&&e.emit("slidesLengthChange"),h.length!==_&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==v&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset()},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let r,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>i?t.slides.filter(t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e)[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each(e=>{n.push(e)});else for(r=0;rt.slides.length&&!i)break;n.push(o(e))}else n.push(o(t.activeIndex));for(r=0;rs?e:s}s&&t.$wrapperEl.css("height",`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n=0&&c1&&u<=t.size||c<=0&&u>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(o),i.eq(o).addClass(n.slideVisibleClass)),e.progress=r?-l:l}t.visibleSlides=g(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,l=o;0===i?(r=0,s=!0,o=!0):(r=(e-t.minTranslate())/i,s=r<=0,o=r>=1),Object.assign(t,{progress:r,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!a&&t.emit("reachBeginning toEdge"),o&&!l&&t.emit("reachEnd toEdge"),(a&&!s||l&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:i,activeIndex:r,realIndex:s}=e,o=e.virtual&&n.virtual.enabled;let a;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),a=o?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${r}"]`):t.eq(r),a.addClass(n.slideActiveClass),n.loop&&(a.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${s}"]`).addClass(n.slideDuplicateActiveClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${s}"]`).addClass(n.slideDuplicateActiveClass));let l=a.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=a.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:i,snapGrid:r,params:s,activeIndex:o,realIndex:a,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e=i[e]&&n=i[e]&&n=i[e]&&(u=e);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(n)>=0)c=r.indexOf(n);else{const e=Math.min(s.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/s.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),u===o)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:o,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,i=g(e.target).closest(`.${n.slideClass}`)[0];let r,s=!1;if(i)for(let o=0;o6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix("none"===r?"":r)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=s.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=n.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}(r[0],e);return n&&(s=-s),s||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:r,$wrapperEl:s,wrapperEl:o,progress:a}=n;let l,c=0,u=0;n.isHorizontal()?c=i?-e:e:u=e,r.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),r.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:r.virtualTranslate||s.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(e-n.minTranslate())/d,l!==a&&n.updateProgress(e),n.emit("setTranslate",n.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 l=s.minTranslate(),c=s.maxTranslate();let u;if(u=i&&e>l?l:i&&e=l.length&&(g=l.length-1),(d||a.initialSlide||0)===(u||0)&&n&&s.emit("beforeSlideChangeStart");const _=-l[g];if(s.updateProgress(_),a.normalizeSlideIndex)for(let y=0;y=t&&e=t&&e=t&&(o=y)}if(s.initialized&&o!==d){if(!s.allowSlideNext&&_s.translate&&_>s.maxTranslate()&&(d||0)!==o)return!1}let v;if(v=o>d?"next":o{s.wrapperEl.style.scrollSnapType=""})}else{if(!s.support.smoothScroll)return x({swiper:s,targetPosition:n,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return 0===t?(s.setTransition(0),s.setTranslate(_),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(n,v),s.transitionEnd(n,v)):(s.setTransition(t),s.setTranslate(_),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(n,v),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,v))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,i){const r=this;let s=e;return r.params.loop&&(s+=r.loopedSlides),r.slideTo(s,t,n,i)},slideNext:function(e=this.params.speed,t=!0,n){const i=this,{animating:r,enabled:s,params:o}=i;if(!s)return i;let a=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndexu(e));let p=o[h.indexOf(d)-1];if(void 0===p&&r.cssMode){let e;o.forEach((t,n)=>{d>=t&&(e=n)}),void 0!==e&&(p=o[e>0?e-1:e])}let f=0;return void 0!==p&&(f=a.indexOf(p),f<0&&(f=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(f=f-i.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),i.slideTo(f,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),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const e=r.snapGrid[a];l-e>(r.snapGrid[a+1]-e)*i&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[a-1];l-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(g(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?se.slides.length-e.loopedSlides+i/2?(e.loopFix(),s=n.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),_(()=>{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(),_(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}},loop:{loopCreate:function(){const e=this,t=o(),{params:n,$wrapperEl:i}=e;i.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let r=i.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-r.length%n.slidesPerGroup;if(e!==n.slidesPerGroup){for(let r=0;rr.length&&(e.loopedSlides=r.length);const s=[],a=[];r.each((t,n)=>{const i=g(t);n=r.length-e.loopedSlides&&s.push(t),i.attr("data-swiper-slide-index",n)});for(let o=0;o=0;o-=1)i.prepend(g(s[o].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:i,allowSlidePrev:r,allowSlideNext:s,snapGrid:o,rtlTranslate:a}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-o[t]-e.getTranslate();t=n.length-i&&(l=-n.length+t+i,l+=i,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)),e.allowSlidePrev=r,e.allowSlideNext=s,e.emit("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")}},grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){const e=this,t=o(),{params:n,support:i}=e;e.onTouchStart=A.bind(e),e.onTouchMove=D.bind(e),e.onTouchEnd=P.bind(e),n.cssMode&&(e.onScroll=I.bind(e)),e.onClick=O.bind(e),i.touch&&!R&&(t.addEventListener("touchstart",Y),R=!0),F(e,"on")},detachEvents:function(){F(this,"off")}},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;const a=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const l=(a in o?o[a]:void 0)||e.originalParams,c=j(e,r),u=j(e,l),d=r.enabled;c&&!u?(s.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(s.addClass(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&s.addClass(`${r.containerModifierClass}grid-column`),e.emitContainerClasses());const h=l.direction&&l.direction!==r.direction,p=r.loop&&(l.slidesPerView!==r.slidesPerView||h);h&&n&&e.changeDirection(),b(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!f?e.disable():!d&&f&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",l),p&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let i=!1;const r=l(),s="window"===t?r.innerHeight:n.clientHeight,o=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let a=0;ae.slidesGrid[t]+e.slidesSizesGrid[t]+2*i}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,$el:r,device:s,support:o}=e,a=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"pointer-events":!o.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides}],n.containerModifierClass);t.push(...a),r.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,n,i,r,s){const o=l();let a;function c(){s&&s()}g(e).parent("picture")[0]||e.complete&&r?c():t?(a=new o.Image,a.onload=c,a.onerror=c,i&&(a.sizes=i),n&&(a.srcset=n),t&&(a.src=t)):c()},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;n1){const e=[];return g(n.el).each(t=>{const i=b({},n,{el:t});e.push(new z(i))}),e}const i=this;i.__swiper__=!0,i.support=M(),i.device=function(e={}){return k||(k=function({userAgent:e}={}){const t=M(),n=l(),i=n.navigator.platform,r=e||n.navigator.userAgent,s={ios:!1,android:!1},o=n.screen.width,a=n.screen.height,c=r.match(/(Android);?[\s\/]+([\d.]+)?/);let u=r.match(/(iPad).*OS\s([\d_]+)/);const d=r.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===i;let f="MacIntel"===i;return!u&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${a}`)>=0&&(u=r.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),f=!1),c&&!p&&(s.os="android",s.android=!0),(u||h||d)&&(s.os="ios",s.ios=!0),s}(e)),k}({userAgent:n.userAgent}),i.browser=(C||(C=function(){const e=l();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),C),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],n.modules&&Array.isArray(n.modules)&&i.modules.push(...n.modules);const r={};i.modules.forEach(e=>{e({swiper:i,extendParams:N(n,r),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const s=b({},H,r);return i.params=b({},s,U,n),i.originalParams=b({},i.params),i.passedParams=b({},n),i.params&&i.params.on&&Object.keys(i.params.on).forEach(e=>{i.on(e,i.params.on[e])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),i.$=g,Object.assign(i,{enabled:i.params.enabled,el:t,classNames:[],slides:g(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===i.params.direction,isVertical:()=>"vertical"===i.params.direction,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"],t=["pointerdown","pointermove","pointerup"];return 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]},i.support.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,focusableElements:i.params.focusableElements,lastClickTime:v(),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.emit("_swiper"),i.params.init&&i.init(),i}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),r=n.maxTranslate();n.translateTo((r-i)*e+i,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each(n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:i,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if(n.centeredSlides){let e,t=i[a].swiperSlideSize;for(let n=a+1;no&&(e=!0));for(let n=a-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let c=a+1;c=0;c-=1)r[a]-r[c]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,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${i}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}mount(e){const t=this;if(t.mounted)return!0;const n=g(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=g(e.shadowRoot.querySelector(i()));return t.children=e=>n.children(e),t}return n.children(i())})();if(0===r.length&&t.params.createElements){const e=o().createElement("div");r=g(e),e.className=t.params.wrapperClass,n.append(e),n.children(`.${t.params.slideClass}`).each(e=>{r.append(e)})}return Object.assign(t,{$el:n,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.slideTo(t.params.loop?t.params.initialSlide+t.loopedSlides:t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}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,function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){b(U,e)}static get extendedDefaults(){return U}static get defaults(){return H}static installModule(e){z.prototype.__modules__||(z.prototype.__modules__=[]);const t=z.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>z.installModule(e)),z):(z.installModule(e),z)}}Object.keys(B).forEach(e=>{Object.keys(B[e]).forEach(t=>{z.prototype[t]=B[e][t]})}),z.use([function({swiper:e,on:t,emit:n}){const i=l();let r=null;const s=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==i.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver(t=>{const{width:n,height:i}=e;let r=n,o=i;t.forEach(({contentBoxSize:t,contentRect:n,target:i})=>{i&&i!==e.el||(r=n?n.width:(t[0]||t).inlineSize,o=n?n.height:(t[0]||t).blockSize)}),r===n&&o===i||s()}),r.observe(e.el)):(i.addEventListener("resize",s),i.addEventListener("orientationchange",o))}),t("destroy",()=>{r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),i.removeEventListener("resize",s),i.removeEventListener("orientationchange",o)})},function({swiper:e,extendParams:t,on:n,emit:i}){const r=[],s=l(),o=(e,t={})=>{const n=new(s.MutationObserver||s.WebkitMutationObserver)(e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)});n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(n)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)})}]);const V=z;function q(e,t,n,i){const r=o();return e.params.createElements&&Object.keys(i).forEach(s=>{if(!n[s]&&!0===n.auto){let o=e.$el.children(`.${i[s]}`)[0];o||(o=r.createElement("div"),o.className=i[s],e.$el.append(o)),n[s]=o,t[s]=o}}),n}function W({swiper:e,extendParams:t,on:n,emit:i}){function r(t){let n;return t&&(n=g(t),e.params.uniqueNavElements&&"string"==typeof t&&n.length>1&&1===e.$el.find(t).length&&(n=e.$el.find(t))),n}function s(t,n){const i=e.params.navigation;t&&t.length>0&&(t[n?"addClass":"removeClass"](i.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=n),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](i.lockClass))}function o(){if(e.params.loop)return;const{$nextEl:t,$prevEl:n}=e.navigation;s(n,e.isBeginning),s(t,e.isEnd)}function a(t){t.preventDefault(),e.isBeginning&&!e.params.loop||e.slidePrev()}function l(t){t.preventDefault(),e.isEnd&&!e.params.loop||e.slideNext()}function c(){const t=e.params.navigation;if(e.params.navigation=q(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const n=r(t.nextEl),i=r(t.prevEl);n&&n.length>0&&n.on("click",l),i&&i.length>0&&i.on("click",a),Object.assign(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:i,prevEl:i&&i[0]}),e.enabled||(n&&n.addClass(t.lockClass),i&&i.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",a),n.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",()=>{c(),o()}),n("toEdge fromEdge lock unlock",()=>{o()}),n("destroy",()=>{u()}),n("enable disable",()=>{const{$nextEl:t,$prevEl:n}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)}),n("click",(t,n)=>{const{$nextEl:r,$prevEl:s}=e.navigation,o=n.target;if(e.params.navigation.hideOnClick&&!g(o).is(s)&&!g(o).is(r)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;r?t=r.hasClass(e.params.navigation.hiddenClass):s&&(t=s.hasClass(e.params.navigation.hiddenClass)),i(!0===t?"navigationShow":"navigationHide"),r&&r.toggleClass(e.params.navigation.hiddenClass),s&&s.toggleClass(e.params.navigation.hiddenClass)}}),Object.assign(e.navigation,{update:o,init:c,destroy:u})}function $(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function G({swiper:e,extendParams:t,on:n,emit:i}){const r="swiper-pagination";let s;t({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:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`}}),e.pagination={el:null,$el:null,bullets:[]};let o=0;function a(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,n){const{bulletActiveClass:i}=e.params.pagination;t[n]().addClass(`${i}-${n}`)[n]().addClass(`${i}-${n}-${n}`)}function c(){const t=e.rtl,n=e.params.pagination;if(a())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el;let u;const d=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>d-1&&(u-=d),u<0&&"bullets"!==e.params.paginationType&&(u=d+u)):u=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 r,a,d;if(n.dynamicBullets&&(s=i.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",s*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(o+=u-e.previousIndex,o>n.dynamicMainBullets-1?o=n.dynamicMainBullets-1:o<0&&(o=0)),r=u-o,a=r+(Math.min(i.length,n.dynamicMainBullets)-1),d=(a+r)/2),i.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`).join(" ")),c.length>1)i.each(e=>{const t=g(e),i=t.index();i===u&&t.addClass(n.bulletActiveClass),n.dynamicBullets&&(i>=r&&i<=a&&t.addClass(`${n.bulletActiveClass}-main`),i===r&&l(t,"prev"),i===a&&l(t,"next"))});else{const t=i.eq(u),s=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=i.eq(r),o=i.eq(a);for(let e=r;e<=a;e+=1)i.eq(e).addClass(`${n.bulletActiveClass}-main`);if(e.params.loop)if(s>=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 l(t,"prev"),l(o,"next");else l(t,"prev"),l(o,"next")}}if(n.dynamicBullets){const r=Math.min(i.length,n.dynamicMainBullets+4),o=(s*r-s)/2-d*s,a=t?"right":"left";i.css(e.isHorizontal()?a:"top",`${o}px`)}}if("fraction"===n.type&&(c.find($(n.currentClass)).text(n.formatFractionCurrent(u+1)),c.find($(n.totalClass)).text(n.formatFractionTotal(d))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const i=(u+1)/d;let r=1,s=1;"horizontal"===t?r=i:s=i,c.find($(n.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${s})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(c.html(n.renderCustom(e,u+1,d)),i("paginationRender",c[0])):i("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](n.lockClass)}function u(){const t=e.params.pagination;if(a())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el;let s="";if("bullets"===t.type){let i=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&i>n&&(i=n);for(let n=0;n`;r.html(s),e.pagination.bullets=r.find($(t.bulletClass))}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,r.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,r.html(s)),"custom"!==t.type&&i("paginationRender",e.pagination.$el[0])}function d(){e.params.pagination=q(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n=g(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el),n.length>1&&(n=n.filter(t=>g(t).parents(".swiper")[0]===e.el))),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),n.addClass(t.modifierClass+e.params.direction),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),o=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=g(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)}),Object.assign(e.pagination,{$el:n,el:n[0]}),e.enabled||n.addClass(t.lockClass))}function h(){const t=e.params.pagination;if(a())return;const n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),n.removeClass(t.modifierClass+e.params.direction),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",$(t.bulletClass))}n("init",()=>{d(),u(),c()}),n("activeIndexChange",()=>{(e.params.loop||void 0===e.snapIndex)&&c()}),n("snapIndexChange",()=>{e.params.loop||c()}),n("slidesLengthChange",()=>{e.params.loop&&(u(),c())}),n("snapGridLengthChange",()=>{e.params.loop||(u(),c())}),n("destroy",()=>{h()}),n("enable disable",()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)}),n("lock unlock",()=>{c()}),n("click",(t,n)=>{const r=n.target,{$el:s}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&s.length>0&&!g(r).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&r===e.navigation.nextEl||e.navigation.prevEl&&r===e.navigation.prevEl))return;const t=s.hasClass(e.params.pagination.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),s.toggleClass(e.params.pagination.hiddenClass)}}),Object.assign(e.pagination,{render:u,update:c,init:d,destroy:h})}function Z({swiper:e,extendParams:t,on:n}){function i(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}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},n("beforeInit",()=>{e.controller.control=e.params.controller.control}),n("update",()=>{r()}),n("resize",()=>{r()}),n("observerUpdate",()=>{r()}),n("setTranslate",(t,n,i)=>{e.controller.control&&e.controller.setTranslate(n,i)}),n("setTransition",(t,n,i)=>{e.controller.control&&e.controller.setTransition(n,i)}),Object.assign(e.controller,{setTranslate:function(t,n){const r=e.controller.control;let s,o;const a=e.constructor;function l(t){const n=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(function(t){e.controller.spline||(e.controller.spline=e.params.loop?new i(e.slidesGrid,t.slidesGrid):new i(e.snapGrid,t.snapGrid))}(t),o=-e.controller.spline.interpolate(-n)),o&&"container"!==e.params.controller.by||(s=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),o=(n-e.minTranslate())*s+t.minTranslate()),e.params.controller.inverse&&(o=t.maxTranslate()-o),t.updateProgress(o),t.setTranslate(o,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(r))for(let e=0;e{n.updateAutoHeight()}),n.$wrapperEl.transitionEnd(()=>{r&&(n.params.loop&&"slide"===e.params.controller.by&&n.loopFix(),n.transitionEnd())}))}if(Array.isArray(r))for(s=0;s{var i;!function(r){var s=/^\s+/,o=/\s+$/,a=0,l=r.round,c=r.min,u=r.max,d=r.random;function h(e,t){if(t=t||{},(e=e||"")instanceof h)return e;if(!(this instanceof h))return new h(e,t);var n=function(e){var t,n,i={r:0,g:0,b:0},a=1,l=null,d=null,h=null,p=!1,f=!1;return"string"==typeof e&&(e=function(e){e=e.replace(s,"").replace(o,"").toLowerCase();var t,n=!1;if(D[e])e=D[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=z.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=z.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=z.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=z.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=z.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=z.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=z.hex8.exec(e))?{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:H(t[4]),format:n?"name":"hex8"}:(t=z.hex6.exec(e))?{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"}:(t=z.hex4.exec(e))?{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:H(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=z.hex3.exec(e))&&{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(V(e.r)&&V(e.g)&&V(e.b)?(t=e.g,n=e.b,i={r:255*O(e.r,255),g:255*O(t,255),b:255*O(n,255)},p=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):V(e.h)&&V(e.s)&&V(e.v)?(l=F(e.s),d=F(e.v),i=function(e,t,n){e=6*O(e,360),t=O(t,100),n=O(n,100);var i=r.floor(e),s=e-i,o=n*(1-t),a=n*(1-s*t),l=n*(1-(1-s)*t),c=i%6;return{r:255*[n,a,o,o,l,n][c],g:255*[l,n,n,a,o,o][c],b:255*[o,o,l,n,n,a][c]}}(e.h,l,d),p=!0,f="hsv"):V(e.h)&&V(e.s)&&V(e.l)&&(l=F(e.s),h=F(e.l),i=function(e,t,n){var i,r,s;function o(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=O(e,360),t=O(t,100),n=O(n,100),0===t)i=r=s=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=o(l,a,e+1/3),r=o(l,a,e),s=o(l,a,e-1/3)}return{r:255*i,g:255*r,b:255*s}}(e.h,l,h),p=!0,f="hsl"),e.hasOwnProperty("a")&&(a=e.a)),a=L(a),{ok:p,format:e.format||f,r:c(255,u(i.r,0)),g:c(255,u(i.g,0)),b:c(255,u(i.b,0)),a:a}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=a++}function p(e,t,n){e=O(e,255),t=O(t,255),n=O(n,255);var i,r,s=u(e,t,n),o=c(e,t,n),a=(s+o)/2;if(s==o)i=r=0;else{var l=s-o;switch(r=a>.5?l/(2-s-o):l/(s+o),s){case e:i=(t-n)/l+(t>1)+720)%360;--t;)i.h=(i.h+r)%360,s.push(h(i));return s}function A(e,t){t=t||6;for(var n=h(e).toHsv(),i=n.h,r=n.s,s=n.v,o=[],a=1/t;t--;)o.push(h({h:i,s:r,v:s})),s=(s+a)%1;return o}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,i=this.toRgb();return t=i.g/255,n=i.b/255,.2126*((e=i.r/255)<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),i=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+i+"%)":"hsva("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),i=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+i+"%)":"hsla("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,i,r){var s=[Y(l(e).toString(16)),Y(l(t).toString(16)),Y(l(n).toString(16)),Y(j(i))];return r&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)&&s[3].charAt(0)==s[3].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*O(this._r,255))+"%",g:l(100*O(this._g,255))+"%",b:l(100*O(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*O(this._r,255))+"%, "+l(100*O(this._g,255))+"%, "+l(100*O(this._b,255))+"%)":"rgba("+l(100*O(this._r,255))+"%, "+l(100*O(this._g,255))+"%, "+l(100*O(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,i=this._gradientType?"GradientType = 1, ":"";if(e){var r=h(e);n="#"+g(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1;return t||!(this._a<1&&this._a>=0)||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(b,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(T,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(E,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(M,arguments)}},h.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]="a"===i?e[i]:F(e[i]));e=n}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:d(),g:d(),b:d()})},h.mix=function(e,t,n){n=0===n?0:n||50;var i=h(e).toRgb(),r=h(t).toRgb(),s=n/100;return h({r:(r.r-i.r)*s+i.r,g:(r.g-i.g)*s+i.g,b:(r.b-i.b)*s+i.b,a:(r.a-i.a)*s+i.a})},h.readability=function(e,t){var n=h(e),i=h(t);return(r.max(n.getLuminance(),i.getLuminance())+.05)/(r.min(n.getLuminance(),i.getLuminance())+.05)},h.isReadable=function(e,t,n){var i,r,s,o,a,l=h.readability(e,t);switch(r=!1,(s=n,"AA"!==(o=((s=s||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==o&&(o="AA"),"small"!==(a=(s.size||"small").toLowerCase())&&"large"!==a&&(a="small"),i={level:o,size:a}).level+i.size){case"AAsmall":case"AAAlarge":r=l>=4.5;break;case"AAlarge":r=l>=3;break;case"AAAsmall":r=l>=7}return r},h.mostReadable=function(e,t,n){var i,r,s,o,a=null,l=0;r=(n=n||{}).includeFallbackColors,s=n.level,o=n.size;for(var c=0;cl&&(l=i,a=h(t[c]));return h.isReadable(e,a,{level:s,size:o})||!r?a:(n.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],n))};var D=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(D);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function O(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return c(1,u(0,e))}function R(e){return parseInt(e,16)}function Y(e){return 1==e.length?"0"+e:""+e}function F(e){return e<=1&&(e=100*e+"%"),e}function j(e){return r.round(255*parseFloat(e)).toString(16)}function H(e){return R(e)/255}var N,B,U,z=(B="[\\s|\\(]+("+(N="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",U="[\\s|\\(]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",{CSS_UNIT:new RegExp(N),rgb:new RegExp("rgb"+B),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+B),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+B),hsva:new RegExp("hsva"+U),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function V(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=h:void 0===(i=(function(){return h}).call(t,n,t,e))||(e.exports=i)}(Math)},73010:(e,t,n)=>{"use strict";function i(e,t){return t=t||{},new Promise(function(n,i){var r=new XMLHttpRequest,s=[],o=[],a={},l=function(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:l,headers:{keys:function(){return s},entries:function(){return o},get:function(e){return a[e.toLowerCase()]},has:function(e){return e.toLowerCase()in a}}}};for(var c in r.open(t.method||"get",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(e,t,n){s.push(t=t.toLowerCase()),o.push([t,n]),a[t]=a[t]?a[t]+","+n:n}),n(l())},r.onerror=i,r.withCredentials="include"==t.credentials,t.headers)r.setRequestHeader(c,t.headers[c]);r.send(t.body||null)})}n.r(t),n.d(t,{default:()=>i})},92810:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n1){t[0]=t[0].slice(0,-1);for(var i=t.length-1,r=1;r= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,g=String.fromCharCode;function _(e){throw new RangeError(f[e])}function v(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+function(e,t){for(var n=[],i=e.length;i--;)n[i]=t(e[i]);return n}((e=e.replace(p,".")).split("."),t).join(".")}var y=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},b=function(e,t,n){var i=0;for(e=n?m(e/700):e>>1,e+=m(e/t);e>455;i+=u)e=m(e/35);return m(i+36*e/(e+38))},w=function(e){return v(e,function(e){return h.test(e)?"xn--"+function(e){var t=[],n=(e=function(e){for(var t=[],n=0,i=e.length;n=55296&&r<=56319&&n=i&&Em((c-r)/T)&&_("overflow"),r+=(w-i)*T,i=w;var A=!0,D=!1,P=void 0;try{for(var L,O=e[Symbol.iterator]();!(A=(L=O.next()).done);A=!0){var I=L.value;if(Ic&&_("overflow"),I==i){for(var R=r,Y=u;;Y+=u){var F=Y<=s?1:Y>=s+26?26:Y-s;if(R=128&&_("not-basic"),n.push(e.charCodeAt(l));for(var d=a>0?a+1:0;d=i&&_("invalid-input");var g=(t=e.charCodeAt(d++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:u;(g>=u||g>m((c-r)/p))&&_("overflow"),r+=g*p;var v=f<=o?1:f>=o+26?26:f-o;if(gm(c/y)&&_("overflow"),p*=y}var w=n.length+1;o=b(r-h,w,0==h),m(r/w)>c-s&&_("overflow"),s+=m(r/w),r%=w,n.splice(r++,0,s)}return String.fromCodePoint.apply(String,n)}(e.slice(4).toLowerCase()):e})},S={};function k(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function C(e){for(var t="",n=0,i=e.length;n=194&&r<224){if(i-n>=6){var s=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&r)<<6|63&s)}else t+=e.substr(n,6);n+=6}else if(r>=224){if(i-n>=9){var o=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function M(e,t){function n(e){var n=C(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,k).replace(t.PCT_ENCODED,r)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,k).replace(t.PCT_ENCODED,r)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,k).replace(t.PCT_ENCODED,r)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,k).replace(t.PCT_ENCODED,r)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,k).replace(t.PCT_ENCODED,r)),e}function E(e){return e.replace(/^0*(.*)/,"$1")||"0"}function T(e,t){var n=e.match(t.IPV4ADDRESS)||[],i=l(n,2)[1];return i?i.split(".").map(E).join("."):e}function A(e,t){var n=e.match(t.IPV6ADDRESS)||[],i=l(n,3),r=i[1],s=i[2];if(r){for(var o=r.toLowerCase().split("::").reverse(),a=l(o,2),c=a[0],u=a[1],d=u?u.split(":").map(E):[],h=c.split(":").map(E),p=t.IPV4ADDRESS.test(h[h.length-1]),f=p?7:8,m=h.length-f,g=Array(f),_=0;_1){var b=g.slice(0,v.index),w=g.slice(v.index+v.length);y=b.join(":")+"::"+w.join(":")}else y=g.join(":");return s&&(y+="%"+s),y}return e}var D=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,P=void 0==="".match(/(){0}/)[1];function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},i=!1!==t.iri?a:o;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var r=e.match(D);if(r){P?(n.scheme=r[1],n.userinfo=r[3],n.host=r[4],n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=r[7],n.fragment=r[8],isNaN(n.port)&&(n.port=r[5])):(n.scheme=r[1]||void 0,n.userinfo=-1!==e.indexOf("@")?r[3]:void 0,n.host=-1!==e.indexOf("//")?r[4]:void 0,n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=-1!==e.indexOf("?")?r[7]:void 0,n.fragment=-1!==e.indexOf("#")?r[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?r[4]:void 0)),n.host&&(n.host=A(T(n.host,i),i)),n.reference=void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?"relative":void 0===n.fragment?"absolute":"uri":"same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var s=S[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||s&&s.unicodeSupport)M(n,i);else{if(n.host&&(t.domainHost||s&&s.domainHost))try{n.host=w(n.host.replace(i.PCT_ENCODED,C).toLowerCase())}catch(l){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+l}M(n,o)}s&&s.parse&&s.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function O(e,t){var n=!1!==t.iri?a:o,i=[];return void 0!==e.userinfo&&(i.push(e.userinfo),i.push("@")),void 0!==e.host&&i.push(A(T(String(e.host),n),n).replace(n.IPV6ADDRESS,function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"})),"number"!=typeof e.port&&"string"!=typeof e.port||(i.push(":"),i.push(String(e.port))),i.length?i.join(""):void 0}var I=/^\.\.?\//,R=/^\/\.(\/|$)/,Y=/^\/\.\.(\/|$)/,F=/^\/?(?:.|\n)*?(?=\/|$)/;function j(e){for(var t=[];e.length;)if(e.match(I))e=e.replace(I,"");else if(e.match(R))e=e.replace(R,"/");else if(e.match(Y))e=e.replace(Y,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(F);if(!n)throw new Error("Unexpected dot segment condition");var i=n[0];e=e.slice(i.length),t.push(i)}return t.join("")}function H(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?a:o,i=[],r=S[(t.scheme||e.scheme||"").toLowerCase()];if(r&&r.serialize&&r.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||r&&r.domainHost)try{e.host=t.iri?x(e.host):w(e.host.replace(n.PCT_ENCODED,C).toLowerCase())}catch(c){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+c}M(e,n),"suffix"!==t.reference&&e.scheme&&(i.push(e.scheme),i.push(":"));var s=O(e,t);if(void 0!==s&&("suffix"!==t.reference&&i.push("//"),i.push(s),e.path&&"/"!==e.path.charAt(0)&&i.push("/")),void 0!==e.path){var l=e.path;t.absolutePath||r&&r.absolutePath||(l=j(l)),void 0===s&&(l=l.replace(/^\/\//,"/%2F")),i.push(l)}return void 0!==e.query&&(i.push("?"),i.push(e.query)),void 0!==e.fragment&&(i.push("#"),i.push(e.fragment)),i.join("")}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i={};return arguments[3]||(e=L(H(e,n),n),t=L(H(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(i.scheme=t.scheme,i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=j(t.path||""),i.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=j(t.path||""),i.query=t.query):(t.path?("/"===t.path.charAt(0)?i.path=j(t.path):(i.path=void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:t.path:"/"+t.path,i.path=j(i.path)),i.query=t.query):(i.path=e.path,i.query=void 0!==t.query?t.query:e.query),i.userinfo=e.userinfo,i.host=e.host,i.port=e.port),i.scheme=e.scheme),i.fragment=t.fragment,i}function B(e,t){return e&&e.toString().replace(t&&t.iri?a.PCT_ENCODED:o.PCT_ENCODED,C)}var U={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},z={scheme:"https",domainHost:U.domainHost,parse:U.parse,serialize:U.serialize};function V(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var q={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=V(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(V(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),i=l(n,2),r=i[0],s=i[1];e.path=r&&"/"!==r?r:void 0,e.query=s,e.resourceName=void 0}return e.fragment=void 0,e}},W={scheme:"wss",domainHost:q.domainHost,parse:q.parse,serialize:q.serialize},$={},G="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Z="[0-9A-Fa-f]",K=n(n("%[EFef][0-9A-Fa-f]%"+Z+Z+"%"+Z+Z)+"|"+n("%[89A-Fa-f][0-9A-Fa-f]%"+Z+Z)+"|"+n("%"+Z+Z)),Q=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),J=new RegExp(G,"g"),X=new RegExp(K,"g"),ee=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Q),"g"),te=new RegExp(t("[^]",G,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),ne=te;function ie(e){var t=C(e);return t.match(J)?t:e}var re={scheme:"mailto",parse:function(e,t){var n=e,i=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var r=!1,s={},o=n.query.split("&"),a=0,l=o.length;a{"use strict";var i=n(40760),r=n(85487);function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.Qc=y;var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(96577);function y(e,t,n){if(e&&r.isObject(e)&&e instanceof s)return e;var i=new s;return i.parse(e,t,n),i}s.prototype.parse=function(e,t,n){if(!r.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),a=-1!==s&&s127?O+="x":O+=L[I];if(!O.match(p)){var Y=D.slice(0,E),F=D.slice(E+1),j=L.match(f);j&&(Y.push(j[1]),F.unshift(j[2])),F.length&&(y="/"+F.join(".")+y),this.hostname=Y.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),A||(this.hostname=i.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!m[x])for(E=0,P=u.length;E0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),n.search=e.search,n.query=e.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var S=w.slice(-1)[0],k=(n.host||e.host||w.length>1)&&("."===S||".."===S)||""===S,C=0,M=w.length;M>=0;M--)"."===(S=w[M])?w.splice(M,1):".."===S?(w.splice(M,1),C++):C&&(w.splice(M,1),C--);if(!y&&!b)for(;C--;C)w.unshift("..");!y||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),k&&"/"!==w.join("/").substr(-1)&&w.push("");var E,T=""===w[0]||w[0]&&"/"===w[0].charAt(0);return x&&(n.hostname=n.host=T?"":w.length?w.shift():"",(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),(y=y||n.host&&w.length)&&!T&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},s.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},85487:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},79031:(e,t,n)=>{var i=n(11465),r=n(86021),s=r;s.v1=i,s.v4=r,e.exports=s},2107:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var i=n||0;return[t[e[i++]],t[e[i++]],t[e[i++]],t[e[i++]],"-",t[e[i++]],t[e[i++]],"-",t[e[i++]],t[e[i++]],"-",t[e[i++]],t[e[i++]],"-",t[e[i++]],t[e[i++]],t[e[i++]],t[e[i++]],t[e[i++]],t[e[i++]]].join("")}},8381:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},11465:(e,t,n)=>{var i,r,s=n(8381),o=n(2107),a=0,l=0;e.exports=function(e,t,n){var c=t&&n||0,u=t||[],d=(e=e||{}).node||i,h=void 0!==e.clockseq?e.clockseq:r;if(null==d||null==h){var p=s();null==d&&(d=i=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==h&&(h=r=16383&(p[6]<<8|p[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:l+1,g=f-a+(m-l)/1e4;if(g<0&&void 0===e.clockseq&&(h=h+1&16383),(g<0||f>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=f,l=m,r=h;var _=(1e4*(268435455&(f+=122192928e5))+m)%4294967296;u[c++]=_>>>24&255,u[c++]=_>>>16&255,u[c++]=_>>>8&255,u[c++]=255&_;var v=f/4294967296*1e4&268435455;u[c++]=v>>>8&255,u[c++]=255&v,u[c++]=v>>>24&15|16,u[c++]=v>>>16&255,u[c++]=h>>>8|128,u[c++]=255&h;for(var y=0;y<6;++y)u[c+y]=d[y];return t||o(u)}},86021:(e,t,n)=>{var i=n(8381),r=n(2107);e.exports=function(e,t,n){var s=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||i)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var a=0;a<16;++a)t[s+a]=o[a];return t||r(o)}},7046:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__extends:()=>r,__assign:()=>s,__rest:()=>o,__decorate:()=>a,__param:()=>l,__metadata:()=>c,__awaiter:()=>u,__generator:()=>d,__createBinding:()=>h,__exportStar:()=>p,__values:()=>f,__read:()=>m,__spread:()=>g,__spreadArrays:()=>_,__await:()=>v,__asyncGenerator:()=>y,__asyncDelegator:()=>b,__asyncValues:()=>w,__makeTemplateObject:()=>x,__importStar:()=>S,__importDefault:()=>k,__classPrivateFieldGet:()=>C,__classPrivateFieldSet:()=>M});var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(r=e[a])&&(o=(s<3?r(o):s>3?r(t,n,o):r(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function l(e,t){return function(n,i){t(n,i,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(t){s(t)}}function a(e){try{l(i.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}function d(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function g(){for(var e=[],t=0;t1||a(e,t)})})}function a(e,t){try{(n=r[e](t)).value instanceof v?Promise.resolve(n.value.v).then(l,c):u(s[0][2],n)}catch(i){u(s[0][3],i)}var n}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function b(e){var t,n;return t={},i("next"),i("throw",function(e){throw e}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,r){t[i]=e[i]?function(t){return(n=!n)?{value:v(e[i](t)),done:"return"===i}:r?r(t):t}:r}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){!function(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)}(i,r,(t=e[n](t)).done,t.value)})}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function k(e){return e&&e.__esModule?e:{default:e}}function C(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function M(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},95952:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__extends:()=>r,__assign:()=>s,__rest:()=>o,__decorate:()=>a,__param:()=>l,__metadata:()=>c,__awaiter:()=>u,__generator:()=>d,__createBinding:()=>h,__exportStar:()=>p,__values:()=>f,__read:()=>m,__spread:()=>g,__spreadArrays:()=>_,__await:()=>v,__asyncGenerator:()=>y,__asyncDelegator:()=>b,__asyncValues:()=>w,__makeTemplateObject:()=>x,__importStar:()=>S,__importDefault:()=>k,__classPrivateFieldGet:()=>C,__classPrivateFieldSet:()=>M});var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(r=e[a])&&(o=(s<3?r(o):s>3?r(t,n,o):r(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function l(e,t){return function(n,i){t(n,i,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(t){s(t)}}function a(e){try{l(i.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}function d(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function g(){for(var e=[],t=0;t1||a(e,t)})})}function a(e,t){try{(n=r[e](t)).value instanceof v?Promise.resolve(n.value.v).then(l,c):u(s[0][2],n)}catch(i){u(s[0][3],i)}var n}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function b(e){var t,n;return t={},i("next"),i("throw",function(e){throw e}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,r){t[i]=e[i]?function(t){return(n=!n)?{value:v(e[i](t)),done:"return"===i}:r?r(t):t}:r}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){!function(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)}(i,r,(t=e[n](t)).done,t.value)})}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function k(e){return e&&e.__esModule?e:{default:e}}function C(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function M(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},31235:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__extends:()=>r,__assign:()=>s,__rest:()=>o,__decorate:()=>a,__param:()=>l,__metadata:()=>c,__awaiter:()=>u,__generator:()=>d,__createBinding:()=>h,__exportStar:()=>p,__values:()=>f,__read:()=>m,__spread:()=>g,__spreadArrays:()=>_,__await:()=>v,__asyncGenerator:()=>y,__asyncDelegator:()=>b,__asyncValues:()=>w,__makeTemplateObject:()=>x,__importStar:()=>S,__importDefault:()=>k,__classPrivateFieldGet:()=>C,__classPrivateFieldSet:()=>M});var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(r=e[a])&&(o=(s<3?r(o):s>3?r(t,n,o):r(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function l(e,t){return function(n,i){t(n,i,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(t){s(t)}}function a(e){try{l(i.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}function d(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function g(){for(var e=[],t=0;t1||a(e,t)})})}function a(e,t){try{(n=r[e](t)).value instanceof v?Promise.resolve(n.value.v).then(l,c):u(s[0][2],n)}catch(i){u(s[0][3],i)}var n}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function b(e){var t,n;return t={},i("next"),i("throw",function(e){throw e}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,r){t[i]=e[i]?function(t){return(n=!n)?{value:v(e[i](t)),done:"return"===i}:r?r(t):t}:r}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){!function(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)}(i,r,(t=e[n](t)).done,t.value)})}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function k(e){return e&&e.__esModule?e:{default:e}}function C(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function M(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},64762:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>r,pi:()=>s,mG:()=>o,Jh:()=>a,CR:()=>l});var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}},66835:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},40038:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},12483:(e,t,n)=>{"use strict";function i(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(t){s(t)}}function a(e){try{l(i.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}n.d(t,{mG:()=>i}),"function"==typeof SuppressedError&&SuppressedError},46700:(e,t,n)=>{var i={"./af":90776,"./af.js":90776,"./ar":67634,"./ar-dz":42758,"./ar-dz.js":42758,"./ar-kw":64980,"./ar-kw.js":64980,"./ar-ly":9602,"./ar-ly.js":9602,"./ar-ma":52500,"./ar-ma.js":52500,"./ar-sa":36909,"./ar-sa.js":36909,"./ar-tn":92735,"./ar-tn.js":92735,"./ar.js":67634,"./az":27798,"./az.js":27798,"./be":29949,"./be.js":29949,"./bg":44590,"./bg.js":44590,"./bm":15938,"./bm.js":15938,"./bn":60595,"./bn-bd":51942,"./bn-bd.js":51942,"./bn.js":60595,"./bo":4756,"./bo.js":4756,"./br":17277,"./br.js":17277,"./bs":4166,"./bs.js":4166,"./ca":13943,"./ca.js":13943,"./cs":53474,"./cs.js":53474,"./cv":92218,"./cv.js":92218,"./cy":21061,"./cy.js":21061,"./da":82743,"./da.js":82743,"./de":31899,"./de-at":28580,"./de-at.js":28580,"./de-ch":3264,"./de-ch.js":3264,"./de.js":31899,"./dv":98784,"./dv.js":98784,"./el":54654,"./el.js":54654,"./en-au":56277,"./en-au.js":56277,"./en-ca":76896,"./en-ca.js":76896,"./en-gb":71609,"./en-gb.js":71609,"./en-ie":24557,"./en-ie.js":24557,"./en-il":15836,"./en-il.js":15836,"./en-in":30262,"./en-in.js":30262,"./en-nz":43586,"./en-nz.js":43586,"./en-sg":38965,"./en-sg.js":38965,"./eo":62777,"./eo.js":62777,"./es":63357,"./es-do":3128,"./es-do.js":3128,"./es-mx":69179,"./es-mx.js":69179,"./es-us":83256,"./es-us.js":83256,"./es.js":63357,"./et":2654,"./et.js":2654,"./eu":57287,"./eu.js":57287,"./fa":73875,"./fa.js":73875,"./fi":73431,"./fi.js":73431,"./fil":39606,"./fil.js":39606,"./fo":41781,"./fo.js":41781,"./fr":61717,"./fr-ca":11539,"./fr-ca.js":11539,"./fr-ch":19847,"./fr-ch.js":19847,"./fr.js":61717,"./fy":42250,"./fy.js":42250,"./ga":47665,"./ga.js":47665,"./gd":85214,"./gd.js":85214,"./gl":36154,"./gl.js":36154,"./gom-deva":68222,"./gom-deva.js":68222,"./gom-latn":18518,"./gom-latn.js":18518,"./gu":89221,"./gu.js":89221,"./he":64743,"./he.js":64743,"./hi":77339,"./hi.js":77339,"./hr":13224,"./hr.js":13224,"./hu":50856,"./hu.js":50856,"./hy-am":76855,"./hy-am.js":76855,"./id":2190,"./id.js":2190,"./is":53887,"./is.js":53887,"./it":19270,"./it-ch":85890,"./it-ch.js":85890,"./it.js":19270,"./ja":46595,"./ja.js":46595,"./jv":93081,"./jv.js":93081,"./ka":27477,"./ka.js":27477,"./kk":13978,"./kk.js":13978,"./km":19205,"./km.js":19205,"./kn":60025,"./kn.js":60025,"./ko":50427,"./ko.js":50427,"./ku":79089,"./ku.js":79089,"./ky":19314,"./ky.js":19314,"./lb":23136,"./lb.js":23136,"./lo":29115,"./lo.js":29115,"./lt":27087,"./lt.js":27087,"./lv":95683,"./lv.js":95683,"./me":79454,"./me.js":79454,"./mi":35507,"./mi.js":35507,"./mk":98466,"./mk.js":98466,"./ml":82933,"./ml.js":82933,"./mn":19477,"./mn.js":19477,"./mr":43597,"./mr.js":43597,"./ms":85529,"./ms-my":99965,"./ms-my.js":99965,"./ms.js":85529,"./mt":30259,"./mt.js":30259,"./my":88061,"./my.js":88061,"./nb":72618,"./nb.js":72618,"./ne":28452,"./ne.js":28452,"./nl":1885,"./nl-be":60413,"./nl-be.js":60413,"./nl.js":1885,"./nn":45107,"./nn.js":45107,"./oc-lnc":71763,"./oc-lnc.js":71763,"./pa-in":702,"./pa-in.js":702,"./pl":31711,"./pl.js":31711,"./pt":10594,"./pt-br":58238,"./pt-br.js":58238,"./pt.js":10594,"./ro":74681,"./ro.js":74681,"./ru":16201,"./ru.js":16201,"./sd":62912,"./sd.js":62912,"./se":6002,"./se.js":6002,"./si":67942,"./si.js":67942,"./sk":25577,"./sk.js":25577,"./sl":41775,"./sl.js":41775,"./sq":36823,"./sq.js":36823,"./sr":59038,"./sr-cyrl":83848,"./sr-cyrl.js":83848,"./sr.js":59038,"./ss":96173,"./ss.js":96173,"./sv":5788,"./sv.js":5788,"./sw":76882,"./sw.js":76882,"./ta":82678,"./ta.js":82678,"./te":82797,"./te.js":82797,"./tet":52447,"./tet.js":52447,"./tg":31335,"./tg.js":31335,"./th":68667,"./th.js":68667,"./tk":9222,"./tk.js":9222,"./tl-ph":99914,"./tl-ph.js":99914,"./tlh":71389,"./tlh.js":71389,"./tr":3578,"./tr.js":3578,"./tzl":36969,"./tzl.js":36969,"./tzm":76509,"./tzm-latn":690,"./tzm-latn.js":690,"./tzm.js":76509,"./ug-cn":20055,"./ug-cn.js":20055,"./uk":22452,"./uk.js":22452,"./ur":91151,"./ur.js":91151,"./uz":31555,"./uz-latn":46547,"./uz-latn.js":46547,"./uz.js":31555,"./vi":16541,"./vi.js":16541,"./x-pseudo":42401,"./x-pseudo.js":42401,"./yo":2341,"./yo.js":2341,"./zh-cn":80619,"./zh-cn.js":80619,"./zh-hk":67058,"./zh-hk.js":67058,"./zh-mo":89141,"./zh-mo.js":89141,"./zh-tw":22782,"./zh-tw.js":22782};function r(e){var t=s(e);return n(t)}function s(e){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,e.exports=r,r.id=46700},56249:()=>{}},e=>{"use strict";e(e.s=89110)}]);