1(self.webpackChunktigerdesert9=self.webpackChunktigerdesert9||[]).push([[179],{8255:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=8255,t.exports=e},7238:(t,e,n)=>{"use strict";n.d(e,{l3:()=>r,_j:()=>s,LC:()=>i,ZN:()=>p,jt:()=>a,vP:()=>l,SB:()=>u,oB:()=>c,eR:()=>h,X$:()=>o,ZE:()=>f,k1:()=>m});class s{}class i{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function d(t){Promise.resolve(null).then(t)}class p{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){d(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class f{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,s=0;const i=this.players.length;0==i?d(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++s==i&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const m="!"},8583:(t,e,n)=>{"use strict";n.d(e,{mr:()=>b,Ov:()=>kt,ez:()=>Et,K0:()=>l,uU:()=>Tt,Do:()=>C,V_:()=>h,Ye:()=>S,S$:()=>y,mk:()=>lt,sg:()=>ut,O5:()=>dt,RF:()=>gt,n9:()=>_t,tP:()=>yt,b0:()=>w,lw:()=>c,EM:()=>At,JF:()=>Rt,NF:()=>Dt,w_:()=>a,bD:()=>xt,q:()=>r,Mx:()=>at,HT:()=>o});var s=n(3018);let i=null;function r(){return i}function o(t){i||(i=t)}class a{}const l=new s.OlP("DocumentToken");let c=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,s.LFG)(d)}const h=new s.OlP("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(l))},t.\u0275prov=(0,s.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,s.LFG)(l))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:v,token:t,providedIn:"root"}),t})();function v(t){const e=(0,s.LFG)(l).location;return new w((0,s.LFG)(c),e&&e.origin||"")}const b=new s.OlP("appBaseHref");let w=(()=>{class t extends y{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.on
1HashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,s){const i=this.prepareExternalUrl(n+_(s));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,s){const i=this.prepareExternalUrl(n+_(s));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c),s.LFG(b,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,s){let i=this.prepareExternalUrl(n+_(s));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,s){let i=this.prepareExternalUrl(n+_(s));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c),s.LFG(b,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t{constructor(t,e){this._subject=new s.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(T(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,T(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(y),s.LFG(c))},t.normalizeQueryParams=_,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=(0,s.Yz7)({factory:k,token:t,providedIn:"root"}),t})();function k(){return new S((0,s.LFG)(y),(0,s.LFG)(c))}function T(t){return t.replace(/\/index.html$/,"")}var E=(()=>((E=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))(),x=(()=>((x=x||{})[x.Format=0]="Format",x[x.Standalone=1]="Standalone",x))(),D=(()=>((D=D||{})[D.Narrow=0]="Narrow",D[D.Abbreviated=1]="Abbreviated",D[D.Wide=2]="Wide",D[D.Short=3]="Short",D))(),A=(()=>((A=A||{})[A.Short=0]="Short",A[A.Medium=1]="Medium",A[A.Long=2]="Long",A[A.Full=3]="Full",A))(),O=(()=>((O=O||{})[O.Decimal=0]="Decimal",O[O.Group=1]="Group",O[O.List=2]="List",O[O.PercentSign=3]="PercentSign",O[O.PlusSign=4]="PlusSign",O[O.MinusSign=5]="MinusSign",O[O.Exponential=6]="Exponential",O[O.SuperscriptingExponent=7]="SuperscriptingExponent",O[O.PerMille=8]="PerMille",O[O[1/0]=9]="Infinity",O[O.NaN=10]="NaN",O[O.TimeSeparator=11]="TimeSeparator",O[O.CurrencyDecimal=12]="CurrencyDecimal",O[O.CurrencyGroup=13]="CurrencyGroup",O))();function M(t,e){return L((0,s.cg1)(t)[s.wAp.DateFormat],e)}function R(t,e){return L((0,s.cg1)(t)[s.wAp.TimeFormat],e)}function I(t,e){return L((0,s.cg1)(t)[s.wAp.DateTimeFormat],e)}function P(t,e){const n=(0,s.cg1)(t),i=n[s.wAp.NumberSymbols][e];if(void 0===i){if(e===O.CurrencyDecimal)return n[s.wAp.NumberSymbols][O.Decimal];if(e===O.CurrencyGroup)return n[s.wAp.NumberSymbols][O.Group]}return i}const F=s.kL8;function N(t){if(!t[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function L(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function j(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const V=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,H={},U=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Y=(()=>((Y=Y||{})[Y.Short=0]="Short",Y[Y.ShortGMT=1]="ShortGMT",Y[Y.Long=2]="Long",Y[Y.Extended=3]="Extended",Y))(),B=(()=>((B=B||{})[B.FullYear=0]="FullYear",B[B.Month=1]="Month",B[B.Date=2]="Date",B[B.Hours=3]="Hours",B[B.Minutes=4]="Minutes",B[B.Seconds=5]="Seconds",B[B.FractionalSeconds=6]="FractionalSeconds",B[B.Day=7]="Day",B))(),q=(()=>((q=q||{})[q.DayPeriods=0]="DayPeriods",q[q.Days=1]="Days",q[q.Months=2]="Months",q[q.Eras=3]="Eras",q))();function Z(t,e,n,s){let i=function(t){if(it(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,n=1,s=1]=t.split("-").map(t=>+t);return $(e,n-1,s)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(V))return function(t){const e=new Date(0);let n=0,s=0;const i=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),s=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-s,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,l,c),e}(n)}const e=new Date(t);if(!it(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=z(n,e)||e;let r,o=[];for(;e;){if(r=U.exec(e),!r){o.push(e);break}{o=o.concat(r.slice(1));const t=o.pop();if(!t)break;e=t}}let a=i.getTimezoneOffset();s&&(a=st(s,a),i=function(t,e,n){const s=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(st(e,s)-s))}(i,s));let l="";return o.forEach(t=>{const e=function(t){if(nt[t])return nt[t];let e;switch(t){case"G":case"GG":case"GGG":e=Q(q.Eras,D.Abbreviated);break;case"GGGG":e=Q(q.Eras,D.Wide);break;case"GGGGG":e=Q(q.Eras,D.Narrow);break;case"y":e=J(B.FullYear,1,0,!1,!0);break;case"yy":e=J(B.FullYear,2,0,!0,!0);break;case"yyy":e=J(B.FullYear,3,0,!1,!0);break;case"yyyy":e=J(B.FullYear,4,0,!1,!0);break;case"Y":e=et(1);break;case"YY":e=et(2,!0);break;case"YYY":e=et(3);break;case"YYYY":e=et(4);break;case"M":case"L":e=J(B.Month,1,1);break;case"MM":case"LL":e=J(B.Month,2,1);break;case"MMM":e=Q(q.Months,D.Abbreviated);break;case"MMMM":e=Q(q.Months,D.Wide);break;case"MMMMM":e=Q(q.Months,D.Narrow);break;case"LLL":e=Q(q.Months,D.Abbreviated,x.Standalone);break;case"LLLL":e=Q(q.Months,D.Wide,x.Standalone);break;case"LLLLL":e=Q(q.Months,D.Narrow,x.Standalone);break;case"w":e=tt(1);break;case"ww":e=tt(2);break;case"W":e=tt(1,!0);break;case"d":e=J(B.Date,1);break;case"dd":e=J(B.Date,2);break;case"c":case"cc":e=J(B.Day,1);break;case"ccc":e=Q(q.Days,D.Abbreviated,x.Standalone);break;case"cccc":e=Q(q.Days,D.Wide,x.Standalone);break;case"ccccc":e=Q(q.Days,D.Narrow,x.Standalone);break;case"cccccc":e=Q(q.Days,D.Short,x.Standalone);break;case"E":case"EE":case"EEE":e=Q(q.Days,D.Abbreviated);break;case"EEEE":e=Q(q.Days,D.Wide);break;case"EEEEE":e=Q(q.Days,D.Narrow);break;case"EEEEEE":e=Q(q.Days,D.Short);break;case"a":case"aa":case"aaa":e=Q(q.DayPeriods,D.Abbreviated);break;case"aaaa":e=Q(q.DayPeriods,D.Wide);break;case"aaaaa":e=Q(q.DayPeriods,D.Narrow);break;
1case"b":case"bb":case"bbb":e=Q(q.DayPeriods,D.Abbreviated,x.Standalone,!0);break;case"bbbb":e=Q(q.DayPeriods,D.Wide,x.Standalone,!0);break;case"bbbbb":e=Q(q.DayPeriods,D.Narrow,x.Standalone,!0);break;case"B":case"BB":case"BBB":e=Q(q.DayPeriods,D.Abbreviated,x.Format,!0);break;case"BBBB":e=Q(q.DayPeriods,D.Wide,x.Format,!0);break;case"BBBBB":e=Q(q.DayPeriods,D.Narrow,x.Format,!0);break;case"h":e=J(B.Hours,1,-12);break;case"hh":e=J(B.Hours,2,-12);break;case"H":e=J(B.Hours,1);break;case"HH":e=J(B.Hours,2);break;case"m":e=J(B.Minutes,1);break;case"mm":e=J(B.Minutes,2);break;case"s":e=J(B.Seconds,1);break;case"ss":e=J(B.Seconds,2);break;case"S":e=J(B.FractionalSeconds,1);break;case"SS":e=J(B.FractionalSeconds,2);break;case"SSS":e=J(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=K(Y.Short);break;case"ZZZZZ":e=K(Y.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=K(Y.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=K(Y.Long);break;default:return null}return nt[t]=e,e}(t);l+=e?e(i,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function $(t,e,n){const s=new Date(0);return s.setFullYear(t,e,n),s.setHours(0,0,0),s}function z(t,e){const n=function(t){return(0,s.cg1)(t)[s.wAp.LocaleId]}(t);if(H[n]=H[n]||{},H[n][e])return H[n][e];let i="";switch(e){case"shortDate":i=M(t,A.Short);break;case"mediumDate":i=M(t,A.Medium);break;case"longDate":i=M(t,A.Long);break;case"fullDate":i=M(t,A.Full);break;case"shortTime":i=R(t,A.Short);break;case"mediumTime":i=R(t,A.Medium);break;case"longTime":i=R(t,A.Long);break;case"fullTime":i=R(t,A.Full);break;case"short":const e=z(t,"shortTime"),n=z(t,"shortDate");i=G(I(t,A.Short),[e,n]);break;case"medium":const s=z(t,"mediumTime"),r=z(t,"mediumDate");i=G(I(t,A.Medium),[s,r]);break;case"long":const o=z(t,"longTime"),a=z(t,"longDate");i=G(I(t,A.Long),[o,a]);break;case"full":const l=z(t,"fullTime"),c=z(t,"fullDate");i=G(I(t,A.Full),[l,c])}return i&&(H[n][e]=i),i}function G(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function W(t,e,n="-",s,i){let r="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,r=n));let o=String(t);for(;o.length<e;)o="0"+o;return s&&(o=o.substr(o.length-e)),r+o}function J(t,e,n=0,s=!1,i=!1){return function(r,o){let a=function(t,e){switch(t){case B.FullYear:return e.getFullYear();case B.Month:return e.getMonth();case B.Date:return e.getDate();case B.Hours:return e.getHours();case B.Minutes:return e.getMinutes();case B.Seconds:return e.getSeconds();case B.FractionalSeconds:return e.getMilliseconds();case B.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((n>0||a>-n)&&(a+=n),t===B.Hours)0===a&&-12===n&&(a=12);else if(t===B.FractionalSeconds)return l=e,W(a,3).substr(0,l);var l;const c=P(o,O.MinusSign);return W(a,e,c,s,i)}}function Q(t,e,n=x.Format,i=!1){return function(r,o){return function(t,e,n,i,r,o){switch(n){case q.Months:return function(t,e,n){const i=(0,s.cg1)(t),r=L([i[s.wAp.MonthsFormat],i[s.wAp.MonthsStandalone]],e);return L(r,n)}(e,r,i)[t.getMonth()];case q.Days:return function(t,e,n){const i=(0,s.cg1)(t),r=L([i[s.wAp.DaysFormat],i[s.wAp.DaysStandalone]],e);return L(r,n)}(e,r,i)[t.getDay()];case q.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(o){const t=function(t){const e=(0,s.cg1)(t);return N(e),(e[s.wAp.ExtraData][2]||[]).map(t=>"string"==typeof t?j(t):[j(t[0]),j(t[1])])}(e),n=function(t,e,n){const i=(0,s.cg1)(t);N(i);const r=L([i[s.wAp.ExtraData][0],i[s.wAp.ExtraData][1]],e)||[];return L(r,n)||[]}(e,r,i),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,s=a>=e.hours&&l>=e.minutes,i=a<n.hours||a===n.hours&&l<n.minutes;if(e.hours<n.hours){if(s&&i)return!0}else if(s||i)return!0}else if(t.hours===a&&t.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(t,e,n){const i=(0,s.cg1)(t),r=L([i[s.wAp.DayPeriodsFormat],i[s.wAp.DayPeriodsStandalone]],e);return L(r,n)}(e,r,i)[a<12?0:1];case q.Eras:return function(t,e){return L((0,s.cg1)(t)[s.wAp.Eras],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(r,o,t,e,n,i)}}function K(t){return function(e,n,s){const i=-1*s,r=P(n,O.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case Y.Short:return(i>=0?"+":"")+W(o,2,r)+W(Math.abs(i%60),2,r);case Y.ShortGMT:return"GMT"+(i>
vendor: 5,244 bytes, line 1
1=0?"+":"")+W(o,1,r);case Y.Long:return"GMT"+(i>=0?"+":"")+W(o,2,r)+":"+W(Math.abs(i%60),2,r);case Y.Extended:return 0===s?"Z":(i>=0?"+":"")+W(o,2,r)+":"+W(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function X(t){return $(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function tt(t,e=!1){return function(n,s){let i;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();i=1+Math.floor((e+t)/7)}else{const t=X(n),e=function(t){const e=$(t,0,1).getDay();return $(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),s=t.getTime()-e.getTime();i=1+Math.round(s/6048e5)}return W(i,t,P(s,O.MinusSign))}}function et(t,e=!1){return function(n,s){return W(X(n).getFullYear(),t,P(s,O.MinusSign),e)}}const nt={};function st(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function it(t){return t instanceof Date&&!isNaN(t.valueOf())}class rt{}let ot=(()=>{class t extends rt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(F(e||this.locale)(t)){case E.Zero:return"zero";case E.One:return"one";case E.Two:return"two";case E.Few:return"few";case E.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.soG))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function at(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[s,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(s.trim()===e)return decodeURIComponent(i)}return null}let lt=(()=>{class t{constructor(t,e,n,s){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,s.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,s.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class ct{constructor(t,e,n,s){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=s}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 ut=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,s)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new ct(null,this._ngForOf,-1,-1),null===s?void 0:s),i=new ht(t,n);e.push(i)}else if(null==s)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,s);const r=new ht(t,i);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,s=this._viewContainer.length;n<s;n++){const t=this._viewContainer.get(n);
1t.context.index=n,t.context.count=s,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ht{constructor(t,e){this.record=t,this.view=e}}let dt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){ft("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ft("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class pt{constructor(){this.$implicit=null,this.ngIf=null}}function ft(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,s.AaK)(e)}'.`)}class mt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let gt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),_t=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new mt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(gt,9))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),yt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[s.TTD]}),t})();function vt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,s.AaK)(t)}'`)}class bt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class wt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Ct=new wt,St=new bt;let kt=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,s.QGY)(e))return Ct;if((0,s.F4k)(e))return St;throw vt(t,e)}
1_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO,16))},t.\u0275pipe=s.Yjl({name:"async",type:t,pure:!1}),t})(),Tt=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",s,i){if(null==e||""===e||e!=e)return null;try{return Z(e,n,i||this.locale,s)}catch(r){throw vt(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.soG,16))},t.\u0275pipe=s.Yjl({name:"date",type:t,pure:!0}),t})(),Et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:rt,useClass:ot}]}),t})();const xt="browser";function Dt(t){return t===xt}let At=(()=>{class t{}return t.\u0275prov=(0,s.Yz7)({token:t,providedIn:"root",factory:()=>new Ot((0,s.LFG)(l),window)}),t})();class Ot{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let s=n.currentNode;for(;s;){const t=s.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}s=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,s=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],s-i[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Mt(this.window.history)||Mt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Mt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Rt{}},1841:(t,e,n)=>{"use strict";n.d(e,{eN:()=>D,JF:()=>U,WM:()=>d});var s=n(8583),i=n(3018),r=n(5917),o=n(8891),a=n(4612),l=n(5435),c=n(8002);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),s=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,s),this.headers.has(s)?this.headers.get(s).push(i):this.headers.set(s,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const s=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(s,n),this.maybeSetNormalizedName(e,s))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}
1copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const s=("a"===t.op?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function m(t){return`${t}`}class g{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const s=t.indexOf("="),[i,r]=-1==s?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,s)),e.decodeValue(t.slice(s+1))],o=n.get(i)||[];o.push(r),n.set(i,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const s=t[n];Array.isArray(s)?s.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:s,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new g({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(m(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(m(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class _{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function y(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function v(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}class w{constructor(t,e,n,s){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==n?n:null,i=s):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new d),this.context||(this.context=new _),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new g,this.urlWithParams=e}serializeBody(){return null===this.body?null:y(this.body)||v(this.body)||b(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||b(this.body)?null:v(this.body)?this.body.type||null:y(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const n=t.method||this.method,s=t.url||this.url,i=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,c=t.params||this.params;const u=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new w(n,s,r,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:o})}}var C=(()=>((C=C||{})[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User",C)
1)();class S{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class k extends S{constructor(t={}){super(t),this.type=C.ResponseHeader}clone(t={}){return new k({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class T extends S{constructor(t={}){super(t),this.type=C.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new T({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class E extends S{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function x(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let D=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let s;if(t instanceof w)s=t;else{let i,r;i=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(r=n.params instanceof g?n.params:new g({fromObject:n.params})),s=new w(t,e,void 0!==n.body?n.body:null,{headers:i,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=(0,r.of)(s).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof w||"events"===n.observe)return i;const o=i.pipe((0,l.h)(t=>t instanceof T));switch(n.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return o.pipe((0,c.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return o.pipe((0,c.U)(t=>t.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new g).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,x(n,e))}post(t,e,n={}){return this.request("POST",t,x(n,e))}put(t,e,n={}){return this.request("PUT",t,x(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(u))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class A{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const O=new i.OlP("HTTP_INTERCEPTORS");let M=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const R=/^\)\]\}',?\n/;let I=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const s=t.serializeBody();let i=null;const r=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,s=n.statusText||"OK",r=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return i=new k({headers:r,status:e,statusText:s,url:o}),i},o=()=>{let{headers:s,status:i,statusText:o,url:a}=r(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(R,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new T({body:l,headers:s,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new E({error:l,headers:s,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:s}=r(),i=new E({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:s||void 0});e.error(i)};let l=!1;const c=s=>{l||(e.next(r()),l=!0);let i={type:C.DownloadProgress,loaded:s.loaded};s.lengthComputable&&(i.total=s.total),"text"===t.responseType&&n.responseText&&(i.partialText=n.responseText),e.next(i)},u=t=>{let n={type:C.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==s&&n.upload&&n.upload.addEventListener("progress",u)),n.send(s),e.next({type:C.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==s&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.JF))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const P=new i.OlP("XSRF_COOKIE_NAME"),F=new i.OlP("XSRF_HEADER_NAME");class N{}let L=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.K0),i.LFG(i.Lbi),i.LFG(P))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const s=this.tokenService.getToken();return null===s||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,s)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(N),i.LFG(F))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(O,[]);this.chain=t.reduceRight((t,e)=>new A(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(h),i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:j,useClass:M}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:P,useValue:e.cookieName}:[],e.headerName?{provide:F,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[j,{provide:O,useExisting:j,multi:!0},{provide:N,useClass:L},{provide:P,useValue:"XSRF-TOKEN"},{provide:F,useValue:"X-XSRF-TOKEN"}
1]}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[D,{provide:u,useClass:V},I,{provide:h,useExisting:I}],imports:[[H.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},3018:(t,e,n)=>{"use strict";n.d(e,{deG:()=>un,tb:()=>wc,AFp:()=>gc,ip1:()=>fc,CZH:()=>mc,hGG:()=>fu,z2F:()=>iu,sBO:()=>ol,Sil:()=>Rc,_Vd:()=>Oa,EJc:()=>kc,SBq:()=>Pa,qLn:()=>Ms,vpe:()=>Gl,gxx:()=>yr,tBr:()=>On,XFs:()=>M,OlP:()=>cn,zs3:()=>Ir,ZZ4:()=>Xa,aQg:()=>el,soG:()=>Sc,YKP:()=>gl,v3s:()=>ou,h0i:()=>ml,PXZ:()=>Xc,R0b:()=>Fc,FiY:()=>Mn,Lbi:()=>bc,g9A:()=>vc,Qsj:()=>La,FYo:()=>Na,JOm:()=>Fs,Tiy:()=>Va,q3G:()=>Cs,tp0:()=>Rn,EAV:()=>cu,Rgc:()=>hl,dDg:()=>Yc,DyG:()=>hn,GfV:()=>Ha,s_b:()=>yl,ifc:()=>L,eFA:()=>tu,G48:()=>Qc,Gpc:()=>m,X6Q:()=>Jc,_c5:()=>du,VLi:()=>Zc,c2e:()=>Cc,zSh:()=>br,wAp:()=>ga,vHH:()=>y,EiD:()=>bs,mCW:()=>ss,qzn:()=>$n,JVY:()=>Gn,pB0:()=>Kn,eBb:()=>Jn,L6k:()=>Wn,LAX:()=>Qn,cg1:()=>pa,Tjo:()=>hu,kL8:()=>fa,yhl:()=>zn,dqk:()=>Y,sIi:()=>Br,CqO:()=>fo,QGY:()=>ho,F4k:()=>po,RDi:()=>xt,AaK:()=>d,z3N:()=>Zn,qOj:()=>Fr,TTD:()=>bt,_Bn:()=>xa,xp6:()=>Ci,uIk:()=>Qr,Tol:()=>Vo,Gre:()=>ra,MT6:()=>oa,ekj:()=>Lo,Suo:()=>lc,Xpm:()=>X,lG2:()=>ot,Yz7:()=>C,cJS:()=>S,oAB:()=>st,Yjl:()=>at,Y36:()=>no,_UZ:()=>ao,BQk:()=>co,ynx:()=>lo,qZA:()=>oo,TgZ:()=>ro,EpF:()=>uo,n5z:()=>sn,Ikx:()=>la,LFG:()=>xn,$8M:()=>on,NdJ:()=>mo,CRH:()=>cc,kcU:()=>we,O4$:()=>be,oxw:()=>yo,ALo:()=>Yl,lcZ:()=>Bl,xi3:()=>ql,Hsn:()=>wo,F$t:()=>bo,Q6J:()=>so,s9C:()=>Co,MGl:()=>So,hYB:()=>ko,DdM:()=>Il,VKq:()=>Pl,WLB:()=>Fl,kEZ:()=>Nl,l5B:()=>Ll,qbA:()=>jl,iGM:()=>oc,MAs:()=>eo,Jf7:()=>Is,CHM:()=>$t,oJD:()=>Ss,uOi:()=>Ts,LSH:()=>ks,kYT:()=>it,Jzz:()=>aa,Udp:()=>No,d8E:()=>ca,YNc:()=>to,W1O:()=>pc,_uU:()=>Ko,Oqu:()=>Xo,hij:()=>ta,AsE:()=>ea,lnq:()=>na,HOy:()=>sa,gL8:()=>ia,Gf:()=>ac});var s=n(7709),i=n(5319),r=n(8891),o=n(6682),a=n(2441),l=n(1307);function c(){return new s.xQ}function u(t){for(let e in t)if(t[e]===u)return e;throw Error("Could not find renamed property on target object.")}function h(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function d(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(d).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function p(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const f=u({__forward_ref__:u});function m(t){return t.__forward_ref__=m,t.toString=function(){return d(this())},t}function g(t){return _(t)?t():t}function _(t){return"function"==typeof t&&t.hasOwnProperty(f)&&t.__forward_ref__===m}class y extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function v(t){return"string"==typeof t?t:null==t?"":String(t)}function b(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():v(t)}function w(t,e){const n=e?` in ${e}`:"";throw new y("201",`No provider for ${b(t)} found${n}`)}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function S(t){return{providers:t.providers||[],imports:t.imports||[]}}function k(t){return T(t,x)||T(t,A)}function T(t,e){return t.hasOwnProperty(e)?t[e]:null}function E(t){return t&&(t.hasOwnProperty(D)||t.hasOwnProperty(O))?t[D]:null}const x=u({"\u0275prov":u}),D=u({"\u0275inj":u}),A=u({ngInjectableDef:u}),O=u({ngInjectorDef:u});var M=(()=>((M=M||{})[M.Default=0]="Default",M[M.Host=1]="Host",M[M.Self=2]="Self",M[M.SkipSelf=4]="SkipSelf",M[M.Optional=8]="Optional",M))();let R;function I(t){const e=R;return R=t,e}function P(t,e,n){const s=k(t);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:n&M.Optional?null:void 0!==e?e:void w(d(t),"Injector")}function F(t){return{toString:t}.toString()}var N=(()=>((N=N||{})[N.OnPush=0]="OnPush",N[N.Default=1]="Default",N))(),L=(()=>((L=L||{})[L.Emulated=0]="Emulated",L[L.None=2]="None",L[L.ShadowDom=3]="ShadowDom",L))();const j="undefined"!=typeof globalThis&&globalThis,V="undefined"!=typeof window&&window,H="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,U="undefined"!=typeof global&&global,Y=j||U||V||H,B={},q=[],Z=u({"\u0275cmp":u}),$=u({"\u0275dir":u}),z=u({"\u0275pipe":u}),G=u({"\u0275mod":u}),W=u({"\u0275loc":u}),J=u({"\u0275fac":u}),Q=u({__NG_ELEMENT_ID__:u});let K=0;function X(t){return F(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,input
vendor: 4,606 bytes, line 1
1s:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===N.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||q,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||L.Emulated,id:"c",styles:t.styles||q,_:null,setInput:null,schemas:t.schemas||null,tView:null},s=t.directives,i=t.features,r=t.pipes;return n.id+=K++,n.inputs=rt(t.inputs,e),n.outputs=rt(t.outputs),i&&i.forEach(t=>t(n)),n.directiveDefs=s?()=>("function"==typeof s?s():s).map(tt):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(et):null,n})}function tt(t){return lt(t)||function(t){return t[$]||null}(t)}function et(t){return function(t){return t[z]||null}(t)}const nt={};function st(t){return F(()=>{const e={type:t.type,bootstrap:t.bootstrap||q,declarations:t.declarations||q,imports:t.imports||q,exports:t.exports||q,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(nt[t.id]=t.type),e})}function it(t,e){return F(()=>{const n=ct(t,!0);n.declarations=e.declarations||q,n.imports=e.imports||q,n.exports=e.exports||q})}function rt(t,e){if(null==t)return B;const n={};for(const s in t)if(t.hasOwnProperty(s)){let i=t[s],r=i;Array.isArray(i)&&(r=i[1],i=i[0]),n[i]=s,e&&(e[i]=r)}return n}const ot=X;function at(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function lt(t){return t[Z]||null}function ct(t,e){const n=t[G]||null;if(!n&&!0===e)throw new Error(`Type ${d(t)} does not have '\u0275mod' property.`);return n}const ut=20,ht=10;function dt(t){return Array.isArray(t)&&"object"==typeof t[1]}function pt(t){return Array.isArray(t)&&!0===t[1]}function ft(t){return 0!=(8&t.flags)}function mt(t){return 2==(2&t.flags)}function gt(t){return 1==(1&t.flags)}function _t(t){return null!==t.template}function yt(t,e){return t.hasOwnProperty(J)?t[J]:null}class vt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function bt(){return wt}function wt(t){return t.type.prototype.ngOnChanges&&(t.setInput=St),Ct}function Ct(){const t=kt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===B)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function St(t,e,n,s){const i=kt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:B,current:null}),r=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];r[a]=new vt(l&&l.currentValue,e,o===B),t[s]=e}function kt(t){return t.__ngSimpleChanges__||null}bt.ngInherit=!0;const Tt="http://www.w3.org/2000/svg";let Et;function xt(t){Et=t}function Dt(){return void 0!==Et?Et:"undefined"!=typeof document?document:void 0}function At(t){return!!t.listen}const Ot={createRenderer:(t,e)=>Dt()};function Mt(t){for(;Array.isArray(t);)t=t[0];return t}function Rt(t,e){return Mt(e[t])}function It(t,e){return Mt(e[t.index])}function Pt(t,e){return t.data[e]}function Ft(t,e){return t[e]}function Nt(t,e){const n=e[t];return dt(n)?n:n[0]}function Lt(t){return 4==(4&t[2])}function jt(t){return 128==(128&t[2])}function Vt(t,e){return null==e?null:t[e]}function Ht(t){t[18]=0}function Ut(t,e){t[5]+=e;let n=t,s=t[3];for(;null!==s&&(1===e&&1===n[5]||-1===e&&0===n[5]);)s[5]+=e,n=s,s=s[3]}const Yt={lFrame:pe(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Bt(){return Yt.bindingsEnabled}function qt(){return Yt.lFrame.lView}function Zt(){return Yt.lFrame.tView}function $t(t){return Yt.lFrame.contextLView=t,t[8]}function zt(){let t=Gt();for(;null!==t&&64===t.type;)t=t.parent;return t}function Gt(){return Yt.lFrame.currentTNode}function Wt(t,e){const n=Yt.lFrame;n.currentTNode=t,n.isParent=e}function Jt(){return Yt.lFrame.isParent}function Qt(){Yt.lFrame.isParent=!1}function Kt(){return Yt.isInCheckNoChangesMode}function Xt(t){Yt.isInCheckNoChangesMode=t}function te(){const t=Yt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ee(){return Yt.lFrame.bindingIndex}function ne(){return Yt.lFrame.bindingIndex++}function se(t){const e=Yt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ie(t,e){const n=Yt.lFrame;n.bindingIndex=n.bindingRootIndex=t,re(e)}function re(t){Yt.lFrame.currentDirectiveIndex=t}function oe(t){const e=Yt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ae(){return Yt.lFrame.currentQueryIndex}function le(t){Yt.lFrame.currentQueryIndex=t}function ce(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ue(t,e,n){if(n&M.SkipSelf){let s=e,i=t;
vendor: 9,242 bytes, line 1
1for(;s=s.parent,!(null!==s||n&M.Host||(s=ce(i),null===s)||(i=i[15],10&s.type)););if(null===s)return!1;e=s,t=i}const s=Yt.lFrame=de();return s.currentTNode=e,s.lView=t,!0}function he(t){const e=de(),n=t[1];Yt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function de(){const t=Yt.lFrame,e=null===t?null:t.child;return null===e?pe(t):e}function pe(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function fe(){const t=Yt.lFrame;return Yt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const me=fe;function ge(){const t=fe();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function _e(){return Yt.lFrame.selectedIndex}function ye(t){Yt.lFrame.selectedIndex=t}function ve(){const t=Yt.lFrame;return Pt(t.tView,t.selectedIndex)}function be(){Yt.lFrame.currentNamespace=Tt}function we(){Yt.lFrame.currentNamespace=null}function Ce(t,e){for(let n=e.directiveStart,s=e.directiveEnd;n<s;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:i,ngAfterViewInit:r,ngAfterViewChecked:o,ngOnDestroy:a}=e;s&&(t.contentHooks||(t.contentHooks=[])).push(-n,s),i&&((t.contentHooks||(t.contentHooks=[])).push(n,i),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,i)),r&&(t.viewHooks||(t.viewHooks=[])).push(-n,r),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function Se(t,e,n){Ee(t,e,3,n)}function ke(t,e,n,s){(3&t[2])===n&&Ee(t,e,n,s)}function Te(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Ee(t,e,n,s){const i=null!=s?s:-1,r=e.length-1;let o=0;for(let a=void 0!==s?65535&t[18]:0;a<r;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=s&&o>=s)break}else e[a]<0&&(t[18]+=65536),(o<i||-1==i)&&(xe(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function xe(t,e,n,s){const i=n[s]<0,r=n[s+1],o=t[i?-n[s]:n[s]];if(i){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}const De=-1;class Ae{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Oe(t,e,n){const s=At(t);let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const o=n[i++],a=n[i++],l=n[i++];s?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=r,a=n[++i];Re(o)?s&&t.setProperty(e,o,a):s?t.setAttribute(e,o,a):e.setAttribute(o,a),i++}}return i}function Me(t){return 3===t||4===t||6===t}function Re(t){return 64===t.charCodeAt(0)}function Ie(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let s=0;s<e.length;s++){const i=e[s];"number"==typeof i?n=i:0===n||Pe(t,n,i,null,-1===n||2===n?e[++s]:null)}}return t}function Pe(t,e,n,s,i){let r=0,o=t.length;if(-1===e)o=-1;else for(;r<t.length;){const n=t[r++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=r-1;break}}}for(;r<t.length;){const e=t[r];if("number"==typeof e)break;if(e===n){if(null===s)return void(null!==i&&(t[r+1]=i));if(s===t[r+1])return void(t[r+2]=i)}r++,null!==s&&r++,null!==i&&r++}-1!==o&&(t.splice(o,0,e),r=o+1),t.splice(r++,0,n),null!==s&&t.splice(r++,0,s),null!==i&&t.splice(r++,0,i)}function Fe(t){return t!==De}function Ne(t){return 32767&t}function Le(t,e){let n=t>>16,s=e;for(;n>0;)s=s[15],n--;return s}let je=!0;function Ve(t){const e=je;return je=t,e}let He=0;function Ue(t,e){const n=Be(t,e);if(-1!==n)return n;const s=e[1];s.firstCreatePass&&(t.injectorIndex=e.length,Ye(s.data,t),Ye(e,null),Ye(s.blueprint,null));const i=qe(t,e),r=t.injectorIndex;if(Fe(i)){const t=Ne(i),n=Le(i,e),s=n[1].data;for(let i=0;i<8;i++)e[r+i]=n[t+i]|s[t+i]}return e[r+8]=i,r}function Ye(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Be(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function qe(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,s=null,i=e;for(;null!==i;){const t=i[1],e=t.type;if(s=2===e?t.declTNode:1===e?i[6]:null,null===s)return De;if(n++,i=i[15],-1!==s.injectorIndex)return s.injectorIndex|n<<16}return De}function Ze(t,e,n){!function(t,e,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(Q)&&(s=n[Q]),null==s&&(s=n[Q]=He++);const i=255&s;e.data[t+(i>>5)]|=1<<i}(t,e,n)}function $e(t,e,n){if(n&M.Optional)return t;w(e,"NodeInjector")}function ze(t,e,n,s){if(n&M.Optional&&void 0===s&&(s=null),0==(n&(M.Self|M.Host))){const i=t[9],r=I(void 0);try{return i?i.get(e,s,n&M.Optional):P(e,s,n&M.Optional)}finally{I(r)}}return $e(s,e,n)}function Ge(t,e,n,s=M.Default,i){if(null!==t){const r=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Q)?t[Q]:void 0;return"number"==typeof e?e>=0?255&e:Je:e}(n);if("function"==typeof r){if(!ue(e,t,s))return s&M.Host?$e(i,n,s):ze(e,n,s,i);try{const t=r(s);if(null!=t||s&M.Optional)return t;w(n)}finally{me()}}else if("number"==typeof r){let i=null,o=Be(t,e),a=De,l=s&M.Host?e[16][6]:null;for((-1===o||s&M.SkipSelf)&&(a=-1===o?qe(t,e):e[o+8],a!==De&&en(s,!1)?(i=e[1],o=Ne(a),e=Le(a,e)):o=-1);-1!==o;){const t=e[1];if(tn(r,o,t.data)){const t=Qe(o,e,n,i,s,l);if(t!==We)return t}a=e[o+8],a!==De&&en(s,e[1].data[o+8]===l)&&tn(r,o,e)?(i=t,o=Ne(a),e=Le(a,e)):o=-1}}}return ze(e,n,s,i)}const We={};function Je(){return new nn(zt(),qt())}function Qe(t,e,n,s,i,r){const o=e[1],a=o.data[t+8],l=Ke(a,o,n,null==s?mt(a)&&je:s!=o&&0!=(3&a.type),i&M.Host&&r===a);return null!==l?Xe(e,o,l,a):We}function Ke(t,e,n,s,i){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,c=r>>20,u=i?a+c:t.directiveEnd;for(let h=s?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(i){const t=o[l];if(t&&_t(t)&&t.type===n)return l}return null}function Xe(t,e,n,s){let i=t[n];const r=e.data;if(i instanceof Ae){const o=i;o.resolving&&function(t,e){throw new y("200",`Circular dependency in DI detected for ${t}`)}(b(r[n]));const a=Ve(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?I(o.injectImpl):null;ue(t,s,M.Default);try{i=t[n]=o.factory(void 0,r,t,s),e.firstCreatePass&&n>=s.directiveStart&&function(t,e,n){const{ngOnChanges:s,ngOnInit:i,ngDoCheck:r}=e.type.prototype;if(s){const s=wt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&I(l),Ve(a),o.resolving=!1,me()}}return i}function tn(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function en(t,e){return!(t&M.Self||t&M.Host&&e)}class nn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Ge(this._tNode,this._lView,t,void 0,e)}}function sn(t){return F(()=>{const e=t.prototype.constructor,n=e[J]||rn(e),s=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==s;){const t=i[J]||rn(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function rn(t){return _(t)?()=>{const e=rn(g(t));return e&&e()}:yt(t)}function on(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let s=0;for(;s<t;){const i=n[s];if(Me(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<t&&"string"==typeof n[s];)s++;else{if(i===e)return n[s+1];s+=2}}}return null}(zt(),t)}const an="__parameters__";function ln(t,e,n){return F(()=>{const s=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return s.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,s){const i=t.hasOwnProperty(an)?t[an]:Object.defineProperty(t,an,{value:[]})[an];for(;i.length<=s;)i.push(null);return(i[s]=i[s]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}class cn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=C({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const un=new cn("AnalyzeForEntryComponents"),hn=Function;function dn(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let s=t[n];Array.isArray(s)?(e===t&&(e=t.slice(0,n)),dn(s,e)):e!==t&&e.push(s)}return e}function pn(t,e){t.forEach(t=>Array.isArray(t)?pn(t,e):e(t))}function fn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function mn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function gn(t,e){const n=[];for(let s=0;s<t;s++)n.push(e);return n}function _n(t,e,n){let s=vn(t,e);return s>=0?t[1|s]=n:(s=~s,function(t,e,n,s){let i=t.length;if(i==e)t.push(n,s);else if(1===i)t.push(s,t[0]),t[0]=n;
vendor: 11,692 bytes, line 1
1else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=s}}(t,s,e,n)),s}function yn(t,e){const n=vn(t,e);if(n>=0)return t[1|n]}function vn(t,e){return function(t,e,n){let s=0,i=t.length>>1;for(;i!==s;){const n=s+(i-s>>1),r=t[n<<1];if(e===r)return n<<1;r>e?i=n:s=n+1}return~(i<<1)}(t,e)}const bn={},wn=/\n/gm,Cn="__source",Sn=u({provide:String,useValue:u});let kn;function Tn(t){const e=kn;return kn=t,e}function En(t,e=M.Default){if(void 0===kn)throw new Error("inject() must be called from an injection context");return null===kn?P(t,void 0,e):kn.get(t,e&M.Optional?null:void 0,e)}function xn(t,e=M.Default){return(R||En)(g(t),e)}function Dn(t){const e=[];for(let n=0;n<t.length;n++){const s=g(t[n]);if(Array.isArray(s)){if(0===s.length)throw new Error("Arguments array must have arguments.");let t,n=M.Default;for(let e=0;e<s.length;e++){const i=s[e],r=i.__NG_DI_FLAG__;"number"==typeof r?-1===r?t=i.token:n|=r:t=i}e.push(xn(t,n))}else e.push(xn(s))}return e}function An(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const On=An(ln("Inject",t=>({token:t})),-1),Mn=An(ln("Optional"),8),Rn=An(ln("SkipSelf"),4);let In,Pn;function Fn(t){var e;return(null===(e=function(){if(void 0===In&&(In=null,Y.trustedTypes))try{In=Y.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return In}())||void 0===e?void 0:e.createHTML(t))||t}function Nn(){if(void 0===Pn&&(Pn=null,Y.trustedTypes))try{Pn=Y.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Pn}function Ln(t){var e;return(null===(e=Nn())||void 0===e?void 0:e.createHTML(t))||t}function jn(t){var e;return(null===(e=Nn())||void 0===e?void 0:e.createScriptURL(t))||t}class Vn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Hn extends Vn{getTypeName(){return"HTML"}}class Un extends Vn{getTypeName(){return"Style"}}class Yn extends Vn{getTypeName(){return"Script"}}class Bn extends Vn{getTypeName(){return"URL"}}class qn extends Vn{getTypeName(){return"ResourceURL"}}function Zn(t){return t instanceof Vn?t.changingThisBreaksApplicationSecurity:t}function $n(t,e){const n=zn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function zn(t){return t instanceof Vn&&t.getTypeName()||null}function Gn(t){return new Hn(t)}function Wn(t){return new Un(t)}function Jn(t){return new Yn(t)}function Qn(t){return new Bn(t)}function Kn(t){return new qn(t)}class Xn{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Fn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class ts{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Fn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Fn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let s=e.length-1;0<s;s--){const n=e.item(s).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const es=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ns=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function ss(t){return(t=String(t)).match(es)||t.match(ns)?t:"unsafe:"+t}function is(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function rs(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const os=is("area,br,col,hr,img,wbr"),as=is("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ls=is("rp,rt"),cs=rs(ls,as),us=rs(os,rs(as,is("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")),rs(ls,is("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")),cs),hs=is("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ds=is("srcset"),ps=rs(hs,ds,is("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"),is("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")),fs=is("script,style,template");class ms{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!us.hasOwnProperty(e))return this.sanitizedSomething=!0,!fs.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,r=e.toLowerCase();if(!ps.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=t.value;hs[r]&&(o=ss(o)),ds[r]&&(s=o,o=(s=String(s)).split(",").map(t=>ss(t.trim())).join(", ")),this.buf.push(" ",e,'="',ys(o),'"')}var s;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();us.hasOwnProperty(e)&&!os.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(ys(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const gs=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_s=/([^\#-~ |!])/g;function ys(t){return t.replace(/&/g,"&").replace(gs,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(_s,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let vs;function bs(t,e){let n=null;try{vs=vs||function(t){const e=new ts(t);return function(){try{return!!(new window.DOMParser).parseFromString(Fn(""),"text/html")}catch(t){return!1}}()?new Xn(e):e}(t);let s=e?String(e):"";n=vs.getInertBodyElement(s);let i=5,r=s;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,s=r,r=n.innerHTML,n=vs.getInertBodyElement(s)}while(s!==r);return Fn((new ms).sanitizeChildren(ws(n)||n))}finally{if(n){const t=ws(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function ws(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Cs=(()=>((Cs=Cs||{})[Cs.NONE=0]="NONE",Cs[Cs.HTML=1]="HTML",Cs[Cs.STYLE=2]="STYLE",Cs[Cs.SCRIPT=3]="SCRIPT",Cs[Cs.URL=4]="URL",Cs[Cs.RESOURCE_URL=5]="RESOURCE_URL",Cs))();function Ss(t){const e=Es();return e?Ln(e.sanitize(Cs.HTML,t)||""):$n(t,"HTML")?Ln(Zn(t)):bs(Dt(),v(t))}function ks(t){const e=Es();return e?e.sanitize(Cs.URL,t)||"":$n(t,"URL")?Zn(t):ss(v(t))}function Ts(t){const e=Es();if(e)return jn(e.sanitize(Cs.RESOURCE_URL,t)||"");if($n(t,"ResourceURL"))return jn(Zn(t));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Es(){const t=qt();return t&&t[12]}function xs(t,e){t.__ngContext__=e}function Ds(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function As(t){return t.ngOriginalError}function Os(t,...e){t.error(...e)}class Ms{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),s=function(t){return t&&t.ngErrorLogger||Os}(t);s(this._console,"ERROR",t),e&&s(this._console,"ORIGINAL ERROR",e),n&&s(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?function(t){return t.ngDebugContext}(t)||this._findContext(As(t)):null}_findOriginalError(t){let e=t&&As(t);for(;e&&As(e);)e=As(e);return e||null}}const Rs=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Y))();function Is(t){return t.ownerDocument.defaultView}function Ps(t){return t instanceof Function?t():t}var Fs=(()=>((Fs=Fs||{})[Fs.Important=1]="Important",Fs[Fs.DashCase=2]="DashCase",Fs))();function Ns(t,e){return(void 0)(t,e)}function Ls(t){const e=t[3];return pt(e)?e[3]:e}function js(t){return Hs(t[13])}function Vs(t){return Hs(t[4])}function Hs(t){for(;null!==t&&!pt(t);)t=t[4];return t}function Us(t,e,n,s,i){if(null!=s){let r,o=!1;pt(s)?r=s:dt(s)&&(o=!0,s=s[0]);const a=Mt(s);0===t&&null!==n?null==i?Ws(e,n,a):Gs(e,n,a,i||null,!0):1===t&&null!==n?Gs(e,n,a,i||null,!0):2===t?function(t,e,n){const s=Qs(t,e);s&&function(t,e,n,s){At(t)?t.removeChild(e,n,s):e.removeChild(n)}(t,s,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,s,i){const r=n[7];r!==Mt(n)&&Us(e,t,s,r,i);for(let o=ht;o<n.length;o++){const i=n[o];ri(i[1],i,t,e,s,r)}}(e,t,r,n,i)}}function Ys(t,e,n){return At(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Bs(t,e){const n=t[9],s=n.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,Ut(i,-1)),n.splice(s,1)}function qs(t,e){if(t.length<=ht)return;const n=ht+e,s=t[n];if(s){const r=s[17];null!==r&&r!==t&&Bs(r,s),e>0&&(t[n-1][4]=s[4]);const o=mn(t,ht+e);ri(s[1],i=s,i[11],2,null,null),i[0]=null,i[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),s[3]=null,s[4]=null,s[2]&=-129}var i;return s}function Zs(t,e){if(!(256&e[2])){const n=e[11];At(n)&&n.destroyNode&&ri(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return $s(t[1],t);for(;e;){let n=null;if(dt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)dt(e)&&$s(e[1],e),e=e[3];null===e&&(e=t),dt(e)&&$s(e[1],e),n=e&&e[4]}e=n}}(e)}}function $s(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let s=0;s<n.length;
vendor: 17,657 bytes, line 1
1s+=2){const t=e[n[s]];if(!(t instanceof Ae)){const e=n[s+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const s=t[e[n]],i=e[n+1];try{i.call(s)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,s=e[7];let i=-1;if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const t=n[r+1],o="function"==typeof t?t(e):Mt(e[t]),a=s[i=n[r+2]],l=n[r+3];"boolean"==typeof l?o.removeEventListener(n[r],a,l):l>=0?s[i=l]():s[i=-l].unsubscribe(),r+=2}else{const t=s[i=n[r+1]];n[r].call(t)}if(null!==s){for(let t=i+1;t<s.length;t++)(0,s[t])();e[7]=null}}(t,e),1===e[1].type&&At(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&pt(e[3])){n!==e[3]&&Bs(n,e);const s=e[19];null!==s&&s.detachView(t)}}}function zs(t,e,n){return function(t,e,n){let s=e;for(;null!==s&&40&s.type;)s=(e=s).parent;if(null===s)return n[0];if(2&s.flags){const e=t.data[s.directiveStart].encapsulation;if(e===L.None||e===L.Emulated)return null}return It(s,n)}(t,e.parent,n)}function Gs(t,e,n,s,i){At(t)?t.insertBefore(e,n,s,i):e.insertBefore(n,s,i)}function Ws(t,e,n){At(t)?t.appendChild(e,n):e.appendChild(n)}function Js(t,e,n,s,i){null!==s?Gs(t,e,n,s,i):Ws(t,e,n)}function Qs(t,e){return At(t)?t.parentNode(e):e.parentNode}function Ks(t,e,n){return Xs(t,e,n)}let Xs=function(t,e,n){return 40&t.type?It(t,n):null};function ti(t,e,n,s){const i=zs(t,s,e),r=e[11],o=Ks(s.parent||e[6],s,e);if(null!=i)if(Array.isArray(n))for(let a=0;a<n.length;a++)Js(r,i,n[a],o,!1);else Js(r,i,n,o,!1)}function ei(t,e){if(null!==e){const n=e.type;if(3&n)return It(e,t);if(4&n)return si(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return ei(t,n);{const n=t[e.index];return pt(n)?si(-1,n):Mt(n)}}if(32&n)return Ns(e,t)()||Mt(t[e.index]);{const n=ni(t,e);return null!==n?Array.isArray(n)?n[0]:ei(Ls(t[16]),n):ei(t,e.next)}}return null}function ni(t,e){return null!==e?t[16][6].projection[e.projection]:null}function si(t,e){const n=ht+t+1;if(n<e.length){const t=e[n],s=t[1].firstChild;if(null!==s)return ei(t,s)}return e[7]}function ii(t,e,n,s,i,r,o){for(;null!=n;){const a=s[n.index],l=n.type;if(o&&0===e&&(a&&xs(Mt(a),s),n.flags|=4),64!=(64&n.flags))if(8&l)ii(t,e,n.child,s,i,r,!1),Us(e,t,i,a,r);else if(32&l){const o=Ns(n,s);let l;for(;l=o();)Us(e,t,i,l,r);Us(e,t,i,a,r)}else 16&l?oi(t,e,s,n,i,r):Us(e,t,i,a,r);n=o?n.projectionNext:n.next}}function ri(t,e,n,s,i,r){ii(n,s,t.firstChild,e,i,r,!1)}function oi(t,e,n,s,i,r){const o=n[16],a=o[6].projection[s.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Us(e,t,i,a[l],r);else ii(t,e,a,o[3],i,r,!0)}function ai(t,e,n){At(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function li(t,e,n){At(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function ci(t,e,n){let s=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===s||t.charCodeAt(i+n)<=32)return i}n=i+1}}const ui="ng-template";function hi(t,e,n){let s=0;for(;s<t.length;){let i=t[s++];if(n&&"class"===i){if(i=t[s],-1!==ci(i.toLowerCase(),e,0))return!0}else if(1===i){for(;s<t.length&&"string"==typeof(i=t[s++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function di(t){return 4===t.type&&t.value!==ui}function pi(t,e,n){return e===(4!==t.type||n?t.value:ui)}function fi(t,e,n){let s=4;const i=t.attrs||[],r=function(t){for(let e=0;e<t.length;e++)if(Me(t[e]))return e;return t.length}(i);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&s){if(s=2|1&s,""!==l&&!pi(t,l,n)||""===l&&1===e.length){if(mi(s))return!1;o=!0}}else{const c=8&s?l:e[++a];if(8&s&&null!==t.attrs){if(!hi(t.attrs,c,n)){if(mi(s))return!1;o=!0}continue}const u=gi(8&s?"class":l,i,di(t),n);if(-1===u){if(mi(s))return!1;o=!0;continue}if(""!==c){let t;t=u>r?"":i[u+1].toLowerCase();const e=8&s?t:null;if(e&&-1!==ci(e,c,0)||2&s&&c!==t){if(mi(s))return!1;o=!0}}}}else{if(!o&&!mi(s)&&!mi(l))return!1;if(o&&mi(l))continue;o=!1,s=l|1&s}}return mi(s)||o}function mi(t){return 0==(1&t)}function gi(t,e,n,s){if(null===e)return-1;let i=0;if(s||!n){let n=!1;for(;i<e.length;){const s=e[i];if(s===t)return i;if(3===s||6===s)n=!0;else{if(1===s||2===s){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const s=t[n];if("number"==typeof s)return-1;if(s===e)return n;n++}return-1}(e,t)}function _i(t,e,n=!1){for(let s=0;s<e.length;s++)if(fi(t,e[s],n))return!0;return!1}function yi(t,e){t:for(let n=0;n<e.length;n++){const s=e[n];if(t.length===s.length){for(let e=0;e<t.length;e++)if(t[e]!==s[e])continue t;return!0}}return!1}function vi(t,e){return t?":not("+e.trim()+")":e}function bi(t){let e=t[0],n=1,s=2,i="",r=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&s){const e=t[++n];i+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&s?i+="."+o:4&s&&(i+=" "+o);else""===i||mi(o)||(e+=vi(r,i),i=""),s=o,r=r||!mi(s);n++}return""!==i&&(e+=vi(r,i)),e}const wi={};function Ci(t){Si(Zt(),qt(),_e()+t,Kt())}function Si(t,e,n,s){if(!s)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&Se(e,s,n)}else{const s=t.preOrderHooks;null!==s&&ke(e,s,0,n)}ye(n)}function ki(t,e){return t<<17|e<<2}function Ti(t){return t>>17&32767}function Ei(t){return 2|t}function xi(t){return(131068&t)>>2}function Di(t,e){return-131069&t|e<<2}function Ai(t){return 1|t}function Oi(t,e){const n=t.contentQueries;if(null!==n)for(let s=0;s<n.length;s+=2){const i=n[s],r=n[s+1];if(-1!==r){const n=t.data[r];le(i),n.contentQueries(2,e[r],r)}}}function Mi(t,e,n,s,i,r,o,a,l,c){const u=e.blueprint.slice();return u[0]=i,u[2]=140|s,Ht(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=r,u[16]=2==e.type?t[16]:u,u}function Ri(t,e,n,s,i){let r=t.data[e];if(null===r)r=function(t,e,n,s,i){const r=Gt(),o=Jt(),a=t.data[e]=function(t,e,n,s,i,r){return{type:n,index:s,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?r:r&&r.parent,n,e,s,i);return null===t.firstChild&&(t.firstChild=a),null!==r&&(o?null==r.child&&null!==a.parent&&(r.child=a):null===r.next&&(r.next=a)),a}(t,e,n,s,i),Yt.lFrame.inI18n&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=s,r.attrs=i;const t=function(){const t=Yt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();r.injectorIndex=null===t?-1:t.injectorIndex}return Wt(r,!0),r}function Ii(t,e,n,s){if(0===n)return-1;const i=e.length;for(let r=0;r<n;r++)e.push(s),t.blueprint.push(s),t.data.push(null);return i}function Pi(t,e,n){he(e);try{const s=t.viewQuery;null!==s&&ur(1,s,n);const i=t.template;null!==i&&Li(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Oi(t,e),t.staticViewQueries&&ur(2,t.viewQuery,n);const r=t.components;null!==r&&function(t,e){for(let n=0;n<e.length;n++)rr(t,e[n])}(e,r)}catch(s){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),s}finally{e[2]&=-5,ge()}}function Fi(t,e,n,s){const i=e[2];if(256==(256&i))return;he(e);const r=Kt();try{Ht(e),Yt.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Li(t,e,n,2,s);const o=3==(3&i);if(!r)if(o){const n=t.preOrderCheckHooks;null!==n&&Se(e,n,null)}else{const n=t.preOrderHooks;null!==n&&ke(e,n,0,null),Te(e,0)}if(function(t){for(let e=js(t);null!==e;e=Vs(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],s=n[3];0==(1024&n[2])&&Ut(s,1),n[2]|=1024}}}(e),function(t){for(let e=js(t);null!==e;e=Vs(e))for(let t=ht;t<e.length;t++){const n=e[t],s=n[1];jt(n)&&Fi(s,n,s.template,n[8])}}(e),null!==t.contentQueries&&Oi(t,e),!r)if(o){const n=t.contentCheckHooks;null!==n&&Se(e,n)}else{const n=t.contentHooks;null!==n&&ke(e,n,1),Te(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const s=n[t];if(s<0)ye(~s);else{const i=s,r=n[++t],o=n[++t];ie(r,i),o(2,e[i])}}}finally{ye(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)sr(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&ur(2,l,s),!r)if(o){const n=t.viewCheckHooks;null!==n&&Se(e,n)}else{const n=t.viewHooks;null!==n&&ke(e,n,2),Te(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ut(e[3],-1))}finally{ge()}}function Ni(t,e,n,s){const i=e[10],r=!Kt(),o=Lt(e);try{r&&!o&&i.begin&&i.begin(),o&&Pi(t,e,s),Fi(t,e,n,s)}finally{r&&!o&&i.end&&i.end()}}function Li(t,e,n,s,i){const r=_e(),o=2&s;try{ye(-1),o&&e.length>ut&&Si(t,e,ut,Kt()),n(s,i)}finally{ye(r)}}function ji(t,e,n){if(ft(e)){const s=e.directiveEnd;for(let i=e.directiveStart;i<s;i++){const e=t.data[i];e.contentQueries&&e.contentQueries(1,n[i],i)}}}function Vi(t,e,n){Bt()&&(function(t,e,n,s){const i=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||Ue(n,e),xs(s,e);const o=n.initialInputs;for(let a=i;a<r;a++){const s=t.data[a],r=_t(s);r&&Xi(e,n,s);const l=Xe(e,t,a,n);xs(l,e),null!==o&&tr(0,a-i,l,s,0,o),r&&(Nt(n.index,e)[8]=l)}}(t,e,n,It(n,e)),128==(128&n.flags)&&function(t,e,n){const s=n.directiveStart,i=n.directiveEnd,r=n.index,o=Yt.lFrame.currentDirectiveIndex;try{ye(r);for(let n=s;n<i;n++){const s=t.data[n],i=e[n];re(n),null===s.hostBindings&&0===s.hostVars&&null===s.hostAttrs||Gi(s,i)}}finally{ye(-1),re(o)}}(t,e,n))}function Hi(t,e,n=It){const s=e.localNames;if(null!==s){let i=e.index+1;for(let r=0;r<s.length;r+=2){const o=s[r+1],a=-1===o?n(e,t):t[o];t[i++]=a}}}function Ui(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Yi(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Yi(t,e,n,s,i,r,o,a,l,c){const u=ut+s,h=u+i,d=function(t,e){const n=[];for(let s=0;s<e;s++)n.push(s<t?null:wi);return n}(u,h),p="function"==typeof c?c():c;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function Bi(t,e,n,s){const i=dr(e);null===n?i.push(s):(i.push(n),t.firstCreatePass&&pr(t).push(s,i.length-1))}function qi(t,e,n){for(let s in t)if(t.hasOwnProperty(s)){const i=t[s];(n=null===n?{}:n).hasOwnProperty(s)?n[s].push(e,i):n[s]=[e,i]}return n}function Zi(t,e,n,s,i,r,o,a){const l=It(e,n);let c,u=e.inputs;var h;!a&&null!=u&&(c=u[s])?(mr(t,n,c,s,i),mt(e)&&function(t,e){const n=Nt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(s="class"===(h=s)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,i=null!=o?o(i,e.value||"",s):i,At(r)?r.setProperty(l,s,i):Re(s)||(l.setProperty?l.setProperty(s,i):l[s]=i))}function $i(t,e,n,s){let i=!1;if(Bt()){const r=function(t,e,n){const s=t.directiveRegistry;let i=null;if(s)for(let r=0;r<s.length;r++){const o=s[r];_i(n,o.selectors,!1)&&(i||(i=[]),Ze(Ue(n,e),t,o.type),_t(o)?(Wi(t,n),i.unshift(o)):i.push(o))}return i}(t,e,n),o=null===s?null:{"":-1};if(null!==r){i=!0,Qi(n,t.data.length,r.length);for(let t=0;t<r.length;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let s=!1,a=!1,l=Ii(t,e,r.length,null);for(let i=0;i<r.length;i++){const c=r[i];n.mergedAttrs=Ie(n.mergedAttrs,c.hostAttrs),Ki(t,n,e,l,c),Ji(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),s=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(t,e){const n=e.directiveEnd,s=t.data,i=e.attrs,r=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=s[l],n=t.inputs,c=null===i||di(e)?null:er(n,i);r.push(c),o=qi(n,l,o),a=qi(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=r,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const s=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new y("301",`Export of name '${e[t+1]}' not found!`);s.push(e[t],i)}}}(n,s,o)}return n.mergedAttrs=Ie(n.mergedAttrs,n.attrs),i}function zi(t,e,n,s,i,r){const o=r.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const r=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(s,i,o)}}function Gi(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Wi(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Ji(t,e,n){if(n){if(e.exportAs)for(let s=0;s<e.exportAs.length;s++)n[e.exportAs[s]]=t;_t(e)&&(n[""]=t)}}function Qi(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ki(t,e,n,s,i){t.data[s]=i;const r=i.factory||(i.factory=yt(i.type)),o=new Ae(r,_t(i),null);t.blueprint[s]=o,n[s]=o,zi(t,e,0,s,Ii(t,n,i.hostVars,wi),i)}function Xi(t,e,n){const s=It(e,t),i=Ui(n),r=t[10],o=or(t,Mi(t,i,null,n.onPush?64:16,s,e,r,r.createRenderer(s,n),null,null));t[e.index]=o}function tr(t,e,n,s,i,r){const o=r[e];if(null!==o){const t=s.setInput;for(let e=0;e<o.length;){const i=o[e++],r=o[e++],a=o[e++];null!==t?s.setInput(n,a,i,r):n[r]=a}}}function er(t,e){let n=null,s=0;for(;s<e.length;){const i=e[s];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[s+1])),s+=2}else s+=2;else s+=4}return n}function nr(t,e,n,s){return new Array(t,!0,!1,e,null,0,s,n,null,null)}function sr(t,e){const n=Nt(e,t);if(jt(n)){const t=n[1];80&n[2]?Fi(t,n,t.template,n[8]):n[5]>0&&ir(n)}}function ir(t){for(let n=js(t);null!==n;n=Vs(n))for(let t=ht;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Fi(t,e,t.template,e[8])}else e[5]>0&&ir(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const s=Nt(e[n],t);jt(s)&&s[5]>0&&ir(s)}}function rr(t,e){const n=Nt(e,t),s=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(s,n),Pi(s,n,n[8])}function or(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function ar(t){for(;t;){t[2]|=64;const e=Ls(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function lr(t,e,n){const s=e[10];s.begin&&s.begin();try{Fi(t,e,t.template,n)}catch(i){throw fr(e,i),i}finally{s.end&&s.end()}}function cr(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],s=Ds(n),i=s[1];Ni(i,s,i.template,n)}}(t[8])}function ur(t,e,n){le(0),e(t,n)}const hr=(()=>Promise.resolve(null))();function dr(t){return t[7]||(t[7]=[])}function pr(t){return t.cleanup||(t.cleanup=[])}function fr(t,e){const n=t[9],s=n?n.get(Ms,null):null;s&&s.handleError(e)}function mr(t,e,n,s,i){for(let r=0;r<n.length;){const o=n[r++],a=n[r++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,i,s,a):l[a]=i}}function gr(t,e,n){const s=Rt(e,t);!function(t,e,n){At(t)?t.setValue(e,n):e.textContent=n}(t[11],s,n)}function _r(t,e,n){let s=n?t.styles:null,i=n?t.classes:null,r=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?r=t:1==r?i=p(i,t):2==r&&(s=p(s,t+": "+e[++o]+";"))}n?t.styles=s:t.stylesWithoutHost=s,n?t.classes=i:t.classesWithoutHost=i}const yr=new cn("INJECTOR",-1);class vr{get(t,e=bn){if(e===bn){const e=new Error(`NullInjectorError: No provider for ${d(t)}!`);throw e.name="NullInjectorError",e}return e}}const br=new cn("Set Injector scope."),wr={},Cr={};let Sr;function kr(){return void 0===Sr&&(Sr=new vr),Sr}function Tr(t,e=null,n=null,s){return new Er(t,n,e||kr(),s)}class Er{constructor(t,e,n,s=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&pn(e,n=>this.processProvider(n,t,e)),pn([t],t=>this.processInjectorType(t,[],i)),this.records.set(yr,Ar(void 0,this));const r=this.records.get(br);this.scope=null!=r?r.value:null,this.source=s||("object"==typeof t?null:d(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=bn,n=M.Default){this.assertNotDestroyed();const s=Tn(this),i=I(void 0);try{if(!(n&M.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof cn)&&k(t);e=n&&this.injectableDefInScope(n)?Ar(xr(t),wr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&M.Self?kr():this.parent).get(t,e=n&M.Optional&&e===bn?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(d(t)),s)throw o;return function(t,e,n,s){const i=t.ngTempTokenPath;throw e[Cn]&&i.unshift(e[Cn]),t.message=function(t,e,n,s=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=d(e);if(Array.isArray(e))i=e.map(d).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let s=e[n];
vendor: 11,510 bytes, line 1
1t.push(n+":"+("string"==typeof s?JSON.stringify(s):d(s)))}i=`{${t.join(", ")}}`}return`${n}${s?"("+s+")":""}[${i}]: ${t.replace(wn,"\n ")}`}("\n"+t.message,i,n,s),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{I(i),Tn(s)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(d(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=g(t)))return!1;let s=E(t);const i=null==s&&t.ngModule||void 0,r=void 0===i?t:i,o=-1!==n.indexOf(r);if(void 0!==i&&(s=E(i)),null==s)return!1;if(null!=s.imports&&!o){let t;n.push(r);try{pn(s.imports,s=>{this.processInjectorType(s,e,n)&&(void 0===t&&(t=[]),t.push(s))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:s}=t[e];pn(s,t=>this.processProvider(t,n,s||q))}}this.injectorDefTypes.add(r);const a=yt(r)||(()=>new r);this.records.set(r,Ar(a,wr));const l=s.providers;if(null!=l&&!o){const e=t;pn(l,t=>this.processProvider(t,e,l))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let s=Mr(t=g(t))?t:g(t&&t.provide);const i=function(t,e,n){return Or(t)?Ar(void 0,t.useValue):Ar(Dr(t),wr)}(t);if(Mr(t)||!0!==t.multi)this.records.get(s);else{let e=this.records.get(s);e||(e=Ar(void 0,wr,!0),e.factory=()=>Dn(e.multi),this.records.set(s,e)),s=t,e.multi.push(t)}this.records.set(s,i)}hydrate(t,e){var n;return e.value===wr&&(e.value=Cr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=g(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function xr(t){const e=k(t),n=null!==e?e.factory:yt(t);if(null!==n)return n;if(t instanceof cn)throw new Error(`Token ${d(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=gn(e,"?");throw new Error(`Can't resolve all parameters for ${d(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[x]||t[A]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Dr(t,e,n){let s;if(Mr(t)){const e=g(t);return yt(e)||xr(e)}if(Or(t))s=()=>g(t.useValue);else if((i=t)&&i.useFactory)s=()=>t.useFactory(...Dn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))s=()=>xn(g(t.useExisting));else{const e=g(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return yt(e)||xr(e);s=()=>new e(...Dn(t.deps))}var i;return s}function Ar(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Or(t){return null!==t&&"object"==typeof t&&Sn in t}function Mr(t){return"function"==typeof t}const Rr=function(t,e,n){return function(t,e=null,n=null,s){const i=Tr(t,e,n,s);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};class Ir{static create(t,e){return Array.isArray(t)?Rr(t,e,""):Rr(t.providers,t.parent,t.name||"")}}function Pr(t,e){Ce(Ds(t)[1],zt())}function Fr(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const s=[t];for(;e;){let i;if(_t(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){s.push(i);const e=t;e.inputs=Nr(t.inputs),e.declaredInputs=Nr(t.declaredInputs),e.outputs=Nr(t.outputs);const n=i.hostBindings;n&&Vr(t,n);const r=i.viewQuery,o=i.contentQueries;if(r&&Lr(t,r),o&&jr(t,o),h(t.inputs,i.inputs),h(t.declaredInputs,i.declaredInputs),h(t.outputs,i.outputs),_t(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let s=0;s<e.length;s++){const i=e[s];i&&i.ngInherit&&i(t),i===Fr&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let s=t.length-1;s>=0;s--){const i=t[s];i.hostVars=e+=i.hostVars,i.hostAttrs=Ie(i.hostAttrs,n=Ie(n,i.hostAttrs))}}(s)}function Nr(t){return t===B?{}:t===q?[]:t}function Lr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,s)=>{e(t,s),n(t,s)}:e}function jr(t,e){const n=t.contentQueries;t.contentQueries=n?(t,s,i)=>{e(t,s,i),n(t,s,i)}:e}function Vr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,s)=>{e(t,s),n(t,s)}:e}Ir.THROW_IF_NOT_FOUND=bn,Ir.NULL=new vr,Ir.\u0275prov=C({token:Ir,providedIn:"any",factory:()=>xn(yr)}),Ir.__NG_ELEMENT_ID__=-1;let Hr=null;function Ur(){if(!Hr){const t=Y.Symbol;if(t&&t.iterator)Hr=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Hr=n)}}}return Hr}class Yr{constructor(t){this.wrapped=t}static wrap(t){return new Yr(t)}static unwrap(t){return Yr.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Yr}}function Br(t){return!!qr(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ur()in t)}function qr(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Zr(t,e,n){return t[e]=n}function $r(t,e){return t[e]}function zr(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Gr(t,e,n,s){const i=zr(t,e,n);return zr(t,e+1,s)||i}function Wr(t,e,n,s,i){const r=Gr(t,e,n,s);return zr(t,e+2,i)||r}function Jr(t,e,n,s,i,r){const o=Gr(t,e,n,s);return Gr(t,e+2,i,r)||o}function Qr(t,e,n,s){const i=qt();return zr(i,ne(),e)&&(Zt(),function(t,e,n,s,i,r){const o=It(t,e);!function(t,e,n,s,i,r,o){if(null==r)At(t)?t.removeAttribute(e,i,n):e.removeAttribute(i);else{const a=null==o?v(r):o(r,s||"",i);At(t)?t.setAttribute(e,i,a,n):n?e.setAttributeNS(n,i,a):e.setAttribute(i,a)}}(e[11],o,r,t.value,n,s,i)}(ve(),i,t,e,n,s)),Qr}function Kr(t,e,n,s){return zr(t,ne(),n)?e+v(n)+s:wi}function Xr(t,e,n,s,i,r){const o=Gr(t,ee(),n,i);return se(2),o?e+v(n)+s+v(i)+r:wi}function to(t,e,n,s,i,r,o,a){const l=qt(),c=Zt(),u=t+ut,h=c.firstCreatePass?function(t,e,n,s,i,r,o,a,l){const c=e.consts,u=Ri(e,t,4,o||null,Vt(c,a));$i(e,n,u,Vt(c,l)),Ce(e,u);const h=u.tViews=Yi(2,u,s,i,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,n,s,i,r,o):c.data[u];Wt(h,!1);const d=l[11].createComment("");ti(c,l,d,h),xs(d,l),or(l,l[u]=nr(d,l,d,h)),gt(h)&&Vi(c,l,h),null!=o&&Hi(l,h,a)}function eo(t){return Ft(Yt.lFrame.contextLView,ut+t)}function no(t,e=M.Default){const n=qt();return null===n?xn(t,e):Ge(zt(),n,g(t),e)}function so(t,e,n){const s=qt();return zr(s,ne(),e)&&Zi(Zt(),ve(),s,t,e,s[11],n,!1),so}function io(t,e,n,s,i){const r=i?"class":"style";mr(t,n,e.inputs[r],r,s)}function ro(t,e,n,s){const i=qt(),r=Zt(),o=ut+t,a=i[11],l=i[o]=Ys(a,e,Yt.lFrame.currentNamespace),c=r.firstCreatePass?function(t,e,n,s,i,r,o){const a=e.consts,l=Ri(e,t,2,i,Vt(a,r));return $i(e,n,l,Vt(a,o)),null!==l.attrs&&_r(l,l.attrs,!1),null!==l.mergedAttrs&&_r(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,r,i,0,e,n,s):r.data[o];Wt(c,!0);const u=c.mergedAttrs;null!==u&&Oe(a,l,u);const h=c.classes;null!==h&&li(a,l,h);const d=c.styles;null!==d&&ai(a,l,d),64!=(64&c.flags)&&ti(r,i,l,c),0===Yt.lFrame.elementDepthCount&&xs(l,i),Yt.lFrame.elementDepthCount++,gt(c)&&(Vi(r,i,c),ji(r,c,i)),null!==s&&Hi(i,c)}function oo(){let t=zt();Jt()?Qt():(t=t.parent,Wt(t,!1));const e=t;Yt.lFrame.elementDepthCount--;const n=Zt();n.firstCreatePass&&(Ce(n,t),ft(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&io(n,e,qt(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&io(n,e,qt(),e.stylesWithoutHost,!1)}function ao(t,e,n,s){ro(t,e,n,s),oo()}function lo(t,e,n){const s=qt(),i=Zt(),r=t+ut,o=i.firstCreatePass?function(t,e,n,s,i){const r=e.consts,o=Vt(r,s),a=Ri(e,t,8,"ng-container",o);return null!==o&&_r(a,o,!0),$i(e,n,a,Vt(r,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(r,i,s,e,n):i.data[r];Wt(o,!0);const a=s[r]=s[11].createComment("");ti(i,s,a,o),xs(a,s),gt(o)&&(Vi(i,s,o),ji(i,o,s)),null!=n&&Hi(s,o)}function co(){let t=zt();const e=Zt();Jt()?Qt():(t=t.parent,Wt(t,!1)),e.firstCreatePass&&(Ce(e,t),ft(t)&&e.queries.elementEnd(t))}function uo(){return qt()}function ho(t){return!!t&&"function"==typeof t.then}function po(t){return!!t&&"function"==typeof t.subscribe}const fo=po;function mo(t,e,n,s){const i=qt(),r=Zt(),o=zt();return function(t,e,n,s,i,r,o,a){const l=gt(s),c=t.firstCreatePass&&pr(t),u=dr(e);let h=!0;if(3&s.type||a){const d=It(s,e),p=a?a(d):d,f=u.length,m=a?t=>a(Mt(t[s.index])):s.index;if(At(n)){let o=null;if(!a&&l&&(o=function(t,e,n,s){const i=t.cleanup;if(null!=i)for(let r=0;r<i.length-1;r+=2){const t=i[r];if(t===n&&i[r+1]===s){const t=e[7],n=i[r+2];return t.length>n?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,i,s.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,h=!1;else{r=_o(s,e,0,r,!1);const t=n.listen(p,i,r);u.push(r,t),c&&c.push(i,m,f,f+1)}}else r=_o(s,e,0,r,!0),p.addEventListener(i,r,o),u.push(r),c&&c.push(i,m,f,o)}else r=_o(s,e,0,r,!1);const d=s.outputs;let p;if(h&&null!==d&&(p=d[i])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(r),o=u.length;u.push(r,t),c&&c.push(i,s.index,o,-(o+1))}}}(r,i,i[11],o,t,e,!!n,s),mo}function go(t,e,n,s){try{return!1!==n(s)}catch(i){return fr(t,i),!1}}function _o(t,e,n,s,i){return function n(r){if(r===Function)return s;const o=2&t.flags?Nt(t.index,e):e;0==(32&e[2])&&ar(o);let a=go(e,0,s,r),l=n.__ngNextListenerFn__;for(;l;)a=go(e,0,l,r)&&a,l=l.__ngNextListenerFn__;return i&&!1===a&&(r.preventDefault(),r.returnValue=!1),a}}function yo(t=1){return function(t){return(Yt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Yt.lFrame.contextLView))[8]}(t)}function vo(t,e){let n=null;const s=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let i=0;i<e.length;i++){const r=e[i];if("*"!==r){if(null===s?_i(t,r,!0):yi(s,r))return i}else n=i}return n}function bo(t){const e=qt()[16][6];if(!e.projection){const n=e.projection=gn(t?t.length:1,null),s=n.slice();let i=e.child;for(;null!==i;){const e=t?vo(i,t):0;null!==e&&(s[e]?s[e].projectionNext=i:n[e]=i,s[e]=i),i=i.next}}}function wo(t,e=0,n){const s=qt(),i=Zt(),r=Ri(i,ut+t,16,null,n||null);null===r.projection&&(r.projection=e),Qt(),64!=(64&r.flags)&&function(t,e,n){oi(e[11],0,e,n,zs(t,n,e),Ks(n.parent||e[6],n,e))}(i,s,r)}function Co(t,e,n){return So(t,"",e,"",n),Co}function So(t,e,n,s,i){const r=qt(),o=Kr(r,e,n,s);return o!==wi&&Zi(Zt(),ve(),r,t,o,r[11],i,!1),So}function ko(t,e,n,s,i,r,o){const a=qt(),l=Xr(a,e,n,s,i,r);return l!==wi&&Zi(Zt(),ve(),a,t,l,a[11],o,!1),ko}function To(t,e,n,s,i){const r=t[n+1],o=null===e;let a=s?Ti(r):xi(r),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];Eo(t[a],e)&&(l=!0,t[a+1]=s?Ai(n):Ei(n)),a=s?Ti(n):xi(n)}l&&(t[n+1]=s?Ei(r):Ai(r))}function Eo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&vn(t,e)>=0}const xo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
1;function Do(t){return t.substring(xo.key,xo.keyEnd)}function Ao(t){return t.substring(xo.value,xo.valueEnd)}function Oo(t,e){const n=xo.textEnd;return n===e?-1:(e=xo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,xo.key=e,n),Io(t,e,n))}function Mo(t,e){const n=xo.textEnd;let s=xo.key=Io(t,e,n);return n===s?-1:(s=xo.keyEnd=function(t,e,n){let s;for(;e<n&&(45===(s=t.charCodeAt(e))||95===s||(-33&s)>=65&&(-33&s)<=90||s>=48&&s<=57);)e++;return e}(t,s,n),s=Po(t,s,n),s=xo.value=Io(t,s,n),s=xo.valueEnd=function(t,e,n){let s=-1,i=-1,r=-1,o=e,a=o;for(;o<n;){const l=t.charCodeAt(o++);if(59===l)return a;34===l||39===l?a=o=Fo(t,l,o,n):e===o-4&&85===r&&82===i&&76===s&&40===l?a=o=Fo(t,41,o,n):l>32&&(a=o),r=i,i=s,s=-33&l}return a}(t,s,n),Po(t,s,n))}function Ro(t){xo.key=0,xo.keyEnd=0,xo.value=0,xo.valueEnd=0,xo.textEnd=t.length}function Io(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Po(t,e,n,s){return(e=Io(t,e,n))<n&&e++,e}function Fo(t,e,n,s){let i=-1,r=n;for(;r<s;){const n=t.charCodeAt(r++);if(n==e&&92!==i)return r;i=92==n&&92===i?0:n}throw new Error}function No(t,e,n){return Uo(t,e,n,!1),No}function Lo(t,e){return Uo(t,e,null,!0),Lo}function jo(t,e){for(let n=function(t){return Ro(t),Mo(t,Io(t,0,xo.textEnd))}(e);n>=0;n=Mo(e,n))zo(t,Do(e),Ao(e))}function Vo(t){Yo(_n,Ho,t,!0)}function Ho(t,e){for(let n=function(t){return Ro(t),Oo(t,Io(t,0,xo.textEnd))}(e);n>=0;n=Oo(e,n))_n(t,Do(e),!0)}function Uo(t,e,n,s){const i=qt(),r=Zt(),o=se(2);r.firstUpdatePass&&qo(r,t,o,s),e!==wi&&zr(i,o,e)&&Go(r,r.data[_e()],i,i[11],t,i[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=d(Zn(t)))),t}(e,n),s,o)}function Yo(t,e,n,s){const i=Zt(),r=se(2);i.firstUpdatePass&&qo(i,null,r,s);const o=qt();if(n!==wi&&zr(o,r,n)){const a=i.data[_e()];if(Qo(a,s)&&!Bo(i,r)){let t=s?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=p(t,n||"")),io(i,a,o,n,s)}else!function(t,e,n,s,i,r,o,a){i===wi&&(i=q);let l=0,c=0,u=0<i.length?i[0]:null,h=0<r.length?r[0]:null;for(;null!==u||null!==h;){const d=l<i.length?i[l+1]:void 0,p=c<r.length?r[c+1]:void 0;let f,m=null;u===h?(l+=2,c+=2,d!==p&&(m=h,f=p)):null===h||null!==u&&u<h?(l+=2,m=u):(c+=2,m=h,f=p),null!==m&&Go(t,e,n,s,m,f,o,a),u=l<i.length?i[l]:null,h=c<r.length?r[c]:null}}(i,a,o,o[11],o[r+1],o[r+1]=function(t,e,n){if(null==n||""===n)return q;const s=[],i=Zn(n);if(Array.isArray(i))for(let r=0;r<i.length;r++)t(s,i[r],!0);else if("object"==typeof i)for(const r in i)i.hasOwnProperty(r)&&t(s,r,i[r]);else"string"==typeof i&&e(s,i);return s}(t,e,n),s,r)}}function Bo(t,e){return e>=t.expandoStartIndex}function qo(t,e,n,s){const i=t.data;if(null===i[n+1]){const r=i[_e()],o=Bo(t,n);Qo(r,s)&&null===e&&!o&&(e=!1),e=function(t,e,n,s){const i=oe(t);let r=s?e.residualClasses:e.residualStyles;if(null===i)0===(s?e.classBindings:e.styleBindings)&&(n=$o(n=Zo(null,t,e,n,s),e.attrs,s),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=Zo(i,t,e,n,s),null===r){let n=function(t,e,n){const s=n?e.classBindings:e.styleBindings;if(0!==xi(s))return t[Ti(s)]}(t,e,s);void 0!==n&&Array.isArray(n)&&(n=Zo(null,t,e,n[1],s),n=$o(n,e.attrs,s),function(t,e,n,s){t[Ti(n?e.classBindings:e.styleBindings)]=s}(t,e,s,n))}else r=function(t,e,n){let s;const i=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<i;r++)s=$o(s,t[r].hostAttrs,n);return $o(s,e.attrs,n)}(t,e,s)}return void 0!==r&&(s?e.residualClasses=r:e.residualStyles=r),n}(i,r,e,s),function(t,e,n,s,i,r){let o=r?e.classBindings:e.styleBindings,a=Ti(o),l=xi(o);t[s]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||vn(t,c)>0)&&(u=!0)}else c=n;if(i)if(0!==l){const e=Ti(t[a+1]);t[s+1]=ki(e,a),0!==e&&(t[e+1]=Di(t[e+1],s)),t[a+1]=131071&t[a+1]|s<<17}else t[s+1]=ki(a,0),0!==a&&(t[a+1]=Di(t[a+1],s)),a=s;else t[s+1]=ki(l,0),0===a?a=s:t[l+1]=Di(t[l+1],s),l=s;u&&(t[s+1]=Ei(t[s+1])),To(t,c,s,!0),To(t,c,s,!1),function(t,e,n,s,i){const r=i?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&vn(r,e)>=0&&(n[s+1]=Ai(n[s+1]))}(e,c,t,s,r),o=ki(a,l),r?e.classBindings=o:e.styleBindings=o}(i,r,e,n,o,s)}}function Zo(t,e,n,s,i){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;
vendor: 7,306 bytes, line 1
1for(-1===a?a=n.directiveStart:a++;a<o&&(r=e[a],s=$o(s,r.hostAttrs,i),r!==t);)a++;return null!==t&&(n.directiveStylingLast=a),s}function $o(t,e,n){const s=n?1:2;let i=-1;if(null!==e)for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?i=o:i===s&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),_n(t,o,!!n||e[++r]))}return void 0===t?null:t}function zo(t,e,n){_n(t,e,Zn(n))}function Go(t,e,n,s,i,r,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];Jo(1==(1&c)?Wo(l,e,n,i,xi(c),o):void 0)||(Jo(r)||2==(2&c)&&(r=Wo(l,null,n,i,a,o)),function(t,e,n,s,i){const r=At(t);if(e)i?r?t.addClass(n,s):n.classList.add(s):r?t.removeClass(n,s):n.classList.remove(s);else{let e=-1===s.indexOf("-")?void 0:Fs.DashCase;if(null==i)r?t.removeStyle(n,s,e):n.style.removeProperty(s);else{const o="string"==typeof i&&i.endsWith("!important");o&&(i=i.slice(0,-10),e|=Fs.Important),r?t.setStyle(n,s,i,e):n.style.setProperty(s,i,o?"important":"")}}}(s,o,Rt(_e(),n),i,r))}function Wo(t,e,n,s,i,r){const o=null===e;let a;for(;i>0;){const e=t[i],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let u=n[i+1];u===wi&&(u=c?q:void 0);let h=c?yn(u,s):l===s?u:void 0;if(r&&!Jo(h)&&(h=yn(e,s)),Jo(h)&&(a=h,o))return a;const d=t[i+1];i=o?Ti(d):xi(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=yn(t,s))}return a}function Jo(t){return void 0!==t}function Qo(t,e){return 0!=(t.flags&(e?16:32))}function Ko(t,e=""){const n=qt(),s=Zt(),i=t+ut,r=s.firstCreatePass?Ri(s,i,1,e,null):s.data[i],o=n[i]=function(t,e){return At(t)?t.createText(e):t.createTextNode(e)}(n[11],e);ti(s,n,o,r),Wt(r,!1)}function Xo(t){return ta("",t,""),Xo}function ta(t,e,n){const s=qt(),i=Kr(s,t,e,n);return i!==wi&&gr(s,_e(),i),ta}function ea(t,e,n,s,i){const r=qt(),o=Xr(r,t,e,n,s,i);return o!==wi&&gr(r,_e(),o),ea}function na(t,e,n,s,i,r,o){const a=qt(),l=function(t,e,n,s,i,r,o,a){const l=Wr(t,ee(),n,i,o);return se(3),l?e+v(n)+s+v(i)+r+v(o)+a:wi}(a,t,e,n,s,i,r,o);return l!==wi&&gr(a,_e(),l),na}function sa(t,e,n,s,i,r,o,a,l){const c=qt(),u=function(t,e,n,s,i,r,o,a,l,c){const u=Jr(t,ee(),n,i,o,l);return se(4),u?e+v(n)+s+v(i)+r+v(o)+a+v(l)+c:wi}(c,t,e,n,s,i,r,o,a,l);return u!==wi&&gr(c,_e(),u),sa}function ia(t,e,n,s,i,r,o,a,l,c,u,h,d){const p=qt(),f=function(t,e,n,s,i,r,o,a,l,c,u,h,d,p){const f=ee();let m=Jr(t,f,n,i,o,l);return m=Gr(t,f+4,u,d)||m,se(6),m?e+v(n)+s+v(i)+r+v(o)+a+v(l)+c+v(u)+h+v(d)+p:wi}(p,t,e,n,s,i,r,o,a,l,c,u,h,d);return f!==wi&&gr(p,_e(),f),ia}function ra(t,e,n){Yo(_n,Ho,Kr(qt(),t,e,n),!0)}function oa(t,e,n,s,i){Yo(_n,Ho,Xr(qt(),t,e,n,s,i),!0)}function aa(t,e,n){Yo(zo,jo,Kr(qt(),t,e,n),!1)}function la(t,e,n){const s=qt();return zr(s,ne(),e)&&Zi(Zt(),ve(),s,t,e,s[11],n,!0),la}function ca(t,e,n){const s=qt();if(zr(s,ne(),e)){const i=Zt(),r=ve();Zi(i,r,s,t,e,function(t,e,n){return(null===t||_t(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}(oe(i.data),r,s),n,!0)}return ca}const ua=void 0;var ha=["en",[["a","p"],["AM","PM"],ua],[["AM","PM"],ua,ua],[["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"]],ua,[["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"]],ua,[["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}",ua,"{1} 'at' {0}",ua],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let da={};function pa(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=ma(e);if(n)return n;const s=e.split("-")[0];if(n=ma(s),n)return n;if("en"===s)return ha;throw new Error(`Missing locale data for the locale "${t}".`)}function fa(t){return pa(t)[ga.PluralCase]}function ma(t){return t in da||(da[t]=Y.ng&&Y.ng.common&&Y.ng.common.locales&&Y.ng.common.locales[t]),da[t]}var ga=(()=>((ga=ga||{})[ga.LocaleId=0]="LocaleId",ga[ga.DayPeriodsFormat=1]="DayPeriodsFormat",ga[ga.DayPeriodsStandalone=2]="DayPeriodsStandalone",ga[ga.DaysFormat=3]="DaysFormat",ga[ga.DaysStandalone=4]="DaysStandalone",ga[ga.MonthsFormat=5]="MonthsFormat",ga[ga.MonthsStandalone=6]="MonthsStandalone",ga[ga.Eras=7]="Eras",ga[ga.FirstDayOfWeek=8]="FirstDayOfWeek",ga[ga.WeekendRange=9]="WeekendRange",ga[ga.DateFormat=10]="DateFormat",ga[ga.TimeFormat=11]="TimeFormat",ga[ga.DateTimeFormat=12]="DateTimeFormat",ga[ga.NumberSymbols=13]="NumberSymbols",ga[ga.NumberFormats=14]="NumberFormats",ga[ga.CurrencyCode=15]="CurrencyCode",ga[ga.CurrencySymbol=16]="CurrencySymbol",ga[ga.CurrencyName=17]="CurrencyName",ga[ga.Currencies=18]="Currencies",ga[ga.Directionality=19]="Directionality",ga[ga.PluralCase=20]="PluralCase",ga[ga.ExtraData=21]="ExtraData",ga))();const _a="en-US";let ya=_a;function va(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,s){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(ya=t.toLowerCase().replace(/_/g,"-"))}function ba(t,e,n,s,i){if(t=g(t),Array.isArray(t))for(let r=0;r<t.length;r++)ba(t[r],e,n,s,i);else{const r=Zt(),o=qt();let a=Mr(t)?t:g(t.provide),l=Dr(t);const c=zt(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(Mr(t)||!t.multi){const s=new Ae(l,i,no),p=Sa(a,e,i?u:u+d,h);-1===p?(Ze(Ue(c,o),r,a),wa(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(s),o.push(s)):(n[p]=s,o[p]=s)}else{const p=Sa(a,e,u+d,h),f=Sa(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(i&&!g||!i&&!m){Ze(Ue(c,o),r,a);const u=function(t,e,n,s,i){const r=new Ae(t,n,no);return r.multi=[],r.index=e,r.componentProviders=0,Ca(r,i,s&&!n),r}(i?Ta:ka,n.length,i,s,l);!i&&g&&(n[f].providerFactory=u),wa(r,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else wa(r,t,p>-1?p:f,Ca(n[i?f:p],l,!i&&s));!i&&s&&g&&n[f].componentProviders++}}}function wa(t,e,n,s){const i=Mr(e);if(i||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[s,r]):o[t+1].push(s,r)}else o.push(n,r)}}}function Ca(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Sa(t,e,n,s){for(let i=n;i<s;i++)if(e[i]===t)return i;return-1}function ka(t,e,n,s){return Ea(this.multi,[])}function Ta(t,e,n,s){const i=this.multi;let r;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Xe(n,n[1],this.providerFactory.index,s);r=e.slice(0,t),Ea(i,r);for(let n=t;n<e.length;n++)r.push(e[n])}else r=[],Ea(i,r);return r}function Ea(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function xa(t,e=[]){return n=>{n.providersResolver=(n,s)=>function(t,e,n){const s=Zt();if(s.firstCreatePass){const i=_t(t);ba(n,s.data,s.blueprint,i,!0),ba(e,s.data,s.blueprint,i,!1)}}(n,s?s(t):t,e)}}class Da{}
vendor: 21,220 bytes, line 1
1class Aa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${d(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}class Oa{}function Ma(...t){}function Ra(t,e){return new Pa(It(t,e))}Oa.NULL=new Aa;const Ia=function(){return Ra(zt(),qt())};let Pa=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Ia,t})();function Fa(t){return t instanceof Pa?t.nativeElement:t}class Na{}let La=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ja(),t})();const ja=function(){const t=qt(),e=Nt(zt().index,t);return function(t){return t[11]}(dt(e)?e:t)};let Va=(()=>{class t{}return t.\u0275prov=C({token:t,providedIn:"root",factory:()=>null}),t})();class Ha{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ua=new Ha("12.1.5");class Ya{constructor(){}supports(t){return Br(t)}create(t){return new qa(t)}}const Ba=(t,e)=>e;class qa{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ba}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,s=0,i=null;for(;e||n;){const r=!n||e&&e.currentIndex<Ga(n,s,i)?e:n,o=Ga(r,s,i),a=r.currentIndex;if(r===n)s--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)s++;else{i||(i=[]);const t=o-s,e=a-s;if(t!=e){for(let n=0;n<t;n++){const s=n<i.length?i[n]:i[n]=0,r=s+n;e<=r&&r<t&&(i[n]=s+1)}i[r.previousIndex]=e-t}}o!==a&&t(r,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Br(t))throw new Error(`Error trying to diff '${d(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,s,i=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],s=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,s)?(r&&(i=this._verifyReinsertion(i,n,s,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,s,e),r=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ur()]();let s;for(;!(s=n.next()).done;)e(s.value)}}(t,t=>{s=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,s)?(r&&(i=this._verifyReinsertion(i,t,s,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,s,e),r=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,s){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,s)):t=this._addAfter(new Za(e,n),i,s),t}_verifyReinsertion(t,e,n,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const s=null===e?this._itHead:e._next;return t._next=s,t._prev=e,null===s?this._itTail=t:s._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new za),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new za),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Za{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class $a{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class za{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new $a,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ga(t,e,n){const s=t.previousIndex;if(null===s)return s;let i=0;return n&&s<n.length&&(i=n[s]),s+e+i}class Wa{constructor(){}supports(t){return t instanceof Map||qr(t)}create(){return new Ja}}class Ja{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||qr(t)))throw new Error(`Error trying to diff '${d(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const s=n._prev,i=n._next;return s&&(s._next=i),i&&(i._prev=s),n._next=null,n._prev=null,n}const n=new Qa(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Qa{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Ka(){return new Xa([new Ya])}let Xa=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Ka()),deps:[[t,new Rn,new Mn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=C({token:t,providedIn:"root",factory:Ka}),t})();function tl(){return new el([new Wa])}let el=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||tl()),deps:[[t,new Rn,new Mn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=C({token:t,providedIn:"root",factory:tl}),t})();function nl(t,e,n,s,i=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&s.push(Mt(r)),pt(r))for(let t=ht;t<r.length;t++){const e=r[t],n=e[1].firstChild;null!==n&&nl(e[1],e,n,s)}const o=n.type;if(8&o)nl(t,e,n.child,s);else if(32&o){const t=Ns(n,e);let i;for(;i=t();)s.push(i)}else if(16&o){const t=ni(e,n);if(Array.isArray(t))s.push(...t);else{const n=Ls(e[16]);nl(n[1],n,t,s,!0)}}n=i?n.projectionNext:n.next}return s}class sl{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return nl(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(pt(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(qs(t,n),mn(e,n))}this._attachedToViewContainer=!1}Zs(this._lView[1],this._lView)}onDestroy(t){Bi(this._lView[1],this._lView,null,t)}markForCheck(){ar(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){lr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Xt(!0);try{lr(t,e,n)}finally{Xt(!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 t;this._appRef=null,ri(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class il extends sl{constructor(t){super(t),this._view=t}detectChanges(){cr(this._view)}checkNoChanges(){!function(t){Xt(!0);try{cr(t)}finally{Xt(!1)}}(this._view)}get context(){return null}}const rl=function(t){return function(t,e,n){if(mt(t)&&!n){const n=Nt(t.index,e);return new sl(n,n)}return 47&t.type?new sl(e[16],e):null}(zt(),qt(),16==(16&t))};let ol=(()=>{class t{}return t.__NG_ELEMENT_ID__=rl,t})();const al=[new Wa],ll=new Xa([new Ya]),cl=new el(al),ul=function(){return fl(zt(),qt())};let hl=(()=>{class t{}return t.__NG_ELEMENT_ID__=ul,t})();const dl=hl,pl=class extends dl{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Mi(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(n[19]=s.createEmbeddedView(e)),Pi(e,n,t),new sl(n)}};function fl(t,e){return 4&t.type?new pl(e,t,Ra(t,e)):null}class ml{}class gl{}const _l=function(){return Sl(zt(),qt())};let yl=(()=>{class t{}return t.__NG_ELEMENT_ID__=_l,t})();const vl=yl,bl=class extends vl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ra(this._hostTNode,this._hostLView)}get injector(){return new nn(this._hostTNode,this._hostLView)}get parentInjector(){const t=qe(this._hostTNode,this._hostLView);if(Fe(t)){const e=Le(t,this._hostLView),n=Ne(t);return new nn(e[1].data[n+8],e)}return new nn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=wl(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-ht}createEmbeddedView(t,e,n){const s=t.createEmbeddedView(e||{});return this.insert(s,n),s}createComponent(t,e,n,s,i){const r=n||this.parentInjector;if(!i&&null==t.ngModule&&r){const t=r.get(ml,null);t&&(i=t)}const o=t.create(r,s,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,s=n[1];if(pt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],s=new bl(e,e[6],e[3]);s.detach(s.indexOf(t))}}const i=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,s){const i=ht+s,r=n.length;s>0&&(n[i-1][4]=e),s<r-ht?(e[4]=n[i],fn(n,ht+s,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(s,n,r,i);const o=si(i,r),a=n[11],l=Qs(a,r[7]);return null!==l&&function(t,e,n,s,i,r){s[0]=i,s[6]=e,ri(t,s,n,1,i,r)}(s,r[6],a,n,l,o),t.attachToViewContainerRef(),fn(Cl(r),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=wl(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=qs(this._lContainer,e);n&&(mn(Cl(this._lContainer),e),Zs(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=qs(this._lContainer,e);return n&&null!=mn(Cl(this._lContainer),e)?new sl(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function wl(t){return t[8]}function Cl(t){return t[8]||(t[8]=[])}function Sl(t,e){let n;const s=e[t.index];if(pt(s))n=s;else{let i;if(8&t.type)i=Mt(s);else{const n=e[11];i=n.createComment("");const s=It(t,e);Gs(n,Qs(n,s),i,function(t,e){return At(t)?t.nextSibling(e):e.nextSibling}(n,s),!1)}e[t.index]=n=nr(s,e,i,t),or(e,n)}return new bl(n,t,e)}const kl={};class Tl extends Oa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=lt(t);return new Dl(e,this.ngModule)}}function El(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const xl=new cn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Rs});class Dl extends Da{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(bi).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return El(this.componentDef.inputs)}get outputs(){return El(this.componentDef.outputs)}create(t,e,n,s){const i=(s=s||this.ngModule)?function(t,e){return{get:(n,s,i)=>{const r=t.get(n,kl,i);return r!==kl||s===kl?r:e.get(n,s,i)}}}(t,s.injector):t,r=i.get(Na,Ot),o=i.get(Va,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(At(t))return t.selectRootElement(e,n===L.ShadowDom);let s="string"==typeof e?t.querySelector(e):e;return s.textContent="",s}(a,n,this.componentDef.encapsulation):Ys(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?Tt:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Rs,clean:hr,playerHandler:null,flags:0},d=Yi(0,null,null,1,0,null,null,null,null,null),p=Mi(null,d,h,u,null,null,r,a,o,i);let f,m;he(p);try{const t=function(t,e,n,s,i,r){const o=n[1];n[20]=t;const a=Ri(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(_r(a,l,!0),null!==t&&(Oe(i,t,l),null!==a.classes&&li(i,t,a.classes),null!==a.styles&&ai(i,t,a.styles)));const c=s.createRenderer(t,e),u=Mi(n,Ui(e),null,e.onPush?64:16,n[20],a,s,c,null,null);return o.firstCreatePass&&(Ze(Ue(a,n),o,e.type),Wi(o,a),Qi(a,n.length,1)),or(n,u),n[20]=u}(c,this.componentDef,p,r,a);if(c)if(n)Oe(a,c,["ng-version",Ua.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let s=1,i=2;for(;s<t.length;){let r=t[s];if("string"==typeof r)2===i?""!==r&&e.push(r,t[++s]):8===i&&n.push(r);else{if(!mi(i))break;i=r}s++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Oe(a,c,t),e&&e.length>0&&li(a,c,e.join(" "))}if(m=Pt(d,ut),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const s=e[n];t.push(null!=s?Array.from(s):null)}}f=function(t,e,n,s,i){const r=n[1],o=function(t,e,n){const s=zt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ki(t,s,e,Ii(t,e,1,null),n));const i=Xe(e,t,s.directiveStart,s);xs(i,e);const r=It(s,e);return r&&xs(r,e),i}(r,n,e);if(s.components.push(o),t[8]=o,i&&i.forEach(t=>t(o,e)),e.contentQueries){const t=zt();e.contentQueries(1,o,t.directiveStart)}const a=zt();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ye(a.index),zi(n[1],a,0,a.directiveStart,a.directiveEnd,e),Gi(e,o)),o}(t,this.componentDef,p,h,[Pr]),Pi(d,p,null)}finally{ge()}return new Al(this.componentType,f,Ra(m,p),p,m)}}class Al extends class{}{constructor(t,e,n,s,i){super(),this.location=n,this._rootLView=s,this._tNode=i,this.instance=e,this.hostView=this.changeDetectorRef=new il(s),this.componentType=t}get injector(){return new nn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Ol=new Map;class Ml extends ml{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Tl(this);const n=ct(t),s=t[W]||null;s&&va(s),this._bootstrapComponents=Ps(n.bootstrap),this._r3Injector=Tr(t,e,[{provide:ml,useValue:this},{provide:Oa,useValue:this.componentFactoryResolver}],d(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ir.THROW_IF_NOT_FOUND,n=M.Default){return t===Ir||t===ml||t===yr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;
vendor: 6,092 bytes, line 1
1!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Rl extends gl{constructor(t){super(),this.moduleType=t,null!==ct(t)&&function(t){const e=new Set;!function t(n){const s=ct(n,!0),i=s.id;null!==i&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${d(e)} vs ${d(e.name)}`)}(i,Ol.get(i),n),Ol.set(i,n));const r=Ps(s.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new Ml(this.moduleType,t)}}function Il(t,e,n){const s=te()+t,i=qt();return i[s]===wi?Zr(i,s,n?e.call(n):e()):$r(i,s)}function Pl(t,e,n,s){return Hl(qt(),te(),t,e,n,s)}function Fl(t,e,n,s,i){return Ul(qt(),te(),t,e,n,s,i)}function Nl(t,e,n,s,i,r){return function(t,e,n,s,i,r,o,a){const l=e+n;return Wr(t,l,i,r,o)?Zr(t,l+3,a?s.call(a,i,r,o):s(i,r,o)):Vl(t,l+3)}(qt(),te(),t,e,n,s,i,r)}function Ll(t,e,n,s,i,r,o){return function(t,e,n,s,i,r,o,a,l){const c=e+n;return Jr(t,c,i,r,o,a)?Zr(t,c+4,l?s.call(l,i,r,o,a):s(i,r,o,a)):Vl(t,c+4)}(qt(),te(),t,e,n,s,i,r,o)}function jl(t,e,n,s,i,r,o,a){const l=te()+t,c=qt(),u=Jr(c,l,n,s,i,r);return zr(c,l+4,o)||u?Zr(c,l+5,a?e.call(a,n,s,i,r,o):e(n,s,i,r,o)):$r(c,l+5)}function Vl(t,e){const n=t[e];return n===wi?void 0:n}function Hl(t,e,n,s,i,r){const o=e+n;return zr(t,o,i)?Zr(t,o+1,r?s.call(r,i):s(i)):Vl(t,o+1)}function Ul(t,e,n,s,i,r,o){const a=e+n;return Gr(t,a,i,r)?Zr(t,a+2,o?s.call(o,i,r):s(i,r)):Vl(t,a+2)}function Yl(t,e){const n=Zt();let s;const i=t+ut;n.firstCreatePass?(s=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const s=e[n];if(t===s.name)return s}throw new y("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[i]=s,s.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,s.onDestroy)):s=n.data[i];const r=s.factory||(s.factory=yt(s.type)),o=I(no);try{const t=Ve(!1),e=r();return Ve(t),function(t,e,n,s){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=s}(n,qt(),i,e),e}finally{I(o)}}function Bl(t,e,n){const s=t+ut,i=qt(),r=Ft(i,s);return $l(i,Zl(i,s)?Hl(i,te(),e,r.transform,n,r):r.transform(n))}function ql(t,e,n,s){const i=t+ut,r=qt(),o=Ft(r,i);return $l(r,Zl(r,i)?Ul(r,te(),e,o.transform,n,s,o):o.transform(n,s))}function Zl(t,e){return t[1].data[e].pure}function $l(t,e){return Yr.isWrapped(e)&&(e=Yr.unwrap(e),t[ee()]=wi),e}function zl(t){return e=>{setTimeout(t,void 0,e)}}const Gl=class extends s.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var s,r,o;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(s=e.next)||void 0===s?void 0:s.bind(e),l=null===(r=e.error)||void 0===r?void 0:r.bind(e),c=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(l=zl(l),a&&(a=zl(a)),c&&(c=zl(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof i.w&&t.add(u),u}};function Wl(){return this._results[Ur()]()}class Jl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ur(),n=Jl.prototype;n[e]||(n[e]=Wl)}get changes(){return this._changes||(this._changes=new Gl)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const s=dn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let s=0;s<t.length;s++){let i=t[s],r=e[s];if(n&&(i=n(i),r=n(r)),r!==i)return!1}return!0}(n._results,s,e))&&(n._results=s,n.length=s.length,n.last=s[this.length-1],n.first=s[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class Ql{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ql(this.queryList)}setDirty(){this.queryList.setDirty()}}class Kl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,s=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);s.push(this.queries[n.indexInDeclarationView].clone())}return new Kl(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==dc(t,e).matches&&this.queries[e].setDirty()}}class Xl{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class tc{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const s=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,s);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new tc(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class ec{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new ec(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}
1matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let s=0;s<n.length;s++){const i=n[s];this.matchTNodeWithReadOption(t,e,nc(e,i)),this.matchTNodeWithReadOption(t,e,Ke(e,t,i,!1,!1))}else n===hl?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Ke(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const s=this.metadata.read;if(null!==s)if(s===Pa||s===yl||s===hl&&4&e.type)this.addMatch(e.index,-2);else{const n=Ke(e,t,s,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function nc(t,e){const n=t.localNames;if(null!==n)for(let s=0;s<n.length;s+=2)if(n[s]===e)return n[s+1];return null}function sc(t,e,n,s){return-1===n?function(t,e){return 11&t.type?Ra(t,e):4&t.type?fl(t,e):null}(e,t):-2===n?function(t,e,n){return n===Pa?Ra(e,t):n===hl?fl(e,t):n===yl?Sl(e,t):void 0}(t,e,s):Xe(t,t[1],n,e)}function ic(t,e,n,s){const i=e[19].queries[s];if(null===i.matches){const s=t.data,r=n.matches,o=[];for(let t=0;t<r.length;t+=2){const i=r[t];o.push(i<0?null:sc(e,s[i],r[t+1],n.metadata.read))}i.matches=o}return i.matches}function rc(t,e,n,s){const i=t.queries.getByIndex(n),r=i.matches;if(null!==r){const o=ic(t,e,i,n);for(let t=0;t<r.length;t+=2){const n=r[t];if(n>0)s.push(o[t/2]);else{const i=r[t+1],o=e[-n];for(let t=ht;t<o.length;t++){const e=o[t];e[17]===e[3]&&rc(e[1],e,i,s)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];rc(n[1],n,i,s)}}}}}return s}function oc(t){const e=qt(),n=Zt(),s=ae();le(s+1);const i=dc(n,s);if(t.dirty&&Lt(e)===(2==(2&i.metadata.flags))){if(null===i.matches)t.reset([]);else{const r=i.crossesNgTemplate?rc(n,e,s,[]):ic(n,e,i,s);t.reset(r,Fa),t.notifyOnChanges()}return!0}return!1}function ac(t,e,n){const s=Zt();s.firstCreatePass&&(hc(s,new Xl(t,e,n),-1),2==(2&e)&&(s.staticViewQueries=!0)),uc(s,qt(),e)}function lc(t,e,n,s){const i=Zt();if(i.firstCreatePass){const r=zt();hc(i,new Xl(e,n,s),r.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(i,t),2==(2&n)&&(i.staticContentQueries=!0)}uc(i,qt(),n)}function cc(){return t=qt(),e=ae(),t[19].queries[e].queryList;var t,e}function uc(t,e,n){const s=new Jl(4==(4&n));Bi(t,e,s,s.destroy),null===e[19]&&(e[19]=new Kl),e[19].queries.push(new Ql(s))}function hc(t,e,n){null===t.queries&&(t.queries=new tc),t.queries.track(new ec(e,n))}function dc(t,e){return t.queries.getByIndex(e)}function pc(t,e){return fl(t,e)}const fc=new cn("Application Initializer");let mc=(()=>{class t{constructor(t){this.appInits=t,this.resolve=Ma,this.reject=Ma,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();if(ho(e))t.push(e);else if(fo(e)){const n=new Promise((t,n)=>{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(xn(fc,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const gc=new cn("AppId"),_c={provide:gc,useFactory:function(){return`${yc()}${yc()}${yc()}`},deps:[]};function yc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const vc=new cn("Platform Initializer"),bc=new cn("Platform ID"),wc=new cn("appBootstrapListener");let Cc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const Sc=new cn("LocaleId"),kc=new cn("DefaultCurrencyCode");class Tc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Ec=function(t){return new Rl(t)},xc=Ec,Dc=function(t){return Promise.resolve(Ec(t))},Ac=function(t){const e=Ec(t),n=Ps(ct(t).declarations).reduce((t,e)=>{const n=lt(e);return n&&t.push(new Dl(n)),t},[]);return new Tc(e,n)},Oc=Ac,Mc=function(t){return Promise.resolve(Ac(t))};let Rc=(()=>{class t{constructor(){this.compileModuleSync=xc,this.compileModuleAsync=Dc,this.compileModuleAndAllComponentsSync=Oc,this.compileModuleAndAllComponentsAsync=Mc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const Ic=(()=>Promise.resolve(0))();function Pc(t){"undefined"==typeof Zone?Ic.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Fc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Gl(!1),this.onMicrotaskEmpty=new Gl
1(!1),this.onStable=new Gl(!1),this.onError=new Gl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!n&&e,s.shouldCoalesceRunChangeDetection=n,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function(){let t=Y.requestAnimationFrame,e=Y.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const s=e[Zone.__symbol__("OriginalDelegate")];s&&(e=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Y,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,jc(t),t.isCheckStableRunning=!0,Lc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),jc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,s,i,r,o,a)=>{try{return Vc(t),n.invokeTask(i,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),Hc(t)}},onInvoke:(n,s,i,r,o,a,l)=>{try{return Vc(t),n.invoke(i,r,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Hc(t)}},onHasTask:(e,n,s,i)=>{e.hasTask(s,i),n===s&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,jc(t),Lc(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,s,i)=>(e.handleError(s,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Fc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Fc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,s){const i=this._inner,r=i.scheduleEventTask("NgZoneEvent: "+s,t,Nc,Ma,Ma);try{return i.runTask(r,e,n)}finally{i.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Nc={};function Lc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function jc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Vc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Hc(t){t._nesting--,Lc(t)}class Uc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gl,this.onMicrotaskEmpty=new Gl,this.onStable=new Gl,this.onError=new Gl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,s){return t.apply(e,n)}}let Yc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Fc.assertNotInAngularZone(),Pc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}
vendor: 4,271 bytes, line 1
1decreasePendingRequestCount(){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())Pc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let s=-1;e&&e>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==s),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(xn(Fc))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})(),Bc=(()=>{class t{constructor(){this._applications=new Map,zc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return zc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();class qc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Zc(t){zc=t}let $c,zc=new qc,Gc=!0,Wc=!1;function Jc(){return Wc=!0,Gc}function Qc(){if(Wc)throw new Error("Cannot enable prod mode after platform setup.");Gc=!1}const Kc=new cn("AllowMultipleToken");class Xc{constructor(t,e){this.name=t,this.token=e}}function tu(t,e,n=[]){const s=`Platform: ${e}`,i=new cn(s);return(e=[])=>{let r=eu();if(!r||r.injector.get(Kc,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:br,useValue:"platform"});!function(t){if($c&&!$c.destroyed&&!$c.injector.get(Kc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");$c=t.get(nu);const e=t.get(vc,null);e&&e.forEach(t=>t())}(Ir.create({providers:t,name:s}))}return function(t){const e=eu();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function eu(){return $c&&!$c.destroyed?$c:null}let nu=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Uc:("zone.js"===t?void 0:t)||new Fc({enableLongStackTrace:Jc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),s=[{provide:Fc,useValue:n}];return n.run(()=>{const e=Ir.create({providers:s,parent:this.injector,name:t.moduleType.name}),i=t.create(e),r=i.injector.get(Ms,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{r.handleError(t)}});i.onDestroy(()=>{ru(this._modules,i),t.unsubscribe()})}),function(t,e,n){try{const s=n();return ho(s)?s.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):s}catch(s){throw e.runOutsideAngular(()=>t.handleError(s)),s}}(r,n,()=>{const t=i.injector.get(mc);
1return t.runInitializers(),t.donePromise.then(()=>(va(i.injector.get(Sc,_a)||_a),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=su({},e);return function(t,e,n){const s=new Rl(n);return Promise.resolve(s)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(iu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${d(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(xn(Ir))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function su(t,e){return Array.isArray(e)?e.reduce(su,t):Object.assign(Object.assign({},t),e)}let iu=(()=>{class t{constructor(t,e,n,s,i){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=i,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 u=new r.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),h=new r.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Fc.assertNotInAngularZone(),Pc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Fc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(u,h.pipe(t=>{return(0,l.x)()((e=c,function(t){let n;n="function"==typeof e?e:function(){return e};const s=Object.create(t,a.N);return s.source=t,s.subjectFactory=n,s})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Da?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const s=n.isBoundToModule?void 0:this._injector.get(ml),i=n.create(Ir.NULL,[],e||n.selector,s),r=i.location.nativeElement,o=i.injector.get(Yc,null),a=o&&i.injector.get(Bc);return o&&a&&a.registerApplication(r,o),i.onDestroy(()=>{this.detachView(i.hostView),ru(this.components,i),a&&a.unregisterApplication(r)}),this._loadComponent(i),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;ru(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(wc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(xn(Fc),xn(Ir),xn(Ms),xn(Oa),xn(mc))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function ru(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class ou{}class au{}const lu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let cu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||lu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,s]=t.split("#");return void 0===s&&(s="default"),n(8255)(e).then(t=>t[s]).then(t=>uu(t,e,s)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,s]=t.split("#"),i="NgFactory";return void 0===s&&(s="default",i=""),n(8255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[s+i]).then(t=>uu(t,e,s))}}return t.\u0275fac=function(e){return new(e||t)(xn(Rc),xn(au,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function uu(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const hu=function(t){return null},du=tu(null,"core",[{provide:bc,useValue:"unknown"},{provide:nu,deps:[Ir]},{provide:Bc,deps:[]},{provide:Cc,deps:[]}]),pu=[{provide:iu,useClass:iu,deps:[Fc,Ir,Ms,Oa,mc]},{provide:xl,deps:[Fc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:mc,useClass:mc,deps:[[new Mn,fc]]},{provide:Rc,useClass:Rc,deps:[]},_c,{provide:Xa,useFactory:function(){return ll},deps:[]},{provide:el,useFactory:function(){return cl},deps:[]},{provide:Sc,useFactory:function(t){return va(t=t||"undefined"!=typeof $localize&&$localize.locale||_a),t},deps:[[new On(Sc),new Mn,new Rn]]},{provide:kc,useValue:"USD"}];let fu=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(xn(iu))},t.\u0275mod=st({type:t}),t.\u0275inj=S({providers:pu}),t})()},665:(t,e,n)=>{"use strict";n.d(e,{Fj:()=>g,qu:()=>$t,u:()=>At,sg:()=>xt,u5:()=>qt,Fd:()=>Ht,qQ:()=>Yt,Cf:()=>v,JU:()=>p,a5:()=>H,JJ:()=>Y,JL:()=>B,F:()=>_t,On:()=>bt,YN:()=>It,wV:()=>St,UX:()=>Zt,EJ:()=>Rt,kI:()=>C,_Y:()=>wt,Kr:()=>Lt});var s=n(3018),i=n(8583),r=n(8891),o=n(9796),a=n(8002),l=n(1555),c=n(4402);function u(t,e){return new r.y(n=>{const s=t.length;if(0===s)return void n.complete();const i=new Array(s);let r=0,o=0;for(let a=0;a<s;a++){const l=(0,c.D)(t[a]);let u=!1;n.add(l.subscribe({next:t=>{u||(u=!0,o++),i[a]=t},error:t=>n.error(t),complete:()=>{r++,r!==s&&u||(o===s&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}let h=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t}),t})(),d=(()=>{class t extends h{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();const p=new s.OlP("NgValueAccessor"),f={provide:p,useExisting:(0,s.Gpc)(()=>g),multi:!0},m=new s.OlP("CompositionEventMode");let g=(()=>{class t extends h{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,i.q)()?(0,i.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}
1_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(m,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&s.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[s._Bn([f]),s.qOj]}),t})();function _(t){return null==t||0===t.length}function y(t){return null!=t&&"number"==typeof t.length}const v=new s.OlP("NgValidators"),b=new s.OlP("NgAsyncValidators"),w=/^(?=.{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 C{static min(t){return S(t)}static max(t){return k(t)}static required(t){return function(t){return _(t.value)?{required:!0}:null}(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return _(t.value)||w.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>_(e.value)||!y(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static maxLength(t){return function(t){return e=>y(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return T;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(_(t.value))return null;const s=t.value;return e.test(s)?null:{pattern:{requiredPattern:n,actualValue:s}}}}(t)}static nullValidator(t){return null}static compose(t){return M(t)}static composeAsync(t){return I(t)}}function S(t){return e=>{if(_(e.value)||_(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}function k(t){return e=>{if(_(e.value)||_(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function T(t){return null}function E(t){return null!=t}function x(t){const e=(0,s.QGY)(t)?(0,c.D)(t):t;return(0,s.CqO)(e),e}function D(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function A(t,e){return e.map(e=>e(t))}function O(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function M(t){if(!t)return null;const e=t.filter(E);return 0==e.length?null:function(t){return D(A(t,e))}}function R(t){return null!=t?M(O(t)):null}function I(t){if(!t)return null;const e=t.filter(E);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if((0,o.k)(e))return u(e,null);if((0,l.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return u(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return u(t=1===t.length&&(0,o.k)(t[0])?t[0]:t,null).pipe((0,a.U)(t=>e(...t)))}return u(t,null)}(A(t,e).map(x)).pipe((0,a.U)(D))}}function P(t){return null!=t?I(O(t)):null}function F(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function N(t){return t._rawValidators}function L(t){return t._rawAsyncValidators}let j=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=R(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=P(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t}),t})(),V=(()=>{class t extends j{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();class H extends j{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class U{constructor(t){this._cd=t}is(t){var e,n,s;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(s=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===s?void 0:s[t])}}let Y=(()=>{class t extends U{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(H,2))},t.\u0275dir=s.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&s.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[s.qOj]}),t})(),B=(()=>{class t extends U{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(V,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&s.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[s.qOj]}),t})();function q(t,e){return[...e.path,t]}function Z(t,e){G(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&J(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&J(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function $(t,e,n=!0){const s=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(s),e.valueAccessor.registerOnTouched(s)),W(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function z(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}
1)}function G(t,e){const n=N(t);null!==e.validator?t.setValidators(F(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const s=L(t);null!==e.asyncValidator?t.setAsyncValidators(F(s,e.asyncValidator)):"function"==typeof s&&t.setAsyncValidators([s]);const i=()=>t.updateValueAndValidity();z(e._rawValidators,i),z(e._rawAsyncValidators,i)}function W(t,e){let n=!1;if(null!==t){if(null!==e.validator){const s=N(t);if(Array.isArray(s)&&s.length>0){const i=s.filter(t=>t!==e.validator);i.length!==s.length&&(n=!0,t.setValidators(i))}}if(null!==e.asyncValidator){const s=L(t);if(Array.isArray(s)&&s.length>0){const i=s.filter(t=>t!==e.asyncValidator);i.length!==s.length&&(n=!0,t.setAsyncValidators(i))}}}const s=()=>{};return z(e._rawValidators,s),z(e._rawAsyncValidators,s),n}function J(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Q(t,e){G(t,e)}function K(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function X(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function tt(t,e){if(!e)return null;let n,s,i;return Array.isArray(e),e.forEach(t=>{t.constructor===g?n=t:Object.getPrototypeOf(t.constructor)===d?s=t:i=t}),i||s||n||null}function et(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const nt="VALID",st="INVALID",it="PENDING",rt="DISABLED";function ot(t){return(ut(t)?t.validators:t)||null}function at(t){return Array.isArray(t)?R(t):t||null}function lt(t,e){return(ut(e)?e.asyncValidators:t)||null}function ct(t){return Array.isArray(t)?P(t):t||null}function ut(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ht{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=at(this._rawValidators),this._composedAsyncValidatorFn=ct(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===nt}get invalid(){return this.status===st}get pending(){return this.status==it}get disabled(){return this.status===rt}get enabled(){return this.status!==rt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=at(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ct(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=it,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=rt,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);
1this.status=nt,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==nt&&this.status!==it||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?rt:nt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=it,this._hasOwnPendingAsyncValidator=!0;const e=x(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let s=t;return e.forEach(t=>{s=s instanceof pt?s.controls.hasOwnProperty(t)?s.controls[t]:null:s instanceof ft&&s.at(t)||null}),s}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new s.vpe,this.statusChanges=new s.vpe}_calculateStatus(){return this._allControlsDisabled()?rt:this.errors?st:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(it)?it:this._anyControlsHaveStatus(st)?st:nt}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ut(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class dt extends ht{constructor(t=null,e,n){super(ot(e),lt(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){et(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){et(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pe
1ndingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class pt extends ht{constructor(t,e,n){super(ot(e),lt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,s)=>{n.reset(t[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof dt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,s)=>{n=e(n,t,s)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ft extends ht{constructor(t,e,n){super(ot(e),lt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateV
1alueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,s)=>{n.reset(t[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof dt?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const mt={provide:V,useExisting:(0,s.Gpc)(()=>_t)},gt=(()=>Promise.resolve(null))();let _t=(()=>{class t extends V{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new s.vpe,this.form=new pt({},R(t),P(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){gt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Z(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}
1removeControl(t){gt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),et(this._directives,t)})}addFormGroup(t){gt.then(()=>{const e=this._findContainer(t.path),n=new pt({});Q(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){gt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){gt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,X(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(v,10),s.Y36(b,10))},t.\u0275dir=s.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&s.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([mt]),s.qOj]}),t})();const yt={provide:H,useExisting:(0,s.Gpc)(()=>bt)},vt=(()=>Promise.resolve(null))();let bt=(()=>{class t extends H{constructor(t,e,n,i){super(),this.control=new dt,this._registered=!1,this.update=new s.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=tt(0,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),K(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?q(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Z(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){vt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;vt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(V,9),s.Y36(v,10),s.Y36(b,10),s.Y36(p,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[s._Bn([yt]),s.qOj,s.TTD]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const Ct={provide:p,useExisting:(0,s.Gpc)(()=>St),multi:!0};let St=(()=>{class t extends d{writeValue(t){this.setProperty("value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&s.NdJ("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[s._Bn([Ct]),s.qOj]}),t})(),kt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const Tt=new s.OlP("NgModelWithFormControlWarning"),Et={provide:V,useExisting:(0,s.Gpc)(()=>xt)};let xt=(()=>{class t extends V{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateV
1alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(W(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Z(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){$(t.control||null,t,!1),et(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,X(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&($(e||null,t),n instanceof dt&&(Z(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);Q(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return W(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){G(this.form,this),this._oldForm&&W(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(v,10),s.Y36(b,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&s.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([Et]),s.qOj,s.TTD]}),t})();const Dt={provide:H,useExisting:(0,s.Gpc)(()=>At)};let At=(()=>{class t extends H{constructor(t,e,n,i,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new s.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=tt(0,i)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),K(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(V,13),s.Y36(v,10),s.Y36(b,10),s.Y36(p,10),s.Y36(Tt,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[s._Bn([Dt]),s.qOj,s.TTD]}),t._ngModelWarningSentOnce=!1,t})();const Ot={provide:p,useExisting:(0,s.Gpc)(()=>Rt),multi:!0};function Mt(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let Rt=(()=>{class t extends d{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this.setProperty("selectedIndex",-1);const n=Mt(e,t);this.setProperty("value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&s.NdJ("
1change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[s._Bn([Ot]),s.qOj]}),t})(),It=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Mt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(Rt,9))},t.\u0275dir=s.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Pt={provide:p,useExisting:(0,s.Gpc)(()=>Nt),multi:!0};function Ft(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let Nt=(()=>{class t extends d{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const s=t.item(e),i=this._getOptionValue(s.value);n.push(i)}}else{const t=e.options;for(let e=0;e<t.length;e++){const s=t.item(e);if(s.selected){const t=this._getOptionValue(s.value);n.push(t)}}}this.value=n,t(n)}}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&s.NdJ("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[s._Bn([Pt]),s.qOj]}),t})(),Lt=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Ft(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Ft(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(Nt,9))},t.\u0275dir=s.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})(),jt=(()=>{class t{constructor(){this._validator=T}handleChanges(t){if(this.inputName in t){const e=this.normalizeInput(t[this.inputName].currentValue);this._validator=this.createValidator(e),this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t}),t})();const Vt={provide:v,useExisting:(0,s.Gpc)(()=>Ht),multi:!0};let Ht=(()=>{class t extends jt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>parseFloat(t),this.createValidator=t=>k(t)}ngOnChanges(t){this.handleChanges(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,e){if(2&t){let t;s.uIk("max",null!==(t=e.max)&&void 0!==t?t:null)}},inputs:{max:"max"},features:[s._Bn([Vt]),s.qOj,s.TTD]}),t})();const Ut={provide:v,useExisting:(0,s.Gpc)(()=>Yt),multi:!0};let Yt=(()=>{class t extends jt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>parseFloat(t),this.createValidator=t=>S(t)}ngOnChanges(t){this.handleChanges(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,e){if(2&t){let t;s.uIk("min",null!==(t=e.min)&&void 0!==t?t:null)}},inputs:{min:"min"},features:[s._Bn([Ut]),s.qOj,s.TTD]}),t})(),Bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[kt]]}),t})(),qt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[Bt]}),t})(),Zt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Tt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[Bt]}),t})(),$t=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let s,i=null,r=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,s=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new pt(n,{asyncValidators:r,updateOn:s,validators:i})}control(t,e,n){return new dt(t,e,n)}array(t,e,n){const s=t.map(t=>this._createControl(t));return new ft(s,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof dt||t instanceof pt||t instanceof ft?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:Zt}),t})()},9075:(t,e,n)=>{"use strict";n.d(e,{b2:()=>j,H7:()=>I,q6:()=>N,se:()=>S});var s=n(8583),i=n(3018);class r extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends r{static makeCurrent(){(0,s.HT)(new o)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,s.Mx)(document.cookie,t)}}let a,l=null;const c=new i.OlP("TRANSITION_ID"),u=[{provide:i.ip1,useFactory:function(t,e,n){return()=>{n.get(i.CZH).donePromise.then(()=>{const n=(0,s.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,s.K0,i.zs3],multi:!0}];class h{static init(){(0,i.VLi)(new h)}
1addToWindow(t){i.dqk.getAngularTestability=(e,n=!0)=>{const s=t.findTestabilityInTree(e,n);if(null==s)throw new Error("Could not find testability for element.");return s},i.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const e=i.dqk.getAllAngularTestabilities();let n=e.length,s=!1;const r=function(e){s=s||e,n--,0==n&&t(s)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?(0,s.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new i.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let s=0;s<n.length;s++){const e=n[s];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(p),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class m{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const i=(0,s.q)().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,n)}}let g=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const s=this._doc.createElement("style");s.textContent=t,n.push(e.appendChild(s))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(y),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(y))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function y(t){(0,s.q)().remove(t)}const v={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},b=/%COMP%/g;function w(t,e,n){for(let s=0;s<e.length;s++){let i=e[s];Array.isArray(i)?w(t,i,n):(i=i.replace(b,t),n.push(i))}return n}function C(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let S=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new k(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new T(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case i.ifc.ShadowDom:return new E(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(f),i.LFG(_),i.LFG(i.AFp))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class k{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(v[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}
1" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,s){if(s){e=s+":"+e;const i=v[s];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const s=v[n];s?t.removeAttributeNS(s,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,s){s&(i.JOm.DashCase|i.JOm.Important)?t.style.setProperty(e,n,s&i.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,C(n)):this.eventManager.addEventListener(t,e,C(n))}}class T extends k{constructor(t,e,n,s){super(t),this.component=n;const i=w(s+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(b,s+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(b,s+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class E extends k{constructor(t,e,n,s){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=w(s.id,s.styles,[]);for(let r=0;r<i.length;r++){const t=document.createElement("style");t.textContent=i[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let x=(()=>{class t extends m{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const D=["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"},O={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},M={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let R=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const i=t._normalizeKey(n.pop());let r="";if(D.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=s,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&O.hasOwnProperty(e)&&(e=O[e]))}return A[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),D.forEach(s=>{s!=n&&(0,M[s])(t)&&(e+=s+".")}),e+=n,e}static eventCallback(e,n,s){return i=>{t.getEventFullKey(i)===e&&s.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:function(){return(0,i.LFG)(F)},token:t,providedIn:"root"}),t})();function P(t){return new F(t.get(s.K0))}let F=(()=>{class t extends I{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case i.q3G.NONE:return e;case i.q3G.HTML:return(0,i.qzn)(e,"HTML")?(0,i.z3N)(e):(0,i.EiD)(this._doc,String(e)).toString();case i.q3G.STYLE:return(0,i.qzn)(e,"Style")?(0,i.z3N)(e):e;case i.q3G.SCRIPT:if((0,i.qzn)(e,"Script"))return(0,i.z3N)(e);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(e),(0,i.qzn)(e,"URL")?(0,i.z3N)(e):(0,i.mCW)(String(e));case i.q3G.RESOURCE_URL:if((0,i.qzn)(e,"ResourceURL"))return(0,i.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,i.JVY)(t)}bypassSecurityTrustStyle(t){return(0,i.L6k)(t)}bypassSecurityTrustScript(t){return(0,i.eBb)(t)}bypassSecurityTrustUrl(t){return(0,i.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,i.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.K0))},t.\u0275prov=(0,i.Yz7)({factory:function(){return P((0,i.LFG)(i.gxx))},token:t,providedIn:"root"}),t})();const N=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:s.bD},{provide:i.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:s.K0,useFactory:function(){return(0,i.RDi)(document),document},deps:[]}]),L=[[],{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function(){return new i.qLn},deps:[]},{provide:p,useClass:x,multi:!0,deps:[s.K0,i.R0b,i.Lbi]},{provide:p,useClass:R,multi:!0,deps:[s.K0]},[],{provide:S,useClass:S,deps:[f,_,i.AFp]},{provide:i.FYo,useExisting:S},{provide:g,useExisting:_},{provide:_,useClass:_,deps:[s.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:f,useClass:f,deps:[p,i.R0b]},{provide:s.JF,useClass:d,deps:[]},[]];let j=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:i.AFp,useValue:e.appId},{provide:c,useExisting:i.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(t,12))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:L,imports:[s.ez,i.hGG]}),t})();"undefined"!=typeof window&&window},4329:(t,e,n)=>{"use strict";n.d(e,{gz:()=>zt,F0:()=>gn,Od:()=>bn,yS:()=>yn,Bz:()=>Mn,lC:()=>wn});var s=n(8583),i=n(3018);const r=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var o=n(5917),a=n(3282);function l(...t){return(0,a.J)(1)((0,o.of)(...t))}var c=n(8891),u=n(4402),h=n(9193);function d(t){return new c.y(e=>{let n;try{n=t()}catch(s){return void e.error(s)}return(n?(0,u.D)(n):(0,h.c)()).subscribe(e)})}var p=n(6215),f=n(739),m=n(2441),g=n(7709),_=n(4869),y=n(5435),v=n(548),b=n(7393);function w(t=k){return e=>e.lift(new C(t))}class C{constructor(t){this.errorFactory=t}
1call(t,e){return e.subscribe(new S(t,this.errorFactory))}}class S extends b.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function k(){return new r}var T=n(5242),E=n(4487),x=n(5257);function D(t,e){const n=arguments.length>=2;return s=>s.pipe(t?(0,y.h)((e,n)=>t(e,n,s)):E.y,(0,x.q)(1),n?(0,T.d)(e):w(()=>new r))}var A=n(5319);class O{constructor(t){this.callback=t}call(t,e){return e.subscribe(new M(t,this.callback))}}class M extends b.L{constructor(t,e){super(t),this.add(new A.w(e))}}var R=n(8002),I=n(3190),P=n(2145),F=n(5304),N=n(4612),L=n(9773),j=n(3342),V=n(1307);class H{constructor(t,e){this.id=t,this.url=e}}class U extends H{constructor(t,e,n="imperative",s=null){super(t,e),this.navigationTrigger=n,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Y extends H{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class B extends H{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class q extends H{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Z extends H{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $ extends H{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class z extends H{constructor(t,e,n,s,i){super(t,e),this.urlAfterRedirects=n,this.state=s,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class G extends H{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class W extends H{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Q{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class K{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tt{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class et{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const st="primary";class it{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function rt(t){return new it(t)}function ot(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function at(t,e,n){const s=n.path.split("/");if(s.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||s.length<t.length))return null;const i={};for(let r=0;r<s.length;r++){const e=s[r],n=t[r];
1if(e.startsWith(":"))i[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,s.length),posParams:i}}function lt(t,e){const n=t?Object.keys(t):void 0,s=e?Object.keys(e):void 0;if(!n||!s||n.length!=s.length)return!1;let i;for(let r=0;r<n.length;r++)if(i=n[r],!ct(t[i],e[i]))return!1;return!0}function ct(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),s=[...e].sort();return n.every((t,e)=>s[e]===t)}return t===e}function ut(t){return Array.prototype.concat.apply([],t)}function ht(t){return t.length>0?t[t.length-1]:null}function dt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function pt(t){return(0,i.CqO)(t)?t:(0,i.QGY)(t)?(0,u.D)(Promise.resolve(t)):(0,o.of)(t)}const ft={exact:function t(e,n,s){if(!St(e.segments,n.segments))return!1;if(!vt(e.segments,n.segments,s))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i],s))return!1}return!0},subset:_t},mt={exact:function(t,e){return lt(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>ct(t[n],e[n]))},ignored:()=>!0};function gt(t,e,n){return ft[n.paths](t.root,e.root,n.matrixParams)&&mt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function _t(t,e,n){return yt(t,e,e.segments,n)}function yt(t,e,n,s){if(t.segments.length>n.length){const i=t.segments.slice(0,n.length);return!!St(i,n)&&!e.hasChildren()&&!!vt(i,n,s)}if(t.segments.length===n.length){if(!St(t.segments,n))return!1;if(!vt(t.segments,n,s))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!_t(t.children[n],e.children[n],s))return!1}return!0}{const i=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!St(t.segments,i)&&!!vt(t.segments,i,s)&&!!t.children.primary&&yt(t.children.primary,e,r,s)}}function vt(t,e,n){return e.every((e,s)=>mt[n](t[s].parameters,e.parameters))}class bt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rt(this.queryParams)),this._queryParamMap}toString(){return Et.serialize(this)}}class wt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,dt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return xt(this)}}class Ct{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=rt(this.parameters)),this._parameterMap}toString(){return Pt(this)}}function St(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class kt{}class Tt{parse(t){const e=new Vt(t);return new bt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${Dt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Ot(e)}=${Ot(t)}`).join("&"):`${Ot(e)}=${Ot(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Et=new Tt;function xt(t){return t.segments.map(t=>Pt(t)).join("/")}function Dt(t,e){if(!t.hasChildren())return xt(t);if(e){const e=t.children.primary?Dt(t.children.primary,!1):"",n=[];return dt(t.children,(t,e)=>{e!==st&&n.push(`${e}:${Dt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return dt(t.children,(t,s)=>{s===st&&(n=n.concat(e(t,s)))}),dt(t.children,(t,s)=>{s!==st&&(n=n.concat(e(t,s)))}),n}(t,(e,n)=>n===st?[Dt(t.children.primary,!1)]:[`${n}:${Dt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${xt(t)}/${e[0]}`:`${xt(t)}/(${e.join("//")})`}}function At(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ot(t){return At(t).replace(/%3B/gi,";")}function Mt(t){return At(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rt(t){return decodeURIComponent(t)}function It(t){return Rt(t.replace(/\+/g,"%20"))}function Pt(t){return`${Mt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Mt(t)}=${Mt(e[t])}`).join("")}`;var e}const Ft=/^[^\/()?;=#]+/;function Nt(t){const e=t.match(Ft);return e?e[0]:""}const Lt=/^[^=?&#]+/,jt=/^[^?&#]+/;class Vt{constructor(t){this.url=t,this.remaining=t}
1parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wt([],{}):new wt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new wt(t,e)),n}parseSegment(){const t=Nt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Ct(Rt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Nt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Nt(this.remaining);t&&(n=t,this.capture(n))}t[Rt(e)]=Rt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Lt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(jt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const s=It(e),i=It(n);if(t.hasOwnProperty(s)){let e=t[s];Array.isArray(e)||(e=[e],t[s]=e),e.push(i)}else t[s]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Nt(this.remaining),s=this.remaining[n.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let i;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=st);const r=this.parseChildren();e[i]=1===Object.keys(r).length?r.primary:new wt([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Ht{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Ut(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Ut(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Yt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Yt(t,this._root).map(t=>t.value)}}function Ut(t,e){if(t===e.value)return e;for(const n of e.children){const e=Ut(t,n);if(e)return e}return null}function Yt(t,e){if(t===e.value)return[e];for(const n of e.children){const s=Yt(t,n);if(s.length)return s.unshift(e),s}return[]}class Bt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function qt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Zt extends Ht{constructor(t,e){super(t),this.snapshot=e,Qt(this,t)}toString(){return this.snapshot.toString()}}function $t(t,e){const n=function(t,e){const n=new Wt([],{},{},"",{},st,e,null,t.root,-1,{});return new Jt("",new Bt(n,[]))}(t,e),s=new p.X([new Ct("",{})]),i=new p.X({}),r=new p.X({}),o=new p.X({}),a=new p.X(""),l=new zt(s,i,o,a,r,st,e,n.root);return l.snapshot=n.root,new Zt(new Bt(l,[]),n)}class zt{constructor(t,e,n,s,i,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=s,this.data=i,this.outlet=r,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,R.U)(t=>rt(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,R.U)(t=>rt(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Gt(t,e="emptyOnly"){const n=t.pathFromRoot;let s=0;if("always"!==e)for(s=n.length-1;s>=1;){const t=n[s],e=n[s-1];if(t.routeConfig&&""===t.routeConfig.path)s--;else{if(e.component)break;s--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(s))}class Wt{constructor(t,e,n,s,i,r,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=s,this.data=i,this.outlet=r,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=rt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Jt extends Ht{constructor(t,e){super(e),this.url=t,Qt(this,e)}toString(){return Kt(this._root)}}
1function Qt(t,e){e.value._routerState=t,e.children.forEach(e=>Qt(t,e))}function Kt(t){const e=t.children.length>0?` { ${t.children.map(Kt).join(", ")} } `:"";return`${t.value}${e}`}function Xt(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,lt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),lt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!lt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),lt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function te(t,e){var n,s;return lt(t.params,e.params)&&St(n=t.url,s=e.url)&&n.every((t,e)=>lt(t.parameters,s[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||te(t.parent,e.parent))}function ee(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const s=n.value;s._futureSnapshot=e.value;const i=function(t,e,n){return e.children.map(e=>{for(const s of n.children)if(t.shouldReuseRoute(e.value,s.value.snapshot))return ee(t,e,s);return ee(t,e)})}(t,e,n);return new Bt(s,i)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return ne(e,t),t}}const n=new zt(new p.X((s=e.value).url),new p.X(s.params),new p.X(s.queryParams),new p.X(s.fragment),new p.X(s.data),s.outlet,s.component,s),i=e.children.map(e=>ee(t,e));return new Bt(n,i)}var s}function ne(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)ne(t.children[n],e.children[n])}function se(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ie(t){return"object"==typeof t&&null!=t&&t.outlets}function re(t,e,n,s,i){let r={};return s&&dt(s,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new bt(n.root===t?e:oe(n.root,t,e),r,i)}function oe(t,e,n){const s={};return dt(t.children,(t,i)=>{s[i]=t===e?n:oe(t,e,n)}),new wt(t.segments,s)}class ae{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&se(n[0]))throw new Error("Root segment cannot have matrix parameters");const s=n.find(ie);if(s&&s!==ht(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class le{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ce(t,e,n){if(t||(t=new wt([],{})),0===t.segments.length&&t.hasChildren())return ue(t,e,n);const s=function(t,e,n){let s=0,i=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(s>=n.length)return r;const e=t.segments[i],o=n[s];if(ie(o))break;const a=`${o}`,l=s<n.length-1?n[s+1]:null;if(i>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!fe(a,l,e))return r;s+=2}else{if(!fe(a,{},e))return r;s++}i++}return{match:!0,pathIndex:i,commandIndex:s}}(t,e,n),i=n.slice(s.commandIndex);if(s.match&&s.pathIndex<t.segments.length){const e=new wt(t.segments.slice(0,s.pathIndex),{});return e.children.primary=new wt(t.segments.slice(s.pathIndex),t.children),ue(e,0,i)}return s.match&&0===i.length?new wt(t.segments,{}):s.match&&!t.hasChildren()?he(t,e,n):s.match?ue(t,0,i):he(t,e,n)}function ue(t,e,n){if(0===n.length)return new wt(t.segments,{});{const s=function(t){return ie(t[0])?t[0].outlets:{[st]:t}}(n),i={};return dt(s,(n,s)=>{"string"==typeof n&&(n=[n]),null!==n&&(i[s]=ce(t.children[s],e,n))}),dt(t.children,(t,e)=>{void 0===s[e]&&(i[e]=t)}),new wt(t.segments,i)}}function he(t,e,n){const s=t.segments.slice(0,e);let i=0;for(;i<n.length;){const r=n[i];if(ie(r)){const t=de(r.outlets);return new wt(s,t)}if(0===i&&se(n[0])){s.push(new Ct(t.segments[e].path,pe(n[0]))),i++;continue}const o=ie(r)?r.outlets.primary:`${r}`,a=i<n.length-1?n[i+1]:null;o&&a&&se(a)?(s.push(new Ct(o,pe(a))),i+=2):(s.push(new Ct(o,{})),i++)}return new wt(s,{})}function de(t){const e={};return dt(t,(t,n)=>
1{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=he(new wt([],{}),0,t))}),e}function pe(t){const e={};return dt(t,(t,n)=>e[n]=`${t}`),e}function fe(t,e,n){return t==n.path&<(e,n.parameters)}class me{constructor(t,e,n,s){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=s}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Xt(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const s=qt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,s[e],n),delete s[e]}),dt(s,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const s=t.value,i=e?e.value:null;if(s===i)if(s.component){const i=n.getContext(s.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:s})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),s=n&&t.value.component?n.children:e,i=qt(t);for(const r of Object.keys(i))this.deactivateRouteAndItsChildren(i[r],s);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const s=qt(e);t.children.forEach(t=>{this.activateRoutes(t,s[t.value.outlet],n),this.forwardEvent(new et(t.value.snapshot))}),t.children.length&&this.forwardEvent(new X(t.value.snapshot))}activateRoutes(t,e,n){const s=t.value,i=e?e.value:null;if(Xt(s),s===i)if(s.component){const i=n.getOrCreateContext(s.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(s.component){const e=n.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const t=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ge(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(s.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=s,e.resolver=i,e.outlet&&e.outlet.activateWith(s,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ge(t){Xt(t.value),t.children.forEach(ge)}class _e{constructor(t,e){this.routes=t,this.module=e}}function ye(t){return"function"==typeof t}function ve(t){return t instanceof bt}const be=Symbol("INITIAL_VALUE");function we(){return(0,I.w)(t=>(0,f.aj)(t.map(t=>t.pipe((0,x.q)(1),function(...t){const e=t[t.length-1];return(0,_.K)(e)?(t.pop(),n=>l(t,n,e)):e=>l(t,e)}(be)))).pipe((0,P.R)((t,e)=>{let n=!1;return e.reduce((t,s,i)=>{if(t!==be)return t;if(s===be&&(n=!0),!n){if(!1===s)return s;if(i===e.length-1||ve(s))return s}return t},t)},be),(0,y.h)(t=>t!==be),(0,R.U)(t=>ve(t)?t:!0===t),(0,x.q)(1)))}let Ce=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&i._UZ(0,"router-outlet")},directives:function(){return[wn]},encapsulation:2}),t})();function Se(t,e=""){for(let n=0;n<t.length;n++){const s=t[n];ke(s,Te(e,s))}}function ke(t,e){t.children&&Se(t.children,e)}function Te(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Ee(t){const e=t.children&&t.children.map(Ee),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==st&&(n.component=Ce),n}function xe(t){return t.outlet||st}function De(t,e){const n=t.filter(t=>xe(t)===e);return n.push(...t.filter(t=>xe(t)!==e)),n}const Ae={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Oe(t,e,n){var s;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Ae):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(e.matcher||at)(n,t,e);if(!i)return Object.assign({},Ae);const r={};dt(i.posParams,(t,e)=>{r[e]=t.path});const o=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o,positionalParamSegments:null!==(s=i.posParams)&&void 0!==s?s:{}}}function Me(t,e,n,s,i="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Re(t,e,n)&&xe(n)!==st)}(t,n,s)){const i=new wt(e,function(t,e,n,s){const i={};i.primary=s,s._sourceSegment=t,s._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&xe(r)!==st){const n=new wt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[xe(r)]=n}return i}(t,e,s,new wt(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Re(t,e,n))}(t,n,s)){const r=new wt(t.segments,function(t,e,n,s,i,r){const o={};for(const a of s)if(Re(t,n,a)&&!i[xe(a)]){const n=new wt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[xe(a)]=n}return Object.assign(Object.assign({},i),o)}(t,e,n,s,t.children,i));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new wt(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Re(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ie(t,e,n,s){return!!(xe(t)===s||s!==st&&Re(e,n,t))&&("**"===t.path||Oe(e,t,n).matched)}function Pe(t,e,n){return 0===e.length&&!t.children[n]}class Fe{constructor(t){this.segmentGroup=t||null}}class Ne{constructor(t){this.urlTree=t}}function Le(t){return new c.y(e=>e.error(new Fe(t)))}function je(t){return new c.y(e=>e.error(new Ne(t)))}function Ve(t){return new c.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class He{constructor(t,e,n,s,r){this.configLoader=e,this.urlSerializer
1=n,this.urlTree=s,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(i.h0i)}apply(){const t=Me(this.urlTree.root,[],[],this.config).segmentGroup,e=new wt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,st).pipe((0,R.U)(t=>this.createUrlTree(Ue(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,F.K)(t=>{if(t instanceof Ne)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Fe)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,st).pipe((0,R.U)(e=>this.createUrlTree(Ue(e),t.queryParams,t.fragment))).pipe((0,F.K)(t=>{if(t instanceof Fe)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const s=t.segments.length>0?new wt([],{[st]:t}):t;return new bt(s,e,n)}expandSegmentGroup(t,e,n,s){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,R.U)(t=>new wt([],t))):this.expandSegment(t,n,e,n.segments,s,!0)}expandChildren(t,e,n){const s=[];for(const i of Object.keys(n.children))"primary"===i?s.unshift(i):s.push(i);return(0,u.D)(s).pipe((0,N.b)(s=>{const i=n.children[s],r=De(e,s);return this.expandSegmentGroup(t,r,i,s).pipe((0,R.U)(t=>({segment:t,outlet:s})))}),(0,P.R)((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return s=>s.pipe(t?(0,y.h)((e,n)=>t(e,n,s)):E.y,(0,v.h)(1),n?(0,T.d)(e):w(()=>new r))}())}expandSegment(t,e,n,s,i,a){return(0,u.D)(n).pipe((0,N.b)(r=>this.expandSegmentAgainstRoute(t,e,n,r,s,i,a).pipe((0,F.K)(t=>{if(t instanceof Fe)return(0,o.of)(null);throw t}))),D(t=>!!t),(0,F.K)((t,n)=>{if(t instanceof r||"EmptyError"===t.name){if(Pe(e,s,i))return(0,o.of)(new wt([],{}));throw new Fe(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,s,i,r,o){return Ie(s,e,i,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(t,e,s,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r):Le(e):Le(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,s){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?je(i):this.lineralizeSegments(n,i).pipe((0,L.zg)(n=>{const i=new wt(n,{});return this.expandSegment(t,i,e,n,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Oe(e,s,i);if(!o)return Le(e);const u=this.applyRedirectCommands(a,s.redirectTo,c);return s.redirectTo.startsWith("/")?je(u):this.lineralizeSegments(s,u).pipe((0,L.zg)(s=>this.expandSegment(t,e,n,s.concat(i.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,s,i){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,o.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,R.U)(t=>(n._loadedConfig=t,new wt(s,{})))):(0,o.of)(new wt(s,{}));const{matched:r,consumedSegments:a,lastChild:l}=Oe(e,n,s);if(!r)return Le(e);const c=s.slice(l);return this.getChildConfig(t,n,s).pipe((0,L.zg)(t=>{const s=t.module,r=t.routes,{segmentGroup:l,slicedSegments:u}=Me(e,a,c,r),h=new wt(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(s,r,h).pipe((0,R.U)(t=>new wt(a,t)));if(0===r.length&&0===u.length)return(0,o.of)(new wt(a,{}));const d=xe(n)===i;return this.expandSegment(s,h,r,u,d?st:i,!0).pipe((0,R.U)(t=>new wt(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,o.of)(new _e(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,o.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,L.zg)(n=>n?this.configLoader.load(t.injector,e).pipe((0,R.U)(t=>(e._loadedConfig=t,t))):function(t){return new c.y(e=>e.error(ot(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):(0,o.of)(new _e([],t))}runCanLoadGuards(t,e,n){const s=e.canLoad;if(!s||0===s.length)return(0,o.of)(!0);const i=s.map(s=>{const i=t.get(s);let r;if(function(t){return t&&ye(t.canLoad)}(i))r=i.canLoad(e,n);else{if(!ye(i))throw new Error("Invalid CanLoad guard");r=i(e,n)}return pt(r)});return(0,o.of)(i).pipe(we(),(0,j.b)(t=>{if(!ve(t))return;const e=ot(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,R.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],s=e.root;for(;;){if(n=n.concat(s.segments),0===s.numberOfChildren)return(0,o.of)(n);if(s.numberOfChildren>1||!s.children.primary)return Ve(t.redirectTo);s=s.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,s){const i=this.createSegmentGroup(t,e.root,n,s);return new bt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return dt(t,(t,s)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[s]=e[i]}else n[s]=t}),n}createSegmentGroup(t,e,n,s){const i=this.createSegments(t,e.segments,n,s);let r={};return dt(e.children,(e,i)=>{r[i]=this.createSegmentGroup(t,e,n,s)}),new wt(i,r)}createSegments(t,e,n,s){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,s):this.findOrReturn(e,n))}findPosParam(t,e,n){const s=n[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return s}findOrReturn(t,e){let n=0;for(const s of e){if(s.path===t.path)return e.splice(n),s;n++}return t}}function Ue(t){const e={};for(const n of Object.keys(t.children)){const s=Ue(t.children[n]);(s.segments.length>0||s.hasChildren())&&(e[n]=s)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new wt(t.segments.concat(e.segments),e.children)}return t}(new wt(t.segments,e))}class Ye{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Be{constructor(t,e){this.component=t,this.route=e}}function qe(t,e,n){const s=t._root;return $e(s,e?e._root:null,n,[s.value])}function Ze(t,e,n){const s=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(s?s.module.injector:n).get(t)}function $e(t,e,n,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const r=qt(e);
1return t.children.forEach(t=>{!function(t,e,n,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!St(t.url,e.url);case"pathParamsOrQueryParamsChange":return!St(t.url,e.url)||!lt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!te(t,e)||!lt(t.queryParams,e.queryParams);case"paramsChange":default:return!te(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Ye(s)):(r.data=o.data,r._resolvedData=o._resolvedData),$e(t,e,r.component?a?a.children:null:n,s,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Be(a.outlet.component,o))}else o&&ze(e,a,i),i.canActivateChecks.push(new Ye(s)),$e(t,null,r.component?a?a.children:null:n,s,i)}(t,r[t.value.outlet],n,s.concat([t.value]),i),delete r[t.value.outlet]}),dt(r,(t,e)=>ze(t,n.getContext(e),i)),i}function ze(t,e,n){const s=qt(t),i=t.value;dt(s,(t,s)=>{ze(t,i.component?e?e.children.getContext(s):null:e,n)}),n.canDeactivateChecks.push(new Be(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}class Ge{}function We(t){return new c.y(e=>e.error(t))}class Je{constructor(t,e,n,s,i,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=s,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=r}recognize(){const t=Me(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,st);if(null===e)return null;const n=new Wt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},st,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new Bt(n,e),i=new Jt(this.url,s);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(t){const e=t.value,n=Gt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const i of Object.keys(e.children)){const s=e.children[i],r=De(t,i),o=this.processSegmentGroup(r,s,i);if(null===o)return null;n.push(...o)}const s=Ke(n);return s.sort((t,e)=>t.value.outlet===st?-1:e.value.outlet===st?1:t.value.outlet.localeCompare(e.value.outlet)),s}processSegment(t,e,n,s){for(const i of t){const t=this.processSegmentAgainstRoute(i,e,n,s);if(null!==t)return t}return Pe(e,n,s)?[]:null}processSegmentAgainstRoute(t,e,n,s){if(t.redirectTo||!Ie(t,e,n,s))return null;let i,r=[],o=[];if("**"===t.path){const s=n.length>0?ht(n).parameters:{};i=new Wt(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,en(t),xe(t),t.component,t,Xe(e),tn(e)+n.length,nn(t))}else{const s=Oe(e,t,n);if(!s.matched)return null;r=s.consumedSegments,o=n.slice(s.lastChild),i=new Wt(r,s.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,en(t),xe(t),t.component,t,Xe(e),tn(e)+r.length,nn(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Me(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Bt(i,t)]}if(0===a.length&&0===c.length)return[new Bt(i,[])];const u=xe(t)===s,h=this.processSegment(a,l,c,u?st:s);return null===h?null:[new Bt(i,h)]}}function Qe(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Ke(t){const e=[],n=new Set;for(const s of t){if(!Qe(s)){e.push(s);continue}const t=e.find(t=>s.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...s.children),n.add(t)):e.push(s)}for(const s of n){const t=Ke(s.children);e.push(new Bt(s.value,t))}return e.filter(t=>!n.has(t))}function Xe(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function tn(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function en(t){return t.data||{}}function nn(t){return t.resolve||{}}function sn(t){return(0,I.w)(e=>{const n=t(e);return n?(0,u.D)(n).pipe((0,R.U)(()=>e)):(0,o.of)(e)})}class rn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const on=new i.OlP("ROUTES");class an{constructor(t,e,n,s){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=s}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,R.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const s=n.create(t);return new _e(ut(s.injector.get(on,void 0,i.XFs.Self|i.XFs.Optional)).map(Ee),s)}),(0,F.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new m.c(n,()=>new g.xQ).pipe((0,V.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,u.D)(this.loader.load(t)):pt(t()).pipe((0,L.zg)(t=>t instanceof i.YKP?(0,o.of)(t):(0,u.D)(this.compiler.compileModuleAsync(t))))}}class ln{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new cn,this.attachRef=null}}class cn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new ln,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class un{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function hn(t){throw t}function dn(t,e,n){return e.parse("/")}function pn(t,e){return(0,o.of)(null)}const fn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let gn=(()=>{class t{constructor(t,e,n,s,r,o,a,l){this.rootComponentType=t,this.urlSerializer
1=e,this.rootContexts=n,this.location=s,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=hn,this.malformedUriErrorHandler=dn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:pn,afterPreactivation:pn},this.urlHandlingStrategy=new un,this.routeReuseStrategy=new rn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const c=r.get(i.R0b);this.isNgZoneEnabled=c instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new bt(new wt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new an(o,a,t=>this.triggerEvent(new J(t)),t=>this.triggerEvent(new Q(t))),this.routerState=$t(this.currentUrlTree,this.rootComponentType),this.transitions=new p.X({id:0,targetPageId: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()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe((0,y.h)(t=>0!==t.id),(0,R.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,I.w)(t=>{let n=!1,s=!1;return(0,o.of)(t).pipe((0,j.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,I.w)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,o.of)(t).pipe((0,I.w)(t=>{const n=this.transitions.getValue();return e.next(new U(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?h.E:Promise.resolve(t)}),(s=this.ngModule.injector,i=this.configLoader,r=this.urlSerializer,a=this.config,(0,I.w)(t=>function(t,e,n,s,i){return new He(t,e,n,s,i).apply()}(s,i,r,t.extractedUrl,a).pipe((0,R.U)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),(0,j.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,s,i){return(0,L.zg)(r=>function(t,e,n,s,i="emptyOnly",r="legacy"){try{const a=new Je(t,e,n,s,i,r).recognize();return null===a?We(new Ge):(0,o.of)(a)}catch(a){return We(a)}}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),s,i).pipe((0,R.U)(t=>Object.assign(Object.assign({},r),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,j.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new Z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var s,i,r,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:s,source:i,restoredState:r,extras:a}=t,l=new U(n,this.serializeUrl(s),i,r);e.next(l);const c=$t(s,this.rootComponentType).snapshot;return(0,o.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:s,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),h.E}),sn(t=>{const{targetSnapshot:e,id:n,extractedUrl:s,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:s,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),(0,j.b)(t=>{const e=new $(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,R.U)(t=>Object.assign(Object.assign({},t),{guards:qe(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,L.zg)(n=>{const{targetSnapshot:s,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:a}}=n;return 0===a.length&&0===r.length?(0,o.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,s){return(0,u.D)(t).pipe((0,L.zg)(t=>function(t,e,n,s,i){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,o.of)(!0);const a=r.map(r=>{const o=Ze(r,e,i);let a;if(function(t){return t&&ye(t.canDeactivate)}(o))a=pt(o.canDeactivate(t,e,n,s));else{if(!ye(o))throw new Error("Invalid CanDeactivate guard");a=pt(o(t,e,n,s))}return a.pipe(D())});return(0,o.of)(a).pipe(we())}(t.component,t.route,n,e,s)),D(t=>!0!==t,!0))}(a,s,i,t).pipe((0,L.zg)(n=>n&&"boolean"==typeof n?function(t,e,n,s){return(0,u.D)(e).pipe((0,N.b)(e=>l(function(t,e){return null!==t&&e&&e(new K(t)),(0,o.of)(!0)}(e.route.parent,s),function(t,e){return null!==t&&e&&e(new tt(t)),(0,o.of)(!0)}(e.route,s),function(t,e,n){const s=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>d(()=>{const i=e.guards.map(i=>{const r=Ze(i,e.node,n);let o;if(function(t){return t&&ye(t.canActivateChild)}(r))o=pt(r.canActivateChild(s,t));else{if(!ye(r))throw new Error("Invalid CanActivateChild guard");o=pt(r(s,t))}return o.pipe(D())});return(0,o.of)(i).pipe(we())}));return(0,o.of)(i).pipe(we())}(t,e.path,n),function(t,e,n){const s=e.routeConfig?e.routeConfig.canActivate:null;if(!s||0===s.length)return(0,o.of)(!0);const i=s.map(s=>d(()=>{const i=Ze(s,e,n);let r;if(function(t){return t&&ye(t.canActivate)}(i))r=pt(i.canActivate(e,t));else{if(!ye(i))throw new Error("Invalid CanActivate guard");r=pt(i(e,t))}return r.pipe(D())}));return(0,o.of)(i).pipe(we())}(t,e.route,n))),D(t=>!0!==t,!0))}(s,r,t,e):(0,o.of)(n)),(0,R.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,j.b)(t=>{if(ve(t.guardsResult)){const e=ot(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,y.h)(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),sn(t=>{if(t.guards.canActivateChecks.length)return(0,o.of)(t).pipe((0,j.b)(t=>{const e=new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,I.w)(t=>{let e=!1;return(0,o.of)(t).pipe((n=this.paramsInheritanceStrategy,s=this.ngModule.injector,(0,L.zg)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:i}}=t;if(!i.length)return(0,o.of)(t);let r=0;return(0,u.D)(i).pipe((0,N.b)(t=>function(t,e,n,s){return function(t,e,n,s){const i=Object.keys(t);if(0===i.length)return(0,o.of)({});const r={};return(0,u.D)(i).pipe((0,L.zg)(i=>function(t,e,n,s){const i=Ze(t,e,s);return pt(i.resolve?i.resolve(e,n):i(e,n))}(t[i],e,n,s).pipe((0,j.b)(t=>{r[i]=t}))),(0,v.h)(1),(0,L.zg)(()=>Object.keys(r).length===i.length?(0,o.of)(r):h.E))}(t._resolve,t,e,s).pipe((0,R.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Gt(t,n).resolve),null)))}(t.route,e,n,s)),(0,j.b)(()=>r++),(0,v.h)(1),(0,L.zg)(e=>r===i.length?(0,o.of)(t):h.E))})),(0,j.b)({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}));var n,s}),(0,j.b)(t=>{const e=new W(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),sn(t=>{const{targetSnapshot:e,id:n,extractedUrl:s,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:s,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),(0,R.U)(t=>{const e=function(t,e,n){const s=ee(t,e._root,n?n._root:void 0);return new Zt(s,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,j.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,a=this.routeReuseStrategy,c=t=>this.triggerEvent(t),(0,R.U)(t=>(new me(a,t.targetRouterState,t.currentRouterState,c).activate(r),t))),(0,j.b)({next(){
1n=!0},complete(){n=!0}}),(i=()=>{if(!n&&!s){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}this.currentNavigation=null},t=>t.lift(new O(i))),(0,F.K)(n=>{if(s=!0,(i=n)&&i.ngNavigationCancelingError){const s=ve(n.url);s||(this.navigated=!0,this.restoreHistory(t,!0));const i=new B(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),s?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const s=new q(t.id,this.serializeUrl(t.extractedUrl),n);e.next(s);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var i;return h.E}));var i,r,a,c}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:s}=e,i={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(i.state=t)}this.scheduleNavigation(s,t,n,i)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Se(t),this.config=t.map(Ee),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(t,e={}){const{relativeTo:n,queryParams:s,fragment:i,queryParamsHandling:r,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:i;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=s||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,s,i){if(0===n.length)return re(e.root,e.root,e,s,i);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ae(!0,0,t);let e=0,n=!1;const s=t.reduce((t,s,i)=>{if("object"==typeof s&&null!=s){if(s.outlets){const e={};return dt(s.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(s.segmentPath)return[...t,s.segmentPath]}return"string"!=typeof s?[...t,s]:0===i?(s.split("/").forEach((s,i)=>{0==i&&"."===s||(0==i&&""===s?n=!0:".."===s?e++:""!=s&&t.push(s))}),t):[...t,s]},[]);return new ae(n,e,s)}(n);if(r.toRoot())return re(e.root,new wt([],{}),e,s,i);const o=function(t,e,n){if(t.isAbsolute)return new le(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new le(t,t===e.root,0)}const s=se(t.commands[0])?0:1;return function(t,e,n){let s=t,i=e,r=n;for(;r>i;){if(r-=i,s=s.parent,!s)throw new Error("Invalid number of '../'");i=s.segments.length}return new le(s,!1,i-r)}
1(n.snapshot._urlSegment,n.snapshot._lastPathIndex+s,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?ue(o.segmentGroup,o.index,r.commands):ce(o.segmentGroup,o.index,r.commands);return re(o.segmentGroup,a,e,s,i)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=ve(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){let n;if(n=!0===e?Object.assign({},fn):!1===e?Object.assign({},mn):e,ve(t))return gt(this.currentUrlTree,t,n);const s=this.parseUrl(t);return gt(this.currentUrlTree,s,n)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const s=t[n];return null!=s&&(e[n]=s),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Y(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,s,i){var r,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l="imperative"!==e&&"imperative"===(null==a?void 0:a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;i?(u=i.resolve,h=i.reject,d=i.promise):d=new Promise((t,e)=>{u=t,h=e});const p=++this.navigationId;let f;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),f=n&&n.\u0275routerPageId?n.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(r=this.browserPageId)&&void 0!==r?r:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):f=0,this.setTransition({id:p,targetPageId:f,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:s,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),s=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",s):this.location.go(n,"",s)}restoreHistory(t,e=!1){var n,s;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new B(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.DyG),i.LFG(kt),i.LFG(cn),i.LFG(s.Ye),i.LFG(i.zs3),i.LFG(i.v3s),i.LFG(i.Sil),i.LFG(void 0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),_n=(()=>{class t{constructor(t,e,n,s,i){this.router=t,this.route=e,this.commands=[],this.onChanges=new g.xQ,null==n&&s.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:vn(this.skipLocationChange),replaceUrl:vn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!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:vn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(gn),i.Y36(zt),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&i.NdJ("
1click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[i.TTD]}),t})(),yn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new g.xQ,this.subscription=t.events.subscribe(t=>{t instanceof Y&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,s,i){if(0!==t||e||n||s||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:vn(this.skipLocationChange),replaceUrl:vn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:vn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(gn),i.Y36(zt),i.Y36(s.S$))},t.\u0275dir=i.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(i.Ikx("href",e.href,i.LSH),i.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[i.TTD]}),t})();function vn(t){return""===t||!!t}let bn=(()=>{class t{constructor(t,e,n,s,i,r){this.router=t,this.element=e,this.renderer=n,this.cdr=s,this.link=i,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof Y&&this.update()})}ngAfterContentInit(){(0,o.of)(this.links.changes,this.linksWithHrefs.changes,(0,o.of)(null)).pipe((0,a.J)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=(0,u.D)(e).pipe((0,a.J)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){const e="paths"in this.routerLinkActiveOptions?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(gn),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(_n,8),i.Y36(yn,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,_n,5),i.Suo(n,yn,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.links=t),i.iGM(t=i.CRH())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[i.TTD]}),t})(),wn=(()=>{class t{constructor(t,e,n,s,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.name=s||st,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;
1const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,i=new Cn(t,s,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(cn),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Cn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===zt?this.route:t===cn?this.childContexts:this.parent.get(t,e)}}class Sn{}class kn{preload(t,e){return(0,o.of)(null)}}let Tn=(()=>{class t{constructor(t,e,n,s,i){this.router=t,this.injector=s,this.preloadingStrategy=i,this.loader=new an(e,n,e=>t.triggerEvent(new J(e)),e=>t.triggerEvent(new Q(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,y.h)(t=>t instanceof Y),(0,N.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(i.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const s of e)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const t=s._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else s.loadChildren&&!s.canLoad?n.push(this.preloadConfig(t,s)):s.children&&n.push(this.processRoutes(t,s.children));return(0,u.D)(n).pipe((0,a.J)(),(0,R.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,o.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,L.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(gn),i.LFG(i.v3s),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(Sn))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),En=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof U?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Y&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof nt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new nt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(gn),i.LFG(s.EM),i.LFG(void 0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const xn=new i.OlP("ROUTER_CONFIGURATION"),Dn=new i.OlP("ROUTER_FORROOT_GUARD"),An=[s.Ye,{provide:kt,useClass:Tt},{provide:gn,useFactory:function(t,e,n,s,i,r,o,a={},l,c){const u=new gn(null,t,e,n,s,i,r,ut(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}
1),u},deps:[kt,cn,s.Ye,i.zs3,i.v3s,i.Sil,on,xn,[class{},new i.FiY],[class{},new i.FiY]]},cn,{provide:zt,useFactory:function(t){return t.routerState.root},deps:[gn]},{provide:i.v3s,useClass:i.EAV},Tn,kn,class{preload(t,e){return e().pipe((0,F.K)(()=>(0,o.of)(null)))}},{provide:xn,useValue:{enableTracing:!1}}];function On(){return new i.PXZ("Router",gn)}let Mn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[An,Fn(e),{provide:Dn,useFactory:Pn,deps:[[gn,new i.FiY,new i.tp0]]},{provide:xn,useValue:n||{}},{provide:s.S$,useFactory:In,deps:[s.lw,[new i.tBr(s.mr),new i.FiY],xn]},{provide:En,useFactory:Rn,deps:[gn,s.EM,xn]},{provide:Sn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:kn},{provide:i.PXZ,multi:!0,useFactory:On},[Nn,{provide:i.ip1,multi:!0,useFactory:Ln,deps:[Nn]},{provide:Vn,useFactory:jn,deps:[Nn]},{provide:i.tb,multi:!0,useExisting:Vn}]]}}static forChild(e){return{ngModule:t,providers:[Fn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(Dn,8),i.LFG(gn,8))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function Rn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new En(t,e,n)}function In(t,e,n={}){return n.useHash?new s.Do(t,e):new s.b0(t,e)}function Pn(t){return"guarded"}function Fn(t){return[{provide:i.deG,multi:!0,useValue:t},{provide:on,multi:!0,useValue:t}]}let Nn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new g.xQ}appInitializer(){return this.injector.get(s.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(gn),s=this.injector.get(xn);return"disabled"===s.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,o.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(xn),n=this.injector.get(Tn),s=this.injector.get(En),r=this.injector.get(gn),o=this.injector.get(i.z2F);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),s.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function Ln(t){return t.appInitializer.bind(t)}function jn(t){return t.bootstrapListener.bind(t)}const Vn=new i.OlP("Router Initializer")},4028:(t,e,n)=>{"use strict";n.d(e,{Zf:()=>p,fx:()=>m,U_:()=>f});var s=n(3018),i=n(1103),r=n(8583),o=n(453);const a=["*"],l=function(t){return{"text-muted":t}};function c(t,e){if(1&t&&(s.TgZ(0,"button",7),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.Q6J("ngClass",s.VKq(2,l,t.isDisabled)),s.xp6(1),s.hij(" ",t.heading," ")}}const u=[[["","accordion-heading",""]],"*"],h=["[accordion-heading]","*"];let d=(()=>{class t{constructor(){this.closeOthers=!1,this.isAnimated=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),p=(()=>{class t{constructor(t){this.isAnimated=!1,this.closeOthers=!1,this.groups=[],Object.assign(this,t)}closeOtherPanels(t){this.closeOthers&&this.groups.forEach(e=>{e!==t&&(e.isOpen=!1)})}addGroup(t){t.isAnimated=this.isAnimated,this.groups.push(t)}removeGroup(t){const e=this.groups.indexOf(t);-1!==e&&this.groups.splice(e,1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(d))},t.\u0275cmp=s.Xpm({type:t,selectors:[["accordion"]],hostAttrs:["role","tablist",1,"panel-group",2,"display","block"],hostVars:1,hostBindings:function(t,e){2&t&&s.uIk("aria-multiselectable",e.closeOthers)},inputs:{isAnimated:"isAnimated",closeOthers:"closeOthers"},ngContentSelectors:a,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},encapsulation:2}),t})(),f=(()=>{class t{constructor(t){this.isAnimated=!1,this.panelClass="panel-default",this.isDisabled=!1,this.isOpenChange=new s.vpe,this._isOpen=!1,this.accordion=t}get isOpen(){return this._isOpen}set isOpen(t){t!==this.isOpen&&(t&&this.accordion.closeOtherPanels(this),this._isOpen=t,Promise.resolve(null).then(()=>{this.isOpenChange.emit(t)}))}get isBs3(){return(0,i.XA)()}ngOnInit(){this.accordion.addGroup(this)}ngOnDestroy(){this.accordion.removeGroup(this)}toggleOpen(){this.isDisabled||(this.isOpen=!this.isOpen)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(p))},t.\u0275cmp=s.Xpm({type:t,selectors:[["accordion-group"],["accordion-panel"]],hostAttrs:[1,"panel",2,"display","block"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("panel-open",e.isOpen)},inputs:{panelClass:"panelClass",isDisabled:"isDisabled",isOpen:"isOpen",heading:"heading"},outputs:{isOpenChange:"isOpenChange"},ngContentSelectors:h,decls:9,vars:6,consts:[[1,"panel","card",3,"ngClass"],["role","tab",1,"panel-heading","card-header",3,"ngClass","click"],[1,"panel-title"],["role","button",1,"accordion-toggle"],["class","btn btn-link","type","button",3,"ngClass",4,"ngIf"],["role","tabpanel",1,"panel-collapse","collapse",3,"collapse","isAnimated"],[1,"panel-body","card-block","card-body"],["type","button",1,"btn","btn-link",3,"ngClass"]],template:function(t,e){1&t&&(s.F$t(u),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.NdJ("
1click",function(){return e.toggleOpen()}),s.TgZ(2,"div",2),s.TgZ(3,"div",3),s.YNc(4,c,2,4,"button",4),s.Hsn(5),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",5),s.TgZ(7,"div",6),s.Hsn(8,1),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Q6J("ngClass",e.panelClass),s.xp6(1),s.Q6J("ngClass",e.isDisabled?"panel-disabled":"panel-enabled"),s.xp6(2),s.uIk("aria-expanded",e.isOpen),s.xp6(1),s.Q6J("ngIf",e.heading),s.xp6(2),s.Q6J("collapse",!e.isOpen)("isAnimated",e.isAnimated))},directives:[r.mk,r.O5,o.Y],styles:["[_nghost-%COMP%] .card-header.panel-enabled[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] .card-header.panel-disabled[_ngcontent-%COMP%] .btn.btn-link[_ngcontent-%COMP%]{cursor:default;text-decoration:none}"]}),t})(),m=(()=>{class t{static forRoot(){return{ngModule:t,providers:[]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.ez,o.f]]}),t})()},453:(t,e,n)=>{"use strict";n.d(e,{Y:()=>l,f:()=>c});var s=n(7238),i=n(3018);const r="400ms cubic-bezier(0.4,0.0,0.2,1)",o=[(0,s.oB)({height:0,visibility:"hidden"}),(0,s.jt)(r,(0,s.oB)({height:"*",visibility:"visible"}))],a=[(0,s.oB)({height:"*",visibility:"visible"}),(0,s.jt)(r,(0,s.oB)({height:0,visibility:"hidden"}))];let l=(()=>{class t{constructor(t,e,n){this._el=t,this._renderer=e,this.collapsed=new i.vpe,this.collapses=new i.vpe,this.expanded=new i.vpe,this.expands=new i.vpe,this.isExpanded=!0,this.collapseNewValue=!0,this.isCollapsed=!1,this.isCollapse=!0,this.isCollapsing=!1,this.isAnimated=!1,this._display="block",this._stylesLoaded=!1,this._COLLAPSE_ACTION_NAME="collapse",this._EXPAND_ACTION_NAME="expand",this._factoryCollapseAnimation=n.build(a),this._factoryExpandAnimation=n.build(o)}set display(t){this.isAnimated?(this._display=t,"none"!==t?this.show():this.hide()):this._renderer.setStyle(this._el.nativeElement,"display",t)}set collapse(t){this.collapseNewValue=t,this._player&&!this._isAnimationDone||(this.isExpanded=t,this.toggle())}get collapse(){return this.isExpanded}ngAfterViewChecked(){this._stylesLoaded=!0,this._player&&this._isAnimationDone&&(this._player.reset(),this._renderer.setStyle(this._el.nativeElement,"height","*"))}toggle(){this.isExpanded?this.hide():this.show()}hide(){this.isCollapsing=!0,this.isExpanded=!1,this.isCollapsed=!0,this.isCollapsing=!1,this.collapses.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._COLLAPSE_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.collapseNewValue!==this.isCollapsed&&this.isAnimated?this.show():(this.collapsed.emit(this),this._renderer.setStyle(this._el.nativeElement,"display","none"))})}show(){this._renderer.setStyle(this._el.nativeElement,"display",this._display),this.isCollapsing=!0,this.isExpanded=!0,this.isCollapsed=!1,this.isCollapsing=!1,this.expands.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._EXPAND_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.collapseNewValue!==this.isCollapsed&&this.isAnimated?this.hide():(this.expanded.emit(this),this._renderer.removeStyle(this._el.nativeElement,"overflow"))})}animationRun(t,e){if(!t||!this._stylesLoaded)return t=>t();this._renderer.setStyle(this._el.nativeElement,"overflow","hidden"),this._renderer.addClass(this._el.nativeElement,"collapse");const n=e===this._EXPAND_ACTION_NAME?this._factoryExpandAnimation:this._factoryCollapseAnimation;return this._player&&this._player.destroy(),this._player=n.create(this._el.nativeElement),this._player.play(),t=>{var e;return null===(e=this._player)||void 0===e?void 0:e.onDone(t)}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(s._j))},t.\u0275dir=i.lG2({type:t,selectors:[["","collapse",""]],hostVars:10,hostBindings:function(t,e){2&t&&(i.uIk("aria-expanded",e.isExpanded)("aria-hidden",e.isCollapsed),i.ekj("collapse",e.isCollapse)("in",e.isExpanded)("show",e.isExpanded)("collapsing",e.isCollapsing))},inputs:{isAnimated:"isAnimated",display:"display",collapse:"collapse"},outputs:{collapsed:"collapsed",collapses:"collapses",expanded:"expanded",expands:"expands"},exportAs:["bs-collapse"]}),t})(),c=(()=>{class t{static forRoot(){return{ngModule:t,providers:[]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},8935:(t,e,n)=>{"use strict";n.d(e,{oj:()=>l});var s=n(3018),i=n(1103),r=n(4933);class o{constructor(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}
1class a{constructor(t,e,n,i,r,o,a,l){this._viewContainerRef=t,this._renderer=e,this._elementRef=n,this._injector=i,this._componentFactoryResolver=r,this._ngZone=o,this._applicationRef=a,this._posService=l,this.onBeforeShow=new s.vpe,this.onShown=new s.vpe,this.onBeforeHide=new s.vpe,this.onHidden=new s.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this}to(t){return this.container=t||this.container,this}position(t){return t?(this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this):this}provide(t){return this._providers.push(t),this}show(t={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context,t.initialState);const e=s.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(e,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof s.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document){const t=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!t)return;t.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(t.id?{id:t.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(t){var e,n,s;if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const i=this._componentRef.location.nativeElement;return i.parentNode.removeChild(i),(null===(e=this._contentRef)||void 0===e?void 0:e.componentRef)&&this._contentRef.componentRef.destroy(),this._viewContainerRef&&(null===(n=this._contentRef)||void 0===n?void 0:n.viewRef)&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),(null===(s=this._contentRef)||void 0===s?void 0:s.viewRef)&&this._contentRef.viewRef.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(t?{id:t}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(t){var e;this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,this._listenOpts.outsideEsc=t.outsideEsc,t.target=t.target||(null===(e=this._elementRef)||void 0===e?void 0:e.nativeElement);const n=this._listenOpts.hide=()=>t.hide?t.hide():void this.hide(),s=this._listenOpts.show=e=>{t.show?t.show(e):this.show(e),e()};return this._renderer&&(this._unregisterListenersFn=(0,i.wo)(this._renderer,{target:t.target,triggers:t.triggers,show:s,hide:n,toggle:t=>{this.isShown?n():s(t)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(t,e){return t&&e&&(this._inlineViewRef=t.createEmbeddedView(e)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const t=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=(0,i.Rg)(this._renderer,{targets:[t,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=(0,i.C)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe(()=>{var t;this._posService.position({element:null===(t=this._componentRef)||void 0===t?void 0:t.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(t,e,n){if(!t)return new o([]);if(t instanceof s.Rgc){if(this._viewContainerRef){const n=this._viewContainerRef.createEmbeddedView(t,e);return n.markForCheck(),new o([n.rootNodes],n)}const n=t.createEmbeddedView({});return this._applicationRef.attachView(n),new o([n.rootNodes],n)}if("function"==typeof t){const e=this._componentFactoryResolver.resolve
1ComponentFactory(t),i=s.zs3.create({providers:this._providers,parent:this._injector}),r=e.create(i);return Object.assign(r.instance,n),this._applicationRef.attachView(r.hostView),new o([[r.location.nativeElement]],r.hostView,r)}const i=this._renderer?[this._renderer.createText(`${t}`)]:[];return new o([i])}}let l=(()=>{class t{constructor(t,e,n,s,i){this._componentFactoryResolver=t,this._ngZone=e,this._injector=n,this._posService=s,this._applicationRef=i}createLoader(t,e,n){return new a(e,n,t,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s._Vd),s.LFG(s.R0b),s.LFG(s.zs3),s.LFG(r.sA),s.LFG(s.z2F))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(s._Vd),(0,s.LFG)(s.R0b),(0,s.LFG)(s.gxx),(0,s.LFG)(r.sA),(0,s.LFG)(s.z2F))},token:t,providedIn:"root"}),t})()},3945:(t,e,n)=>{"use strict";n.d(e,{Np:()=>Si,Y5:()=>xi,kn:()=>Qi,ZU:()=>Ki});var s=n(3018),i=n(5345);function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.notifier=t}call(t,e){const n=new a(t),s=(0,i.ft)(this.notifier,new i.IY(n));return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class a extends i.Ds{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}var l=n(7393);function c(t,e){return n=>n.lift(new u(t,e))}class u{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new h(t,this.compare,this.keySelector))}}class h extends l.L{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(s){return this.destination.error(s)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}var d=n(5435),p=n(8002),f=n(5257);function m(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function g(t){return"string"==typeof t}function _(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function y(t){return t&&t.getTime&&!isNaN(t.getTime())}function v(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function b(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function w(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function S(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function k(t){return void 0===t}function T(t){const e=+t;let n=0;return 0!==e&&isFinite(e)&&(n=m(e)),n}const E={},x={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function D(t,e){const n=t.toLowerCase();let s=t;n in x&&(s=x[n]),E[n]=E[`${n}s`]=E[e]=s}function A(t){return g(t)?E[t]||E[t.toLowerCase()]:void 0}function O(t,e,n){const s=`${Math.abs(t)}`;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-s.length)).toString().substr(1)+s}const M={},R={},I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function P(t,e,n,s){t&&(R[t]=s),e&&(R[e[0]]=function(){return O(s.apply(null,arguments),e[1],e[2])}),n&&(R[n]=function(e,n){return n.locale.ordinal(s.apply(null,arguments),t)})}function F(t,e,n){const s=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(s.getUTCFullYear())&&s.setUTCFullYear(t),s}function N(t,e=0,n=1,s=0,i=0,r=0,o=0){const a=new Date(t,e,n,s,i,r,o);return t<100&&t>=0&&isFinite(a.getFullYear())&&a.setFullYear(t),a}function L(t,e=!1){return e?t.getUTCHours():t.getHours()}function j(t,e=!1){return e?t.getUTCMinutes():t.getMinutes()}function V(t,e=!1){return e?t.getUTCSeconds():t.getSeconds()}function H(t,e=!1){return e?t.getUTCMilliseconds():t.getMilliseconds()}function U(t,e=!1){return e?t.getUTCDay():t.getDay()}function Y(t,e=!1){return e?t.getUTCDate():t.getDate()}function B(t,e=!1){return e?t.getUTCMonth():t.getMonth()}function q(t,e=!1){return e?t.getUTCFullYear():t.getFullYear()}function Z(t,e){return!(!t||!e)&&$(t,e)&&B(t)===B(e)}function $(t,e){return!(!t||!e)&&q(t)===q(e)}function z(t,e){return!(!t||!e)&&$(t,e)&&Z(t,e)&&Y(t)===Y(e)}const G=/\d/,W=/\d\d/,J=/\d{3}/,Q=/\d{4}/,K=/[+-]?\d{6}
1/,X=/\d\d?/,tt=/\d\d\d\d?/,et=/\d\d\d\d\d\d?/,nt=/\d{1,3}/,st=/\d{1,4}/,it=/[+-]?\d{1,6}/,rt=/\d+/,ot=/[+-]?\d+/,at=/Z|[+-]\d\d(?::?\d\d)?/gi,lt=/[+-]?\d+(\.\d{1,3})?/,ct=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ut={};function ht(t,e,n){ut[t]=v(e)?e:function(t,s){return t&&n?n:e}}function dt(t,e){return C(ut,t)?ut[t](!1,e):new RegExp(pt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(t,e,n,s,i)=>e||n||s||i)))}function pt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const ft={};function mt(t,e){const n=g(t)?[t]:t;let s=e;if(b(e)&&(s=function(t,n,s){return n[e]=T(t),s}),w(n)&&v(s)){let t;for(t=0;t<n.length;t++)ft[n[t]]=s}}function gt(t,e){mt(t,function(t,n,s,i){return s._w=s._w||{},e(t,s._w,s,i)})}function _t(t,e,n){return null!=e&&C(ft,t)&&ft[t](e,n._a,n,t),n}const yt={};function vt(t,e){yt[t]=e}function bt(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function wt(t,e){return e.locale.getFullYear?e.locale.getFullYear(t,e.isUTC).toString():q(t,e.isUTC).toString()}function Ct(t){return T(t)+(T(t)>68?1900:2e3)}function St(t){return kt(t)?366:365}function kt(t){return t%4==0&&t%100!=0||t%400==0}function Tt(t,e){if(isNaN(t)||isNaN(e))return NaN;const n=(e%12+12)%12;return 1===n?kt(t+(e-n)/12)?29:28:31-n%7%2}const Et={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function xt(t,e){const n=Object.assign({},Et,e),s=t.getFullYear()+(n.year||0),i=t.getMonth()+(n.month||0);let r=t.getDate()+(n.day||0);return n.month&&!n.day&&(r=Math.min(r,Tt(s,i))),N(s,i,r,t.getHours()+(n.hour||0),t.getMinutes()+(n.minute||0),t.getSeconds()+(n.seconds||0))}function Dt(t,e){return b(e)?e:t}function At(t,e,n){const s=Math.min(Y(t),Tt(q(t),e));return n?t.setUTCMonth(e,s):t.setMonth(e,s),t}function Ot(t,e,n){return n?t.setUTCDate(e):t.setDate(e),t}function Mt(t){return new Date(t.getTime())}function Rt(t,e,n){const s=Mt(t);switch(e){case"year":At(s,0,n);case"quarter":case"month":Ot(s,1,n);case"week":case"isoWeek":case"day":case"date":!function(t,e,n){n?t.setUTCHours(0):t.setHours(0)}(s,0,n);case"hours":!function(t,e,n){n?t.setUTCMinutes(0):t.setMinutes(0)}(s,0,n);case"minutes":!function(t,e,n){n?t.setUTCSeconds(0):t.setSeconds(0)}(s,0,n);case"seconds":!function(t,e,n){n?t.setUTCMilliseconds(0):t.setMilliseconds(0)}(s,0,n)}return"week"===e&&function(t,e,n={}){We(t,0-Ke(t,n.locale,n.isUTC),"day")}(s,0,{isUTC:n}),"isoWeek"===e&&function(t,e,n={}){const s=function(t,e=ue()){return g(t)?e.weekdaysParse(t)%7||7:b(t)&&isNaN(t)?null:t}(1,n.locale);Qe(t,function(t,e){return U(t,void 0)}(t)%7?s:s-7)}(s),"quarter"===e&&At(s,3*Math.floor(B(s,n)/3),n),s}function It(t,e,n){let s=e;return"date"===s&&(s="day"),function(t,e,n,s){return Je(t,$e(1,"milliseconds"),-1,s)}(We(Rt(t,s,n),1,"isoWeek"===s?"week":s,n),0,0,n)}function Pt(t,e){const n=+Rt(t,"day",e),s=+Rt(t,"year",e);return Math.round((n-s)/864e5)+1}function Ft(t,e,n){const s=e-n+7;return-(F(t,0,s).getUTCDay()-e+7)%7+s-1}function Nt(t,e,n,s){const i=Ft(q(t,s),e,n),r=Math.floor((Pt(t,s)-i-1)/7)+1;let o,a;return r<1?(a=q(t,s)-1,o=r+Lt(a,e,n)):r>Lt(q(t,s),e,n)?(o=r-Lt(q(t,s),e,n),a=q(t,s)+1):(a=q(t,s),o=r),{week:o,year:a}}function Lt(t,e,n){const s=Ft(t,e,n),i=Ft(t+1,e,n);return(St(t)-s+i)/7}const jt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Vt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ht="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ut="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Yt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qt={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"},Zt=ct,$t=ct;class zt{constructor(t){t&&this.set(t)}set(t){let e;for(e in t){if(!t.hasOwnProperty(e))continue;const n=t[e];this[v(n)?e:`_${e}`]=n}this._config=t}calendar(t,e,n){const s=this._calendar[t]||this._calendar.sameElse;return v(s)?s.call(null,e,n):s}longDateFormat(t){const e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}get invalidDate(){return this._invalidDate}set invalidDate(t){this._invalidDate=t}ordinal(t,e){return this._ordinal.replace("%d",t.toString(10))}preparse(t,e){return t}getFullYear(t,e=!1){return q(t,e)}postformat(t){return t}relativeTime(t,e,n,s){const i=this._relativeTime[n];return v(i)?i(t,e,n,s):i.replace(/%d/i,t.toString(10))}pastFuture(t,e){const n=this._relativeTime[t>0?"future":"past"];return v(n)?n(e):n.replace(/%s/i,e)}months(t,e,n=!1){if(!t)return w(this._months)?this._months:this._months.standalone;if(w(this._months))return this._months[B(t,n)];const s=(this._months.isFormat||jt).test(e)?"format":"standalone";return this._months[s][B(t,n)]}monthsShort(t,e,n=!1){if(!t)return w(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(w(this._monthsShort))return this._monthsShort[B(t,n)];const s=jt.test(e)?"format":"standalone";return this._monthsShort[s][B(t,n)]}monthsParse(t,e,n){let s,i,r;if(this._monthsParseExact)return this.handleMonthStrictParse(t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=new Date(Date.UTC(2e3,r)),n&&!this._longMonthsParse[r]){const t=this.months(s,"",!0).replace(".",""),e=this.monthsShort(s,"",!0).replace(".","");this._longMonthsParse[r]=new RegExp(`^${t}$`,"i"),this._shortMonthsParse[r]=new RegExp(`^${e}$`,"i")}if(n||this._monthsParse[r]||(i=`^${this.months(s,"",!0)}|^${this.monthsShort(s,"",!0)}`,this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}monthsRegex(t){return this._monthsParseExact?(C(this,"_monthsRegex")||this.computeMonthsParse(),t?this._monthsStrictRegex:this._monthsRegex):(C(this,"_monthsRegex")||(this._monthsRegex=$t),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(t){return this._monthsParseExact?(C(this,"_monthsRegex")||this.computeMonthsParse(),t?this._monthsShortStrictRegex:this._monthsShortRegex):(C(this,"_monthsShortRegex")||(this._monthsShortRegex=Zt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}week(t,e){return Nt(t,this._week.dow,this._week.doy,e).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(t,e,n){if(!t)return w(this._weekdays)?this._weekdays:this._weekdays.standalone;if(w(this._weekdays))return this._weekdays[U(t,n)];const s=this._weekdays.isFormat.test(e)?"format":"standalone";return this._weekdays[s][U(t,n)]}weekdaysMin(t,e,n){return t?this._weekdaysMin[U(t,n)]:this._weekdaysMin}weekdaysShort(t,e,n){return t?this._weekdaysShort[U(t,n)]:this._weekdaysShort}weekdaysParse(t,e,n){let s,i;if(this._weekdaysParseExact)return this.handleWeekStrictParse(t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){const r=Qe(new Date(Date.UTC(2e3,1)),s,null,!0);if(n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp(`^${this.weekdays(r,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[s]=new RegExp(`^${this.weekdaysShort(r,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[s]=new RegExp(`^${this.weekdaysMin(r,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[s]||(i=`^${this.weekdays(r,"",!0)}|^${this.weekdaysShort(r,"",!0)}|^${this.weekdaysMin(r,"",!0)}`,this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),!(w(this._fullWeekdaysParse)&&w(this._shortWeekdaysParse)&&w(this._minWeekdaysParse)&&w(this._weekdaysParse)))return;if(n&&"dddd"===e&&this._fullWeekdaysParse[s].test(t))return s;if(n&&"ddd"===e&&this._shortWeekdaysParse[s].test(t))return s;if(n&&"dd"===e&&this._minWeekdaysParse[s].test(t))return s;if(!n&&this._weekdaysParse[s].test(t))return s}}weekdaysRegex(t){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||this.computeWeekdaysParse(),t?this._weekdaysStrictRegex:this._weekdaysRegex):(C(this,"_weekdaysRegex")||(this._weekdaysRegex=ct),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(t){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||this.computeWeekdaysParse(),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(C(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ct),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(t){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||this.computeWeekdaysParse(),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(C(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ct),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(t){return"p"===t.toLowerCase().charAt(0)}meridiem(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}formatLongDate(t){this._longDateFormat=this._longDateFormat?this._longDateFormat:qt;const e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,t=>t.slice(1)),this._longDateFormat[t])}handleMonthStrictParse(t,e,n){const s=t.toLocaleLowerCase();let i,r,o;
1if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=new Date(2e3,i),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?(r=this._shortMonthsParse.indexOf(s),-1!==r?r:null):(r=this._longMonthsParse.indexOf(s),-1!==r?r:null):"MMM"===e?(r=this._shortMonthsParse.indexOf(s),-1!==r?r:(r=this._longMonthsParse.indexOf(s),-1!==r?r:null)):(r=this._longMonthsParse.indexOf(s),-1!==r?r:(r=this._shortMonthsParse.indexOf(s),-1!==r?r:null))}handleWeekStrictParse(t,e,n){let s;const i=t.toLocaleLowerCase();if(!this._weekdaysParse){let t;for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],t=0;t<7;++t){const e=Qe(new Date(Date.UTC(2e3,1)),t,null,!0);this._minWeekdaysParse[t]=this.weekdaysMin(e).toLocaleLowerCase(),this._shortWeekdaysParse[t]=this.weekdaysShort(e).toLocaleLowerCase(),this._weekdaysParse[t]=this.weekdays(e,"").toLocaleLowerCase()}}if(w(this._weekdaysParse)&&w(this._shortWeekdaysParse)&&w(this._minWeekdaysParse))return n?"dddd"===e?(s=this._weekdaysParse.indexOf(i),-1!==s?s:null):"ddd"===e?(s=this._shortWeekdaysParse.indexOf(i),-1!==s?s:null):(s=this._minWeekdaysParse.indexOf(i),-1!==s?s:null):"dddd"===e?(s=this._weekdaysParse.indexOf(i),-1!==s?s:(s=this._shortWeekdaysParse.indexOf(i),-1!==s?s:(s=this._minWeekdaysParse.indexOf(i),-1!==s?s:null))):"ddd"===e?(s=this._shortWeekdaysParse.indexOf(i),-1!==s?s:(s=this._weekdaysParse.indexOf(i),-1!==s?s:(s=this._minWeekdaysParse.indexOf(i),-1!==s?s:null))):(s=this._minWeekdaysParse.indexOf(i),-1!==s?s:(s=this._weekdaysParse.indexOf(i),-1!==s?s:(s=this._shortWeekdaysParse.indexOf(i),-1!==s?s:null)))}computeMonthsParse(){const t=[],e=[],n=[];let s,i;for(i=0;i<12;i++)s=new Date(2e3,i),t.push(this.monthsShort(s,"")),e.push(this.months(s,"")),n.push(this.months(s,"")),n.push(this.monthsShort(s,""));for(t.sort(Gt),e.sort(Gt),n.sort(Gt),i=0;i<12;i++)t[i]=pt(t[i]),e[i]=pt(e[i]);for(i=0;i<24;i++)n[i]=pt(n[i]);this._monthsRegex=new RegExp(`^(${n.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${e.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${t.join("|")})`,"i")}computeWeekdaysParse(){const t=[],e=[],n=[],s=[];let i;for(i=0;i<7;i++){const r=Qe(new Date(Date.UTC(2e3,1)),i,null,!0),o=this.weekdaysMin(r),a=this.weekdaysShort(r),l=this.weekdays(r);t.push(o),e.push(a),n.push(l),s.push(o),s.push(a),s.push(l)}for(t.sort(Gt),e.sort(Gt),n.sort(Gt),s.sort(Gt),i=0;i<7;i++)e[i]=pt(e[i]),n[i]=pt(n[i]),s[i]=pt(s[i]);this._weekdaysRegex=new RegExp(`^(${s.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${e.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${t.join("|")})`,"i")}}function Gt(t,e){return e.length-t.length}const Wt={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:qt,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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Vt,monthsShort:Ht,week:{dow:0,doy:6},weekdays:Ut,weekdaysMin:Bt,weekdaysShort:Yt,meridiemParse:/[ap]\.?m?\.?/i};function Jt(t,e,n){const s=Math.min(t.length,e.length),i=Math.abs(t.length-e.length);let r,o=0;for(r=0;r<s;r++)(n&&t[r]!==e[r]||!n&&T(t[r])!==T(e[r]))&&o++;return o+i}function Qt(t,e){P(null,[t,t.length,!1],null,e)}function Kt(t,e){return te(t,e.locale).toString()}function Xt(t){return ee(t).toString()}function te(t,e=ue(),n){return Nt(t,e.firstDayOfWeek(),e.firstDayOfYear(),n).year}function ee(t,e){return Nt(t,1,4,e).year}function ne(t,e){P(t,null,null,function(t,n){let s=function(t,e={}
1){return e._isUTC?e._offset||0:function(t){return 15*-Math.round(t.getTimezoneOffset()/15)}(t)}(t,{_isUTC:n.isUTC,_offset:n.offset}),i="+";return s<0&&(s=-s,i="-"),i+O(~~(s/60),2)+e+O(~~s%60,2)})}const se=/([\+\-]|\d\d)/gi,ie={},re={};let oe;function ae(t){return t?t.toLowerCase().replace("_","-"):t}function le(t,e){let n;return t&&(k(e)?n=ue(t):g(t)&&(n=ce(t,e)),n&&(oe=n)),oe&&oe._abbr}function ce(t,e){if(null===e)return delete ie[t],oe=ue("en"),null;if(!e)return;let n=Wt;if(e.abbr=t,null!=e.parentLocale){if(null==ie[e.parentLocale])return re[e.parentLocale]||(re[e.parentLocale]=[]),re[e.parentLocale].push({name:t,config:e}),null;n=ie[e.parentLocale]._config}return ie[t]=new zt(function(t,e){const n=Object.assign({},t);for(const s in e)C(e,s)&&(S(t[s])&&S(e[s])?(n[s]={},Object.assign(n[s],t[s]),Object.assign(n[s],e[s])):null!=e[s]?n[s]=e[s]:delete n[s]);for(const s in t)C(t,s)&&!C(e,s)&&S(t[s])&&(n[s]=Object.assign({},n[s]));return n}(n,e)),re[t]&&re[t].forEach(function(t){ce(t.name,t.config)}),le(t),ie[t]}function ue(t){return ie.en||(le("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal(t){const e=t%10;return t+(1===T(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),P("w",["ww",2,!1],"wo",function(t,e){return function(t,e=ue(),n){return e.week(t,void 0)}(t,e.locale).toString(10)}),P("W",["WW",2,!1],"Wo",function(t){return function(t,e){return Nt(t,1,4,void 0).week}(t).toString(10)}),D("week","w"),D("isoWeek","W"),vt("week",5),vt("isoWeek",5),ht("w",X),ht("ww",X,W),ht("W",X),ht("WW",X,W),gt(["w","ww","W","WW"],function(t,e,n,s){return e[s.substr(0,1)]=T(t),n}),P(null,["gg",2,!1],null,function(t,e){return(te(t,e.locale)%100).toString()}),P(null,["GG",2,!1],null,function(t){return(ee(t)%100).toString()}),Qt("gggg",Kt),Qt("ggggg",Kt),Qt("GGGG",Xt),Qt("GGGGG",Xt),D("weekYear","gg"),D("isoWeekYear","GG"),vt("weekYear",1),vt("isoWeekYear",1),ht("G",ot),ht("g",ot),ht("GG",X,W),ht("gg",X,W),ht("GGGG",st,Q),ht("gggg",st,Q),ht("GGGGG",it,K),ht("ggggg",it,K),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,s){return e[s.substr(0,2)]=T(t),n}),gt(["gg","GG"],function(t,e,n,s){return e[s]=Ct(t),n}),P("Y",null,null,function(t,e){const n=q(t,e.isUTC);return n<=9999?n.toString(10):`+${n}`}),P(null,["YY",2,!1],null,function(t,e){return(q(t,e.isUTC)%100).toString(10)}),P(null,["YYYY",4,!1],null,wt),P(null,["YYYYY",5,!1],null,wt),P(null,["YYYYYY",6,!0],null,wt),D("year","y"),vt("year",1),ht("Y",ot),ht("YY",X,W),ht("YYYY",st,Q),ht("YYYYY",it,K),ht("YYYYYY",it,K),mt(["YYYYY","YYYYYY"],0),mt("YYYY",function(t,e,n){return e[0]=2===t.length?Ct(t):T(t),n}),mt("YY",function(t,e,n){return e[0]=Ct(t),n}),mt("Y",function(t,e,n){return e[0]=parseInt(t,10),n}),P("z",null,null,function(t,e){return e.isUTC?"UTC":""}),P("zz",null,null,function(t,e){return e.isUTC?"Coordinated Universal Time":""}),P("X",null,null,function(t){return function(t){return Math.floor(t.valueOf()/1e3)}(t).toString(10)}),P("x",null,null,function(t){return t.valueOf().toString(10)}),ht("x",ot),ht("X",lt),mt("X",function(t,e,n){return n._d=new Date(1e3*parseFloat(t)),n}),mt("x",function(t,e,n){return n._d=new Date(T(t)),n}),P("s",["ss",2,!1],null,function(t,e){return V(t,e.isUTC).toString(10)}),D("second","s"),vt("second",15),ht("s",X),ht("ss",X,W),mt(["s","ss"],5),P("Q",null,"Qo",function(t,e){return function(t,e=!1){return Math.ceil((B(t,e)+1)/3)}(t,e.isUTC).toString(10)}),D("quarter","Q"),vt("quarter",7),ht("Q",G),mt("Q",function(t,e,n){return e[1]=3*(T(t)-1),n}),ne("Z",":"),ne("ZZ",""),ht("Z",at),ht("ZZ",at),mt(["Z","ZZ"],function(t,e,n){return n._useUTC=!0,n._tzm=function(t,e){const n=(e||"").match(t);if(null===n)return null;const s=n[n.length-1].match(se)||["-","0","0"],i=60*parseInt(s[1],10)+T(s[2]);return 0===i?0:"+"===s[0]?i:-i}(at,t),n}),P("M",["MM",2,!1],"Mo",function(t,e){return(B(t,e.isUTC)+1).toString(10)}),P("MMM",null,null,function(t,e){return e.locale.monthsShort(t,e.format,e.isUTC)}),P("MMMM",null,null,function(t,e){return e.locale.months(t,e.format,e.isUTC)}),D("month","M"),vt("month",8),ht("M",X),ht("MM",X,W),ht("MMM",function(t,e){return e.monthsShortRegex(t)}),ht("MMMM",function(t,e){return e.monthsRegex(t)}),mt(["M","MM"],function(t,e,n){return e[1]=T(t)-1,n}),mt(["MMM","MMMM"],function(t,e,n,s){const i=n._locale.monthsParse(t,s,n._strict);return null!=i?e[1]=i:bt(n).invalidMonth=!!t,n}),P("m",["mm",2,!1],null,function(t,e){return j(t,e.isUTC).toString(10)}),D("minute","m"),vt("minute",14),ht("m",X),ht("mm",X,W),mt(["m","mm"],4),function(){let t;for(P("S",null,null,function(t,e){return(~~(H(t,e.isUTC)/100)).toString(10)}),P(null,["SS",2,!1],null,function(t,e){return(~~(H(t,e.isUTC)/10)).toString(10)}),P(null,["SSS",3,!1],null,function(t,e){return H(t,e.isUTC).toString(10)}),P(null,["SSSS",4,!1],null,function(t,e){return(10*H(t,e.isUTC)).toString(10)}),P(null,["SSSSS",5,!1],null,function(t,e){return(100*H(t,e.isUTC)).toString(10)}),P(null,["SSSSSS",6,!1],null,function(t,e){return(1e3*H(t,e.isUTC)).toString(10)}),P(null,["SSSSSSS",7,!1],null,function(t,e){return(1e4*H(t,e.isUTC)).toString(10)}),P(null,["SSSSSSSS",8,!1],null,function(t,e){return(1e5*H(t,e.isUTC)).toString(10)}),P(null,["SSSSSSSSS",9,!1],null,function(t,e){return(1e6*H(t,e.isUTC)).toString(10)}),D("millisecond","ms"),vt("millisecond",16),ht("S",nt,G),ht("SS",nt,W),ht("SSS",nt,J),t="SSSS";t.length<=9;t+="S")ht(t,rt);function e(t,e,n){return e[6]=T(1e3*parseFloat(`0.${t}`)),n}for(t="S";t.length<=9;t+="S")mt(t,e)}(),function(){function t(t,e){return L(t,e)%12||12}function e(t,e){P(t,null,null,function(t,n){return n.locale.meridiem(L(t,n.isUTC),j(t,n.isUTC),e)})}function n(t,e){return e._meridiemParse}
1P("H",["HH",2,!1],null,function(t,e){return L(t,e.isUTC).toString(10)}),P("h",["hh",2,!1],null,function(e,n){return t(e,n.isUTC).toString(10)}),P("k",["kk",2,!1],null,function(t,e){return function(t,e){return L(t,e)||24}(t,e.isUTC).toString(10)}),P("hmm",null,null,function(e,n){return`${t(e,n.isUTC)}${O(j(e,n.isUTC),2)}`}),P("hmmss",null,null,function(e,n){return`${t(e,n.isUTC)}${O(j(e,n.isUTC),2)}${O(V(e,n.isUTC),2)}`}),P("Hmm",null,null,function(t,e){return`${L(t,e.isUTC)}${O(j(t,e.isUTC),2)}`}),P("Hmmss",null,null,function(t,e){return`${L(t,e.isUTC)}${O(j(t,e.isUTC),2)}${O(V(t,e.isUTC),2)}`}),e("a",!0),e("A",!1),D("hour","h"),vt("hour",13),ht("a",n),ht("A",n),ht("H",X),ht("h",X),ht("k",X),ht("HH",X,W),ht("hh",X,W),ht("kk",X,W),ht("hmm",tt),ht("hmmss",et),ht("Hmm",tt),ht("Hmmss",et),mt(["H","HH"],3),mt(["k","kk"],function(t,e,n){const s=T(t);return e[3]=24===s?0:s,n}),mt(["a","A"],function(t,e,n){return n._isPm=n._locale.isPM(t),n._meridiem=t,n}),mt(["h","hh"],function(t,e,n){return e[3]=T(t),bt(n).bigHour=!0,n}),mt("hmm",function(t,e,n){const s=t.length-2;return e[3]=T(t.substr(0,s)),e[4]=T(t.substr(s)),bt(n).bigHour=!0,n}),mt("hmmss",function(t,e,n){const s=t.length-4,i=t.length-2;return e[3]=T(t.substr(0,s)),e[4]=T(t.substr(s,2)),e[5]=T(t.substr(i)),bt(n).bigHour=!0,n}),mt("Hmm",function(t,e,n){const s=t.length-2;return e[3]=T(t.substr(0,s)),e[4]=T(t.substr(s)),n}),mt("Hmmss",function(t,e,n){const s=t.length-4,i=t.length-2;return e[3]=T(t.substr(0,s)),e[4]=T(t.substr(s,2)),e[5]=T(t.substr(i)),n})}(),P("DDD",["DDDD",3,!1],"DDDo",function(t){return Pt(t).toString(10)}),D("dayOfYear","DDD"),vt("dayOfYear",4),ht("DDD",nt),ht("DDDD",J),mt(["DDD","DDDD"],function(t,e,n){return n._dayOfYear=T(t),n}),P("d",null,"do",function(t,e){return U(t,e.isUTC).toString(10)}),P("dd",null,null,function(t,e){return e.locale.weekdaysMin(t,e.format,e.isUTC)}),P("ddd",null,null,function(t,e){return e.locale.weekdaysShort(t,e.format,e.isUTC)}),P("dddd",null,null,function(t,e){return e.locale.weekdays(t,e.format,e.isUTC)}),P("e",null,null,function(t,e){return Ke(t,e.locale,e.isUTC).toString(10)}),P("E",null,null,function(t,e){return function(t,e){return U(t,e)||7}(t,e.isUTC).toString(10)}),D("day","d"),D("weekday","e"),D("isoWeekday","E"),vt("day",11),vt("weekday",11),vt("isoWeekday",11),ht("d",X),ht("e",X),ht("E",X),ht("dd",function(t,e){return e.weekdaysMinRegex(t)}),ht("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ht("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,n,s){const i=n._locale.weekdaysParse(t,s,n._strict);return null!=i?e.d=i:bt(n).invalidWeekday=!!t,n}),gt(["d","e","E"],function(t,e,n,s){return e[s]=T(t),n}),P("D",["DD",2,!1],"Do",function(t,e){return Y(t,e.isUTC).toString(10)}),D("date","D"),vt("date",9),ht("D",X),ht("DD",X,W),ht("Do",function(t,e){return e._dayOfMonthOrdinalParse||e._ordinalParse}),mt(["D","DD"],2),mt("Do",function(t,e,n){return e[2]=T(t.match(X)[0]),n})),t?function(t){let e,n,s=0;for(;s<t.length;){const r=ae(t[s]).split("-");let o=r.length;for(e=ae(t[s+1]),e=e?e.split("-"):null;o>0;){if(i=r.slice(0,o).join("-"),ie[i]||console.error(`Khronos locale error: please load locale "${i}" before using it`),n=ie[i],n)return n;if(e&&e.length>=o&&Jt(r,e,!0)>=o-1)break;o--}s++}var i;return null}(w(t)?t:[t]):oe}const he=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],de=he.reduce((t,e)=>(t[e]=!0,t),{});function pe(t){return t<0?Math.floor(t):Math.ceil(t)}function fe(t){return 4800*t/146097}function me(t){return 146097*t/4800}let ge=Math.round;function _e(t,e,n,s,i){return i.relativeTime(e||1,!!n,t,s)}class ye{constructor(t,e={}){this._data={},this._locale=ue(),this._locale=e&&e._locale||ue();const n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||0,o=t.day||0,a=t.hours||0,l=t.minutes||0,c=t.seconds||0,u=t.milliseconds||0;return this._isValid=function(t){if(Object.keys(t).some(e=>e in de&&null===t[e]||isNaN(t[e])))return!1;let e=!1;for(let n=0;n<he.length;++n)if(t[he[n]]){if(e)return!1;t[he[n]]!==T(t[he[n]])&&(e=!0)}return!0}(t),this._milliseconds=+u+1e3*c+60*l*1e3+1e3*a*60*60,this._days=+o+7*r,this._months=+i+3*s+12*n,function(t){let e=t._milliseconds,n=t._days,s=t._months;const i=t._data;e>=0&&n>=0&&s>=0||e<=0&&n<=0&&s<=0||(e+=864e5*pe(me(s)+n),n=0,s=0),i.milliseconds=e%1e3;const r=m(e/1e3);i.seconds=r%60;const o=m(r/60);i.minutes=o%60;const a=m(o/60);i.hours=a%24,n+=m(a/24);const l=m(fe(n));s+=l,n-=pe(me(l));const c=m(s/12);return s%=12,i.day=n,i.month=s,i.year=c,t}(this)}isValid(){return this._isValid}humanize(t){if(!this.isValid())return this.localeData().invalidDate;const e=this.localeData();let n=function(t,e,n){const s=$e(t).abs(),i=ge(s.as("s")),r=ge(s.as("m")),o=ge(s.as("h")),a=ge(s.as("d")),l=ge(s.as("M")),c=ge(s.as("y")),u=i<=44&&["s",i]||i<45&&["ss",i]||r<=1&&["m"]||r<45&&["mm",r]||o<=1&&["h"]||o<22&&["hh",o]||a<=1&&["d"]||a<26&&["dd",a]||l<=1&&["M"]||l<11&&["MM",l]||c<=1&&["y"]||["yy",c];return _e.apply(null,[u[0],u[1],e,+t>0,n])}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}localeData(){return this._locale}locale(t){return t?(this._locale=ue(t)||this._locale,this):this._locale._abbr}abs(){const t=Math.abs,e=this._data;return this._milliseconds=t(this._milliseconds),this._days=t(this._days),this._months=t(this._months),e.milliseconds=t(e.milliseconds),e.seconds=t(e.seconds),e.minutes=t(e.minutes),e.hours=t(e.hours),e.month=t(e.month),e.year=t(e.year),this}as(t){if(!this.isValid())return NaN;let e,n;const s=this._milliseconds,i=A(t);if("month"===i||"year"===i)return e=this._days+s/864e5,n=this._months+fe(e),"month"===i?n:n/12;switch(e=this._days+Math.round(me(this._months)),i){case"week":return e/7+s/6048e5;case"day":return e+s/864e5;case"hours":return 24*e+s/36e5;case"minutes":return 1440*e+s/6e4;case"seconds":return 86400*e+s/1e3;case"milliseconds":return Math.floor(864e5*e)+s;default:throw new Error(`Unknown unit ${i}`)}}valueOf(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*T(this._months/12):NaN}}function ve(t){if(null==t._isValid){const e=bt(t),n=Array.prototype.some.call(e.parsedDateParts,function(t){return null!=t});let s=!isNaN(t._d&&t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(s=s&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return s;t._isValid=s}return t._isValid}function be(t,e){return t._d=new Date(NaN),Object.assign(bt(t),e||{userInvalidated:!0}),t}const we=/^\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)?)?$/,Ce=/^\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)?)?$/,Se=/Z|[+-]\d\d(?::?\d\d)?/,ke=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],Te=[["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/]],Ee=/^\/?Date\((\-?\d+)/i,xe={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},De=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Ae(t){if(!g(t._i))return t;const e=t._i,n=we.exec(e)||Ce.exec(e);let s,i,r,o,a,l;if(!n)return t._isValid=!1,t;for(a=0,l=ke.length;a<l;
1a++)if(ke[a][1].exec(n[1])){i=ke[a][0],s=!1!==ke[a][2];break}if(null==i)return t._isValid=!1,t;if(n[3]){for(a=0,l=Te.length;a<l;a++)if(Te[a][1].exec(n[3])){r=(n[2]||" ")+Te[a][0];break}if(null==r)return t._isValid=!1,t}if(!s&&null!=r)return t._isValid=!1,t;if(n[4]){if(!Se.exec(n[4]))return t._isValid=!1,t;o="Z"}return t._f=i+(r||"")+(o||""),Le(t)}function Oe(t){const e=parseInt(t,10);return e<=49?e+2e3:e}function Me(t){if(!g(t._i))return t;const e=De.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(!e)return function(t){return t._isValid=!1,t}(t);const n=function(t,e,n,s,i,r){const o=[Oe(t),Ht.indexOf(e),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&o.push(parseInt(r,10)),o}(e[4],e[3],e[2],e[5],e[6],e[7]);return function(t,e,n){return!t||Yt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(bt(n).weekdayMismatch=!0,n._isValid=!1,!1)}(e[1],n,t)?(t._a=n,t._tzm=function(t,e,n){if(t)return xe[t];if(e)return 0;{const t=parseInt(n,10),e=t%100;return(t-e)/100*60+e}}(e[8],e[9],e[10]),t._d=F.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),bt(t).rfc2822=!0,t):t}function Re(t,e,n,s,i=0){const r=ue(n||"en");if(!r)throw new Error(`Locale "${n}" is not defined, please add it with "defineLocale(...)"`);const o=function(t,e,n,s,i=0){if(!y(t))return n.invalidDate;const r=Ie(e,n);return M[r]=M[r]||function(t){const e=t.match(I),n=e.length,s=new Array(n);for(let r=0;r<n;r++)s[r]=R[e[r]]?R[e[r]]:(i=e[r]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");var i;return function(e,i,r,o=0){let a="";for(let l=0;l<n;l++)a+=v(s[l])?s[l].call(null,e,{format:t,locale:i,isUTC:r,offset:o}):s[l];return a}}(r),M[r](t,n,s,i)}(t,e||(s?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),r,s,i);return o?r.postformat(o):o}function Ie(t,e){let n=t,s=5;const i=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,r=t=>e.formatLongDate(t)||t;for(i.lastIndex=0;s>=0&&i.test(n);)n=n.replace(i,r),i.lastIndex=0,s-=1;return n}function Pe(t,e,n){return null!=t?t:null!=e?e:n}function Fe(t){const e=[];let n,s,i;if(t._d)return t;const r=function(t){const e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t);for(t._w&&null==t._a[2]&&null==t._a[1]&&function(t){let e,n,s,i,r,o,a;const l=t._w;if(null!=l.GG||null!=l.W||null!=l.E)i=1,r=4,e=Pe(l.GG,t._a[0],Nt(new Date,1,4).year),n=Pe(l.W,1),s=Pe(l.E,1),(s<1||s>7)&&(a=!0);else{i=t._locale._week.dow,r=t._locale._week.doy;const o=Nt(new Date,i,r);e=Pe(l.gg,t._a[0],o.year),n=Pe(l.w,o.week),null!=l.d?(s=l.d,(s<0||s>6)&&(a=!0)):null!=l.e?(s=l.e+i,(l.e<0||l.e>6)&&(a=!0)):s=i}n<1||n>Lt(e,i,r)?bt(t)._overflowWeeks=!0:null!=a?bt(t)._overflowWeekday=!0:(o=function(t,e,n,s,i){const r=1+7*(e-1)+(7+n-s)%7+Ft(t,s,i);let o,a;return r<=0?(o=t-1,a=St(o)+r):r>St(t)?(o=t+1,a=r-St(t)):(o=t,a=r),{year:o,dayOfYear:a}}(e,n,s,i,r),t._a[0]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(i=Pe(t._a[0],r[0]),(t._dayOfYear>St(i)||0===t._dayOfYear)&&(bt(t)._overflowDayOfYear=!0),s=new Date(Date.UTC(i,0,t._dayOfYear)),t._a[1]=s.getUTCMonth(),t._a[2]=s.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=e[n]=r[n];for(;n<7;n++)t._a[n]=e[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?F:N).apply(null,e);const o=t._useUTC?t._d.getUTCDay():t._d.getDay();return null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(bt(t).weekdayMismatch=!0),t}function Ne(t){let e;const n=t._a;return n&&-2===bt(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Tt(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,bt(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),bt(t)._overflowWeeks&&-1===e&&(e=7),bt(t)._overflowWeekday&&-1===e&&(e=8),bt(t).overflow=e),t}function Le(t){if("ISO_8601"===t._f)return Ae(t);if("RFC_2822"===t._f)return Me(t);if(t._a=[],bt(t).empty=!0,w(t._f)||!t._i&&0!==t._i)return t;let e=t._i.toString(),n=0;const s=e.length,i=Ie(t._f,t._locale).match(I)||[];let r,o,a,l;for(r=0;r<i.length;r++)o=i[r],a=(e.match(dt(o,t._locale))||[])[0],a&&(l=e.substr(0,e.indexOf(a)),l.length>0&&bt(t).unusedInput.push(l),e=e.slice(e.indexOf(a)+a.length),n+=a.length),R[o]?(a?bt(t).empty=!1:bt(t).unusedTokens.push(o),_t(o,a,t)):t._strict&&!a&&bt(t).unusedTokens.push(o);return bt(t).charsLeftOver=s-n,e.length>0&&bt(t).unusedInput.push(e),t._a[3]<=12&&!0===bt(t).bigHour&&t._a[3]>0&&(bt(t).bigHour=void 0),bt(t).parsedDateParts=t._a.slice(0),bt(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){let s=e;if(null==n)return s;if(null!=t.meridiemHour)return t.meridiemHour(s,n);if(null==t.isPM)return s;const i=t.isPM(n);return i&&s<12&&(s+=12),i||12!==s||(s=0),s}(t._locale,t._a[3],t._meridiem),Fe(t),Ne(t)}function je(t,e,n,s,i){return _(t)?t:function(t,e,n,s,i){const r={};let o=t;return(S(o)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;let e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(o)||w(o)&&0===o.length)&&(o=void 0),r._useUTC=r._isUTC=i,r._l=n,r._i=o,r._f=e,r._strict=s,function(t){const e=Ne(function(t){let e=t._i;const n=t._f;return t._locale=t._locale||ue(t._l),null===e||void 0===n&&""===e?be(t,{nullInput:!0}):(g(e)&&(t._i=e=t._locale.preparse(e,n)),_(e)?(t._d=Mt(e),t):(w(n)?function(t){let e,n,s,i,r;if(!t._f||0===t._f.length)return bt(t).invalidFormat=!0,be(t);for(r=0;r<t._f.length;r++)i=0,e=Object.assign({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Le(e),ve(e)&&(i+=bt(e).charsLeftOver,i+=10*bt(e).unusedTokens.length,bt(e).score=i,(null==s||i<s)&&(s=i,n=e));Object.assign(t,n||e)}(t):n?Le(t):function(t){const e=t._i;if(k(e))t._d=new Date;else if(_(e))t._d=Mt(e);else if(g(e))!function(t){if(!g(t._i))return t;const e=Ee.exec(t._i);null!==e?t._d=new Date(+e[1]):(Ae(t),!1!==t._isValid||(delete t._isValid,Me(t),!1!==t._isValid||(delete t._isValid,be(t))))}(t);else if(w(e)&&e.length){const n=e.slice(0);t._a=n.map(t=>g(t)?parseInt(t,10):t),Fe(t)}else if(S(e))!function(t){if(t._d)return t;const e=t._i;if(S(e)){const n=function(t){const e={};let n,s;for(s in t)C(t,s)&&(n=A(s),n&&(e[n]=t[s]));return e}(e);t._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map(t=>g(t)?parseInt(t,10):t)}Fe(t)}(t);else{if(!b(e))return be(t);t._d=new Date(e)}}(t),ve(t)||(t._d=null),t))}(t));return e._d=new Date(null!=e._d?e._d.getTime():NaN),ve(Object.assign({},e,{_isValid:null}))||(e._d=new Date(NaN)),e}(r)}(t,e,n,s,i)._d}function Ve(t){return t instanceof Date?new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()):null}function He(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ue(t,e,n="milliseconds"){return!(!t||!e)&&("milliseconds"===n?t.valueOf()>e.valueOf():e.valueOf()<Rt(t,n).valueOf())}function Ye(t,e,n="milliseconds"){return!(!t||!e)&&("milliseconds"===n?t.valueOf()<e.valueOf():It(t,n).valueOf()<e.valueOf())}function Be(t,e,n="milliseconds"){if(!t||!e)return!1;if("milliseconds"===n)return t.valueOf()===e.valueOf();const s=e.valueOf();return Rt(t,n).valueOf()<=s&&s<=It(t,n).valueOf()}const qe=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $e(t,e,n={}){const s=function(t,e){if(null==t)return{};if(t instanceof ye)return{milliseconds:t._milliseconds,day:t._days,month:t._months};if(b(t))return e?{[e]:t}:{milliseconds:t};if(g(t)){let e=qe.exec(t);if(e){const t="-"===e[1]?-1:1;return{year:0,day:T(e[2])*t,hours:T(e[3])*t,minutes:T(e[4])*t,seconds:T(e[5])*t,milliseconds:T(He(1e3*T(e[6])))*t}}if(e=Ze.exec(t),e){const t="-"===e[1]?-1:1;return{year:ze(e[2],t),month:ze(e[3],t),week:ze(e[4],t),day:ze(e[5],t),hours:ze(e[6],t),minutes:ze(e[7],t),seconds:ze(e[8],t)}}}if(S(t)&&("from"in t||"to"in t)){const e=function(t,e){if(!y(t)||!y(e))return{milliseconds:0,months:0};let n;const s=function(t,e,n={}){if(!n._isUTC)return t;const s=Mt(e),i=6e4*(n._offset||0),r=t.valueOf()-s.valueOf()+i;return s.setTime(s.valueOf()+r),s}(e,t,{_offset:t.getTimezoneOffset()});return Ye(t,s)?n=Ge(t,s):(n=Ge(s,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}(je(t.from),je(t.to));return{milliseconds:e.milliseconds,month:e.months}}return t}(t,e);return new ye(s,n)}function ze(t,e){const n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ge(t,e){const n={milliseconds:0,months:0};return n.months=B(e)-B(t)+12*(q(e)-q(t)),Ue(We(Mt(t),n.months,"month"),e)&&--n.months,n.milliseconds=+e-+We(Mt(t),n.months,"month"),n}function We(t,e,n,s){return Je(t,$e(e,n),1,s)}function Je(t,e,n,s){const i=e._milliseconds,r=He(e._days),o=He(e._months);return o&&At(t,B(t,s)+o*n,s),r&&Ot(t,Y(t,s)+r*n,s),i&&function(t,e){t.setTime(e)}(t,function(t){return t.getTime()}(t)+i*n),Mt(t)}
1function Qe(t,e,n=ue(),s){const i=U(t,s);return We(t,function(t,e){if(!g(t))return t;const n=parseInt(t,10);if(!isNaN(n))return n;const s=e.weekdaysParse(t);return b(s)?s:null}(e,n)-i,"day")}function Ke(t,e=ue(),n){return(U(t,n)+7-e.firstDayOfWeek())%7}const Xe=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},tn={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"]},en=function(t){return function(e,n){const s=Xe(e);let i=tn[t][Xe(e)];return 2===s&&(i=i[n?0:1]),i.replace(/%d/i,e.toString())}};"\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("_"),"\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("_"),"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),en("s"),en("s"),en("m"),en("m"),en("h"),en("h"),en("d"),en("d"),en("M"),en("M"),en("y"),en("y"),"\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("_"),"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),"\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("_"),"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),"ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),"diu._dil._dim._dix._dij._div._dis.".split("_"),"dg_dl_dt_dc_dj_dv_ds".split("_");const nn="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),sn="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");(function(t,e){let n,s=[];for(n=0;n<12;n++)s[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i")})(nn,sn),function(t){let e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i")}(sn),function(t){let e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i")}(nn),"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),"S\xf8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xf8rdag".split("_"),"S\xf8n_Man_Tir_Ons_Tor_Fre_L\xf8r".split("_"),"S\xf8_Ma_Ti_On_To_Fr_L\xf8".split("_"),"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".
1split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),"P_E_T_K_N_R_L".split("_"),"P_E_T_K_N_R_L".split("_"),"nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),"dim._lun._mar._mer._jeu._ven._sam.".split("_"),"di_lu_ma_me_je_ve_sa".split("_"),"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),"xan_feb_mar_abr_mai_xu\xf1_xul_ago_set_out_nov_dec".split("_"),"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u
105d9\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("_"),"\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("_"),"\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("_"),"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),"vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" "),"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),"v_h_k_sze_cs_p_szo".split("_"),"Sije\u010danj_Velja\u010da_O\u017eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),"Sij_Velj_O\u017eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010cetvrtak_Petak_Subota".split("_"),"Ned_Pon_Uto_Sri_\u010cet_Pet_Sub".split("_"),"Ne_Po_Ut_Sr_\u010ce_Pe_Su".split("_"),"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),"dom_lun_mar_mer_gio_ven_sab".split("_"),"do_lu_ma_me_gi_ve_sa".split("_"),"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("_"),"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("_"),"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),"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("_"),"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("_"),"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spali
1o_lapkri\u010dio_gruod\u017eio".split("_"),"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),"S_P_A_T_K_Pn_\u0160".split("_"),"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012blis_Maijs_J\u016bnijs_J\u016blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),"Jan_Feb_Mar_Apr_Mai_J\u016bn_J\u016bl_Aug_Sep_Okt_Nov_Dec".split("_"),"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),"\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("_"),"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("_"),"\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("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),"stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".
1split("_"),"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),"ne_po_to_sr_\u010de_pe_so".split("_"),"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),"E Diel\xeb_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),"Di_He_Ma_Me_En_Pr_Sh".split("_"),"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_");const rn={abbr:"th-be",months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:t=>"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t,meri
1diem:(t,e,n)=>t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"},preparse(t,e){const n=rn.longDateFormat[e]?rn.longDateFormat[e]:e;return-1!==n.indexOf("YYYY",n.length-"YYYY".length)?t.substr(0,t.length-4)+(parseInt(t.substr(t.length-4),10)-543):t},getFullYear:(t,e=!1)=>543+(e?t.getUTCFullYear():t.getFullYear())};function on(t){return function(e){return t+"\u043e"+(11===L(e)?"\u0431":"")+"] LT"}}"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),on("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),on("[\u0417\u0430\u0432\u0442\u0440\u0430 "),on("[\u0412\u0447\u043e\u0440\u0430 "),on("[\u0423] dddd ["),"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("_"),"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),"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("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"\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("_"),"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("_"),"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_");var an=n(4933),ln=n(7238),cn=n(5319),un=n(6215),hn=n(739),dn=n(7709),pn=n(6465),fn=n(6102);const mn=new class extends fn.v{}
1(class extends pn.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}});var gn=n(8891),_n=n(9193),yn=n(5917),vn=n(205);class bn{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return(0,yn.of)(this.value);case"E":return(0,vn._)(this.error);case"C":return(0,_n.c)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new bn("N",t):bn.undefinedValueNotification}static createError(t){return new bn("E",void 0,t)}static createComplete(){return bn.completeNotification}}bn.completeNotification=new bn("C"),bn.undefinedValueNotification=new bn("N",void 0);class wn{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new Cn(t,this.scheduler,this.delay))}}class Cn extends l.L{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Cn.dispatch,this.delay,new Sn(t,this.destination)))}_next(t){this.scheduleMessage(bn.createNext(t))}_error(t){this.scheduleMessage(bn.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(bn.createComplete()),this.unsubscribe()}}class Sn{constructor(t,e){this.notification=t,this.destination=e}}var kn=n(2145);class Tn extends un.X{constructor(t,e,n){super(t),e.pipe(function(t,e=0){return function(n){return n.lift(new wn(t,e))}}(mn)).pipe((0,kn.R)((t,e)=>e?n(t,e):t,t)).subscribe(t=>this.next(t))}}class En extends gn.y{constructor(t,e,n){super(),this._dispatcher=t,this._reducer=e,this.source=n}select(t){return this.source.pipe((0,p.U)(t)).pipe(c())}lift(t){const e=new En(this._dispatcher,this._reducer,this);return e.operator=t,e}dispatch(t){this._dispatcher.next(t)}next(t){this._dispatcher.next(t)}error(t){this._dispatcher.error(t)}complete(){}}var xn=n(8935),Dn=n(665),An=n(1103),On=n(8583),Mn=n(5766);function Rn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"bs-days-calendar-view",9),s.NdJ("onNavigate",function(e){return s.CHM(t),s.oxw(3).navigateTo(e)})("onViewMode",function(e){return s.CHM(t),s.oxw(3).setViewMode(e)})("onHover",function(e){return s.CHM(t),s.oxw(3).dayHoverHandler(e)})("onHoverWeek",function(e){return s.CHM(t),s.oxw(3).weekHoverHandler(e)})("onSelect",function(e){return s.CHM(t),s.oxw(3).daySelectHandler(e)}),s.ALo(1,"async"),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(3);s.ekj("bs-datepicker-multiple",n.multipleCalendars),s.Q6J("calendar",t)("options",s.lcZ(1,4,n.options$))}}function In(t,e){if(1&t&&(s.TgZ(0,"div",7),s.YNc(1,Rn,2,6,"bs-days-calendar-view",8),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",s.lcZ(2,1,t.daysCalendar$))}}function Pn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"bs-month-calendar-view",11),s.NdJ("onNavigate",function(e){return s.CHM(t),s.oxw(3).navigateTo(e)})("onViewMode",function(e){return s.CHM(t),s.oxw(3).setViewMode(e)})("onHover",function(e){return s.CHM(t),s.oxw(3).monthHoverHandler(e)})("onSelect",function(e){return s.CHM(t),s.oxw(3).monthSelectHandler(e)}),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(3);s.ekj("bs-datepicker-multiple",n.multipleCalendars),s.Q6J("calendar",t)}}function Fn(t,e){if(1&t&&(s.TgZ(0,"div",7),s.YNc(1,Pn,1,3,"bs-month-calendar-view",10),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",s.lcZ(2,1,t.monthsCalendar))}}function Nn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"bs-years-calendar-view",11),s.NdJ("onNavigate",function(e){return s.CHM(t),s.oxw(3).navigateTo(e)})("onViewMode",function(e){return s.CHM(t),s.oxw(3).setViewMode(e)})("onHover",function(e){return s.CHM(t),s.oxw(3).yearHoverHandler(e)})("onSelect",function(e){return s.CHM(t),s.oxw(3).yearSelectHandler(e)}),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(3);s.ekj("bs-datepicker-multiple",n.multipleCalendars),s.Q6J("calendar",t)}}function Ln(t,e){if(1&t&&(s.TgZ(0,"div",7),s.YNc(1,Nn,1,3,"bs-years-calendar-view",10),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",s.lcZ(2,1,t.yearsCalendar))}}function jn(t,e){1&t&&(s.TgZ(0,"div",12),s.TgZ(1,"button",13),s._uU(2,"Apply"),s.qZA(),s.TgZ(3,"button",14),s._uU(4,"Cancel"),s.qZA(),s.qZA())}function Vn(t,e){if(1&t){const t=s.EpF();
1s.TgZ(0,"div",17),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).setToday()}),s._uU(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(3);s.ekj("today-left","left"===t.todayPos)("today-right","right"===t.todayPos)("today-center","center"===t.todayPos),s.xp6(2),s.Oqu(t.todayBtnLbl)}}function Hn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",19),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).clearDate()}),s._uU(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(3);s.ekj("clear-left","left"===t.clearPos)("clear-right","right"===t.clearPos)("clear-center","center"===t.clearPos),s.xp6(2),s.Oqu(t.clearBtnLbl)}}function Un(t,e){if(1&t&&(s.TgZ(0,"div",12),s.YNc(1,Vn,3,7,"div",15),s.YNc(2,Hn,3,7,"div",16),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",t.showTodayBtn),s.xp6(1),s.Q6J("ngIf",t.showClearBtn)}}function Yn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",20),s.TgZ(1,"bs-custom-date-view",21),s.NdJ("onSelect",function(e){return s.CHM(t),s.oxw(2).setRangeOnCalendar(e)}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("selectedRange",t.chosenRange)("ranges",t.customRanges)("customRangeLabel",t.customRangeBtnLbl)}}function Bn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",1),s.TgZ(1,"div",2),s.NdJ("@datepickerAnimation.done",function(){return s.CHM(t),s.oxw().positionServiceEnable()}),s.TgZ(2,"div",3),s.ALo(3,"async"),s.YNc(4,In,3,3,"div",4),s.YNc(5,Fn,3,3,"div",4),s.YNc(6,Ln,3,3,"div",4),s.qZA(),s.YNc(7,jn,5,0,"div",5),s.YNc(8,Un,3,2,"div",5),s.qZA(),s.YNc(9,Yn,2,3,"div",6),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("ngClass",t.containerClass),s.xp6(1),s.Q6J("@datepickerAnimation",t.animationState),s.xp6(1),s.Q6J("ngSwitch",s.lcZ(3,9,t.viewMode)),s.xp6(2),s.Q6J("ngSwitchCase","day"),s.xp6(1),s.Q6J("ngSwitchCase","month"),s.xp6(1),s.Q6J("ngSwitchCase","year"),s.xp6(1),s.Q6J("ngIf",!1),s.xp6(1),s.Q6J("ngIf",t.showTodayBtn||t.showClearBtn),s.xp6(1),s.Q6J("ngIf",t.customRanges&&t.customRanges.length>0)}}function qn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"bs-days-calendar-view",9),s.NdJ("onNavigate",function(e){return s.CHM(t),s.oxw(3).navigateTo(e)})("onViewMode",function(e){return s.CHM(t),s.oxw(3).setViewMode(e)})("onHover",function(e){return s.CHM(t),s.oxw(3).dayHoverHandler(e)})("onHoverWeek",function(e){return s.CHM(t),s.oxw(3).weekHoverHandler(e)})("onSelect",function(e){return s.CHM(t),s.oxw(3).daySelectHandler(e)}),s.ALo(1,"async"),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(3);s.ekj("bs-datepicker-multiple",n.multipleCalendars),s.Q6J("calendar",t)("options",s.lcZ(1,4,n.options$))}}function Zn(t,e){if(1&t&&(s.TgZ(0,"div",7),s.YNc(1,qn,2,6,"bs-days-calendar-view",8),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",s.lcZ(2,1,t.daysCalendar$))}}function $n(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"bs-month-calendar-view",11),s.NdJ("onNavigate",function(e){return s.CHM(t),s.oxw(3).navigateTo(e)})("onViewMode",function(e){return s.CHM(t),s.oxw(3).setViewMode(e)})("onHover",function(e){return s.CHM(t),s.oxw(3).monthHoverHandler(e)})("onSelect",function(e){return s.CHM(t),s.oxw(3).monthSelectHandler(e)}),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(3);s.ekj("bs-datepicker-multiple",n.multipleCalendars),s.Q6J("calendar",t)}}function zn(t,e){if(1&t&&(s.TgZ(0,"div",7),s.YNc(1,$n,1,3,"bs-month-calendar-view",10),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",s.lcZ(2,1,t.monthsCalendar))}}function Gn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"bs-years-calendar-view",11),s.NdJ("onNavigate",function(e){return s.CHM(t),s.oxw(3).navigateTo(e)})("onViewMode",function(e){return s.CHM(t),s.oxw(3).setViewMode(e)})("onHover",function(e){return s.CHM(t),s.oxw(3).yearHoverHandler(e)})("onSelect",function(e){return s.CHM(t),s.oxw(3).yearSelectHandler(e)}),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(3);s.ekj("bs-datepicker-multiple",n.multipleCalendars),s.Q6J("calendar",t)}}function Wn(t,e){if(1&t&&(s.TgZ(0,"div",7),s.YNc(1,Gn,1,3,"bs-years-calendar-view",10),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",s.lcZ(2,1,t.yearsCalendar))}}function Jn(t,e){1&t&&(s.TgZ(0,"div",12),s.TgZ(1,"button",13),s._uU(2,"Apply"),s.qZA(),s.TgZ(3,"button",14),s._uU(4,"Cancel"),s.qZA(),s.qZA())}function Qn(t,e){if(1&t){const t=s.EpF();
1s.TgZ(0,"div",17),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).setToday()}),s._uU(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(3);s.ekj("today-left","left"===t.todayPos)("today-right","right"===t.todayPos)("today-center","center"===t.todayPos),s.xp6(2),s.Oqu(t.todayBtnLbl)}}function Kn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",19),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).clearDate()}),s._uU(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(3);s.ekj("clear-left","left"===t.clearPos)("clear-right","right"===t.clearPos)("clear-center","center"===t.clearPos),s.xp6(2),s.Oqu(t.clearBtnLbl)}}function Xn(t,e){if(1&t&&(s.TgZ(0,"div",12),s.YNc(1,Qn,3,7,"div",15),s.YNc(2,Kn,3,7,"div",16),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",t.showTodayBtn),s.xp6(1),s.Q6J("ngIf",t.showClearBtn)}}function ts(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",20),s.TgZ(1,"bs-custom-date-view",21),s.NdJ("onSelect",function(e){return s.CHM(t),s.oxw(2).setRangeOnCalendar(e)}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("selectedRange",t.chosenRange)("ranges",t.customRanges)("customRangeLabel",t.customRangeBtnLbl)}}function es(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",1),s.TgZ(1,"div",2),s.NdJ("@datepickerAnimation.done",function(){return s.CHM(t),s.oxw().positionServiceEnable()}),s.TgZ(2,"div",3),s.ALo(3,"async"),s.YNc(4,Zn,3,3,"div",4),s.YNc(5,zn,3,3,"div",4),s.YNc(6,Wn,3,3,"div",4),s.qZA(),s.YNc(7,Jn,5,0,"div",5),s.YNc(8,Xn,3,2,"div",5),s.qZA(),s.YNc(9,ts,2,3,"div",6),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("ngClass",t.containerClass),s.xp6(1),s.Q6J("@datepickerAnimation",t.animationState),s.xp6(1),s.Q6J("ngSwitch",s.lcZ(3,9,t.viewMode)),s.xp6(2),s.Q6J("ngSwitchCase","day"),s.xp6(1),s.Q6J("ngSwitchCase","month"),s.xp6(1),s.Q6J("ngSwitchCase","year"),s.xp6(1),s.Q6J("ngIf",!1),s.xp6(1),s.Q6J("ngIf",t.showTodayBtn||t.showClearBtn),s.xp6(1),s.Q6J("ngIf",t.customRanges&&t.customRanges.length>0)}}function ns(t,e){1&t&&(s.TgZ(0,"div",1),s.Hsn(1),s.qZA())}const ss=["*"];function is(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).datePicker.move(-1)}),s._uU(1,"\u2039"),s.qZA()}}function rs(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).datePicker.move(-1)}),s._uU(1,"<"),s.qZA()}}function os(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).datePicker.move(1)}),s._uU(1,"\u203a"),s.qZA()}}function as(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).datePicker.move(1)}),s._uU(1,"> "),s.qZA()}}function ls(t,e){1&t&&s._UZ(0,"th")}function cs(t,e){if(1&t&&(s.TgZ(0,"th",10),s.TgZ(1,"small",11),s.TgZ(2,"b"),s._uU(3),s.qZA(),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.xp6(3),s.Oqu(t.abbr)}}function us(t,e){if(1&t&&(s.TgZ(0,"td",10),s.TgZ(1,"em"),s._uU(2),s.qZA(),s.qZA()),2&t){const t=s.oxw(2).index,e=s.oxw(2);s.xp6(2),s.Oqu(e.weekNumbers[t])}}const hs=function(t,e,n,s,i){return{"btn-secondary":t,"btn-info":e,disabled:n,active:s,"btn-default":i}},ds=function(t,e){return{"text-muted":t,"text-info":e}};function ps(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(4).datePicker.select(e.date)}),s.TgZ(1,"span",17),s._uU(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw().$implicit,e=s.oxw(4);s.Gre("btn btn-sm ",t.customClass,""),s.Q6J("ngClass",s.qbA(7,hs,e.isBs4&&!t.selected&&!e.datePicker.isActive(t),t.selected,t.disabled,!e.isBs4&&e.datePicker.isActive(t),!e.isBs4))("disabled",t.disabled),s.xp6(1),s.Q6J("ngClass",s.WLB(13,ds,t.secondary||t.current,!e.isBs4&&t.current)),s.xp6(1),s.Oqu(t.label)}}function fs(t,e){if(1&t&&(s.TgZ(0,"td",14),s.YNc(1,ps,3,16,"button",15),s.qZA()),2&t){const t=e.$implicit,n=s.oxw(4);s.Q6J("id",t.uid),s.xp6(1),s.Q6J("ngIf",!(n.datePicker.onlyCurrentMonth&&t.secondary))}}function ms(t,e){if(1&t&&(s.TgZ(0,"tr"),s.YNc(1,us,3,1,"td",12),s.YNc(2,fs,2,2,"td",13),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw(2);s.xp6(1),s.Q6J("ngIf",e.datePicker.showWeeks),s.xp6(1),s.Q6J("ngForOf",t)}}function gs(t,e){if(1&t&&s.YNc(0,ms,3,2,"tr",5),2&t){const t=e.$implicit,n=s.oxw(2);s.Q6J("ngIf",!(n.datePicker.onlyCurrentMonth&&t[0].secondary&&t[6].secondary))}}const _s=function(t){return{disabled:t}};function ys(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"table",1),s.TgZ(1,"thead"),s.TgZ(2,"tr"),s.TgZ(3,"th"),s.YNc(4,is,2,0,"button",2),s.YNc(5,rs,2,0,"button",2),s.qZA(),s.TgZ(6,"th"),s.TgZ(7,"button",3),s.NdJ("
1click",function(){return s.CHM(t),s.oxw().datePicker.toggleMode(0)}),s.TgZ(8,"strong"),s._uU(9),s.qZA(),s.qZA(),s.qZA(),s.TgZ(10,"th"),s.YNc(11,os,2,0,"button",4),s.YNc(12,as,2,0,"button",4),s.qZA(),s.qZA(),s.TgZ(13,"tr"),s.YNc(14,ls,1,0,"th",5),s.YNc(15,cs,4,1,"th",6),s.qZA(),s.qZA(),s.TgZ(16,"tbody"),s.YNc(17,gs,1,1,"ng-template",7),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.uIk("aria-labelledby",t.datePicker.uniqueId+"-title"),s.xp6(4),s.Q6J("ngIf",!t.isBs4),s.xp6(1),s.Q6J("ngIf",t.isBs4),s.xp6(1),s.uIk("colspan",5+(t.datePicker.showWeeks?1:0)),s.xp6(1),s.Q6J("id",t.datePicker.uniqueId+"-title")("disabled",t.datePicker.datepickerMode===t.datePicker.maxMode)("ngClass",s.VKq(13,_s,t.datePicker.datepickerMode===t.datePicker.maxMode)),s.xp6(2),s.Oqu(t.title),s.xp6(2),s.Q6J("ngIf",!t.isBs4),s.xp6(1),s.Q6J("ngIf",t.isBs4),s.xp6(2),s.Q6J("ngIf",t.datePicker.showWeeks),s.xp6(1),s.Q6J("ngForOf",t.labels),s.xp6(2),s.Q6J("ngForOf",t.rows)}}const vs=function(t,e,n,s){return{"btn-link":t,"btn-info":e,disabled:n,active:s}},bs=function(t,e){return{"text-success":t,"text-info":e}};function ws(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",7),s.TgZ(1,"button",8),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(3).datePicker.select(e.date)}),s.TgZ(2,"span",9),s._uU(3),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(3);s.Q6J("ngClass",t.customClass),s.uIk("id",t.uid),s.xp6(1),s.Q6J("ngClass",s.l5B(6,vs,n.isBs4&&!t.selected&&!n.datePicker.isActive(t),t.selected||n.isBs4&&!t.selected&&n.datePicker.isActive(t),t.disabled,!n.isBs4&&n.datePicker.isActive(t)))("disabled",t.disabled),s.xp6(1),s.Q6J("ngClass",s.WLB(11,bs,n.isBs4&&t.current,!n.isBs4&&t.current)),s.xp6(1),s.Oqu(t.label)}}function Cs(t,e){if(1&t&&(s.TgZ(0,"tr"),s.YNc(1,ws,4,14,"td",6),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngForOf",t)}}function Ss(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"table",1),s.TgZ(1,"thead"),s.TgZ(2,"tr"),s.TgZ(3,"th"),s.TgZ(4,"button",2),s.NdJ("click",function(){return s.CHM(t),s.oxw().datePicker.move(-1)}),s._uU(5,"\u2039"),s.qZA(),s.qZA(),s.TgZ(6,"th"),s.TgZ(7,"button",3),s.NdJ("click",function(){return s.CHM(t),s.oxw().datePicker.toggleMode(0)}),s.TgZ(8,"strong"),s._uU(9),s.qZA(),s.qZA(),s.qZA(),s.TgZ(10,"th"),s.TgZ(11,"button",4),s.NdJ("
1click",function(){return s.CHM(t),s.oxw().datePicker.move(1)}),s._uU(12,"\u203a"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(13,"tbody"),s.YNc(14,Cs,2,1,"tr",5),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(6),s.uIk("colspan",t.datePicker.monthColLimit-2<=0?1:t.datePicker.monthColLimit-2),s.xp6(1),s.Q6J("id",t.datePicker.uniqueId+"-title")("disabled",t.datePicker.datepickerMode===t.maxMode)("ngClass",s.VKq(6,_s,t.datePicker.datepickerMode===t.maxMode)),s.xp6(2),s.Oqu(t.title),s.xp6(5),s.Q6J("ngForOf",t.rows)}}function ks(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",7),s.TgZ(1,"button",8),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(3).datePicker.select(e.date)}),s.TgZ(2,"span",9),s._uU(3),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(3);s.uIk("id",t.uid),s.xp6(1),s.Q6J("ngClass",s.l5B(5,vs,n.isBs4&&!t.selected&&!n.datePicker.isActive(t),t.selected||n.isBs4&&!t.selected&&n.datePicker.isActive(t),t.disabled,!n.isBs4&&n.datePicker.isActive(t)))("disabled",t.disabled),s.xp6(1),s.Q6J("ngClass",s.WLB(10,bs,n.isBs4&&t.current,!n.isBs4&&t.current)),s.xp6(1),s.Oqu(t.label)}}function Ts(t,e){if(1&t&&(s.TgZ(0,"tr"),s.YNc(1,ks,4,13,"td",6),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngForOf",t)}}function Es(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"table",1),s.TgZ(1,"thead"),s.TgZ(2,"tr"),s.TgZ(3,"th"),s.TgZ(4,"button",2),s.NdJ("click",function(){return s.CHM(t),s.oxw().datePicker.move(-1)}),s._uU(5,"\u2039 "),s.qZA(),s.qZA(),s.TgZ(6,"th"),s.TgZ(7,"button",3),s.NdJ("click",function(){return s.CHM(t),s.oxw().datePicker.toggleMode(0)}),s.TgZ(8,"strong"),s._uU(9),s.qZA(),s.qZA(),s.qZA(),s.TgZ(10,"th"),s.TgZ(11,"button",4),s.NdJ("
1click",function(){return s.CHM(t),s.oxw().datePicker.move(1)}),s._uU(12,"\u203a "),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(13,"tbody"),s.YNc(14,Ts,2,1,"tr",5),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(6),s.uIk("colspan",t.datePicker.yearColLimit-2<=0?1:t.datePicker.yearColLimit-2),s.xp6(1),s.Q6J("id",t.datePicker.uniqueId+"-title")("disabled",t.datePicker.datepickerMode===t.datePicker.maxMode)("ngClass",s.VKq(6,_s,t.datePicker.datepickerMode===t.datePicker.maxMode)),s.xp6(2),s.Oqu(t.title),s.xp6(5),s.Q6J("ngForOf",t.rows)}}function xs(t,e){1&t&&s._UZ(0,"bs-current-date",4)}function Ds(t,e){1&t&&s._UZ(0,"bs-timepicker")}const As=[[["bs-datepicker-navigation-view"]],"*"],Os=["bs-datepicker-navigation-view","*"];function Ms(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",2),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().selectFromRanges(e)}),s._uU(1),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.ekj("selected",t.value===n.selectedRange),s.xp6(1),s.hij(" ",t.label," ")}}const Rs=["bsDatepickerDayDecorator",""];function Is(t,e){if(1&t){const t=s.EpF();s.ynx(0),s._uU(1," \u200b "),s.TgZ(2,"button",2),s.NdJ("click",function(){return s.CHM(t),s.oxw().view("month")}),s.TgZ(3,"span"),s._uU(4),s.qZA(),s.qZA(),s.BQk()}if(2&t){const t=s.oxw();s.xp6(4),s.Oqu(t.calendar.monthTitle)}}function Ps(t,e){1&t&&s._UZ(0,"th")}function Fs(t,e){if(1&t&&(s.TgZ(0,"th",5),s._uU(1),s.qZA()),2&t){const t=e.index,n=s.oxw();s.xp6(1),s.hij("",n.calendar.weekdays[t]," ")}}function Ns(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",11),s.NdJ("click",function(){s.CHM(t);const e=s.oxw(2).$implicit;return s.oxw().selectWeek(e)}),s._uU(1),s.qZA()}if(2&t){const t=s.oxw(2).index,e=s.oxw();s.xp6(1),s.Oqu(e.calendar.weekNumbers[t])}}function Ls(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",12),s.NdJ("click",function(){s.CHM(t);const e=s.oxw(2).$implicit;return s.oxw().selectWeek(e)})("mouseenter",function(){s.CHM(t);const e=s.oxw(2).$implicit;return s.oxw().weekHoverHandler(e,!0)})("mouseleave",function(){s.CHM(t);const e=s.oxw(2).$implicit;return s.oxw().weekHoverHandler(e,!1)}),s._uU(1),s.qZA()}if(2&t){const t=s.oxw(2).index,e=s.oxw();s.xp6(1),s.Oqu(e.calendar.weekNumbers[t])}}function js(t,e){if(1&t&&(s.TgZ(0,"td",8),s.YNc(1,Ns,2,1,"span",9),s.YNc(2,Ls,2,1,"span",10),s.qZA()),2&t){const t=s.oxw(2);s.ekj("active-week",t.isWeekHovered),s.xp6(1),s.Q6J("ngIf",t.isiOS),s.xp6(1),s.Q6J("ngIf",!t.isiOS)}}function Vs(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",17),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).selectDay(e)})("mouseenter",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).hoverDay(e,!0)})("mouseleave",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).hoverDay(e,!1)}),s._uU(1),s.qZA()}if(2&t){const t=s.oxw().$implicit;s.s9C("tooltip",t.tooltipText),s.Q6J("day",t),s.xp6(1),s.hij("",t.label," 3")}}function Hs(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",18),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).selectDay(e)})("mouseenter",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).hoverDay(e,!0)})("mouseleave",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).hoverDay(e,!1)}),s._uU(1),s.qZA()}if(2&t){const t=s.oxw().$implicit;s.Q6J("day",t),s.xp6(1),s.hij("",t.label," 2")}}function Us(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",19),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).selectDay(e)}),s._uU(1),s.qZA()}if(2&t){const t=s.oxw().$implicit;s.Q6J("day",t),s.xp6(1),s.hij("",t.label," 1")}}function Ys(t,e){if(1&t&&(s.TgZ(0,"td",13),s.YNc(1,Vs,2,3,"span",14),s.YNc(2,Hs,2,2,"span",15),s.YNc(3,Us,2,2,"span",16),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!t.isiOS&&t.isShowTooltip),s.xp6(1),s.Q6J("ngIf",!t.isiOS&&!t.isShowTooltip),s.xp6(1),s.Q6J("ngIf",t.isiOS)}}function Bs(t,e){if(1&t&&(s.TgZ(0,"tr"),s.YNc(1,js,3,4,"td",6),s.YNc(2,Ys,4,3,"td",7),s.qZA()),2&t){const t=e.$implicit,n=s.oxw();s.xp6(1),s.Q6J("ngIf",n.options&&n.options.showWeekNumbers),s.xp6(1),s.Q6J("ngForOf",t.days)}}function qs(t,e){if(1&t){const t=s.EpF();
1s.TgZ(0,"td",4),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(2).viewMonth(e)})("mouseenter",function(){const e=s.CHM(t).$implicit;return s.oxw(2).hoverMonth(e,!0)})("mouseleave",function(){const e=s.CHM(t).$implicit;return s.oxw(2).hoverMonth(e,!1)}),s.TgZ(1,"span"),s._uU(2),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.ekj("disabled",t.isDisabled)("is-highlighted",t.isHovered),s.xp6(1),s.ekj("selected",t.isSelected),s.xp6(1),s.Oqu(t.label)}}function Zs(t,e){if(1&t&&(s.TgZ(0,"tr"),s.YNc(1,qs,3,7,"td",3),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngForOf",t)}}function $s(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",4),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(2).viewYear(e)})("mouseenter",function(){const e=s.CHM(t).$implicit;return s.oxw(2).hoverYear(e,!0)})("mouseleave",function(){const e=s.CHM(t).$implicit;return s.oxw(2).hoverYear(e,!1)}),s.TgZ(1,"span"),s._uU(2),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.ekj("disabled",t.isDisabled)("is-highlighted",t.isHovered),s.xp6(1),s.ekj("selected",t.isSelected),s.xp6(1),s.Oqu(t.label)}}function zs(t,e){if(1&t&&(s.TgZ(0,"tr"),s.YNc(1,$s,3,7,"td",3),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngForOf",t)}}let Gs=(()=>{class t{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.startView="day",this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w",this.showTodayButton=!1,this.showClearButton=!1,this.todayPosition="center",this.clearPosition="right",this.todayButtonLabel="Today",this.clearButtonLabel="Clear",this.customRangeButtonLabel="Custom Range"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Ws="220ms cubic-bezier(0, 0, 0.2, 1)",Js=(0,ln.X$)("datepickerAnimation",[(0,ln.SB)("animated-down",(0,ln.oB)({height:"*",overflow:"hidden"})),(0,ln.eR)("* => animated-down",[(0,ln.oB)({height:0,overflow:"hidden"}),(0,ln.jt)(Ws)]),(0,ln.SB)("animated-up",(0,ln.oB)({height:"*",overflow:"hidden"})),(0,ln.eR)("* => animated-up",[(0,ln.oB)({height:"*",overflow:"hidden"}),(0,ln.jt)(Ws)]),(0,ln.eR)("* => unanimated",(0,ln.jt)("0s"))]);class Qs{constructor(){this.containerClass="",this.customRanges=[],this.chosenRange=[],this._daysCalendarSub=new cn.w}set minDate(t){var e;null===(e=this._effects)||void 0===e||e.setMinDate(t)}set maxDate(t){var e;null===(e=this._effects)||void 0===e||e.setMaxDate(t)}set daysDisabled(t){var e;null===(e=this._effects)||void 0===e||e.setDaysDisabled(t)}set datesDisabled(t){var e;null===(e=this._effects)||void 0===e||e.setDatesDisabled(t)}set datesEnabled(t){var e;null===(e=this._effects)||void 0===e||e.setDatesEnabled(t)}set isDisabled(t){var e;null===(e=this._effects)||void 0===e||e.setDisabled(t)}set dateCustomClasses(t){var e;null===(e=this._effects)||void 0===e||e.setDateCustomClasses(t)}set dateTooltipTexts(t){var e;null===(e=this._effects)||void 0===e||e.setDateTooltipTexts(t)}set daysCalendar$(t){this._daysCalendar$=t,this._daysCalendarSub.unsubscribe(),this._daysCalendarSub.add(this._daysCalendar$.subscribe(t=>{this.multipleCalendars=!!t&&t.length>1}))}get daysCalendar$(){return this._daysCalendar$}setViewMode(t){}navigateTo(t){}dayHoverHandler(t){}weekHoverHandler(t){}monthHoverHandler(t){}yearHoverHandler(t){}daySelectHandler(t){}monthSelectHandler(t){}yearSelectHandler(t){}setRangeOnCalendar(t){}setToday(){}clearDate(){}_stopPropagation(t){t.stopPropagation()}}let Ks=(()=>{class t{calculate(){return{type:t.CALCULATE}}format(){return{type:t.FORMAT}}flag(){return{type:t.FLAG}}select(e){return{type:t.SELECT,payload:e}}changeViewMode(e){return{type:t.CHANGE_VIEWMODE,payload:e}}navigateTo(e){return{type:t.NAVIGATE_TO,payload:e}}navigateStep(e){return{type:t.NAVIGATE_OFFSET,payload:e}}setOptions(e){return{type:t.SET_OPTIONS,payload:e}}selectRange(e){return{type:t.SELECT_RANGE,payload:e}}hoverDay(e){return{type:t.HOVER,payload:e.isHovered?e.cell.date:null}}minDate(e){return{type:t.SET_MIN_DATE,payload:e}}maxDate(e){return{type:t.SET_MAX_DATE,payload:e}}daysDisabled(e){return{type:t.SET_DAYSDISABLED,payload:e}}datesDisabled(e){return{type:t.SET_DATESDISABLED,payload:e}}datesEnabled(e){return{type:t.SET_DATESENABLED,payload:e}}isDisabled(e){return{type:t.SET_IS_DISABLED,payload:e}}setDateCustomClasses(e){return{type:t.SET_DATE_CUSTOM_CLASSES,payload:e}}setDateTooltipTexts(e){return{type:t.SET_DATE_TOOLTIP_TEXTS,payload:e}}setLocale(e){return{type:t.SET_LOCALE,payload:e}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t.CALCULATE="[datepicker] calculate dates matrix",t.FORMAT="[datepicker] format datepicker values",t.FLAG="[datepicker] set flags",t.SELECT="[datepicker] select date",t.NAVIGATE_OFFSET="[datepicker] shift view date",t.NAVIGATE_TO="[datepicker] change view date",t.
1SET_OPTIONS="[datepicker] update render options",t.HOVER="[datepicker] hover date",t.CHANGE_VIEWMODE="[datepicker] switch view mode",t.SET_MIN_DATE="[datepicker] set min date",t.SET_MAX_DATE="[datepicker] set max date",t.SET_DAYSDISABLED="[datepicker] set days disabled",t.SET_DATESDISABLED="[datepicker] set dates disabled",t.SET_DATESENABLED="[datepicker] set dates enabled",t.SET_IS_DISABLED="[datepicker] set is disabled",t.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes",t.SET_DATE_TOOLTIP_TEXTS="[datepicker] set date tooltip texts",t.SET_LOCALE="[datepicker] set datepicker locale",t.SELECT_RANGE="[daterangepicker] select dates range",t})(),Xs=(()=>{class t{constructor(){this._defaultLocale="en",this._locale=new un.X(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(t){t!==this.currentLocale&&this._locale.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),ti=(()=>{class t{constructor(t,e){this._actions=t,this._localeService=e,this._subs=[]}init(t){return this._store=t,this}setValue(t){var e;null===(e=this._store)||void 0===e||e.dispatch(this._actions.select(t))}setRangeValue(t){var e;null===(e=this._store)||void 0===e||e.dispatch(this._actions.selectRange(t))}setMinDate(t){var e;return null===(e=this._store)||void 0===e||e.dispatch(this._actions.minDate(t)),this}setMaxDate(t){var e;return null===(e=this._store)||void 0===e||e.dispatch(this._actions.maxDate(t)),this}setDaysDisabled(t){var e;return null===(e=this._store)||void 0===e||e.dispatch(this._actions.daysDisabled(t)),this}setDatesDisabled(t){var e;return null===(e=this._store)||void 0===e||e.dispatch(this._actions.datesDisabled(t)),this}setDatesEnabled(t){var e;return null===(e=this._store)||void 0===e||e.dispatch(this._actions.datesEnabled(t)),this}setDisabled(t){var e;return null===(e=this._store)||void 0===e||e.dispatch(this._actions.isDisabled(t)),this}setDateCustomClasses(t){var e;return null===(e=this._store)||void 0===e||e.dispatch(this._actions.setDateCustomClasses(t)),this}setDateTooltipTexts(t){var e;return null===(e=this._store)||void 0===e||e.dispatch(this._actions.setDateTooltipTexts(t)),this}setOptions(t){var e;const n=Object.assign({locale:this._localeService.currentLocale},t);return null===(e=this._store)||void 0===e||e.dispatch(this._actions.setOptions(n)),this}setBindings(t){return this._store?(t.daysCalendar$=this._store.select(t=>t.flaggedMonths).pipe((0,d.h)(t=>!!t)),t.monthsCalendar=this._store.select(t=>t.flaggedMonthsCalendar).pipe((0,d.h)(t=>!!t)),t.yearsCalendar=this._store.select(t=>t.yearsCalendarFlagged).pipe((0,d.h)(t=>!!t)),t.viewMode=this._store.select(t=>{var e;return null===(e=t.view)||void 0===e?void 0:e.mode}),t.options$=(0,hn.aj)([this._store.select(t=>t.showWeekNumbers),this._store.select(t=>t.displayMonths)]).pipe((0,p.U)(t=>({showWeekNumbers:t[0],displayMonths:t[1]}))),this):this}setEventHandlers(t){return t.setViewMode=t=>{var e;null===(e=this._store)||void 0===e||e.dispatch(this._actions.changeViewMode(t))},t.navigateTo=t=>{var e;null===(e=this._store)||void 0===e||e.dispatch(this._actions.navigateStep(t.step))},t.dayHoverHandler=t=>{var e;const n=t.cell;n.isOtherMonth||n.isDisabled||(null===(e=this._store)||void 0===e||e.dispatch(this._actions.hoverDay(t)),n.isHovered=t.isHovered)},t.monthHoverHandler=t=>{t.cell.isHovered=t.isHovered},t.yearHoverHandler=t=>{t.cell.isHovered=t.isHovered},this}registerDatepickerSideEffects(){return this._store?(this._subs.push(this._store.select(t=>t.view).subscribe(()=>{var t;null===(t=this._store)||void 0===t||t.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(t=>t.monthsModel).pipe((0,d.h)(t=>!!t)).subscribe(()=>{var t;return null===(t=this._store)||void 0===t?void 0:t.dispatch(this._actions.format())})),this._subs.push(this._store.select(t=>t.formattedMonths).pipe((0,d.h)(t=>!!t)).subscribe(()=>{var t;return null===(t=this._store)||void 0===t?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.selectedDate).pipe((0,d.h)(t=>!!t)).subscribe(()=>{var t;return null===(t=this._store)||void 0===t?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.selectedRange).pipe((0,d.h)(t=>!!t)).subscribe(()=>{var t;return null===(t=this._store)||void 0===t?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.monthsCalendar).subscribe(()=>{var t;return null===(t=this._store)||void 0===t?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.yearsCalendarModel).pipe((0,d.h)(t=>!!t)).subscribe(()=>{var t;return null===(t=this._store)||void 0===t?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.hoveredDate).pipe((0,d.h)(t=>!!t)).subscribe(()=>{var t;return null===(t=this._store)||void 0===t?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.dateCustomClasses).pipe((0,d.h)(t=>!!t)).subscribe(()=>{var t;return null===(t=this._store)||void 0===t?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.dateTooltipTexts).pipe((0,d.h)(t=>!!t)).subscribe(()=>{var t;return null===(t=this._store)||void 0===t?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._localeService.localeChange.subscribe(t=>{var e;return null===(e=this._store)||void 0===e?void 0:e.dispatch(this._actions.setLocale(t))})),this):this}destroy(){for(const t of this._subs)t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ks),s.LFG(Xs))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const ei={date:new Date,mode:"day"},ni=Object.assign(new Gs,{locale:"en",view:ei,selectedRange:[],monthViewOptions:{width:7,height:6}});function si(t,e,n){const s=e&&Ye(It(t,"month"),e,"day"),i=n&&Ue(Rt(t,"month"),n,"day");return s||i||!1}function ii(t,e,n){const s=e&&Ye(It(t,"year"),e,"day"),i=n&&Ue(Rt(t,"year"),n,"day");return s||i||!1}function ri(t,e=0){const n=t&&t.yearsCalendarModel&&t.yearsCalendarModel[e];return(null==n?void 0:n.years[0])&&n.years[0][0]&&n.years[0][0].date}function oi(t,e){return t&&e?t instanceof Array&&!t.length||t instanceof Date?t:ai(t,e):t}function ai(t,e){return t instanceof Array?t.map(t=>t?(Ue(t,e,"date")&&(t=e),t):t):t}function li(t,e){let n=t.initialDate;const s=new Array(t.height);for(let i=0;i<t.height;i++){s[i]=new Array(t.width);for(let r=0;r<t.width;r++)s[i][r]=e(n),n=xt(n,t.shift)}return s}function ci(t,e){const n=N((s=t).getFullYear(),s.getMonth(),1,s.getHours(),s.getMinutes(),s.getSeconds());var s;const i=function(t,e){return function(t,e){return t.getDay()===Number(e)}(t,e.firstDayOfWeek)?t:xt(t,{day:-function(t,e){const n=Number(e);if(isNaN(n))return 0;if(0===n)return t;const s=t-n%7;return s<0?s+7:s}(U(t),e.firstDayOfWeek)})}(n,e);return{daysMatrix:li({width:e.width||0,height:e.height||0,initialDate:i,shift:{day:1}},t=>t),month:n}}function ui(t){const e=ue(t),n=e.weekdaysShort(),s=e.firstDayOfWeek();return[...n.slice(s),...n.slice(0,s)]}function hi(t,e){return!e||t>=e}const di={month:1};function pi(t,e){return{months:li({width:3,height:4,initialDate:Rt(t,"year"),shift:di},t=>({date:t,label:Re(t,e.monthLabel,e.locale)})),monthTitle:"",yearTitle:Re(t,e.yearTitle,e.locale),hideRightArrow:!1,hideLeftArrow:!1,disableRightArrow:!1,disableLeftArrow:!1}}const fi=-1*(Math.floor(8)-1),mi={year:1};function gi(t,e,n){const s=li({width:4,height:4,initialDate:function(t,e){return e&&t.getFullYear()>=e.getFullYear()&&t.getFullYear()<e.getFullYear()+16?e:xt(t,{year:fi})}
1(t,n),shift:mi},t=>({date:t,label:Re(t,e.yearLabel,e.locale)}));return{years:s,monthTitle:"",yearTitle:function(t,e){return`${Re(t[0][0].date,e.yearTitle,e.locale)} - ${Re(t[3][3].date,e.yearTitle,e.locale)}`}(s,e),hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function _i(t=ni,e){switch(e.type){case Ks.CALCULATE:return function(t){if(!t.view)return t;let e;e=t.displayOneMonthRange&&bi(t.view.date,t.minDate,t.maxDate)?1:t.displayMonths||1;let n=t.view.date;if("day"===t.view.mode&&t.monthViewOptions){t.showPreviousMonth&&t.selectedRange&&0===t.selectedRange.length&&(n=xt(n,{month:-1})),t.monthViewOptions.firstDayOfWeek=ue(t.locale).firstDayOfWeek();let s=new Array(e);for(let i=0;i<e;i++)s[i]=ci(n,t.monthViewOptions),n=xt(n,{month:1});if(t.preventChangeToNextMonth&&t.flaggedMonths&&t.hoveredDate){const e=ci(t.view.date,t.monthViewOptions);t.flaggedMonths.length&&t.flaggedMonths[1].month.getMonth()===e.month.getMonth()&&(s=t.flaggedMonths.map(e=>t.monthViewOptions?ci(e.month,t.monthViewOptions):null).filter(t=>null!==t))}return Object.assign({},t,{monthsModel:s})}if("month"===t.view.mode){const s=new Array(e);for(let i=0;i<e;i++)s[i]=pi(n,yi(t)),n=xt(n,{year:1});return Object.assign({},t,{monthsCalendar:s})}if("year"===t.view.mode){const s=new Array(e);for(let i=0;i<e;i++)s[i]=gi(n,yi(t),"year"===t.minMode?ri(t,i):void 0),n=xt(n,{year:16});return Object.assign({},t,{yearsCalendarModel:s})}return t}(t);case Ks.FORMAT:return function(t){if(!t.view)return t;if("day"===t.view.mode&&t.monthsModel){const e=t.monthsModel.map((e,n)=>function(t,e,n){return{month:t.month,monthTitle:Re(t.month,e.monthTitle,e.locale),yearTitle:Re(t.month,e.yearTitle,e.locale),weekNumbers:(s=t.daysMatrix,i=e.weekNumbers,r=e.locale,s.map(t=>t[0]?Re(t[0],i,r):"")),weekdays:ui(e.locale),weeks:t.daysMatrix.map((t,s)=>({days:t.map((t,i)=>({date:t,label:Re(t,e.dayLabel,e.locale),monthIndex:n,weekIndex:s,dayIndex:i}))})),hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1};var s,i,r}(e,yi(t),n));return Object.assign({},t,{formattedMonths:e})}const e=t.displayMonths||1;let n=t.view.date;if("month"===t.view.mode){const s=new Array(e);for(let i=0;i<e;i++)s[i]=pi(n,yi(t)),n=xt(n,{year:1});return Object.assign({},t,{monthsCalendar:s})}if("year"===t.view.mode){const s=new Array(e);for(let i=0;i<e;i++)s[i]=gi(n,yi(t)),n=xt(n,{year:16});return Object.assign({},t,{yearsCalendarModel:s})}return t}(t);case Ks.FLAG:return function(t){if(!t.view)return t;const e=bi(t.view.date,t.minDate,t.maxDate)?1:t.displayMonths;if(t.formattedMonths&&"day"===t.view.mode){const n=t.formattedMonths.map((n,s)=>function(t,e){return t.weeks.forEach(n=>{n.days.forEach((s,i)=>{const r=!Z(s.date,t.month),o=!r&&z(s.date,e.hoveredDate),a=!r&&e.selectedRange&&z(s.date,e.selectedRange[0]),l=!r&&e.selectedRange&&z(s.date,e.selectedRange[1]),c=!r&&z(s.date,e.selectedDate)||a||l,u=!r&&e.selectedRange&&function(t,e,n){return!!(t&&e&&e[0])&&(e[1]?t>e[0]&&t<=e[1]:!!n&&t>e[0]&&t<=n)}(s.date,e.selectedRange,e.hoveredDate),h=e.isDisabled||Ye(s.date,e.minDate,"day")||Ue(s.date,e.maxDate,"day")||(d=s.date,!(void 0===(p=e.daysDisabled)||!p||!p.length)&&p.some(t=>t===d.getDay()))||function(t,e){return!!(e&&w(e)&&e.length)&&e.some(e=>Be(t,e,"date"))}(s.date,e.datesDisabled)||function(t,e){return!!(e&&w(e)&&e.length)&&!e.some(e=>Be(t,e,"date"))}(s.date,e.datesEnabled);var d,p;const f=new Date,m=!r&&z(s.date,f),g=e.dateCustomClasses&&e.dateCustomClasses.map(t=>z(s.date,t.date)?t.classes:[]).reduce((t,e)=>t.concat(e),[]).join(" ")||"",_=e.dateTooltipTexts&&e.dateTooltipTexts.map(t=>z(s.date,t.date)?t.tooltipText:"").reduce((t,e)=>(t.push(e),t),[]).join(" ")||"",y=Object.assign({},s,{isOtherMonth:r,isHovered:o,isSelected:c,isSelectionStart:a,isSelectionEnd:l,isInRange:u,isDisabled:h,isToday:m,customClasses:g,tooltipText:_});s.isOtherMonth===y.isOtherMonth&&s.isHovered===y.isHovered&&s.isSelected===y.isSelected&&s.isSelectionStart===y.isSelectionStart&&s.isSelectionEnd===y.isSelectionEnd&&s.isDisabled===y.isDisabled&&s.isInRange===y.isInRange&&s.customClasses===y.customClasses&&s.tooltipText===y.tooltipText||(n.days[i]=y)})}),t.hideLeftArrow=e.isDisabled||!!e.monthIndex&&e.monthIndex>0&&e.monthIndex!==e.displayMonths,t.hideRightArrow=e.isDisabled||(!!e.monthIndex||0===e.monthIndex)&&!!e.displayMonths&&e.monthIndex<e.displayMonths&&e.monthIndex+1!==e.displayMonths,t.disableLeftArrow=si(xt(t.month,{month:-1}),e.minDate,e.maxDate),t.disableRightArrow=si(xt(t.month,{month:1}),e.minDate,e.maxDate),t}(n,{isDisabled:t.isDisabled,minDate:t.minDate,maxDate:t.maxDate,daysDisabled:t.daysDisabled,datesDisabled:t.datesDisabled,datesEnabled:t.datesEnabled,hoveredDate:t.hoveredDate,selectedDate:t.selectedDate,selectedRange:t.selectedRange,displayMonths:e,dateCustomClasses:t.dateCustomClasses,dateTooltipTexts:t.dateTooltipTexts,monthIndex:s}));return Object.assign({},t,{flaggedMonths:n})}if("month"===t.view.mode&&t.monthsCalendar){const n=t.monthsCalendar.map((n,s)=>{return r={isDisabled:t.isDisabled,minDate:t.minDate,maxDate:t.maxDate,hoveredMonth:t.hoveredMonth,selectedDate:t.selectedDate,selectedRange:t.selectedRange,displayMonths:e,monthIndex:s},(i=n).months.forEach((t,e)=>{t.forEach((t,n)=>{let s;const o=Z(t.date,r.hoveredMonth),a=r.isDisabled||si(t.date,r.minDate,r.maxDate);!r.selectedDate&&r.selectedRange?(s=Z(t.date,r.selectedRange[0]),s||(s=Z(t.date,r.selectedRange[1]))):s=Z(t.date,r.selectedDate);const l=Object.assign(t,{isHovered:o,isDisabled:a,isSelected:s});t.isHovered===l.isHovered&&t.isDisabled===l.isDisabled&&t.isSelected===l.isSelected||(i.months[e][n]=l)})}),i.hideLeftArrow=!!r.monthIndex&&r.monthIndex>0&&r.monthIndex!==r.displayMonths,i.hideRightArrow=(!!r.monthIndex||0===r.monthIndex)&&(!!r.displayMonths||0===r.displayMonths)&&r.monthIndex<r.displayMonths&&r.monthIndex+1!==r.displayMonths,i.disableLeftArrow=ii(xt(i.months[0][0].date,{year:-1}),r.minDate,r.maxDate),i.disableRightArrow=ii(xt(i.months[0][0].date,{year:1}),r.minDate,r.maxDate),i;var i,r});return Object.assign({},t,{flaggedMonthsCalendar:n})}if("year"===t.view.mode&&t.yearsCalendarModel){const n=t.yearsCalendarModel.map((n,s)=>
1function(t,e){t.years.forEach((n,s)=>{n.forEach((n,i)=>{let r;const o=$(n.date,e.hoveredYear),a=e.isDisabled||ii(n.date,e.minDate,e.maxDate);!e.selectedDate&&e.selectedRange?(r=$(n.date,e.selectedRange[0]),r||(r=$(n.date,e.selectedRange[1]))):r=$(n.date,e.selectedDate);const l=Object.assign(n,{isHovered:o,isDisabled:a,isSelected:r});n.isHovered===l.isHovered&&n.isDisabled===l.isDisabled&&n.isSelected===l.isSelected||(t.years[s][i]=l)})}),t.hideLeftArrow=!!e.yearIndex&&e.yearIndex>0&&e.yearIndex!==e.displayMonths,t.hideRightArrow=!!e.yearIndex&&!!e.displayMonths&&e.yearIndex<e.displayMonths&&e.yearIndex+1!==e.displayMonths,t.disableLeftArrow=ii(xt(t.years[0][0].date,{year:-1}),e.minDate,e.maxDate);const n=t.years.length-1;return t.disableRightArrow=ii(xt(t.years[n][t.years[n].length-1].date,{year:1}),e.minDate,e.maxDate),t}(n,{isDisabled:t.isDisabled,minDate:t.minDate,maxDate:t.maxDate,hoveredYear:t.hoveredYear,selectedDate:t.selectedDate,selectedRange:t.selectedRange,displayMonths:e,yearIndex:s}));return Object.assign({},t,{yearsCalendarFlagged:n})}return t}(t);case Ks.NAVIGATE_OFFSET:return function(t,e){if(!t.view)return t;const n=function(t,e){if(t.view){if("year"===t.view.mode&&"year"===t.minMode){const n=ri(t,0);if(n){const t=xt(n,{year:-fi});return xt(t,e.payload)}}return xt(Rt(t.view.date,"month"),e.payload)}}(t,e);return n?Object.assign({},t,{view:{mode:t.view.mode,date:n}}):t}(t,e);case Ks.NAVIGATE_TO:{const n=e.payload;if(!t.view||!n.unit)return t;const s=function(t,e){return N(Dt(t.getFullYear(),e.year),Dt(t.getMonth(),e.month),1,Dt(t.getHours(),e.hour),Dt(t.getMinutes(),e.minute),Dt(t.getSeconds(),e.seconds),Dt(t.getMilliseconds(),e.milliseconds))}(t.view.date,n.unit);let i,r;return hi(n.viewMode,t.minMode)?(r=n.viewMode,i={view:{date:s,mode:r}}):(r=t.view.mode,i={selectedDate:s,view:{date:s,mode:r}}),Object.assign({},t,i)}case Ks.CHANGE_VIEWMODE:return hi(e.payload,t.minMode)&&t.view?Object.assign({},t,{view:{date:t.view.date,mode:e.payload}}):t;case Ks.HOVER:return Object.assign({},t,{hoveredDate:e.payload});case Ks.SELECT:{if(!t.view)return t;const n={selectedDate:e.payload,view:t.view},s=t.view.mode,i=vi(e.payload||t.view.date,t.minDate,t.maxDate);return n.view={mode:s,date:i},Object.assign({},t,n)}case Ks.SET_OPTIONS:{if(!t.view)return t;const n=e.payload,s=n.minMode?n.minMode:t.view.mode,i=vi(y(n.value)&&n.value||w(n.value)&&y(n.value[0])&&n.value[0]||t.view.date,n.minDate,n.maxDate);return n.view={mode:s,date:i},n.value&&(w(n.value)&&(n.selectedRange=n.value),n.value instanceof Date&&(n.selectedDate=n.value)),Object.assign({},t,n)}case Ks.SELECT_RANGE:{if(!t.view)return t;const n={selectedRange:e.payload,view:t.view},s=t.view.mode,i=vi(e.payload&&e.payload[0]||t.view.date,t.minDate,t.maxDate);return n.view={mode:s,date:i},Object.assign({},t,n)}case Ks.SET_MIN_DATE:return Object.assign({},t,{minDate:e.payload});case Ks.SET_MAX_DATE:return Object.assign({},t,{maxDate:e.payload});case Ks.SET_IS_DISABLED:return Object.assign({},t,{isDisabled:e.payload});case Ks.SET_DATE_CUSTOM_CLASSES:return Object.assign({},t,{dateCustomClasses:e.payload});case Ks.SET_DATE_TOOLTIP_TEXTS:return Object.assign({},t,{dateTooltipTexts:e.payload});default:return t}}function yi(t){return{locale:t.locale,monthTitle:t.monthTitle,yearTitle:t.yearTitle,dayLabel:t.dayLabel,monthLabel:t.monthLabel,yearLabel:t.yearLabel,weekNumbers:t.weekNumbers}}function vi(t,e,n){const s=Array.isArray(t)?t[0]:t;return e&&Ue(e,s,"day")?e:n&&Ye(n,s,"day")?n:s}function bi(t,e,n){return!(!n||!Be(n,t,"day"))||e&&n&&e.getMonth()===n.getMonth()}let wi=(()=>{class t extends En{constructor(){const t=new un.X({type:"[datepicker] dispatcher init"});super(t,_i,new Tn(ni,t,_i))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Ci=(()=>{class t extends Qs{constructor(t,e,n,i,r,o,a){super(),this._config=e,this._store=n,this._element=i,this._actions=r,this._positionService=a,this.valueChange=new s.vpe,this.animationState="void",this._subs=[],this._effects=o,t.setStyle(i.nativeElement,"display","block"),t.setStyle(i.nativeElement,"position","absolute")}set value(t){var e;null===(e=this._effects)||void 0===e||e.setValue(t)}ngOnInit(){var t,e;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),null===(t=this._positionService.event$)||void 0===t||t.pipe((0,f.q)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this.showTodayBtn=this._config.showTodayButton,this.todayBtnLbl=this._config.todayButtonLabel,this.todayPos=this._config.todayPosition,this.showClearBtn=this._config.showClearButton,this.clearBtnLbl=this._config.clearButtonLabel,this.clearPos=this._config.clearPosition,this.customRangeBtnLbl=this._config.customRangeButtonLabel,null===(e=this._effects)||void 0===e||e.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(t=>t.selectedDate).subscribe(t=>this.valueChange.emit(t))),this._store.dispatch(this._actions.changeViewMode(this._config.startView))}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}daySelectHandler(t){t&&((this.isOtherMonthsActive?t.isDisabled:t.isOtherMonth||t.isDisabled)||this._store.dispatch(this._actions.select(t.date)))}monthSelectHandler(t){t&&!t.isDisabled&&this._store.dispatch(this._actions.navigateTo({unit:{month:B(t.date),year:q(t.date)},viewMode:"day"}))}yearSelectHandler(t){t&&!t.isDisabled&&this._store.dispatch(this._actions.navigateTo({unit:{year:q(t.date)},viewMode:"month"}))}setToday(){this._store.dispatch(this._actions.select(new Date))}clearDate(){this._store.dispatch(this._actions.select(void 0))}ngOnDestroy(){var t;for(const e of this._subs)e.unsubscribe();null===(t=this._effects)||void 0===t||t.destroy()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Qsj),s.Y36(Gs),s.Y36(wi),s.Y36(s.SBq),s.Y36(Ks),s.Y36(ti),s.Y36(an.sA))},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-datepicker-container"]],hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostBindings:function(t,e){1&t&&s.NdJ("
1click",function(t){return e._stopPropagation(t)})},features:[s._Bn([wi,ti]),s.qOj],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],[3,"calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"selectedRange","ranges","customRangeLabel","onSelect"]],template:function(t,e){1&t&&(s.YNc(0,Bn,10,11,"div",0),s.ALo(1,"async")),2&t&&s.Q6J("ngIf",s.lcZ(1,1,e.viewMode))},directives:function(){return[On.O5,On.mk,On.RF,On.n9,On.sg,zi,Gi,Ji,Bi]},pipes:function(){return[On.Ov]},encapsulation:2,data:{animation:[Js]}}),t})(),Si=(()=>{class t{constructor(t,e,n,i,r){this._config=t,this._elementRef=e,this._renderer=n,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new dn.xQ,this.isDisabled=!1,this.bsValueChange=new s.vpe,this._subs=[],this._dateInputFormat$=new dn.xQ,Object.assign(this,this._config),this._datepicker=r.createLoader(e,i,n),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new un.X(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(t){this.isOpen$.next(t)}set bsValue(t){if(!this._bsValue||!t||this._bsValue.getTime()!==t.getTime()){if(!this._bsValue&&t){const e=new Date;t.setMilliseconds(e.getMilliseconds()),t.setSeconds(e.getSeconds()),t.setMinutes(e.getMinutes()),t.setHours(e.getHours())}this._bsValue=t,this.bsValueChange.emit(t)}}get dateInputFormat$(){return this._dateInputFormat$}get bsConfig(){return this._bsConfig}set bsConfig(t){this._bsConfig=t,this.setConfig(),this._dateInputFormat$.next(t&&t.dateInputFormat)}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig()}ngOnChanges(t){this._datepickerRef&&this._datepickerRef.instance&&(t.minDate&&(this._datepickerRef.instance.minDate=this.minDate),t.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),t.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),t.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),t.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),t.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),t.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),t.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts))}ngAfterViewInit(){this.isOpen$.pipe((0,d.h)(t=>t!==this.isOpen),r(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Gs,useValue:this._config}).attach(Ci).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe(t=>{this._datepickerRef&&(this._datepickerRef.instance.value=t)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(t=>{this.bsValue=t,this.hide()})))}hide(){this.isOpen&&this._datepicker.hide();for(const t of this._subs)t.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:oi(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode})}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(),this.isDestroy$.complete())}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Gs),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(xn.oj))},t.\u0275dir=s.lG2({type:t,selectors:[["","bsDatepicker",""]],inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isDisabled:"isDisabled",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts"},outputs:{bsValueChange:"bsValueChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bsDatepicker"],features:[s.TTD]}),t})(),ki=(()=>{class t extends Qs{constructor(t,e,n,i,r,o,a){super(),this._config=e,this._store=n,this._element=i,this._actions=r,this._positionService=a,this.valueChange=new s.vpe,this.animationState="void",this._rangeStack=[],this.chosen
1Range=[],this._subs=[],this._effects=o,this.customRanges=this._config.ranges||[],this.customRangeBtnLbl=this._config.customRangeButtonLabel,t.setStyle(i.nativeElement,"display","block"),t.setStyle(i.nativeElement,"position","absolute")}set value(t){var e;null===(e=this._effects)||void 0===e||e.setRangeValue(t)}ngOnInit(){var t,e;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),null===(t=this._positionService.event$)||void 0===t||t.pipe((0,f.q)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,null===(e=this._effects)||void 0===e||e.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(t=>t.selectedRange).subscribe(t=>{this.valueChange.emit(t),this.chosenRange=t||[]}))}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}daySelectHandler(t){t&&((this.isOtherMonthsActive?t.isDisabled:t.isOtherMonth||t.isDisabled)||this.rangesProcessing(t))}monthSelectHandler(t){if(t&&!t.isDisabled)if(t.isSelected=!0,"month"===this._config.minMode)this.rangesProcessing(t);else{if(t.isDisabled)return;this._store.dispatch(this._actions.navigateTo({unit:{month:B(t.date),year:q(t.date)},viewMode:"day"}))}}yearSelectHandler(t){if(t&&!t.isDisabled)if(t.isSelected=!0,"year"===this._config.minMode)this.rangesProcessing(t);else{if(t.isDisabled)return;this._store.dispatch(this._actions.navigateTo({unit:{year:q(t.date)},viewMode:"month"}))}}rangesProcessing(t){1===this._rangeStack.length&&(this._rangeStack=t.date>=this._rangeStack[0]?[this._rangeStack[0],t.date]:[t.date]),this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(t.date),0===this._rangeStack.length&&(this._rangeStack=[t.date],this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(t.date)),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[])}ngOnDestroy(){var t;for(const e of this._subs)e.unsubscribe();null===(t=this._effects)||void 0===t||t.destroy()}setRangeOnCalendar(t){t&&(this._rangeStack=t.value instanceof Date?[t.value]:t.value),this._store.dispatch(this._actions.selectRange(this._rangeStack))}setMaxDateRangeOnCalendar(t){var e;let n=new Date(t);if(this._config.maxDate){const e=this._config.maxDate.getTime(),s=t.getTime()+864e5*(this._config.maxDateRange||0);n=s>e?new Date(this._config.maxDate):new Date(s)}else n.setDate(t.getDate()+(this._config.maxDateRange||0));null===(e=this._effects)||void 0===e||e.setMaxDate(n)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Qsj),s.Y36(Gs),s.Y36(wi),s.Y36(s.SBq),s.Y36(Ks),s.Y36(ti),s.Y36(an.sA))},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-daterangepicker-container"]],hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e._stopPropagation(t)})},features:[s._Bn([wi,ti]),s.qOj],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],[3,"calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"selectedRange","ranges","customRangeLabel","onSelect"]],template:function(t,e){1&t&&(s.YNc(0,es,10,11,"div",0),s.ALo(1,"async")),2&t&&s.Q6J("ngIf",s.lcZ(1,1,e.viewMode))},directives:function(){return[On.O5,On.mk,On.RF,On.n9,On.sg,zi,Gi,Ji,Bi]},pipes:function(){return[On.Ov]},encapsulation:2,data:{animation:[Js]}}),t})();const Ti={provide:Dn.JU,useExisting:(0,s.Gpc)(()=>xi),multi:!0},Ei={provide:Dn.Cf,useExisting:(0,s.Gpc)(()=>xi),multi:!0};let xi=(()=>{class t{constructor(t,e,n,s,i){this._picker=t,this._localeService=e,this._renderer=n,this._elRef=s,this.changeDetection=i,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._val
1idatorChange=Function.prototype,this._subs=new cn.w}ngOnInit(){const t=t=>{this._setInputValue(t),this._value!==t&&(this._value=t,this._onChange(t),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&t(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(t)),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.dateInputFormat$.pipe(c()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(t){13!==t.keyCode&&"Enter"!==t.code||this.hide()}_setInputValue(t){const e=t?Re(t,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",e)}onChange(t){this.writeValue(t.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(t){const e=t.value;if(null==e||""===e)return null;if(_(e)){if(!y(e))return{bsDate:{invalid:e}};if(this._picker&&this._picker.minDate&&Ye(e,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&Ue(e,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),{bsDate:{maxDate:this._picker.maxDate}}}return null}registerOnValidatorChange(t){this._validatorChange=t}writeValue(t){if(t){const e=this._localeService.currentLocale;if(!ue(e))throw new Error(`Locale "${e}" is not defined, please add it with "defineLocale(...)"`);this._value=je(t,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc&&(this._value=Ve(this._value))}else this._value=void 0;this._picker.bsValue=this._value}setDisabledState(t){this._picker.isDisabled=t,t?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Si,1),s.Y36(Xs),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["input","bsDatepicker",""]],hostBindings:function(t,e){1&t&&s.NdJ("change",function(t){return e.onChange(t)})("keyup.esc",function(){return e.hide()})("keydown",function(t){return e.onKeydownEvent(t)})("blur",function(){return e.onBlur()})},features:[s._Bn([Ti,Ei])]}),t})(),Di=(()=>{class t extends Gs{constructor(){super(...arguments),this.displayMonths=2}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Ai=(()=>{class t{constructor(t,e,n,i,r){this._config=t,this._elementRef=e,this._renderer=n,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new dn.xQ,this.isDisabled=!1,this.bsValueChange=new s.vpe,this._subs=[],this._rangeInputFormat$=new dn.xQ,this._datepicker=r.createLoader(e,i,n),Object.assign(this,t),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new un.X(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(t){this.isOpen$.next(t)}set bsValue(t){this._bsValue!==t&&(this._bsValue=t,this.bsValueChange.emit(t))}set bsConfig(t){this._bsConfig=t,this.setConfig(),this._rangeInputFormat$.next(t&&t.rangeInputFormat)}get bsConfig(){return this._bsConfig}get rangeInputFormat$(){return this._rangeInputFormat$}ngOnInit(){this.isDestroy$=new dn.xQ,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig()}ngOnChanges(t){this._datepickerRef&&this._datepickerRef.instance&&(t.minDate&&(this._datepickerRef.instance.minDate=this.minDate),t.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),t.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),t.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),t.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),t.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),t.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe((0,d.h)(t=>t!==this.isOpen),r(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Gs,useValue:this._config}).attach(ki).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe(t=>{this._datepickerRef&&(this._datepickerRef.instance.value=t)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe((0,d.h)(t=>t&&t[0]&&!!t[1])).subscribe(t=>{this.bsValue=t,this.hide()})))}setConfig(){var t,e;this._config=Object.assign({},this._config,this.bsConfig,{value:oi(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:(t=this.bsConfig&&this.bsConfig.ranges,e=this.maxDate||this.bsConfig&&this.bsConfig.maxDate,t&&e&&(t.length||t[0].value)?(t.forEach(n=>n&&n.value?n.value instanceof Date?t:n.value instanceof Array&&n.value.length?(n.value=ai(n.value,e),t):t:t),t):t),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange})}hide(){this.isOpen&&this._datepicker.hide();for(const t of this._subs)t.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(),this.isDestroy$.complete())}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Di),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(xn.oj))},t.\u0275dir=s.lG2({type:t,selectors:[["","bsDaterangepicker",""]],inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isDisabled:"isDisabled",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{bsValueChange:"bsValueChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bsDaterangepicker"],features:[s.TTD]}),t})();const Oi={provide:Dn.JU,useExisting:(0,s.Gpc)(()=>Ri),multi:!0},Mi={provide:Dn.Cf,useExisting:(0,s.Gpc)(()=>Ri),multi:!0};let Ri=(()=>{class t{constructor(t,e,n,s,i){this._picker=t,this._localeService=e,this._renderer=n,this._elRef=s,this.changeDetection=i,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._val
1idatorChange=Function.prototype,this._subs=new cn.w}ngOnInit(){this._picker._bsValue&&(t=>{this._setInputValue(t),this._value!==t&&(this._value=t,this._onChange(t),this._onTouched()),this.changeDetection.markForCheck()})(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(t=>{this._setInputValue(t),this._value!==t&&(this._value=t,this._onChange(t),this._onTouched()),this.changeDetection.markForCheck()})),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.rangeInputFormat$.pipe(c()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(t){13!==t.keyCode&&"Enter"!==t.code||this.hide()}_setInputValue(t){let e="";if(t){const n=t[0]?Re(t[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",s=t[1]?Re(t[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";e=n&&s?n+this._picker._config.rangeSeparator+s:""}this._renderer.setProperty(this._elRef.nativeElement,"value",e)}onChange(t){this.writeValue(t.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(t){let e=t.value;const n=[];if(null==e||!w(e))return null;e=e.slice().sort((t,e)=>t.getTime()-e.getTime());const s=y(e[0]),i=y(e[1]);return s?i?(this._picker&&this._picker.minDate&&Ye(e[0],this._picker.minDate,"date")&&(e[0]=this._picker.minDate,n.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&Ue(e[1],this._picker.maxDate,"date")&&(e[1]=this._picker.maxDate,n.push({bsDate:{maxDate:this._picker.maxDate}})),n.length>0?(this.writeValue(e),n):null):{bsDate:{invalid:e[1]}}:{bsDate:{invalid:e[0]}}}registerOnValidatorChange(t){this._validatorChange=t}writeValue(t){if(t){const e=this._localeService.currentLocale;if(!ue(e))throw new Error(`Locale "${e}" is not defined, please add it with "defineLocale(...)"`);let n=[];if("string"==typeof t){const e=this._picker._config.rangeSeparator.trim();n=t.split(e.length>0?e:this._picker._config.rangeSeparator).map(t=>t.trim())}Array.isArray(t)&&(n=t),this._value=n.map(t=>this._picker._config.useUtc?Ve(je(t,this._picker._config.rangeInputFormat,this._localeService.currentLocale)):je(t,this._picker._config.rangeInputFormat,this._localeService.currentLocale)).map(t=>isNaN(t.valueOf())?void 0:t)}else this._value=void 0;this._picker.bsValue=this._value}setDisabledState(t){this._picker.isDisabled=t,t?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ai,1),s.Y36(Xs),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(t,e){1&t&&s.NdJ("change",function(t){return e.onChange(t)})("keyup.esc",function(){return e.hide()})("keydown",function(t){return e.onKeydownEvent(t)})("blur",function(){return e.onBlur()})},features:[s._Bn([Oi,Mi])]}),t})();class Ii{format(t,e,n){return Re(t,e,n)}}let Pi=(()=>{class t{constructor(){this.monthColLimit=0,this.yearColLimit=0,this.selectionDone=new s.vpe(void 0),this.update=new s.vpe(!1),this.activeDateChange=new s.vpe(void 0),this.stepDay={},this.stepMonth={},this.stepYear={},this.modes=["day","month","year"],this.dateFormatter=new Ii}get activeDate(){return this._activeDate}set activeDate(t){this._activeDate=t}ngOnInit(){this.uniqueId=`datepicker--${Math.floor(1e4*Math.random())}`,this.initDate?(this.activeDate=this.initDate,this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate)):void 0===this.activeDate&&(this.activeDate=new Date)}ngOnChanges(t){this.refreshView(),this.checkIfActiveDateGotUpdated(t.activeDate)}checkIfActiveDateGotUpdated(t){if(t&&!t.firstChange){const e=t.previousValue;e&&e instanceof Date&&e.getTime()!==t.currentValue.getTime()&&this.activeDateChange.emit(this.activeDate)}}setCompareHandler(t,e){"day"===e&&(this.compareHandlerDay=t),"month"===e&&(this.compareHandlerMonth=t),"year"===e&&(this.compareHandlerYear=t)}compare(t,e){if(void 0!==t&&void 0!==e)return"day"===this.datepickerMode&&this.compareHandlerDay?this.compareHandlerDay(t,e):"month"===this.datepickerMode&&this.compareHandlerMonth?this.compareHandlerMonth(t,e):"year"===this.datepickerMode&&this.compareHandlerYear?this.compareHandlerYear(t,e):void 0}setRefreshViewHandler(t,e){"day"===e&&(this.refreshViewHandlerDay=t),"month"===e&&(this.refreshViewHandlerMonth=t),"year"===e&&(this.refreshViewHandlerYear=t)}refreshView(){"day"===this.datepickerMode&&this.refreshViewHandlerDay&&this.refreshViewHandlerDay(),"month"===this.datepickerMode&&this.refreshViewHandlerMonth&&this.refreshViewHandlerMonth(),"year"===this.datepickerMode&&this.refreshViewHandlerYear&&this.refreshViewHandlerYear()}dateFilter(t,e){return this.dateFormatter.format(t,e,this.locale)}isActive(t){return 0===this.compare(t.date,this.activeDate)&&(this.activeDateId=t.uid,!0)}createDateObject(t,e){const n={};return n.date=new Date(t.getFullYear(),t.getMonth(),t.getDate()),n.date=this.fixTimeZone(n.date),n.label=this.dateFilter(t,e),n.selected=0===this.compare(t,this.selectedDate),n.disabled=this.isDisabled(t),n.current=0===this.compare(t,new Date),n.customClass=this.getCustomClassForDate(n.date),n}split(t,e){const n=[];for(;t.length>0;)n.push(t.splice(0,e));return n}fixTimeZone(t){const e=t.getHours();return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23===e?e+2:0)}select(t,e=!0){this.datepickerMode===this.minMode?(this.activeDate||(this.activeDate=new Date(0,0,0,0,0,0,0)),this.activeDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),e&&this.selectionDone.emit(this.activeDate)):(this.activeDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),e&&this.datepickerMode&&(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)-1])),this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate),this.refreshView()}move(t){let e;if("day"===this.datepickerMode&&(e=this.stepDay),"month"===this.datepickerMode&&(e=this.stepMonth),"year"===this.datepickerMode&&(e=this.stepYear),e&&this.activeDate){const n=this.activeDate.getFullYear()+t*(e.years||0),s=this.activeDate.getMonth()+t*(e.months||0);this.activeDate=new Date(n,s,1),this.refreshView(),this.activeDateChange.emit(this.activeDate)}}toggleMode(t){const e=t||1;
1this.datepickerMode===this.maxMode&&1===e||this.datepickerMode===this.minMode&&-1===e||(this.datepickerMode&&(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)+e]),this.refreshView())}getCustomClassForDate(t){if(!this.customClass)return"";const e=this.customClass.find(e=>e.date.valueOf()===t.valueOf()&&e.mode===this.datepickerMode,this);return void 0===e?"":e.clazz}compareDateDisabled(t,e){if(void 0!==t&&void 0!==e)return"day"===t.mode&&this.compareHandlerDay?this.compareHandlerDay(t.date,e):"month"===t.mode&&this.compareHandlerMonth?this.compareHandlerMonth(t.date,e):"year"===t.mode&&this.compareHandlerYear?this.compareHandlerYear(t.date,e):void 0}isDisabled(t){let e=!1;if(this.dateDisabled&&this.dateDisabled.forEach(n=>{0===this.compareDateDisabled(n,t)&&(e=!0)}),this.dayDisabled&&(e=e||this.dayDisabled.indexOf(t.getDay())>-1),e)return e;const n=Number(this.minDate&&this.compare(t,this.minDate));if(!isNaN(n))return n<0;const s=Number(this.maxDate&&this.compare(t,this.maxDate));return!isNaN(s)&&s>0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["datepicker-inner"]],inputs:{monthColLimit:"monthColLimit",yearColLimit:"yearColLimit",activeDate:"activeDate",datepickerMode:"datepickerMode",locale:"locale",startingDay:"startingDay",yearRange:"yearRange",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",maxMode:"maxMode",showWeeks:"showWeeks",formatDay:"formatDay",formatMonth:"formatMonth",formatYear:"formatYear",formatDayHeader:"formatDayHeader",formatDayTitle:"formatDayTitle",formatMonthTitle:"formatMonthTitle",onlyCurrentMonth:"onlyCurrentMonth",shortcutPropagation:"shortcutPropagation",customClass:"customClass",dateDisabled:"dateDisabled",dayDisabled:"dayDisabled",initDate:"initDate"},outputs:{selectionDone:"selectionDone",update:"update",activeDateChange:"activeDateChange"},features:[s.TTD],ngContentSelectors:ss,decls:1,vars:1,consts:[["class","well well-sm bg-faded p-a card","role","application",4,"ngIf"],["role","application",1,"well","well-sm","bg-faded","p-a","card"]],template:function(t,e){1&t&&(s.F$t(),s.YNc(0,ns,2,0,"div",0)),2&t&&s.Q6J("ngIf",e.datepickerMode)},directives:[On.O5],encapsulation:2}),t})(),Fi=(()=>{class t{constructor(){this.locale="en",this.datepickerMode="day",this.startingDay=0,this.yearRange=20,this.minMode="day",this.maxMode="year",this.showWeeks=!0,this.formatDay="DD",this.formatMonth="MMMM",this.formatYear="YYYY",this.formatDayHeader="dd",this.formatDayTitle="MMMM YYYY",this.formatMonthTitle="YYYY",this.onlyCurrentMonth=!1,this.monthColLimit=3,this.yearColLimit=5,this.shortcutPropagation=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Ni={provide:Dn.JU,useExisting:(0,s.Gpc)(()=>Li),multi:!0};let Li=(()=>{class t{constructor(t){this.datepickerMode="day",this.showWeeks=!0,this.monthColLimit=3,this.yearColLimit=5,this.selectionDone=new s.vpe(void 0),this.activeDateChange=new s.vpe(void 0),this.onChange=Function.prototype,this.onTouched=Function.prototype,this._now=new Date,this.config=t,this.configureOptions()}get activeDate(){return this._activeDate||this._now}set activeDate(t){this._activeDate=t}configureOptions(){Object.assign(this,this.config)}onUpdate(t){this.activeDate=t,this.onChange(t)}onSelectionDone(t){this.selectionDone.emit(t)}onActiveDateChange(t){this.activeDateChange.emit(t)}writeValue(t){var e,n;if(0!==(null===(e=this._datePicker)||void 0===e?void 0:e.compare(t,this._activeDate)))return t&&t instanceof Date?(this.activeDate=t,void(null===(n=this._datePicker)||void 0===n||n.select(t,!1))):void(this.activeDate=t?new Date(t):void 0)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Fi))},t.\u0275cmp=s.Xpm({type:t,selectors:[["datepicker"]],viewQuery:function(t,e){if(1&t&&s.Gf(Pi,7),2&t){let t;s.iGM(t=s.CRH())&&(e._datePicker=t.first)}},inputs:{datepickerMode:"datepickerMode",showWeeks:"showWeeks",monthColLimit:"monthColLimit",yearColLimit:"yearColLimit",activeDate:"activeDate",initDate:"initDate",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",maxMode:"maxMode",formatDay:"formatDay",formatMonth:"formatMonth",formatYear:"formatYear",formatDayHeader:"formatDayHeader",formatDayTitle:"formatDayTitle",formatMonthTitle:"formatMonthTitle",startingDay:"startingDay",yearRange:"yearRange",onlyCurrentMonth:"onlyCurrentMonth",shortcutPropagation:"shortcutPropagation",customClass:"customClass",dateDisabled:"dateDisabled",dayDisabled:"dayDisabled"},outputs:{selectionDone:"selectionDone",activeDateChange:"activeDateChange"},features:[s._Bn([Ni])],decls:4,vars:24,consts:[[3,"activeDate","locale","datepickerMode","initDate","minDate","maxDate","minMode","maxMode","showWeeks","formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","startingDay","yearRange","customClass","dateDisabled","dayDisabled","onlyCurrentMonth","shortcutPropagation","monthColLimit","yearColLimit","update","selectionDone","activeDateChange"],["tabindex","0"]],template:function(t,e){1&t&&(s.TgZ(0,"datepicker-inner",0),s.NdJ("update",function(t){return e.onUpdate(t)})("selectionDone",function(t){return e.onSelectionDone(t)})("activeDateChange",function(t){return e.onActiveDateChange(t)}
1),s._UZ(1,"daypicker",1),s._UZ(2,"monthpicker",1),s._UZ(3,"yearpicker",1),s.qZA()),2&t&&s.Q6J("activeDate",e.activeDate)("locale",e.config.locale)("datepickerMode",e.datepickerMode)("initDate",e.initDate)("minDate",e.minDate)("maxDate",e.maxDate)("minMode",e.minMode)("maxMode",e.maxMode)("showWeeks",e.showWeeks)("formatDay",e.formatDay)("formatMonth",e.formatMonth)("formatYear",e.formatYear)("formatDayHeader",e.formatDayHeader)("formatDayTitle",e.formatDayTitle)("formatMonthTitle",e.formatMonthTitle)("startingDay",e.startingDay)("yearRange",e.yearRange)("customClass",e.customClass)("dateDisabled",e.dateDisabled)("dayDisabled",e.dayDisabled)("onlyCurrentMonth",e.onlyCurrentMonth)("shortcutPropagation",e.shortcutPropagation)("monthColLimit",e.monthColLimit)("yearColLimit",e.yearColLimit)},directives:function(){return[Pi,ji,Vi,Hi]},encapsulation:2}),t})(),ji=(()=>{class t{constructor(t){this.labels=[],this.rows=[],this.weekNumbers=[],this.datePicker=t}get isBs4(){return!(0,An.XA)()}ngOnInit(){const t=this;this.datePicker.stepDay={months:1},this.datePicker.setRefreshViewHandler(function(){const e=this,n=e.activeDate.getFullYear(),s=e.activeDate.getMonth(),i=new Date(n,s,1),r=e.startingDay-i.getDay(),o=r>0?7-r:-r,a=new Date(i.getTime());o>0&&a.setDate(1-o);const l=t.getDates(a,42),c=[];for(let t=0;t<42;t++){const n=e.createDateObject(l[t],e.formatDay);n.secondary=l[t].getMonth()!==s,n.uid=e.uniqueId+"-"+t,c[t]=n}t.labels=[];for(let u=0;u<7;u++)t.labels[u]={},t.labels[u].abbr=e.dateFilter(c[u].date,e.formatDayHeader),t.labels[u].full=e.dateFilter(c[u].date,"EEEE");if(t.title=e.dateFilter(e.activeDate,e.formatDayTitle),t.rows=e.split(c,7),e.showWeeks){t.weekNumbers=[];const n=(11-e.startingDay)%7,s=t.rows.length;for(let e=0;e<s;e++){const s=t.rows[e][n].date;s&&t.weekNumbers.push(t.getISO8601WeekNumber(s))}}},"day"),this.datePicker.setCompareHandler(function(t,e){const n=new Date(t.getFullYear(),t.getMonth(),t.getDate()),s=new Date(e.getFullYear(),e.getMonth(),e.getDate());return n.getTime()-s.getTime()},"day"),this.datePicker.refreshView()}getDates(t,e){const n=new Array(e);let s,i=new Date(t.getTime()),r=0;for(;r<e;)s=new Date(i.getTime()),s=this.datePicker.fixTimeZone(s),n[r++]=s,i=new Date(s.getFullYear(),s.getMonth(),s.getDate()+1);return n}getISO8601WeekNumber(t){const e=new Date(t.getTime());e.setDate(e.getDate()+4-(e.getDay()||7));const n=e.getTime();return e.setMonth(0),e.setDate(1),Math.floor(Math.round((n-e.getTime())/864e5)/7)+1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Pi))},t.\u0275cmp=s.Xpm({type:t,selectors:[["daypicker"]],decls:1,vars:1,consts:[["role","grid","aria-activedescendant","activeDateId",4,"ngIf"],["role","grid","aria-activedescendant","activeDateId"],["type","button","class","btn btn-default btn-secondary btn-sm pull-left float-left","tabindex","-1",3,"click",4,"ngIf"],["type","button","tabindex","-1",1,"btn","btn-default","btn-secondary","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","class","btn btn-default btn-secondary btn-sm pull-right float-right","tabindex","-1",3,"click",4,"ngIf"],[4,"ngIf"],["class","text-center",4,"ngFor","ngForOf"],["ngFor","",3,"ngForOf"],["type","button","tabindex","-1",1,"btn","btn-default","btn-secondary","btn-sm","pull-left","float-left",3,"click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-secondary","btn-sm","pull-right","float-right",3,"click"],[1,"text-center"],["aria-label","labelz.full"],["class","h6","class","text-center",4,"ngIf"],["class","text-center","role","gridcell",3,"id",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center",3,"id"],["type","button","style","min-width:100%;","tabindex","-1",3,"class","ngClass","disabled","click",4,"ngIf"],["type","button","tabindex","-1",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(t,e){1&t&&s.YNc(0,ys,18,15,"table",0),2&t&&s.Q6J("ngIf","day"===e.datePicker.datepickerMode)},directives:[On.O5,On.mk,On.sg],styles:["[_nghost-%COMP%] .btn-secondary[_ngcontent-%COMP%] {\n color: #292b2c;\n background-color: #fff;\n border-color: #ccc;\n }\n [_nghost-%COMP%] .btn-info[_ngcontent-%COMP%] .text-muted[_ngcontent-%COMP%] {\n color: #292b2c !important;\n }"]}),t})(),Vi=(()=>{class t{constructor(t){this.rows=[],this.datePicker=t}get isBs4(){return!(0,An.XA)()}ngOnInit(){const t=this;this.datePicker.stepMonth={years:1},this.datePicker.setRefreshViewHandler(function(){const e=this,n=new Array(12),s=e.activeDate.getFullYear();let i;for(let t=0;t<12;t++)i=new Date(s,t,1),i=e.fixTimeZone(i),n[t]=e.createDateObject(i,e.formatMonth),n[t].uid=e.uniqueId+"-"+t;t.title=e.dateFilter(e.activeDate,e.formatMonthTitle),t.rows=e.split(n,t.datePicker.monthColLimit)},"month"),this.datePicker.setCompareHandler(function(t,e){const n=new Date(t.getFullYear(),t.getMonth()),s=new Date(e.getFullYear(),e.getMonth());return n.getTime()-s.getTime()},"month"),this.datePicker.refreshView()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Pi))},t.\u0275cmp=s.Xpm({type:t,selectors:[["monthpicker"]],decls:1,vars:1,consts:[["role","grid",4,"ngIf"],["role","grid"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-left","float-left",3,"click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-right","float-right",3,"click"],[4,"ngFor","ngForOf"],["class","text-center","role","gridcell",3,"ngClass",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center",3,"ngClass"],["type","button","tabindex","-1",1,"btn","btn-default",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(t,e){1&t&&s.YNc(0,Ss,15,8,"table",0),2&t&&s.Q6J("ngIf","month"===e.datePicker.datepickerMode)}
1,directives:[On.O5,On.mk,On.sg],styles:["[_nghost-%COMP%] .btn-info[_ngcontent-%COMP%] .text-success[_ngcontent-%COMP%] {\n color: #fff !important;\n }"]}),t})(),Hi=(()=>{class t{constructor(t){this.rows=[],this.datePicker=t}get isBs4(){return!(0,An.XA)()}ngOnInit(){const t=this;this.datePicker.stepYear={years:this.datePicker.yearRange},this.datePicker.setRefreshViewHandler(function(){const e=this,n=new Array(e.yearRange);let s;const i=t.getStartingYear(e.activeDate.getFullYear())||0;for(let t=0;t<e.yearRange;t++)s=new Date(i+t,0,1),s=e.fixTimeZone(s),n[t]=e.createDateObject(s,e.formatYear),n[t].uid=e.uniqueId+"-"+t;t.title=[n[0].label,n[e.yearRange-1].label].join(" - "),t.rows=e.split(n,t.datePicker.yearColLimit)},"year"),this.datePicker.setCompareHandler(function(t,e){return t.getFullYear()-e.getFullYear()},"year"),this.datePicker.refreshView()}getStartingYear(t){if(this.datePicker&&this.datePicker.yearRange)return(t-1)/this.datePicker.yearRange*this.datePicker.yearRange+1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Pi))},t.\u0275cmp=s.Xpm({type:t,selectors:[["yearpicker"]],decls:1,vars:1,consts:[["role","grid",4,"ngIf"],["role","grid"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-left","float-left",3,"click"],["role","heading","type","button","tabindex","-1",1,"btn","btn-default","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-right","float-right",3,"click"],[4,"ngFor","ngForOf"],["class","text-center","role","gridcell",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center"],["type","button","tabindex","-1",1,"btn","btn-default",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(t,e){1&t&&s.YNc(0,Es,15,8,"table",0),2&t&&s.Q6J("ngIf","year"===e.datePicker.datepickerMode)},directives:[On.O5,On.mk,On.sg],styles:["[_nghost-%COMP%] .btn-info[_ngcontent-%COMP%] .text-success[_ngcontent-%COMP%] {\n color: #fff !important;\n }"]}),t})(),Ui=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-calendar-layout"]],ngContentSelectors:Os,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(t,e){1&t&&(s.F$t(As),s.YNc(0,xs,1,0,"bs-current-date",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.TgZ(3,"div",2),s.Hsn(4,1),s.qZA(),s.YNc(5,Ds,1,0,"bs-timepicker",3)),2&t&&(s.Q6J("ngIf",!1),s.xp6(5),s.Q6J("ngIf",!1))},directives:function(){return[On.O5,Yi,Wi]},encapsulation:2}),t})(),Yi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-current-date"]],inputs:{title:"title"},decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"span"),s._uU(2),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Oqu(e.title))},encapsulation:2}),t})(),Bi=(()=>{class t{constructor(){this.onSelect=new s.vpe}selectFromRanges(t){this.onSelect.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange",customRangeLabel:"customRangeLabel"},outputs:{onSelect:"onSelect"},decls:2,vars:1,consts:[[1,"bs-datepicker-predefined-btns"],["type","button","class","btn",3,"selected","click",4,"ngFor","ngForOf"],["type","button",1,"btn",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,Ms,2,3,"button",1),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngForOf",e.ranges))},directives:[On.sg],encapsulation:2,changeDetection:0}),t})(),qi=(()=>{class t{constructor(t,e,n){this._config=t,this._elRef=e,this._renderer=n,this.day={date:new Date,label:""}}ngOnInit(){var t,e,n;(null===(t=this.day)||void 0===t?void 0:t.isToday)&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof(null===(e=this.day)||void 0===e?void 0:e.customClasses)&&(null===(n=this.day)||void 0===n||n.customClasses.split(" ").filter(t=>t).forEach(t=>{this._renderer.addClass(this._elRef.nativeElement,t)}))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Gs),s.Y36(s.SBq),s.Y36(s.Qsj))},t.\u0275cmp=s.Xpm({type:t,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(t,e){2&t&&s.ekj("disabled",e.day.isDisabled)("is-highlighted",e.day.isHovered)("is-other-month",e.day.isOtherMonth)("is-active-other-month",e.day.isOtherMonthHovered)("in-range",e.day.isInRange)("select-start",e.day.isSelectionStart)("select-end",e.day.isSelectionEnd)("selected",e.day.isSelected)},inputs:{day:"day"},attrs:Rs,decls:1,vars:1,template:function(t,e){1&t&&s._uU(0),2&t&&s.Oqu(e.day&&e.day.label||"")},encapsulation:2,changeDetection:0}),t})();var Zi=(()=>(function(t){t[t.UP=0]="UP",t[t.DOWN=1]="DOWN"}(Zi||(Zi={})),Zi))();let $i=(()=>{class t{constructor(){this.onNavigate=new s.vpe,this.onViewMode=new s.vpe}navTo(t){this.onNavigate.emit(t?Zi.DOWN:Zi.UP)}view(t){this.onViewMode.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},decls:12,vars:8,consts:[["type","button",1,"previous",3,"disabled","click"],[4,"ngIf"],["type","button",1,"current",3,"click"],["type","button",1,"next",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"button",0),s.NdJ("
1click",function(){return e.navTo(!0)}),s.TgZ(1,"span"),s._uU(2,"\u2039"),s.qZA(),s.qZA(),s.YNc(3,Is,5,1,"ng-container",1),s._uU(4," \u200b "),s.TgZ(5,"button",2),s.NdJ("click",function(){return e.view("year")}),s.TgZ(6,"span"),s._uU(7),s.qZA(),s.qZA(),s._uU(8," \u200b "),s.TgZ(9,"button",3),s.NdJ("click",function(){return e.navTo(!1)}),s.TgZ(10,"span"),s._uU(11,"\u203a"),s.qZA(),s.qZA()),2&t&&(s.Udp("visibility",e.calendar.hideLeftArrow?"hidden":"visible"),s.Q6J("disabled",e.calendar.disableLeftArrow),s.xp6(3),s.Q6J("ngIf",e.calendar&&e.calendar.monthTitle),s.xp6(4),s.Oqu(e.calendar.yearTitle),s.xp6(2),s.Udp("visibility",e.calendar.hideRightArrow?"hidden":"visible"),s.Q6J("disabled",e.calendar.disableRightArrow))},directives:[On.O5],encapsulation:2,changeDetection:0}),t})(),zi=(()=>{class t{constructor(t){this._config=t,this.onNavigate=new s.vpe,this.onViewMode=new s.vpe,this.onSelect=new s.vpe,this.onHover=new s.vpe,this.onHoverWeek=new s.vpe,this.isiOS=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,this._config.dateTooltipTexts&&this._config.dateTooltipTexts.length>0&&(this.isShowTooltip=!0)}navigateTo(t){this.onNavigate.emit({step:{month:Zi.DOWN===t?-1:1}})}changeViewMode(t){this.onViewMode.emit(t)}selectDay(t){this.onSelect.emit(t)}selectWeek(t){if(!this._config.selectWeek&&!this._config.selectWeekDateRange)return;if(0===t.days.length)return;if(this._config.selectWeek&&t.days[0]&&!t.days[0].isDisabled&&this._config.selectFromOtherMonth)return void this.onSelect.emit(t.days[0]);const e=t.days.find(t=>(this._config.selectFromOtherMonth||!t.isOtherMonth)&&!t.isDisabled);if(this.onSelect.emit(e),this._config.selectWeekDateRange){const e=t.days.slice(0).reverse().find(t=>(this._config.selectFromOtherMonth||!t.isOtherMonth)&&!t.isDisabled);this.onSelect.emit(e)}}weekHoverHandler(t,e){(this._config.selectWeek||this._config.selectWeekDateRange)&&t.days.find(t=>(this._config.selectFromOtherMonth||!t.isOtherMonth)&&!t.isDisabled)&&(t.isHovered=e,this.isWeekHovered=e,this.onHoverWeek.emit(t))}hoverDay(t,e){this._config.selectFromOtherMonth&&t.isOtherMonth&&(t.isOtherMonthHovered=e),this._config.dateTooltipTexts&&(t.tooltipText="",this._config.dateTooltipTexts.forEach(e=>{z(e.date,t.date)&&(t.tooltipText=e.tooltipText)})),this.onHover.emit({cell:t,isHovered:e})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Gs))},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},decls:9,vars:4,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click",4,"ngIf"],[3,"click","mouseenter","mouseleave",4,"ngIf"],[3,"click"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave"],["bsDatepickerDayDecorator","",3,"day","click"]],template:function(t,e){1&t&&(s.TgZ(0,"bs-calendar-layout"),s.TgZ(1,"bs-datepicker-navigation-view",0),s.NdJ("onNavigate",function(t){return e.navigateTo(t)})("onViewMode",function(t){return e.changeViewMode(t)}),s.qZA(),s.TgZ(2,"table",1),s.TgZ(3,"thead"),s.TgZ(4,"tr"),s.YNc(5,Ps,1,0,"th",2),s.YNc(6,Fs,2,1,"th",3),s.qZA(),s.qZA(),s.TgZ(7,"tbody"),s.YNc(8,Bs,3,2,"tr",4),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("calendar",e.calendar),s.xp6(4),s.Q6J("ngIf",e.options&&e.options.showWeekNumbers),s.xp6(1),s.Q6J("ngForOf",e.calendar.weekdays),s.xp6(2),s.Q6J("ngForOf",e.calendar.weeks))},directives:[Ui,$i,On.O5,On.sg,qi,Mn.i9],encapsulation:2}),t})(),Gi=(()=>{class t{constructor(){this.onNavigate=new s.vpe,this.onViewMode=new s.vpe,this.onSelect=new s.vpe,this.onHover=new s.vpe}navigateTo(t){this.onNavigate.emit({step:{year:Zi.DOWN===t?-1:1}})}viewMonth(t){this.onSelect.emit(t)}
1hoverMonth(t,e){this.onHover.emit({cell:t,isHovered:e})}changeViewMode(t){this.onViewMode.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(t,e){1&t&&(s.TgZ(0,"bs-calendar-layout"),s.TgZ(1,"bs-datepicker-navigation-view",0),s.NdJ("onNavigate",function(t){return e.navigateTo(t)})("onViewMode",function(t){return e.changeViewMode(t)}),s.qZA(),s.TgZ(2,"table",1),s.TgZ(3,"tbody"),s.YNc(4,Zs,2,1,"tr",2),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("calendar",e.calendar),s.xp6(3),s.Q6J("ngForOf",null==e.calendar?null:e.calendar.months))},directives:[Ui,$i,On.sg],encapsulation:2}),t})(),Wi=(()=>{class t{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-timepicker"]],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-controls"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"button",2),s._uU(3,"-"),s.qZA(),s._UZ(4,"input",3),s.TgZ(5,"button",4),s._uU(6,"+"),s.qZA(),s.qZA(),s.TgZ(7,"div",1),s.TgZ(8,"button",2),s._uU(9,"-"),s.qZA(),s._UZ(10,"input",3),s.TgZ(11,"button",4),s._uU(12,"+"),s.qZA(),s.qZA(),s.TgZ(13,"button",5),s._uU(14),s._UZ(15,"img",6),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.Q6J("value",e.hours),s.xp6(6),s.Q6J("value",e.minutes),s.xp6(4),s.hij("",e.ampm," "))},encapsulation:2}),t})(),Ji=(()=>{class t{constructor(){this.onNavigate=new s.vpe,this.onViewMode=new s.vpe,this.onSelect=new s.vpe,this.onHover=new s.vpe}navigateTo(t){this.onNavigate.emit({step:{year:16*(Zi.DOWN===t?-1:1)}})}viewYear(t){this.onSelect.emit(t)}hoverYear(t,e){this.onHover.emit({cell:t,isHovered:e})}changeViewMode(t){this.onViewMode.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(t,e){1&t&&(s.TgZ(0,"bs-calendar-layout"),s.TgZ(1,"bs-datepicker-navigation-view",0),s.NdJ("onNavigate",function(t){return e.navigateTo(t)})("onViewMode",function(t){return e.changeViewMode(t)}),s.qZA(),s.TgZ(2,"table",1),s.TgZ(3,"tbody"),s.YNc(4,zs,2,1,"tr",2),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("calendar",e.calendar),s.xp6(3),s.Q6J("ngForOf",null==e.calendar?null:e.calendar.years))},directives:[Ui,$i,On.sg],encapsulation:2}),t})(),Qi=(()=>{class t{static forRoot(){return{ngModule:t,providers:[xn.oj,an.sA,wi,Ks,ti,Xs]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[On.ez,Mn.z8]]}),t})(),Ki=(()=>{class t{static forRoot(){return{ngModule:t,providers:[Fi]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[On.ez,Dn.u5]]}),t})()},3647:(t,e,n)=>{"use strict";n.d(e,{tT:()=>I,oB:()=>R,zk:()=>P});var s=n(3018),i=n(1103),r=n(8935),o=n(4933),a=n(8583),l=n(5257);let c,u=(()=>{class t{constructor(){this._focusTrapStack=[]}register(t){this._focusTrapStack=this._focusTrapStack.filter(e=>e!==t);let e=this._focusTrapStack;e.length&&e[e.length-1]._disable(),e.push(t),t._enable()}deregister(t){t._disable();const e=this._focusTrapStack,n=e.indexOf(t);-1!==n&&(e.splice(n,1),e.length&&e[e.length-1]._enable())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();try{c="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(F){c=!1}let h=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,a.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!c)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.Lbi))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(s.Lbi))},token:t,providedIn:"root"}),t})(),d=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(F){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===f(e))return!1;if(!this.isVisible(e))return!1}let s=t.nodeName.toLowerCase(),i=f(t);return t.hasAttribute("contenteditable")?-1!==i:"iframe"!==s&&"object"!==s&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===s?!!t.hasAttribute("controls")&&-1!==i:"video"===s?-1!==i&&(null!==i||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||p(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(h))},token:t,providedIn:"root"}),t})();function p(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function f(t){if(!p(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function m(t){return null!=t&&"false"!=`${t}`}class g{constructor(t,e,n,s,i=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),!this._checker.isFocusable(t)){const e=this._getFirstTabbableElement(t);return null==e||e.focus(),!!e}return t.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,l.q)(1)).subscribe(t)}}let _=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new g(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(d),s.LFG(s.R0b),s.LFG(a.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(d),(0,s.LFG)(s.R0b),(0,s.LFG)(a.K0))},token:t,providedIn:"root"}),t})(),y=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=m(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=m(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(_),s.Y36(a.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","focusTrap",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[s.TTD]}),t})(),v=(()=>{class t{static forRoot(){return{ngModule:t,providers:[u,h,d]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[a.ez]]}),t})();const b=["*"];let w=(()=>{class t{constructor(){this.hide=()=>{},this.setClass=()=>{}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const S={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},k=new s.OlP("override-default-config"),T="modal-scrollbar-measure",E="modal-open",x="in",D="show",A="backdrop-click";let O=(()=>{class t{constructor(t,e,n){this._element=e,this._renderer=n,this.isShown=!1,this.isAnimated=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},t)}ngOnInit(){this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,(0,i.XA)()?x:D)},this.isAnimated?150:0),document&&document.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,E),this._renderer.setStyle(document.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(t){this.clickStartedInContent=t.target!==this._element.nativeElement}onClickStop(t){var e;this.config.ignoreBackdropClick||"static"===this.config.backdrop||t.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(null===(e=this.bsModalService)||void 0===e||e.setDismissReason(A),this.hide())}onPopState(){var t;null===(t=this.bsModalService)||void 0===t||t.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(t){var e,n;this.isShown&&(27!==t.keyCode&&"Escape"!==t.key||t.preventDefault(),this.config.keyboard&&this.level===(null===(e=this.bsModalService)||void 0===e?void 0:e.getModalsCount())&&(null===(n=this.bsModalService)||void 0===n||n.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){!this.isModalHiding&&this.isShown&&(this.config.closeInterceptor?this.config.closeInterceptor().then(()=>this._hide(),()=>{}):this._hide())}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,(0,i.XA)()?x:D),setTimeout(()=>{var t,e;this.isShown=!1,document&&document.body&&1===(null===(t=this.bsModalService)||void 0===t?void 0:t.getModalsCount())&&(this._renderer.removeClass(document.body,E),this._renderer.setStyle(document.body,"overflow-y","")),null===(e=this.bsModalService)||void 0===e||e.hide(this.config.id),this.isModalHiding=!1},this.isAnimated?300:0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(C),s.Y36(s.SBq),s.Y36(s.Qsj))}
1,t.\u0275cmp=s.Xpm({type:t,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(t,e){1&t&&s.NdJ("mousedown",function(t){return e.onClickStarted(t)})("click",function(t){return e.onClickStop(t)})("popstate",function(){return e.onPopState()},!1,s.Jf7)("keydown.esc",function(t){return e.onEsc(t)},!1,s.Jf7),2&t&&s.uIk("aria-modal",!0)("aria-labelledby",e.config.ariaLabelledBy)("aria-describedby",e.config.ariaDescribedby)},ngContentSelectors:b,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.qZA()),2&t&&s.Tol("modal-dialog"+(e.config.class?" "+e.config.class:""))},directives:[y],encapsulation:2}),t})(),M=(()=>{class t{constructor(t,e){this._isAnimated=!1,this._isShown=!1,this.element=t,this.renderer=e}get isAnimated(){return this._isAnimated}set isAnimated(t){this._isAnimated=t}get isShown(){return this._isShown}set isShown(t){this._isShown=t,t?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),(0,i.XA)()||(t?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),i.cQ.reflow(this.element.nativeElement)),this.isShown=!0}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.Qsj))},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),R=(()=>{class t{constructor(t,e,n,i,r){this._element=t,this._renderer=n,this.onShow=new s.vpe,this.onShown=new s.vpe,this.onHide=new s.vpe,this.onHidden=new s.vpe,this._isShown=!1,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.timerHideModal=0,this.timerRmBackDrop=0,this.isNested=!1,this.clickStartedInContent=!1,this._backdrop=i.createLoader(t,e,n),this._config=r||S}set config(t){this._config=this.getConfig(t)}get config(){return this._config}get isShown(){return this._isShown}onClickStarted(t){this.clickStartedInContent=t.target!==this._element.nativeElement}onClickStop(t){this.config.ignoreBackdropClick||"static"===this.config.backdrop||t.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.dismissReason=A,this.hide(t))}onEsc(t){this._isShown&&(27!==t.keyCode&&"Escape"!==t.key||t.preventDefault(),this.config.keyboard&&(this.dismissReason="esc",this.hide()))}ngOnDestroy(){this._isShown&&(this._isShown=!1,this.hideModal(),this._backdrop.dispose())}ngOnInit(){this._config=this._config||this.getConfig(),setTimeout(()=>{this._config.show&&this.show()},0)}toggle(){return this._isShown?this.hide():this.show()}show(){this.dismissReason=void 0,this.onShow.emit(this),this._isShown||(clearTimeout(this.timerHideModal),clearTimeout(this.timerRmBackDrop),this._isShown=!0,this.checkScrollbar(),this.setScrollbar(),i.tj&&i.tj.body&&(i.tj.body.classList.contains(E)?this.isNested=!0:(this._renderer.addClass(i.tj.body,E),this._renderer.setStyle(i.tj.body,"overflow-y","hidden"))),this.showBackdrop(()=>{this.showElement()}))}hide(t){this._isShown&&(t&&t.preventDefault(),this.config.closeInterceptor?this.config.closeInterceptor().then(()=>this._hide(),()=>{}):this._hide())}_hide(){this.onHide.emit(this),i.u9.clearTimeout(this.timerHideModal),i.u9.clearTimeout(this.timerRmBackDrop),this._isShown=!1,this._renderer.removeClass(this._element.nativeElement,x),(0,i.XA)()||this._renderer.removeClass(this._element.nativeElement,D),this._config.animated?this.timerHideModal=i.u9.setTimeout(()=>this.hideModal(),300):this.hideModal()}getConfig(t){return Object.assign({},this._config,t)}showElement(){this._element.nativeElement.parentNode&&this._element.nativeElement.parentNode.nodeType===Node.ELEMENT_NODE||i.tj&&i.tj.body&&i.tj.body.appendChild(this._element.nativeElement),this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","false"),this._renderer.setAttribute(this._element.nativeElement,"aria-modal","true"),this._renderer.setStyle(this._element.nativeElement,"display","block"),this._renderer.setProperty(this._element.nativeElement,"scrollTop",0),this._config.animated&&i.cQ.reflow(this._element.nativeElement),this._renderer.addClass(this._element.nativeElement,x),(0,i.XA)()||this._renderer.addClass(this._element.nativeElement,D);const t=()=>{this._config.focus&&this._element.nativeElement.focus(),this.onShown.emit(this)};this._config.animated?setTimeout(t,300):t()}hideModal(){this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","true"),this._renderer.setStyle(this._element.nativeElement,"display","none"),this.showBackdrop(()=>{this.isNested||(i.tj&&i.tj.body&&(this._renderer.removeClass(i.tj.body,E),this._renderer.setStyle(i.tj.body,"overflow-y","")),this.resetScrollbar()),this.resetAdjustments(),this.focusOtherModal(),this.onHidden.emit(this)})}showBackdrop(t){if(!this._isShown||!this.config.backdrop||this.backdrop&&this.backdrop.instance.isShown)if(!this._isShown&&this.backdrop){this.backdrop.instance.isShown=!1;const e=()=>{this.removeBackdrop(),t&&t()};this.backdrop.instance.isAnimated?this.timerRmBackDrop=i.u9.setTimeout(e,150):e()}else t&&t();else{if(this.removeBackdrop(),this._backdrop.attach(M).to("body").show({isAnimated:this._config.animated}),this.backdrop=this._backdrop._componentRef,!t)return;if(!this._config.animated)return void t();setTimeout(t,150)}}removeBackdrop(){this._backdrop.hide()}focusOtherModal(){if(null==this._element.nativeElement.parentElement)return;const t=this._element.nativeElement.parentElement.querySelectorAll(".in[bsModal]");t.length&&t[t.length-1].focus()}resetAdjustments(){this._renderer.setStyle(this._element.nativeElement,"paddingLeft",""),this._renderer.setStyle(this._element.nativeElement,"paddingRight","")}checkScrollbar(){this.isBodyOverflowing=i.tj.body.clientWidth<i.u9.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){i.tj&&(this.originalBodyPadding=parseInt(i.u9.getComputedStyle(i.tj.body).getPropertyValue("padding-right")||0,10),this.isBodyOverflowing&&(i.tj.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){i.tj.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const t=this._renderer.createElement("div");this._renderer.addClass(t,T),this._renderer.appendChild(i.tj.body,t);const e=t.offsetWidth-t.clientWidth;return this._renderer.removeChild(i.tj.body,t),e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.s_b),s.Y36(s.Qsj),s.Y36(r.oj),s.Y36(k,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","bsModal",""]],hostBindings:function(t,e){1&t&&s.NdJ("mousedown",function(t){return e.onClickStarted(t)})("mouseup",function(t){return e.onClickStop(t)})("keydown.esc",function(t){return e.onEsc(t)})},inputs:{config:"config",closeInterceptor:"closeInterceptor"},outputs:{onShow:"onShow",onShown:"onShown",onHide:"onHide",onHidden:"onHidden"},exportAs:["bs-modal"]}),t})(),I=(()=>{class t{constructor(t,e,n){this.clf=e,this.modalDefaultOption=n,this.onShow=new s.vpe,this.onShown=new s.vpe,this.onHide=new s.vpe,this.onHidden=new s.vpe,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._backdropLoader=this.clf.createLoader(),this._renderer=t.createRenderer(null,null),this.config=n?Object.assign({},S,n):S}show(t,e){this.modalsCount++,this._createLoaders();const n=(null==e?void 0:e.id)||(new Date).getUTCMilliseconds();return this.config=this.modalDefaultOption?Object.assign({},S,this.modalDefaultOption,e):Object.assign({},S,e),this.config.id=n,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(t)}hide(t){1!==this.modalsCount&&null!=t||(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=t?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(t),this.removeLoaders(t)},this.config.animated?150:0)}_showBackdrop(){const t=!0===this.config.backdrop||"static"===this.config.backdrop,e=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),t&&e&&(this._backdropLoader.attach(M).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(t){var e;const n=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const s of this.config.providers)n.provide(s);
1const i=new w,r=n.provide({provide:C,useValue:this.config}).provide({provide:w,useValue:i}).attach(O).to("body");return i.hide=()=>{var t;return null===(t=r.instance)||void 0===t?void 0:t.hide()},i.setClass=t=>{r.instance&&(r.instance.config.class=t)},i.onHidden=new s.vpe,i.onHide=new s.vpe,this.copyEvent(n.onBeforeHide,i.onHide),this.copyEvent(n.onHidden,i.onHidden),r.show({content:t,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),r.instance&&(r.instance.level=this.getModalsCount(),i.content=n.getInnerComponent(),i.id=null===(e=r.instance.config)||void 0===e?void 0:e.id),i}_hideModal(t){if(null!=t){const e=this.loaders.findIndex(e=>{var n;return(null===(n=e.instance)||void 0===n?void 0:n.config.id)===t}),n=this.loaders[e];n&&n.hide(t)}else this.loaders.forEach(t=>{t.instance&&t.hide(t.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(t){this.lastDismissReason=t}removeBackdrop(){this._renderer.removeClass(document.body,E),this._renderer.setStyle(document.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){document&&(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){document.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const t=this._renderer.createElement("div");this._renderer.addClass(t,T),this._renderer.appendChild(document.body,t);const e=t.offsetWidth-t.clientWidth;return this._renderer.removeChild(document.body,t),e}_createLoaders(){const t=this.clf.createLoader();this.copyEvent(t.onBeforeShow,this.onShow),this.copyEvent(t.onShown,this.onShown),this.copyEvent(t.onBeforeHide,this.onHide),this.copyEvent(t.onHidden,this.onHidden),this.loaders.push(t)}removeLoaders(t){if(null!=t){const e=this.loaders.findIndex(e=>{var n;return(null===(n=e.instance)||void 0===n?void 0:n.config.id)===t});e>=0&&(this.loaders.splice(e,1),this.loaders.forEach((t,e)=>{t.instance&&(t.instance.level=e+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(t,e){t.subscribe(t=>{e.emit(this.lastDismissReason||t)})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.FYo),s.LFG(r.oj),s.LFG(k,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();v.forRoot();let P=(()=>{class t{static forRoot(){return{ngModule:t,providers:[I,r.oj,o.sA]}}static forChild(){return{ngModule:t,providers:[I,r.oj,o.sA]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[v]]}),t})()},8366:(t,e,n)=>{"use strict";n.d(e,{k5:()=>f,UU:()=>m});var s=n(3018),i=n(8935),r=n(1103),o=n(4933),a=n(6797),l=n(8583);function c(t,e){if(1&t&&(s.TgZ(0,"h3",3),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.title)}}const u=["*"];let h=(()=>{class t{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="click",this.outsideClick=!1,this.delay=0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),d=(()=>{class t{constructor(t){this._placement="top",Object.assign(this,t)}set placement(t){this._placement=this._bsVersions.isBs5?o.Bz[t]:t}get _bsVersions(){return(0,r.Wl)()}checkMarginNecessity(){return(0,o.lx)(this._placement)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(h))},t.\u0275cmp=s.Xpm({type:t,selectors:[["popover-container"]],hostAttrs:["role","tooltip",2,"display","block"],hostVars:7,hostBindings:function(t,e){2&t&&(s.uIk("id",e.popoverId),s.Tol("popover in popover-"+e._placement+" bs-popover-"+e._placement+" "+e._placement+" "+e.containerClass+e.checkMarginNecessity()),s.ekj("show",!e._bsVersions.isBs3)("bs3",e._bsVersions.isBs3))},inputs:{placement:"placement",title:"title"},ngContentSelectors:u,decls:4,vars:1,consts:[[1,"popover-arrow","arrow"],["class","popover-title popover-header",4,"ngIf"],[1,"popover-content","popover-body"],[1,"popover-title","popover-header"]],template:function(t,e){1&t&&(s.F$t(),s._UZ(0,"div",0),s.YNc(1,c,2,1,"h3",1),s.TgZ(2,"div",2),s.Hsn(3),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",e.title))},directives:[l.O5],styles:[".bs3.popover-top[_nghost-%COMP%] {\n margin-bottom: 10px;\n }\n .bs3.popover.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n margin-left: -2px;\n }\n .bs3.popover.top[_nghost-%COMP%] {\n margin-bottom: 10px;\n }\n .popover.bottom[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n margin-left: -4px;\n }\n .bs3.bs-popover-left[_nghost-%COMP%] {\n margin-right: .5rem;\n }\n .bs3.bs-popover-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs3.bs-popover-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{\n margin: .3rem 0;\n }"],changeDetection:0}),t})(),p=0,f=(()=>{class t{constructor(t,e,n,s,i,r){this._elementRef=e,this._renderer=n,this._positionService=r,this.popoverId=p++,this.adaptivePosition=!0,this.placement="top",this.outsideClick=!1,this.triggers="click",this.containerClass="",this.delay=0,this._isInited=!1,this._popover=i.createLoader(e,s,n).provide({provide:h,useValue:t}
1),Object.assign(this,t),this.onShown=this._popover.onShown,this.onHidden=this._popover.onHidden,"undefined"!=typeof window&&e.nativeElement.addEventListener("click",function(){try{e.nativeElement.focus()}catch(t){return}})}get isOpen(){return this._popover.isShown}set isOpen(t){t?this.show():this.hide()}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`ngx-popover-${this.popoverId}`:void 0,this._ariaDescribedby?(this._popover.instance&&(this._popover.instance.popoverId=this._ariaDescribedby),this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby)):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}show(){if(this._popover.isShown||!this.popover||this._delayTimeoutId)return;this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition}}});const t=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._popover.attach(d).to(this.container).position({attachment:this.placement}).show({content:this.popover,context:this.popoverContext,placement:this.placement,title:this.popoverTitle,containerClass:this.containerClass}),!this.adaptivePosition&&this._popover._componentRef&&(this._positionService.calcPosition(),this._positionService.deletePositionElement(this._popover._componentRef.location)),this.isOpen=!0,this.setAriaDescribedBy()},e=()=>{this._popoverCancelShowFn&&this._popoverCancelShowFn()};if(this.delay){const n=(0,a.H)(this.delay).subscribe(()=>{t(),e()});this.triggers&&(0,r.AL)(this.triggers).forEach(t=>{t.close&&(this._popoverCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,t.close,()=>{n.unsubscribe(),e()}))})}else t()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this.isOpen&&(this._popover.hide(),this.setAriaDescribedBy(),this.isOpen=!1)}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnInit(){this._isInited||(this._isInited=!0,this._popover.listen({triggers:this.triggers,outsideClick:this.outsideClick,show:()=>this.show(),hide:()=>this.hide()}))}ngOnDestroy(){this._popover.dispose()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(h),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(i.oj),s.Y36(o.sA))},t.\u0275dir=s.lG2({type:t,selectors:[["","popover",""]],inputs:{adaptivePosition:"adaptivePosition",placement:"placement",outsideClick:"outsideClick",triggers:"triggers",containerClass:"containerClass",delay:"delay",isOpen:"isOpen",popover:"popover",popoverContext:"popoverContext",popoverTitle:"popoverTitle",container:"container"},outputs:{onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-popover"]}),t})(),m=(()=>{class t{static forRoot(){return{ngModule:t,providers:[i.oj,o.sA]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[l.ez]]}),t})()},4933:(t,e,n)=>{"use strict";n.d(e,{Bz:()=>v,sA:()=>st,lx:()=>J});var s=n(1103),i=n(3018),r=n(8583),o=n(8891),a=n(9796),l=n(9105),c=n(8002);function u(t,e,n,s){return(0,l.m)(n)&&(s=n,n=void 0),s?u(t,e,n).pipe((0,c.U)(t=>(0,a.k)(t)?s(...t):s(t))):new o.y(s=>{h(t,e,function(t){s.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},s,n)})}function h(t,e,n,s,i){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const s=t;t.addEventListener(e,n,i),r=()=>s.removeEventListener(e,n,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const s=t;t.on(e,n),r=()=>s.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const s=t;t.addListener(e,n),r=()=>s.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r<o;r++)h(t[r],e,n,s,i)}s.add(r)}var d=n(6465),p=n(6102);const f=new class extends p.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,s=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++s<i&&(t=e.shift()));if(this.active=!1,n){for(;++s<i&&(t=e.shift());)t.unsubscribe();throw n}}}
1(class extends d.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});var m=n(7709),g=n(6682),_=n(5917),y=(()=>(function(t){t.top="top",t.bottom="bottom",t.left="left",t.right="right",t.auto="auto",t.end="right",t.start="left",t["top left"]="top left",t["top right"]="top right",t["right top"]="right top",t["right bottom"]="right bottom",t["bottom right"]="bottom right",t["bottom left"]="bottom left",t["left bottom"]="left bottom",t["left top"]="left top",t["top start"]="top left",t["top end"]="top right",t["end top"]="right top",t["end bottom"]="right bottom",t["bottom end"]="bottom right",t["bottom start"]="bottom left",t["start bottom"]="start bottom",t["start top"]="left top"}(y||(y={})),y))(),v=(()=>(function(t){t.top="top",t.bottom="bottom",t.left="start",t.right="end",t.auto="auto",t.end="end",t.start="start",t["top left"]="top start",t["top right"]="top end",t["right top"]="end top",t["right bottom"]="end bottom",t["bottom right"]="bottom end",t["bottom left"]="bottom start",t["left bottom"]="start bottom",t["left top"]="start top",t["top start"]="top start",t["top end"]="top end",t["end top"]="end top",t["end bottom"]="end bottom",t["bottom end"]="bottom end",t["bottom start"]="bottom start",t["start bottom"]="start bottom",t["start top"]="start top"}(v||(v={})),v))();function b(t,e){if(1!==t.nodeType)return[];const n=t.ownerDocument.defaultView,s=null==n?void 0:n.getComputedStyle(t,null);return e?s&&s[e]:s}const w="undefined"!=typeof window&&"undefined"!=typeof document,C=w&&!(!window.MSInputMethodContext||!document.documentMode),S=w&&!(!window.MSInputMethodContext||!/MSIE 10/.test(navigator.userAgent));function k(t){return 11===t?C:10===t?S:C||S}function T(t){if(!t)return document.documentElement;const e=k(10)?document.body:null;let n,s=null==t?void 0:t.offsetParent;for(;s===e&&t.nextElementSibling&&n!==t.nextElementSibling;)n=t.nextElementSibling,s=n.offsetParent;const i=s&&s.nodeName;return i&&"BODY"!==i&&"HTML"!==i?s&&-1!==["TH","TD","TABLE"].indexOf(s.nodeName)&&"static"===b(s,"position")?T(s):s:n?n.ownerDocument.documentElement:document.documentElement}function E(t){return null!==t.parentNode?E(t.parentNode):t}function x(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;const n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,s=n?t:e,i=n?e:t,r=document.createRange();r.setStart(s,0),r.setEnd(i,0);const o=r.commonAncestorContainer;if(t!==o&&e!==o||s.contains(i))return function(t){const{nodeName:e}=t;return"BODY"!==e&&("HTML"===e||T(t.firstElementChild)===t)}(o)?o:T(o);const a=E(t);return a.host?x(a.host,e):x(t,E(e).host)}function D(t){if(!t||!t.parentElement||k())return document.documentElement;let e=t.parentElement;for(;(null==e?void 0:e.parentElement)&&"none"===b(e,"transform");)e=e.parentElement;return e||document.documentElement}function A(t,e){const n="x"===e?"Left":"Top",s="Left"===n?"Right":"Bottom";return parseFloat(t[`border${n}Width`])+parseFloat(t[`border${s}Width`])}function O(t,e,n,s){const i=n,r=s;return Math.max(e[`offset${t}`],e[`scroll${t}`],i[`client${t}`],i[`offset${t}`],i[`scroll${t}`],k(10)?parseInt(i[`offset${t}`],10)+parseInt(r["margin"+("Height"===t?"Top":"Left")],10)+parseInt(r["margin"+("Height"===t?"Bottom":"Right")],10):0)}function M(t){const e=t.body,n=t.documentElement,s=k(10)?getComputedStyle(n):void 0;return{height:O("Height",e,n,s),width:O("Width",e,n,s)}}function R(t,e="top"){const n="top"===e?"scrollTop":"scrollLeft",s=t.nodeName;if("BODY"===s||"HTML"===s){const e=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||e)[n]}return t[n]}function I(t){return Object.assign(Object.assign({},t),{right:(t.left||0)+t.width,bottom:(t.top||0)+t.height})}function P(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function F(t){const e=t.getBoundingClientRect();try{if(k(10)){const n=R(t,"top"),s=R(t,"left");e&&P(e.top)&&P(e.left)&&P(e.bottom)&&P(e.right)&&(e.top+=n,e.left+=s,e.bottom+=n,e.right+=s)}}catch(l){return e}if(!(e&&P(e.top)&&P(e.left)&&P(e.bottom)&&P(e.right)))return e;const n={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?M(t.ownerDocument):void 0,i=(null==s?void 0:s.width)||t.clientWidth||P(n.right)&&P(n.left)&&n.right-n.left||0,r=(null==s?void 0:s.height)||t.clientHeight||P(n.bottom)&&P(n.top)&&n.bottom-n.top||0;let o=t.offsetWidth-i,a=t.offsetHeight-r;if(o||a){const e=b(t);o-=A(e,"x"),a-=A(e,"y"),n.width-=o,n.height-=a}return I(n)}function N(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function L(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:e,overflowX:n,overflowY:s}=b(t);return/(auto|scroll|overlay)/.test(String(e)+String(s)+String(n))?t:L(N(t))}function j(t,e,n=!1){var s,i,r,o,a,l;
1const c=k(10),u="HTML"===e.nodeName,h=F(t),d=F(e),p=L(t),f=b(e),m=parseFloat(f.borderTopWidth),g=parseFloat(f.borderLeftWidth);n&&u&&(d.top=Math.max(null!==(s=d.top)&&void 0!==s?s:0,0),d.left=Math.max(null!==(i=d.left)&&void 0!==i?i:0,0));let _=I({top:(null!==(r=h.top)&&void 0!==r?r:0)-(null!==(o=d.top)&&void 0!==o?o:0)-m,left:(null!==(a=h.left)&&void 0!==a?a:0)-(null!==(l=d.left)&&void 0!==l?l:0)-g,width:h.width,height:h.height});if(_.marginTop=0,_.marginLeft=0,!c&&u){const t=parseFloat(f.marginTop),e=parseFloat(f.marginLeft);P(_.top)&&(_.top-=m-t),P(_.bottom)&&(_.bottom-=m-t),P(_.left)&&(_.left-=g-e),P(_.right)&&(_.right-=g-e),_.marginTop=t,_.marginLeft=e}return(c&&!n?e.contains(p):e===p&&"BODY"!==p.nodeName)&&(_=function(t,e,n=!1){const s=R(e,"top"),i=R(e,"left"),r=n?-1:1;return P(t.top)&&(t.top+=s*r),P(t.bottom)&&(t.bottom+=s*r),P(t.left)&&(t.left+=i*r),P(t.right)&&(t.right+=i*r),t}(_,e)),_}function V(t){const e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===b(t,"position")||V(N(t)))}function H(t,e,n=0,s,i=!1){let r={top:0,left:0};const o=i?D(t):x(t,e);if("viewport"===s)r=function(t,e=!1){const n=t.ownerDocument.documentElement,s=j(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),o=e?0:R(n),a=e?0:R(n,"left");return I({top:o-Number(null==s?void 0:s.top)+Number(null==s?void 0:s.marginTop),left:a-Number(null==s?void 0:s.left)+Number(null==s?void 0:s.marginLeft),width:i,height:r})}(o,i);else{let n;"scrollParent"===s?(n=L(N(e)),"BODY"===n.nodeName&&(n=t.ownerDocument.documentElement)):n="window"===s?t.ownerDocument.documentElement:s;const a=j(n,o,i);if(a&&"HTML"===n.nodeName&&!V(o)){const{height:e,width:n}=M(t.ownerDocument);P(r.top)&&P(a.top)&&P(a.marginTop)&&(r.top+=a.top-a.marginTop),P(r.top)&&(r.bottom=Number(e)+Number(a.top)),P(r.left)&&P(a.left)&&P(a.marginLeft)&&(r.left+=a.left-a.marginLeft),P(r.top)&&(r.right=Number(n)+Number(a.left))}else a&&(r=a)}return P(r.left)&&(r.left+=n),P(r.top)&&(r.top+=n),P(r.right)&&(r.right-=n),P(r.bottom)&&(r.bottom-=n),r}function U({width:t,height:e}){return t*e}function Y(t,e,n,i,r=["top","bottom","right","left"],o="viewport",a=0){var l,c,u,h;if(-1===t.indexOf("auto"))return t;const d=H(n,i,a,o),p={top:{width:null!==(l=d.width)&&void 0!==l?l:0,height:e.top&&d.top?e.top-d.top:0},right:{width:d.right&&e.right?d.right-e.right:0,height:null!==(c=d.height)&&void 0!==c?c:0},bottom:{width:null!==(u=d.width)&&void 0!==u?u:0,height:d.bottom&&e.bottom?d.bottom-e.bottom:0},left:{width:e.left&&d.left?e.left-d.left:0,height:null!==(h=d.height)&&void 0!==h?h:0}},f=Object.keys(p).map(t=>Object.assign(Object.assign({key:t},p[t]),{area:U(p[t])})).sort((t,e)=>e.area-t.area);let m=f.filter(({width:t,height:e})=>t>=n.clientWidth&&e>=n.clientHeight);m=m.filter(t=>r.some(e=>e===t.key));const g=m.length>0?m[0].key:f[0].key,_=t.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,s.Wl)().isBs5?v[g]:g}`),g+(_?`-${_}`:"")}const B=(t,e=0)=>t?parseFloat(t):e;function q(t){const e=t.ownerDocument.defaultView,n=null==e?void 0:e.getComputedStyle(t),s=B(null==n?void 0:n.marginTop)+B(null==n?void 0:n.marginBottom),i=B(null==n?void 0:n.marginLeft)+B(null==n?void 0:n.marginRight);return{width:Number(t.offsetWidth)+i,height:Number(t.offsetHeight)+s}}function Z(t,e,n){return j(e,n?D(t):x(t,e),n)}function $(t,e,n){var s,i,r;const o=n.split(" ")[0],a=q(t),l={width:a.width,height:a.height},c=-1!==["right","left"].indexOf(o),u=c?"top":"left",h=c?"left":"top",d=c?"height":"width",p=c?"width":"height";return l[u]=(null!==(s=e[u])&&void 0!==s?s:0)+e[d]/2-a[d]/2,l[h]=o===h?(null!==(i=e[h])&&void 0!==i?i:0)-a[p]:null!==(r=e[function(t){const e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,t=>e[t])}(h)])&&void 0!==r?r:0,l}function z(t,e){var n;return!!(null===(n=t.modifiers[e])||void 0===n?void 0:n.enabled)}const G={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function W(t,e){return!!(0,s.Wl)().isBs5&&G[e].includes(t)}function J(t){return(0,s.Wl)().isBs5?W(t,"end")?"ms-2":W(t,"start")?"me-2":W(t,"top")?"mb-2":W(t,"bottom")?"mt-2":"":""}function Q(t,e,n){t&&e&&Object.keys(e).forEach(s=>{let i="";var r;-1!==["width","height","top","right","bottom","left"].indexOf(s)&&""!==(r=e[s])&&!isNaN(parseFloat(r))&&isFinite(Number(r))&&(i="px"),n?n.setStyle(t,s,`${String(e[s])}${i}`):t.style[s]=String(e[s])+i})}function K(t){var e,n,s,i,r,o;let a=t.offsets.target;const l=t.instance.target.querySelector(".arrow");if(!l)return t;const c=-1!==["left","right"].indexOf(t.placement.split(" ")[0]),u=c?"height":"width",h=c?"Top":"Left",d=h.toLowerCase(),p=c?"left":"top",f=c?"bottom":"right",m=q(l)[u],g=t.placement.split(" ")[1];(null!==(e=t.offsets.host[f])&&void 0!==e?e:0)-m<(null!==(n=a[d])&&void 0!==n?n:0)&&(a[d]-=(null!==(s=a[d])&&void 0!==s?s:0)-((null!==(i=t.offsets.host[f])&&void 0!==i?i:0)-m)),Number(t.offsets.host[d])+Number(m)>(null!==(r=a[f])&&void 0!==r?r:0)&&(a[d]+=Number(t.offsets.host[d])+Number(m)-Number(a[f])),a=I(a);const _=b(t.instance.target),y=parseFloat(_[`margin${h}`])||0,v=parseFloat(_[`border${h}Width`])||0;let w;if(g){const e=parseFloat(_.borderRadius)||0,n=Number(y+v+e);w=d===g?Number(t.offsets.host[d])+n:Number(t.offsets.host[d])+Number(t.offsets.host[u]-n)}else w=Number(t.offsets.host[d])+Number(t.offsets.host[u]/2-m/2);let C=w-(null!==(o=a[d])&&void 0!==o?o:0)-y-v;return C=Math.max(Math.min(a[u]-(m+5),C),0),t.offsets.arrow={[d]:Math.round(C),[p]:""},t.instance.arrow=l,t}function X(t){if(t.offsets.target=I(t.offsets.target),!z(t.options,"flip"))return t.offsets.target=Object.assign(Object.assign({},t.offsets.target),$(t.instance.target,t.offsets.host,t.placement)),t;
1const e=H(t.instance.target,t.instance.host,0,"viewport",!1);let n=t.placement.split(" ")[0],s=t.placement.split(" ")[1]||"";const i=Y("auto",t.offsets.host,t.instance.target,t.instance.host,t.options.allowedPositions),r=[n,i];return r.forEach((i,o)=>{var a,l,c,u,h,d,p,f,m,g,_,y,v,b,w,C;if(n!==i||r.length===o+1)return;n=t.placement.split(" ")[0];const S="left"===n&&Math.floor(null!==(a=t.offsets.target.right)&&void 0!==a?a:0)>Math.floor(null!==(l=t.offsets.host.left)&&void 0!==l?l:0)||"right"===n&&Math.floor(null!==(c=t.offsets.target.left)&&void 0!==c?c:0)<Math.floor(null!==(u=t.offsets.host.right)&&void 0!==u?u:0)||"top"===n&&Math.floor(null!==(h=t.offsets.target.bottom)&&void 0!==h?h:0)>Math.floor(null!==(d=t.offsets.host.top)&&void 0!==d?d:0)||"bottom"===n&&Math.floor(null!==(p=t.offsets.target.top)&&void 0!==p?p:0)<Math.floor(null!==(f=t.offsets.host.bottom)&&void 0!==f?f:0),k=Math.floor(null!==(m=t.offsets.target.left)&&void 0!==m?m:0)<Math.floor(null!==(g=e.left)&&void 0!==g?g:0),T=Math.floor(null!==(_=t.offsets.target.right)&&void 0!==_?_:0)>Math.floor(null!==(y=e.right)&&void 0!==y?y:0),E=Math.floor(null!==(v=t.offsets.target.top)&&void 0!==v?v:0)<Math.floor(null!==(b=e.top)&&void 0!==b?b:0),x=Math.floor(null!==(w=t.offsets.target.bottom)&&void 0!==w?w:0)>Math.floor(null!==(C=e.bottom)&&void 0!==C?C:0),D="left"===n&&k||"right"===n&&T||"top"===n&&E||"bottom"===n&&x,A=-1!==["top","bottom"].indexOf(n),O=A&&"left"===s&&k||A&&"right"===s&&T||!A&&"left"===s&&E||!A&&"right"===s&&x;(S||D||O)&&((S||D)&&(n=r[o+1]),O&&(s=function(t){return"right"===t?"left":"left"===t?"right":t}(s)),t.placement=n+(s?` ${s}`:""),t.offsets.target=Object.assign(Object.assign({},t.offsets.target),$(t.instance.target,t.offsets.host,t.placement)))}),t}function tt(t){var e;if(!z(t.options,"preventOverflow"))return t;const n="transform",s=t.instance.target.style,{top:i,left:r,[n]:o}=s;s.top="",s.left="",s[n]="";const a=H(t.instance.target,t.instance.host,0,(null===(e=t.options.modifiers.preventOverflow)||void 0===e?void 0:e.boundariesElement)||"scrollParent",!1);s.top=i,s.left=r,s[n]=o;const l={primary(e){var n,s,i,r;let o=t.offsets.target[e];return(null!==(n=t.offsets.target[e])&&void 0!==n?n:0)<(null!==(s=a[e])&&void 0!==s?s:0)&&(o=Math.max(null!==(i=t.offsets.target[e])&&void 0!==i?i:0,null!==(r=a[e])&&void 0!==r?r:0)),{[e]:o}},secondary(e){var n,s,i,r;const o="right"===e?"left":"top";let l=t.offsets.target[o];return(null!==(n=t.offsets.target[e])&&void 0!==n?n:0)<(null!==(s=a[e])&&void 0!==s?s:0)&&(l=Math.min(null!==(i=t.offsets.target[o])&&void 0!==i?i:0,(null!==(r=a[e])&&void 0!==r?r:0)-("right"===e?t.offsets.target.width:t.offsets.target.height))),{[o]:l}}};return["left","right","top","bottom"].forEach(e=>{const n=-1!==["left","top","start"].indexOf(e)?l.primary:l.secondary;t.offsets.target=Object.assign(Object.assign({},t.offsets.target),n(e))}),t}function et(t){var e;const n=t.placement,s=n.split(" ")[0],i=n.split(" ")[1];if(i){const{host:n,target:r}=t.offsets,o=-1!==["bottom","top"].indexOf(s),a=o?"left":"top",l=o?"width":"height",c={start:{[a]:n[a]},end:{[a]:(null!==(e=n[a])&&void 0!==e?e:0)+n[l]-r[l]}};t.offsets.target=Object.assign(Object.assign({},r),{[a]:a===i?c.start[a]:c.end[a]})}return t}const nt=new class{position(t,e){return this.offset(t,e)}offset(t,e){return Z(e,t)}positionElements(t,e,n,s,i){const r=[X,et,tt,K],o=function(t,e,n,s){if(!t||!e)return;const i=Z(t,e);n.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)||n.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)||(n="auto");const r=!!n.match(/auto/g);let o=n.match(/auto\s(left|right|top|bottom|start|end)/)?n.split(" ")[1]||"auto":n;const a=o.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return a&&(o=a[1]+(a[2]?` ${a[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(o)&&(o="auto"),o=Y(o,i,t,e,s?s.allowedPositions:void 0),{options:s||{modifiers:{}},instance:{target:t,host:e,arrow:void 0},offsets:{target:$(t,i,o),host:i,arrow:void 0},positionFixed:!1,placement:o,placementAuto:r}}(e,t,y[n],i);if(o)return r.reduce((t,e)=>e(t),o)}};let st=(()=>{class t{constructor(t,e,n){this.update$$=new m.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,r.NF)(n)&&t.runOutsideAngular(()=>{this.triggerEvent$=(0,g.T)(u(window,"scroll",{passive:!0}),u(window,"resize",{passive:!0}),(0,_.of)(0,f),this.update$$),this.triggerEvent$.subscribe(()=>
1{this.isDisabled||this.positionElements.forEach(t=>{!function(t,e,n,i,r,o){const a=nt.positionElements(t,e,n,i,r);if(!a)return;const l=function(t){var e,n,s,i;return{width:t.offsets.target.width,height:t.offsets.target.height,left:Math.floor(null!==(e=t.offsets.target.left)&&void 0!==e?e:0),top:Math.round(null!==(n=t.offsets.target.top)&&void 0!==n?n:0),bottom:Math.round(null!==(s=t.offsets.target.bottom)&&void 0!==s?s:0),right:Math.floor(null!==(i=t.offsets.target.right)&&void 0!==i?i:0)}}(a);Q(e,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${l.left}px, ${l.top}px, 0px)`},o),a.instance.arrow&&Q(a.instance.arrow,a.offsets.arrow,o),function(t,e){const n=t.instance.target;let i=n.className;const r=(0,s.Wl)().isBs5?v[t.placement]:t.placement;t.placementAuto&&(i=i.replace(/bs-popover-auto/g,`bs-popover-${r}`),i=i.replace(/ms-2|me-2|mb-2|mt-2/g,""),i=i.replace(/bs-tooltip-auto/g,`bs-tooltip-${r}`),i=i.replace(/\sauto/g,` ${r}`),-1!==i.indexOf("popover")&&(i=i+" "+J(r)),-1!==i.indexOf("popover")&&-1===i.indexOf("popover-auto")&&(i+=" popover-auto"),-1!==i.indexOf("tooltip")&&-1===i.indexOf("tooltip-auto")&&(i+=" tooltip-auto")),i=i.replace(/left|right|top|bottom|end|start/g,`${r.split(" ")[0]}`),e?e.setAttribute(n,"class",i):n.className=i}(a,o)}(it(t.target),it(t.element),t.attachment,t.appendToBody,this.options,e.createRenderer(null,null))})})})}position(t){this.addPositionElement(t)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(t){this.positionElements.set(it(t.element),t)}calcPosition(){this.update$$.next()}deletePositionElement(t){this.positionElements.delete(it(t))}setOptions(t){this.options=t}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.R0b),i.LFG(i.FYo),i.LFG(i.Lbi))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(i.R0b),(0,i.LFG)(i.FYo),(0,i.LFG)(i.Lbi))},token:t,providedIn:"root"}),t})();function it(t){return"string"==typeof t?document.querySelector(t):t instanceof i.SBq?t.nativeElement:null!=t?t:null}},5690:(t,e,n)=>{"use strict";n.d(e,{wW:()=>d,y3:()=>p,P4:()=>f,AH:()=>h});var s=n(3018),i=n(8583);function r(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",7),s.NdJ("click",function(e){s.CHM(t);const n=s.oxw().$implicit,i=s.oxw();return e.preventDefault(),i.removeTab(n)}),s._uU(1," \u274c"),s.qZA()}}const o=function(t){return["nav-item",t]};function a(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"li",3),s.NdJ("keydown",function(e){const n=s.CHM(t).index;return s.oxw().keyNavActions(e,n)}
1),s.TgZ(1,"a",4),s.NdJ("click",function(){return s.CHM(t).$implicit.active=!0}),s.TgZ(2,"span",5),s._uU(3),s.qZA(),s.YNc(4,r,2,0,"span",6),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.ekj("active",t.active)("disabled",t.disabled),s.Q6J("ngClass",s.VKq(15,o,t.customClass||"")),s.xp6(1),s.ekj("active",t.active)("disabled",t.disabled),s.uIk("aria-controls",t.id?t.id:"")("aria-selected",!!t.active)("id",t.id?t.id+"-link":""),s.xp6(1),s.Q6J("ngTransclude",t.headingRef),s.xp6(1),s.Oqu(t.heading),s.xp6(1),s.Q6J("ngIf",t.removable)}}const l=["*"];let c=(()=>{class t{constructor(t){this.viewRef=t}set ngTransclude(t){this._ngTransclude=t,t&&this.viewRef.createEmbeddedView(t)}get ngTransclude(){return this._ngTransclude}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngTransclude",""]],inputs:{ngTransclude:"ngTransclude"}}),t})(),u=(()=>{class t{constructor(){this.type="tabs",this.isKeysAllowed=!0,this.ariaLabel="Tabs"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),h=(()=>{class t{constructor(t,e,n){this.renderer=e,this.elementRef=n,this.clazz=!0,this.tabs=[],this.classMap={},this.ariaLabel="Tabs",this.isDestroyed=!1,this._vertical=!1,this._justified=!1,this._type="tabs",this._isKeysAllowed=!0,Object.assign(this,t)}get vertical(){return this._vertical}set vertical(t){this._vertical=t,this.setClassMap()}get justified(){return this._justified}set justified(t){this._justified=t,this.setClassMap()}get type(){return this._type}set type(t){this._type=t,this.setClassMap()}get isKeysAllowed(){return this._isKeysAllowed}set isKeysAllowed(t){this._isKeysAllowed=t}ngOnDestroy(){this.isDestroyed=!0}addTab(t){this.tabs.push(t),t.active=1===this.tabs.length&&!t.active}removeTab(t,e={reselect:!0,emit:!0}){const n=this.tabs.indexOf(t);if(-1!==n&&!this.isDestroyed){if(e.reselect&&t.active&&this.hasAvailableTabs(n)){const t=this.getClosestTabIndex(n);this.tabs[t].active=!0}e.emit&&t.removed.emit(t),this.tabs.splice(n,1),t.elementRef.nativeElement.parentNode&&this.renderer.removeChild(t.elementRef.nativeElement.parentNode,t.elementRef.nativeElement)}}keyNavActions(t,e){if(!this.isKeysAllowed)return;const n=Array.from(this.elementRef.nativeElement.querySelectorAll(".nav-link"));if(13!==t.keyCode&&"Enter"!==t.key&&32!==t.keyCode&&"Space"!==t.key)if(39!==t.keyCode&&"RightArrow"!==t.key)if(37!==t.keyCode&&"LeftArrow"!==t.key)if(36!==t.keyCode&&"Home"!==t.key)if(35!==t.keyCode&&"End"!==t.key){if((46===t.keyCode||"Delete"===t.key)&&this.tabs[e].removable){if(this.removeTab(this.tabs[e]),n[e+1])return void n[(e+1)%n.length].focus();n[n.length-1]&&n[0].focus()}}else{let s;t.preventDefault();let i=1,r=e;do{r-i<0?(r=n.length-1,s=n[r],i=0):s=n[r-i],i++}while(s.classList.contains("disabled"));s.focus()}else{let e;t.preventDefault();let s=0;do{e=n[s%n.length],s++}while(e.classList.contains("disabled"));e.focus()}else{let t,s=1,i=e;do{i-s<0?(i=n.length-1,t=n[i],s=0):t=n[i-s],s++}while(t.classList.contains("disabled"));t.focus()}else{let t,s=1;do{t=n[(e+s)%n.length],s++}while(t.classList.contains("disabled"));t.focus()}else t.preventDefault(),n[e%n.length].click()}getClosestTabIndex(t){const e=this.tabs.length;if(!e)return-1;for(let n=1;n<=e;n+=1){const e=t-n,s=t+n;if(this.tabs[e]&&!this.tabs[e].disabled)return e;if(this.tabs[s]&&!this.tabs[s].disabled)return s}return-1}hasAvailableTabs(t){const e=this.tabs.length;if(!e)return!1;for(let n=0;n<e;n+=1)if(!this.tabs[n].disabled&&n!==t)return!0;return!1}setClassMap(){this.classMap={"nav-stacked":this.vertical,"flex-column":this.vertical,"nav-justified":this.justified,[`nav-${this.type}`]:!0}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(u),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275cmp=s.Xpm({type:t,selectors:[["tabset"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("tab-container",e.clazz)},inputs:{vertical:"vertical",justified:"justified",type:"type"},ngContentSelectors:l,decls:4,vars:3,consts:[["role","tablist",1,"nav",3,"ngClass","click"],[3,"ngClass","active","disabled","keydown",4,"ngFor","ngForOf"],[1,"tab-content"],[3,"ngClass","keydown"],["href","javascript:void(0);","role","tab",1,"nav-link",3,"click"],[3,"ngTransclude"],["class","bs-remove-tab",3,"click",4,"ngIf"],[1,"bs-remove-tab",3,"click"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"ul",0),s.NdJ("
1click",function(t){return t.preventDefault()}),s.YNc(1,a,5,17,"li",1),s.qZA(),s.TgZ(2,"div",2),s.Hsn(3),s.qZA()),2&t&&(s.Q6J("ngClass",e.classMap),s.uIk("aria-label",e.ariaLabel),s.xp6(1),s.Q6J("ngForOf",e.tabs))},directives:[i.mk,i.sg,c,i.O5],styles:["[_nghost-%COMP%] .nav-tabs[_ngcontent-%COMP%] .nav-item.disabled[_ngcontent-%COMP%] a.disabled[_ngcontent-%COMP%]{cursor:default}"]}),t})(),d=(()=>{class t{constructor(t,e,n){this.elementRef=e,this.renderer=n,this.disabled=!1,this.removable=!1,this.selectTab=new s.vpe,this.deselect=new s.vpe,this.removed=new s.vpe,this.addClass=!0,this.role="tabpanel",this._active=!1,this._customClass="",this.tabset=t,this.tabset.addTab(this)}get customClass(){return this._customClass}set customClass(t){this.customClass&&this.customClass.split(" ").forEach(t=>{this.renderer.removeClass(this.elementRef.nativeElement,t)}),this._customClass=t?t.trim():"",this.customClass&&this.customClass.split(" ").forEach(t=>{this.renderer.addClass(this.elementRef.nativeElement,t)})}get active(){return this._active}set active(t){this._active!==t&&(this.disabled&&t||!t?this._active&&!t&&(this.deselect.emit(this),this._active=t):(this._active=t,this.selectTab.emit(this),this.tabset.tabs.forEach(t=>{t!==this&&(t.active=!1)})))}get ariaLabelledby(){return this.id?`${this.id}-link`:""}ngOnInit(){this.removable=!!this.removable}ngOnDestroy(){this.tabset.removeTab(this,{reselect:!1,emit:!1})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(h),s.Y36(s.SBq),s.Y36(s.Qsj))},t.\u0275dir=s.lG2({type:t,selectors:[["tab"],["","tab",""]],hostVars:7,hostBindings:function(t,e){2&t&&(s.uIk("role",e.role)("aria-labelledby",e.ariaLabelledby)("id",e.id),s.ekj("tab-pane",e.addClass)("active",e.active))},inputs:{disabled:"disabled",removable:"removable",customClass:"customClass",active:"active",heading:"heading",id:"id"},outputs:{selectTab:"selectTab",deselect:"deselect",removed:"removed"},exportAs:["tab"]}),t})(),p=(()=>{class t{constructor(t,e){e.headingRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(d))},t.\u0275dir=s.lG2({type:t,selectors:[["","tabHeading",""]]}),t})(),f=(()=>{class t{static forRoot(){return{ngModule:t,providers:[]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez]]}),t})()},5766:(t,e,n)=>{"use strict";n.d(e,{i9:()=>f,z8:()=>m});var s=n(3018),i=n(1103),r=n(4933);function o(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var a=n(8935),l=n(6797),c=n(8583);const u=["*"];let h=(()=>{class t{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),d=(()=>{class t{constructor(t){Object.assign(this,t)}get _bsVersions(){return(0,i.Wl)()}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=r.Bz[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(h))},t.\u0275cmp=s.Xpm({type:t,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:7,hostBindings:function(t,e){2&t&&(s.uIk("id",e.id),s.Tol("tooltip in tooltip-"+e.placement+" bs-tooltip-"+e.placement+" "+e.placement+" "+e.containerClass),s.ekj("show",!e._bsVersions.isBs3)("bs3",e._bsVersions.isBs3))},ngContentSelectors:u,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(t,e){1&t&&(s.F$t(),s._UZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA())},styles:[".tooltip[_nghost-%COMP%] {\n display: block;\n pointer-events: none;\n }\n .bs3.tooltip.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n margin-left: -2px;\n }\n .bs3.tooltip.bottom[_nghost-%COMP%] {\n margin-top: 0px;\n }\n .bs3.bs-tooltip-left[_nghost-%COMP%], .bs3.bs-tooltip-right[_nghost-%COMP%]{\n margin: 0px;\n }\n .bs3.bs-tooltip-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs3.bs-tooltip-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n margin: .3rem 0;\n }"],changeDetection:0}),t})(),p=0,f=(()=>{class t{constructor(t,e,n,i,r,o){this._elementRef=i,this._renderer=r,this._positionService=o,this.tooltipId=p++,this.adaptivePosition=!0,this.tooltipChange=new s.vpe,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new s.vpe,this._tooltip=e.createLoader(this._elementRef,t,this._renderer).provide({provide:h,useValue:n}),Object.assign(this,n),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}get isOpen(){return this._tooltip.isShown}set isOpen(t){t?this.show():this.hide()}set htmlContent(t){(0,i.O4)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=t}set _placement(t){(0,i.O4)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=t}set _isOpen(t){(0,i.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=t}get _isOpen(){return(0,i.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(t){(0,i.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!t}get _enable(){return(0,i.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(t){(0,i.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=t?"body":this.container}get _appendToBody(){return(0,i.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(t){(0,i.O4)("tooltipClass deprecated")}set _tooltipContext(t){(0,i.O4)("tooltipContext deprecated")}set _tooltipPopupDelay(t){(0,i.O4)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=t}get _tooltipTrigger(){return(0,i.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(t){(0,i.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(t||"").toString()}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe(t=>{t||this._tooltip.hide()}),this.onShown.subscribe(()=>{this.setAriaDescribedBy()}),this.onHidden.subscribe(()=>{this.setAriaDescribedBy()})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;const t=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(d).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},e=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=(0,l.H)(this.delay).subscribe(()=>{t(),e()}
1),this.triggers&&(0,i.AL)(this.triggers).forEach(t=>{t.close&&(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,t.close,()=>{var t;null===(t=this._delaySubscription)||void 0===t||t.unsubscribe(),e()}))})):t()}hide(){var t;this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&((null===(t=this._tooltip.instance)||void 0===t?void 0:t.classMap)&&(this._tooltip.instance.classMap.in=!1),setTimeout(()=>{this._tooltip.hide()},this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(a.oj),s.Y36(h),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(r.sA))},t.\u0275dir=s.lG2({type:t,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",placement:"placement",triggers:"triggers",containerClass:"containerClass",isDisabled:"isDisabled",delay:"delay",tooltipAnimation:"tooltipAnimation",tooltipFadeDuration:"tooltipFadeDuration",isOpen:"isOpen",htmlContent:["tooltipHtml","htmlContent"],tooltip:"tooltip",_placement:["tooltipPlacement","_placement"],_isOpen:["tooltipIsOpen","_isOpen"],_enable:["tooltipEnable","_enable"],_appendToBody:["tooltipAppendToBody","_appendToBody"],container:"container",_popupClass:["tooltipClass","_popupClass"],_tooltipContext:["tooltipContext","_tooltipContext"],_tooltipPopupDelay:["tooltipPopupDelay","_tooltipPopupDelay"],_tooltipTrigger:["tooltipTrigger","_tooltipTrigger"],boundariesElement:"boundariesElement"},outputs:{tooltipChange:"tooltipChange",tooltipStateChanged:"tooltipStateChanged",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-tooltip"]}),function(t,e,n,s){var i,r=arguments.length,o=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,s);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(r<3?i(o):r>3?i(e,n,o):i(e,n))||o);r>3&&o&&Object.defineProperty(e,n,o)}([(0,i.GU)(),o("design:type",Object)],t.prototype,"tooltip",void 0),t})(),m=(()=>{class t{static forRoot(){return{ngModule:t,providers:[a.oj,r.sA]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[c.ez]]}),t})()},1526:(t,e,n)=>{"use strict";n.d(e,{Bp:()=>st,H3:()=>it});var s=n(3018),i=n(1103),r=n(4933),o=n(8891);function a(t){return!!t&&(t instanceof o.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}var l=n(5319),c=n(9193),u=n(4402),h=n(7238),d=n(8935),p=n(7393),f=n(3637);function m(t,e=f.P){return n=>n.lift(new g(t,e))}class g{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new _(t,this.dueTime,this.scheduler))}}class _ extends p.L{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(y,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function y(t){t.debouncedNext()}var v=n(2145),b=n(548),w=n(5242),C=n(4022);function S(t,e,n){return 0===n?[e]:(t.push(e),t)}var k=n(3342),T=n(3190),E=n(9773),x=n(5435),D=n(8583),A=n(665);const O=["ulElement"],M=["liElements"];function R(t,e){}function I(t,e){if(1&t&&s._UZ(0,"span",4),2&t){const t=e.match,n=e.query,i=s.oxw();s.Q6J("innerHtml",i.highlight(t,n),s.oJD)}}function P(t,e){if(1&t&&(s.TgZ(0,"li",10,11),s._uU(2),s.qZA()),2&t){const t=s.oxw().$implicit;s.xp6(2),s.Oqu(t)}}function F(t,e){}const N=function(t,e,n,s){return{item:t,index:e,match:n,query:s}};function L(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"li",12,11),s.NdJ("mouseenter",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).selectActive(e)}
1),s.TgZ(2,"a",13),s.NdJ("click",function(e){s.CHM(t);const n=s.oxw().$implicit;return s.oxw(2).selectMatch(n,e)}),s.YNc(3,F,0,0,"ng-template",0),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(),e=t.$implicit,n=t.index,i=s.oxw(2),r=s.MAs(2);s.ekj("active",i.isActive(e)),s.Q6J("id",i.popupId+"-"+n)("@typeaheadAnimation",i.animationState),s.xp6(3),s.Q6J("ngTemplateOutlet",i.itemTemplate||r)("ngTemplateOutletContext",s.l5B(6,N,e.item,n,e,i.query))}}function j(t,e){if(1&t&&(s.YNc(0,P,3,1,"li",8),s.YNc(1,L,4,11,"li",9)),2&t){const t=e.$implicit;s.Q6J("ngIf",t.isHeader()),s.xp6(1),s.Q6J("ngIf",!t.isHeader())}}function V(t,e){if(1&t&&(s.TgZ(0,"ul",5,6),s.YNc(2,j,2,2,"ng-template",7),s.qZA()),2&t){const t=s.oxw();s.Udp("overflow-y",t.needScrollbar?"scroll":"auto")("height",t.needScrollbar?t.guiHeight:"auto"),s.xp6(2),s.Q6J("ngForOf",t.matches)}}function H(t,e){if(1&t&&(s.TgZ(0,"h6",10),s._uU(1),s.qZA()),2&t){const t=s.oxw().$implicit;s.xp6(1),s.Oqu(t)}}function U(t,e){}function Y(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",15,11),s.NdJ("click",function(e){s.CHM(t);const n=s.oxw().$implicit;return s.oxw(2).selectMatch(n,e)})("mouseenter",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).selectActive(e)}),s.YNc(2,U,0,0,"ng-template",0),s.qZA()}if(2&t){const t=s.oxw(),e=t.$implicit,n=t.index,i=s.oxw(2),r=s.MAs(2);s.ekj("active",i.isActive(e)),s.Q6J("id",i.popupId+"-"+n)("@typeaheadAnimation",i.animationState),s.xp6(2),s.Q6J("ngTemplateOutlet",i.itemTemplate||r)("ngTemplateOutletContext",s.l5B(6,N,e.item,n,e,i.query))}}function B(t,e){if(1&t&&(s.YNc(0,H,2,1,"h6",8),s.YNc(1,Y,3,11,"ng-template",14)),2&t){const t=e.$implicit;s.Q6J("ngIf",t.isHeader()),s.xp6(1),s.Q6J("ngIf",!t.isHeader())}}function q(t,e){if(1&t&&s.YNc(0,B,2,2,"ng-template",7),2&t){const t=s.oxw();s.Q6J("ngForOf",t.matches)}}const Z=function(t,e,n,s){return{matches:t,itemTemplate:e,query:n,$implicit:s}},$={"\xc1":"A","\u0102":"A","\u1eae":"A","\u1eb6":"A","\u1eb0":"A","\u1eb2":"A","\u1eb4":"A","\u01cd":"A","\xc2":"A","\u1ea4":"A","\u1eac":"A","\u1ea6":"A","\u1ea8":"A","\u1eaa":"A","\xc4":"A","\u01de":"A","\u0226":"A","\u01e0":"A","\u1ea0":"A","\u0200":"A","\xc0":"A","\u1ea2":"A","\u0202":"A","\u0100":"A","\u0104":"A","\xc5":"A","\u01fa":"A","\u1e00":"A","\u023a":"A","\xc3":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u1e02":"B","\u1e04":"B","\u0181":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0106":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0108":"C","\u010a":"C","\u0187":"C","\u023b":"C","\u010e":"D","\u1e10":"D","\u1e12":"D","\u1e0a":"D","\u1e0c":"D","\u018a":"D","\u1e0e":"D","\u01f2":"D","\u01c5":"D","\u0110":"D","\u018b":"D","\u01f1":"DZ","\u01c4":"DZ","\xc9":"E","\u0114":"E","\u011a":"E","\u0228":"E","\u1e1c":"E","\xca":"E","\u1ebe":"E","\u1ec6":"E","\u1ec0":"E","\u1ec2":"E","\u1ec4":"E","\u1e18":"E","\xcb":"E","\u0116":"E","\u1eb8":"E","\u0204":"E","\xc8":"E","\u1eba":"E","\u0206":"E","\u0112":"E","\u1e16":"E","\u1e14":"E","\u0118":"E","\u0246":"E","\u1ebc":"E","\u1e1a":"E","\ua76a":"ET","\u1e1e":"F","\u0191":"F","\u01f4":"G","\u011e":"G","\u01e6":"G","\u0122":"G","\u011c":"G","\u0120":"G","\u0193":"G","\u1e20":"G","\u01e4":"G","\u1e2a":"H","\u021e":"H","\u1e28":"H","\u0124":"H","\u2c67":"H","\u1e26":"H","\u1e22":"H","\u1e24":"H","\u0126":"H","\xcd":"I","\u012c":"I","\u01cf":"I","\xce":"I","\xcf":"I","\u1e2e":"I","\u0130":"I","\u1eca":"I","\u0208":"I","\xcc":"I","\u1ec8":"I","\u020a":"I","\u012a":"I","\u012e":"I","\u0197":"I","\u0128":"I","\u1e2c":"I","\ua779":"D","\ua77b":"F","\ua77d":"G","\ua782":"R","\ua784":"S","\ua786":"T","\ua76c":"IS","\u0134":"J","\u0248":"J","\u1e30":"K","\u01e8":"K","\u0136":"K","\u2c69":"K","\ua742":"K","\u1e32":"K","\u0198":"K","\u1e34":"K","\ua740":"K","\ua744":"K","\u0139":"L","\u023d":"L","\u013d":"L","\u013b":"L","\u1e3c":"L","\u1e36":"L","\u1e38":"L","\u2c60":"L","\ua748":"L","\u1e3a":"L","\u013f":"L","\u2c62":"L","\u01c8":"L","\u0141":"L","\u01c7":"LJ","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u0143":"N","\u0147":"N","\u0145":"N","\u1e4a":"N","\u1e44":"N","\u1e46":"N","\u01f8":"N","\u019d":"N","\u1e48":"N","\u0220":"N","\u01cb":"N","\xd1":"N","\u01ca":"NJ","\xd3":"O","\u014e":"O","\u01d1":"O","\xd4":"O","\u1ed0":"O","\u1ed8":"O","\u1ed2":"O","\u1ed4":"O","\u1ed6":"O","\xd6":"O","\u022a":"O","\u022e":"O","\u0230":"O","\u1ecc":"O","\u0150":"O","\u020c":"O","\xd2":"O","\u1ece":"O","\u01a0":"O","\u1eda":"O","\u1ee2":"O","\u1edc":"O","\u1ede":"O","\u1ee0":"O","\u020e":"O","\ua74a":"O","\ua74c":"O","\u014c":"O","\u1e52":"O","\u1e50":"O","\u019f":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\xd5":"O","\u1e4c":"O","\u1e4e":"O","\u022c":"O","\u01a2":"OI","\ua74e":"OO","\u0190":"E","\u0186":"O","\u0222":"OU","\u1e54":"P","\u1e56":"P","\ua752":"P","\u01a4":"P","\ua754":"P","\u2c63":"P","\ua750":"P","\ua758":"Q","\ua756":"Q","\u0154":"R","\u0158":"R","\u0156":"R","\u1e58":"R","\u1e5a":"R","\u1e5c":"R","\u0210":"R","\u0212":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua73e":"C","\u018e":"E","\u015a":"S","\u1e64":"S","\u0160":"S","\u1e66":"S","\u015e":"S","\u015c":"S","\u0218":"S","\u1e60":"S","\u1e62":"S","\u1e68":"S","\u0164":"T","\u0162":"T","\u1e70":"T","\u021a":"T","\u023e":"T","\u1e6a":"T","\u1e6c":"T","\u01ac":"T","\u1e6e":"T","\u01ae":"T","\u0166":"T","\u2c6f":"A","\ua780":"L","\u019c":"M","\u0245":"V","\ua728":"TZ","\xda":"U","\u016c":"U","\u01d3":"U","\xdb":"U","\u1e76":"U","\xdc":"U","\u01d7":"U","\u01d9":"U","\u01db":"U","\u01d5":"U","\u1e72":"U","\u1ee4":"U","\u0170":"U","\u0214":"U","\xd9":"U","\u1ee6":"U","\u01af":"U","\u1ee8":"U","\u1ef0":"U","\u1eea":"U","\u1eec":"U","\u1eee":"U","\u0216":"U","\u016a":"U","\u1e7a":"U","\u0172":"U","\u016e":"U","\u0168":"U","\u1e78":"U","\u1e74":"U","\ua75e":"V","\u1e7e":"V","\u01b2":"V","\u1e7c":"V","\ua760":"VY","\u1e82":"W","\u0174":"W","\u1e84":"W","\u1e86":"W","\u1e88":"W","\u1e80":"W","\u2c72":"W","\u1e8c":"X","\u1e8a":"X","\xdd":"Y","\u0176":"Y","\u0178":"Y","\u1e8e":"Y","\u1ef4":"Y","\u1ef2":"Y","\u01b3":"Y","\u1ef6":"Y","\u1efe":"Y","\u0232":"Y","\u024e":"Y","\u1ef8":"Y","\u0179":"Z","\u017d":"Z","\u1e90":"Z","\u2c6b":"Z","\u017b":"Z","\u1e92":"Z","\u0224":"Z","\u1e94":"Z","\u01b5":"Z","\u0132":"IJ","\u0152":"OE","\u1d00":"A","\u1d01":"AE","\u0299":"B","\u1d03"
1:"B","\u1d04":"C","\u1d05":"D","\u1d07":"E","\ua730":"F","\u0262":"G","\u029b":"G","\u029c":"H","\u026a":"I","\u0281":"R","\u1d0a":"J","\u1d0b":"K","\u029f":"L","\u1d0c":"L","\u1d0d":"M","\u0274":"N","\u1d0f":"O","\u0276":"OE","\u1d10":"O","\u1d15":"OU","\u1d18":"P","\u0280":"R","\u1d0e":"N","\u1d19":"R","\ua731":"S","\u1d1b":"T","\u2c7b":"E","\u1d1a":"R","\u1d1c":"U","\u1d20":"V","\u1d21":"W","\u028f":"Y","\u1d22":"Z","\xe1":"a","\u0103":"a","\u1eaf":"a","\u1eb7":"a","\u1eb1":"a","\u1eb3":"a","\u1eb5":"a","\u01ce":"a","\xe2":"a","\u1ea5":"a","\u1ead":"a","\u1ea7":"a","\u1ea9":"a","\u1eab":"a","\xe4":"a","\u01df":"a","\u0227":"a","\u01e1":"a","\u1ea1":"a","\u0201":"a","\xe0":"a","\u1ea3":"a","\u0203":"a","\u0101":"a","\u0105":"a","\u1d8f":"a","\u1e9a":"a","\xe5":"a","\u01fb":"a","\u1e01":"a","\u2c65":"a","\xe3":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u1e03":"b","\u1e05":"b","\u0253":"b","\u1e07":"b","\u1d6c":"b","\u1d80":"b","\u0180":"b","\u0183":"b","\u0275":"o","\u0107":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0109":"c","\u0255":"c","\u010b":"c","\u0188":"c","\u023c":"c","\u010f":"d","\u1e11":"d","\u1e13":"d","\u0221":"d","\u1e0b":"d","\u1e0d":"d","\u0257":"d","\u1d91":"d","\u1e0f":"d","\u1d6d":"d","\u1d81":"d","\u0111":"d","\u0256":"d","\u018c":"d","\u0131":"i","\u0237":"j","\u025f":"j","\u0284":"j","\u01f3":"dz","\u01c6":"dz","\xe9":"e","\u0115":"e","\u011b":"e","\u0229":"e","\u1e1d":"e","\xea":"e","\u1ebf":"e","\u1ec7":"e","\u1ec1":"e","\u1ec3":"e","\u1ec5":"e","\u1e19":"e","\xeb":"e","\u0117":"e","\u1eb9":"e","\u0205":"e","\xe8":"e","\u1ebb":"e","\u0207":"e","\u0113":"e","\u1e17":"e","\u1e15":"e","\u2c78":"e","\u0119":"e","\u1d92":"e","\u0247":"e","\u1ebd":"e","\u1e1b":"e","\ua76b":"et","\u1e1f":"f","\u0192":"f","\u1d6e":"f","\u1d82":"f","\u01f5":"g","\u011f":"g","\u01e7":"g","\u0123":"g","\u011d":"g","\u0121":"g","\u0260":"g","\u1e21":"g","\u1d83":"g","\u01e5":"g","\u1e2b":"h","\u021f":"h","\u1e29":"h","\u0125":"h","\u2c68":"h","\u1e27":"h","\u1e23":"h","\u1e25":"h","\u0266":"h","\u1e96":"h","\u0127":"h","\u0195":"hv","\xed":"i","\u012d":"i","\u01d0":"i","\xee":"i","\xef":"i","\u1e2f":"i","\u1ecb":"i","\u0209":"i","\xec":"i","\u1ec9":"i","\u020b":"i","\u012b":"i","\u012f":"i","\u1d96":"i","\u0268":"i","\u0129":"i","\u1e2d":"i","\ua77a":"d","\ua77c":"f","\u1d79":"g","\ua783":"r","\ua785":"s","\ua787":"t","\ua76d":"is","\u01f0":"j","\u0135":"j","\u029d":"j","\u0249":"j","\u1e31":"k","\u01e9":"k","\u0137":"k","\u2c6a":"k","\ua743":"k","\u1e33":"k","\u0199":"k","\u1e35":"k","\u1d84":"k","\ua741":"k","\ua745":"k","\u013a":"l","\u019a":"l","\u026c":"l","\u013e":"l","\u013c":"l","\u1e3d":"l","\u0234":"l","\u1e37":"l","\u1e39":"l","\u2c61":"l","\ua749":"l","\u1e3b":"l","\u0140":"l","\u026b":"l","\u1d85":"l","\u026d":"l","\u0142":"l","\u01c9":"lj","\u017f":"s","\u1e9c":"s","\u1e9b":"s","\u1e9d":"s","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u1d6f":"m","\u1d86":"m","\u0144":"n","\u0148":"n","\u0146":"n","\u1e4b":"n","\u0235":"n","\u1e45":"n","\u1e47":"n","\u01f9":"n","\u0272":"n","\u1e49":"n","\u019e":"n","\u1d70":"n","\u1d87":"n","\u0273":"n","\xf1":"n","\u01cc":"nj","\xf3":"o","\u014f":"o","\u01d2":"o","\xf4":"o","\u1ed1":"o","\u1ed9":"o","\u1ed3":"o","\u1ed5":"o","\u1ed7":"o","\xf6":"o","\u022b":"o","\u022f":"o","\u0231":"o","\u1ecd":"o","\u0151":"o","\u020d":"o","\xf2":"o","\u1ecf":"o","\u01a1":"o","\u1edb":"o","\u1ee3":"o","\u1edd":"o","\u1edf":"o","\u1ee1":"o","\u020f":"o","\ua74b":"o","\ua74d":"o","\u2c7a":"o","\u014d":"o","\u1e53":"o","\u1e51":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\xf5":"o","\u1e4d":"o","\u1e4f":"o","\u022d":"o","\u01a3":"oi","\ua74f":"oo","\u025b":"e","\u1d93":"e","\u0254":"o","\u1d97":"o","\u0223":"ou","\u1e55":"p","\u1e57":"p","\ua753":"p","\u01a5":"p","\u1d71":"p","\u1d88":"p","\ua755":"p","\u1d7d":"p","\ua751":"p","\ua759":"q","\u02a0":"q","\u024b":"q","\ua757":"q","\u0155":"r","\u0159":"r","\u0157":"r","\u1e59":"r","\u1e5b":"r","\u1e5d":"r","\u0211":"r","\u027e":"r","\u1d73":"r","\u0213":"r","\u1e5f":"r","\u027c":"r","\u1d72":"r","\u1d89":"r","\u024d":"r","\u027d":"r","\u2184":"c","\ua73f":"c","\u0258":"e","\u027f":"r","\u015b":"s","\u1e65":"s","\u0161":"s","\u1e67":"s","\u015f":"s","\u015d":"s","\u0219":"s","\u1e61":"s","\u1e63":"s","\u1e69":"s","\u0282":"s","\u1d74":"s","\u1d8a":"s","\u023f":"s","\u0261":"g","\u1d11":"o","\u1d13":"o","\u1d1d":"u","\u0165":"t","\u0163":"t","\u1e71":"t","\u021b":"t","\u0236":"t","\u1e97":"t","\u2c66":"t","\u1e6b":"t","\u1e6d":"t","\u01ad":"t","\u1e6f":"t","\u1d75":"t","\u01ab":"t","\u0288":"t","\u0167":"t","\u1d7a":"th","\u0250":"a","\u1d02":"ae","\u01dd":"e","\u1d77":"g","\u0265":"h","\u02ae":"h","\u02af":"h","\u1d09":"i","\u029e":"k","\ua781":"l","\u026f":"m","\u0270":"m","\u1d14":"oe","\u0279":"r","\u027b":"r","\u027a":"r","\u2c79":"r","\u0287":"t","\u028c":"v","\u028d":"w","\u028e":"y","\ua729":"tz","\xfa":"u","\u016d":"u","\u01d4":"u","\xfb":"u","\u1e77":"u","\xfc":"u","\u01d8":"u","\u01da":"u","\u01dc":"u","\u01d6":"u","\u1e73":"u","\u1ee5":"u","\u0171":"u","\u0215":"u","\xf9":"u","\u1ee7":"u","\u01b0":"u","\u1ee9":"u","\u1ef1":"u","\u1eeb":"u","\u1eed":"u","\u1eef":"u","\u0217":"u","\u016b":"u","\u1e7b":"u","\u0173":"u","\u1d99":"u","\u016f":"u","\u0169":"u","\u1e79":"u","\u1e75":"u","\u1d6b":"ue","\ua778":"um","\u2c74":"v","\ua75f":"v","\u1e7f":"v","\u028b":"v","\u1d8c":"v","\u2c71":"v","\u1e7d":"v","\ua761":"vy","\u1e83":"w","\u0175":"w","\u1e85":"w","\u1e87":"w","\u1e89":"w","\u1e81":"w","\u2c73":"w","\u1e98":"w","\u1e8d":"x","\u1e8b":"x","\u1d8d":"x","\xfd":"y","\u0177":"y","\xff":"y","\u1e8f":"y","\u1ef5":"y","\u1ef3":"y","\u01b4":"y","\u1ef7":"y","\u1eff":"y","\u0233":"y","\u1e99":"y","\u024f"
1:"y","\u1ef9":"y","\u017a":"z","\u017e":"z","\u1e91":"z","\u0291":"z","\u2c6c":"z","\u017c":"z","\u1e93":"z","\u0225":"z","\u1e95":"z","\u1d76":"z","\u1d8e":"z","\u0290":"z","\u01b6":"z","\u0240":"z","\ufb00":"ff","\ufb03":"ffi","\ufb04":"ffl","\ufb01":"fi","\ufb02":"fl","\u0133":"ij","\u0153":"oe","\ufb06":"st","\u2090":"a","\u2091":"e","\u1d62":"i","\u2c7c":"j","\u2092":"o","\u1d63":"r","\u1d64":"u","\u1d65":"v","\u2093":"x"};class z{constructor(t,e=t,n=!1){this.item=t,this.value=e,this.header=n}isHeader(){return this.header}toString(){return this.value}}function G(t){return t?t.replace(/[^A-Za-z0-9[\] ]/g,function(t){return $[t]||t}):""}function W(t,e=" ",n="",s){let i=[];if(s){const r=t.split(new RegExp(`([${s}]+)`,"g")),o=r[r.length-1];o>""&&(e&&n?i=J(o,e,n):i.push(o))}else i=J(t,e,n);return i}function J(t,e,n){const s=[],i=t.split(new RegExp(`(?:[${n}])([^${n}]+)(?:[${n}])|([^${e}]+)`,"g")),r=i.length;let o;const a=new RegExp(`[${n}]+`,"g");for(let l=0;l<r;l+=1)o=i[l],o&&o.length&&o!==e&&s.push(o.replace(a,""));return s}function Q(t,e){if(!e||"object"!=typeof t)return t.toString();if(e.endsWith("()"))return t[e.slice(0,e.length-2)]().toString();const n=e.replace(/\[(\w+)\]/g,".$1").replace(/^\./,"").split(".");for(const s of n)s in t&&(t=t[s]);return t?t.toString():""}const K="220ms cubic-bezier(0, 0, 0.2, 1)",X=(0,h.X$)("typeaheadAnimation",[(0,h.SB)("animated-down",(0,h.oB)({height:"*",overflow:"hidden"})),(0,h.eR)("* => animated-down",[(0,h.oB)({height:0,overflow:"hidden"}),(0,h.jt)(K)]),(0,h.SB)("animated-up",(0,h.oB)({height:"*",overflow:"hidden"})),(0,h.eR)("* => animated-up",[(0,h.oB)({height:"*",overflow:"hidden"}),(0,h.jt)(K)]),(0,h.eR)("* => unanimated",(0,h.jt)("0s"))]);let tt=0,et=(()=>{class t{constructor(t,e,n,i){var r;this.positionService=t,this.renderer=e,this.element=n,this.changeDetectorRef=i,this.activeChangeEvent=ne
1w s.vpe,this.isFocused=!1,this.positionServiceSubscription=new l.w,this.height=0,this.popupId="ngb-typeahead-"+tt++,this._matches=[],this.renderer.setAttribute(this.element.nativeElement,"id",this.popupId),this.positionServiceSubscription.add(null===(r=this.positionService.event$)||void 0===r?void 0:r.subscribe(()=>{if(this.isAnimated)return this.animationState=this.isTopPosition?"animated-up":"animated-down",void this.changeDetectorRef.detectChanges();this.animationState="unanimated",this.changeDetectorRef.detectChanges()}))}get isBs4(){return!(0,i.XA)()}get typeaheadTemplateMethods(){return{selectMatch:this.selectMatch.bind(this),selectActive:this.selectActive.bind(this),isActive:this.isActive.bind(this)}}get active(){return this._active}set active(t){this._active=t,this.activeChanged()}get matches(){return this._matches}set matches(t){var e;if(this.positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition}},allowedPositions:["top","bottom"]}),this._matches=t,this.needScrollbar=this.typeaheadScrollable&&this.typeaheadOptionsInScrollableView<this.matches.length,this.typeaheadScrollable&&setTimeout(()=>{this.setScrollableMode()}),this.typeaheadIsFirstItemActive&&this._matches.length>0&&(this.setActive(this._matches[0]),(null===(e=this._active)||void 0===e?void 0:e.isHeader())&&this.nextActiveMatch()),this._active&&!this.typeaheadIsFirstItemActive){const t=this._matches.find(t=>{var e;return t.value===(null===(e=this._active)||void 0===e?void 0:e.value)});if(t)return void this.selectActive(t);this.active=void 0}}get isTopPosition(){return this.element.nativeElement.classList.contains("top")}get optionsListTemplate(){return this.parent?this.parent.optionsListTemplate:void 0}get isAnimated(){return!!this.parent&&this.parent.isAnimated}get adaptivePosition(){return!!this.parent&&this.parent.adaptivePosition}get typeaheadScrollable(){return!!this.parent&&this.parent.typeaheadScrollable}get typeaheadOptionsInScrollableView(){return this.parent?this.parent.typeaheadOptionsInScrollableView:5}get typeaheadIsFirstItemActive(){return!this.parent||this.parent.typeaheadIsFirstItemActive}get itemTemplate(){return this.parent?this.parent.typeaheadItemTemplate:void 0}selectActiveMatch(t){var e,n;this._active&&(null===(e=this.parent)||void 0===e?void 0:e.typeaheadSelectFirstItem)&&this.selectMatch(this._active),!(null===(n=this.parent)||void 0===n?void 0:n.typeaheadSelectFirstItem)&&t&&this.selectMatch(this._active)}activeChanged(){if(!this._active)return;const t=this.matches.indexOf(this._active);this.activeChangeEvent.emit(`${this.popupId}-${t}`)}prevActiveMatch(){if(!this._active)return;const t=this.matches.indexOf(this._active);this.setActive(this.matches[t-1<0?this.matches.length-1:t-1]),this._active.isHeader()&&this.prevActiveMatch(),this.typeaheadScrollable&&this.scrollPrevious(t)}nextActiveMatch(){var t;const e=this._active?this.matches.indexOf(this._active):-1;this.setActive(this.matches[e+1>this.matches.length-1?0:e+1]),(null===(t=this._active)||void 0===t?void 0:t.isHeader())&&this.nextActiveMatch(),this.typeaheadScrollable&&this.scrollNext(e)}selectActive(t){this.isFocused=!0,this.setActive(t)}highlight(t,e){let n,s,i=t.value,r=(this.parent&&this.parent.typeaheadLatinize?G(i):i).toLowerCase();if("object"==typeof e){const t=e.length;for(let o=0;o<t;o+=1)n=r.indexOf(e[o]),s=e[o].length,n>=0&&s>0&&(i=`${i.substring(0,n)}<strong>${i.substring(n,n+s)}</strong>${i.substring(n+s)}`,r=`${r.substring(0,n)} ${" ".repeat(s)} ${r.substring(n+s)}`)}else e&&(n=r.indexOf(e),s=e.length,n>=0&&s>0&&(i=`${i.substring(0,n)}<strong>${i.substring(n,n+s)}</strong>${i.substring(n+s)}`));return i}focusLost(){this.isFocused=!1,this.setActive(void 0)}isActive(t){return this.active===t}selectMatch(t,e){var n;return e&&(e.stopPropagation(),e.preventDefault()),null===(n=this.parent)||void 0===n||n.changeModel(t),setTimeout(()=>{var e;return null===(e=this.parent)||void 0===e?void 0:e.typeaheadOnSelect.emit(t)},0),!1}setScrollableMode(){var t;if(this.ulElement||(this.ulElement=this.element),null===(t=this.liElements)||void 0===t?void 0:t.first){const t=i.cQ.getStyles(this.ulElement.nativeElement),e=i.cQ.getStyles(this.liElements.first.
1nativeElement),n=parseFloat((t["padding-bottom"]?t["padding-bottom"]:"").replace("px","")),s=parseFloat((t["padding-top"]?t["padding-top"]:"0").replace("px","")),r=parseFloat((e.height?e.height:"0").replace("px",""));this.guiHeight=`${this.typeaheadOptionsInScrollableView*r+s+n}px`}this.renderer.setStyle(this.element.nativeElement,"visibility","visible")}scrollPrevious(t){if(0!==t){if(this.liElements&&this.ulElement){const e=this.liElements.toArray()[t-1];e&&!this.isScrolledIntoView(e.nativeElement)&&(this.ulElement.nativeElement.scrollTop=e.nativeElement.offsetTop)}}else this.scrollToBottom()}scrollNext(t){if(t+1>this.matches.length-1)this.scrollToTop();else if(this.liElements&&this.ulElement){const e=this.liElements.toArray()[t+1];e&&!this.isScrolledIntoView(e.nativeElement)&&(this.ulElement.nativeElement.scrollTop=e.nativeElement.offsetTop-Number(this.ulElement.nativeElement.offsetHeight)+Number(e.nativeElement.offsetHeight))}}ngOnDestroy(){this.positionServiceSubscription.unsubscribe()}setActive(t){var e;let n;this._active=t,null==this._active||this._active.isHeader()||(n=t),null===(e=this.parent)||void 0===e||e.typeaheadOnPreview.emit(n)}isScrolledIntoView(t){if(!this.ulElement)return!1;const e=this.ulElement.nativeElement.scrollTop,n=e+Number(this.ulElement.nativeElement.offsetHeight),s=t.offsetTop;return s+t.offsetHeight<=n&&s>=e}scrollToBottom(){var t;(null===(t=this.ulElement)||void 0===t?void 0:t.nativeElement)&&(this.ulElement.nativeElement.scrollTop=this.ulElement.nativeElement.scrollHeight)}scrollToTop(){var t;(null===(t=this.ulElement)||void 0===t?void 0:t.nativeElement)&&(this.ulElement.nativeElement.scrollTop=0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(r.sA),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["typeahead-container"]],viewQuery:function(t,e){if(1&t&&(s.Gf(O,5),s.Gf(M,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.ulElement=t.first),s.iGM(t=s.CRH())&&(e.liElements=t)}},hostAttrs:[1,"dropdown","open","bottom",2,"position","absolute","display","block"],hostVars:9,hostBindings:function(t,e){1&t&&s.NdJ("mouseleave",function(){return e.focusLost()})("blur",function(){return e.focusLost()}),2&t&&(s.uIk("role",e.isBs4?"listbox":null),s.Udp("height",e.isBs4&&e.needScrollbar?e.guiHeight:"auto")("visibility","inherit"),s.ekj("dropdown-menu",e.isBs4)("dropup",e.dropup))},outputs:{activeChangeEvent:"activeChange"},decls:7,vars:7,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"],["bsItemTemplate",""],["bs3Template",""],["bs4Template",""],[3,"innerHtml"],["role","listbox",1,"dropdown-menu"],["ulElement",""],["ngFor","",3,"ngForOf"],["class","dropdown-header",4,"ngIf"],["role","option",3,"id","active","mouseenter",4,"ngIf"],[1,"dropdown-header"],["liElements",""],["role","option",3,"id","mouseenter"],["href","#","tabindex","-1",3,"click"],[3,"ngIf"],["role","option",1,"dropdown-item",3,"id","click","mouseenter"]],template:function(t,e){if(1&t&&(s.YNc(0,R,0,0,"ng-template",0),s.YNc(1,I,1,1,"ng-template",null,1,s.W1O),s.YNc(3,V,3,5,"ng-template",null,2,s.W1O),s.YNc(5,q,1,1,"ng-template",null,3,s.W1O)),2&t){const t=s.MAs(2),n=s.MAs(4),i=s.MAs(6);s.Q6J("ngTemplateOutlet",e.optionsListTemplate||(e.isBs4?i:n))("ngTemplateOutletContext",s.l5B(2,Z,e.matches,e.itemTemplate||t,e.query,e.typeaheadTemplateMethods))}},directives:[D.tP,D.sg,D.O5],styles:[".dropdown[_nghost-%COMP%] {\n z-index: 1000;\n }\n\n .dropdown-menu[_nghost-%COMP%], .dropdown-menu[_ngcontent-%COMP%] {\n overflow-y: auto;\n height: 100px;\n }"],data:{animation:[X]}}),t})(),nt=(()=>{class t{constructor(){this.adaptivePosition=!1,this.isAnimated=!1,this.hideResultsOnBlur=!0,this.cancelRequestOnFocusLost=!1,this.selectFirstItem=!0,this.isFirstItemActive=!0,this.minLength=1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),st=(()=>{class t{constructor(t,e,n,i,r,o,a){this.changeDetection=n,this.element=i,this.ngControl=r,this.renderer=o,this.typeaheadMinLength=1,this.adaptivePosition=!1,this.isAnimated=!1,this.typeaheadWaitMs=0,this.typeaheadLatinize=!0,this.typeaheadSingleWords=!0,this.typeaheadWordDelimiters=" ",this.typeaheadMultipleSearchDelimiters=",",this.typeaheadPhraseDelimiters="'\"",this.typeaheadScrollable=!1,this.typeaheadOptionsInScrollableView=5,this.typeaheadSelectFirstItem=!0,this.typeaheadIsFirstItemActive=!0,this.typeaheadLoading=new s.vpe,this.typeaheadNoResults=new s.vpe,this.typeaheadOnSelect=new s.vpe,this.typeaheadOnPreview=new s.vpe,this.typeaheadOnBlur=new s.vpe,this.dropup=!1,this.isOpen=!1,this.list="list",this.isActiveItem
1Changed=!1,this.isFocused=!1,this.cancelRequestOnFocusLost=!1,this.keyUpEventEmitter=new s.vpe,this.placement="bottom left",this._matches=[],this._subscriptions=[],this._outsideClickListener=()=>{},this._typeahead=t.createLoader(i,a,o).provide({provide:nt,useValue:e}),Object.assign(this,{typeaheadHideResultsOnBlur:e.hideResultsOnBlur,cancelRequestOnFocusLost:e.cancelRequestOnFocusLost,typeaheadSelectFirstItem:e.selectFirstItem,typeaheadIsFirstItemActive:e.isFirstItemActive,typeaheadMinLength:e.minLength,adaptivePosition:e.adaptivePosition,isAnimated:e.isAnimated})}get matches(){return this._matches}ngOnInit(){this.typeaheadOptionsLimit=this.typeaheadOptionsLimit||20,this.typeaheadMinLength=void 0===this.typeaheadMinLength?1:this.typeaheadMinLength,void 0!==this.typeaheadAsync||a(this.typeahead)||(this.typeaheadAsync=!1),a(this.typeahead)&&(this.typeaheadAsync=!0),this.typeaheadAsync?this.asyncActions():this.syncActions(),this.checkDelimitersConflict()}onInput(t){const e=void 0!==t.target.value?t.target.value:void 0!==t.target.textContent?t.target.textContent:t.target.innerText;null!=e&&e.trim().length>=this.typeaheadMinLength?(this.typeaheadLoading.emit(!0),this.keyUpEventEmitter.emit(t.target.value)):(this.typeaheadLoading.emit(!1),this.typeaheadNoResults.emit(!1),this.hide())}onChange(t){if(this._container){if(27===t.keyCode||"Escape"===t.key)return void this.hide();if(38===t.keyCode||"ArrowUp"===t.key)return this.isActiveItemChanged=!0,void this._container.prevActiveMatch();if(40===t.keyCode||"ArrowDown"===t.key)return this.isActiveItemChanged=!0,void this._container.nextActiveMatch();if(13===t.keyCode||"Enter"===t.key)return void this._container.selectActiveMatch()}}onFocus(){this.isFocused=!0,setTimeout(()=>{0===this.typeaheadMinLength&&(this.typeaheadLoading.emit(!0),this.keyUpEventEmitter.emit(this.element.nativeElement.value||""))},0)}onBlur(){var t;this.isFocused=!1,this._container&&!this._container.isFocused&&this.typeaheadOnBlur.emit(this._container.active),this.container||0!==(null===(t=this._matches)||void 0===t?void 0:t.length)||this.typeaheadOnBlur.emit(new z(this.element.nativeElement.value,this.element.nativeElement.value,!1))}onKeydown(t){if(this._container&&(9!==t.keyCode&&"Tab"!==t.key||this.onBlur(),9===t.keyCode||"Tab"===t.key||13===t.keyCode||"Enter"===t.key)){if(t.preventDefault(),this.typeaheadSelectFirstItem)return void this._container.selectActiveMatch();this.typeaheadSelectFirstItem||(this._container.selectActiveMatch(this.isActiveItemChanged),this.isActiveItemChanged=!1,this.hide())}}changeModel(t){var e;if(!t)return;let n;if(this.typeaheadMultipleSearch&&this._allEnteredValue){const e=this._allEnteredValue.split(new RegExp(`([${this.typeaheadMultipleSearchDelimiters}]+)`));this._allEnteredValue=e.slice(0,e.length-1).concat(t.value).join(""),n=this._allEnteredValue}else n=t.value;this.ngControl.viewToModelUpdate(n),null===(e=this.ngControl.control)||void 0===e||e.setValue(n),this.changeDetection.markForCheck(),this.hide()}show(){if(this._typeahead.attach(et).to(this.container).position({attachment:(this.dropup?"top":"bottom")+" left"}).show({typeaheadRef:this,placement:this.placement,animation:!1,dropup:this.dropup}),this._outsideClickListener=this.renderer.listen("document","click",t=>{0===this.typeaheadMinLength&&this.element.nativeElement.contains(t.target)||this.typeaheadHideResultsOnBlur&&!this.element.nativeElement.contains(t.target)&&this.onOutsideClick()}),!this._typeahead.instance||!this.ngControl.control)return;this._container=this._typeahead.instance,this._container.parent=this;const t=(this.typeaheadLatinize?G(this.ngControl.control.value):this.ngControl.control.value).toString().toLowerCase();this._container.query=this.tokenizeQuery(t),this._container.matches=this._matches,this.element.nativeElement.focus(),this._container.activeChangeEvent.subscribe(t=>{this.activeDescendant=t,this.changeDetection.markForCheck()}),this.isOpen=!0}hide(){this._typeahead.isShown&&(this._typeahead.hide(),this._outsideClickListener(),this._container=void 0,this.isOpen=!1,this.changeDetection.markForCheck()),this.typeaheadOnPreview.emit()}onOutsideClick(){this._container&&!this._container.isFocused&&this.hide()}ngOnDestroy(){for(const t of this._subscriptions)t.unsubscribe();this._typeahead.dispose()}asyncActions(){this._subscriptions.push(this.keyUpEventEmitter.pipe(m(this.typeaheadWaitMs),(0,k.b)(t=>this._allEnteredValue=t),(0,T.w)(()=>
1this.typeahead?this.typeahead:c.E)).subscribe(t=>{this.finalizeAsyncCall(t)}))}syncActions(){this._subscriptions.push(this.keyUpEventEmitter.pipe(m(this.typeaheadWaitMs),(0,E.zg)(t=>{this._allEnteredValue=t;const e=this.normalizeQuery(t);return this.typeahead?(a(this.typeahead)?this.typeahead:(0,u.D)(this.typeahead)).pipe((0,x.h)(t=>!!t&&this.testMatch(this.normalizeOption(t),e)),function(t,e){return arguments.length>=2?function(n){return(0,C.z)((0,v.R)(t,e),(0,b.h)(1),(0,w.d)(e))(n)}:function(e){return(0,C.z)((0,v.R)((e,n,s)=>t(e,n,s+1)),(0,b.h)(1))(e)}}(S,[])):c.E})).subscribe(t=>{this.finalizeAsyncCall(t)}))}normalizeOption(t){const e=Q(t,this.typeaheadOptionField);return(this.typeaheadLatinize?G(e):e).toLowerCase()}tokenizeQuery(t){let e=t;return this.typeaheadMultipleSearch&&this.typeaheadSingleWords?this.haveCommonCharacters(`${this.typeaheadPhraseDelimiters}${this.typeaheadWordDelimiters}`,this.typeaheadMultipleSearchDelimiters)||(e=W(e,this.typeaheadWordDelimiters,this.typeaheadPhraseDelimiters,this.typeaheadMultipleSearchDelimiters)):e=this.typeaheadSingleWords?W(e,this.typeaheadWordDelimiters,this.typeaheadPhraseDelimiters):W(e,void 0,void 0,this.typeaheadMultipleSearchDelimiters),e}normalizeQuery(t){let e=(this.typeaheadLatinize?G(t):t).toString().toLowerCase();return e=this.tokenizeQuery(e),e}testMatch(t,e){let n;if("object"==typeof e){n=e.length;for(let s=0;s<n;s+=1)if(e[s].length>0&&t.indexOf(e[s])<0)return!1;return!0}return t.indexOf(e)>=0}finalizeAsyncCall(t){if(this.prepareMatches(t||[]),this.typeaheadLoading.emit(!1),this.typeaheadNoResults.emit(!this.hasMatches()),this.hasMatches()){if(this.isFocused||!this.cancelRequestOnFocusLost)if(this._container&&this.ngControl.control){const t=((this.typeaheadLatinize?G(this.ngControl.control.value):this.ngControl.control.value)||"").toString().toLowerCase();this._container.query=this.tokenizeQuery(t),this._container.matches=this._matches}else this.show()}else this.hide()}prepareMatches(t){const e=t.slice(0,this.typeaheadOptionsLimit),n=this.typeaheadOrderBy?this.orderMatches(e):e;if(this.typeaheadGroupField){let t=[];n.map(t=>Q(t,this.typeaheadGroupField)).filter((t,e,n)=>n.indexOf(t)===e).forEach(e=>{t.push(new z(e,e,!0)),t=t.concat(n.filter(t=>Q(t,this.typeaheadGroupField)===e).map(t=>new z(t,Q(t,this.typeaheadOptionField))))}),this._matches=t}else this._matches=n.map(t=>new z(t,Q(t,this.typeaheadOptionField)))}orderMatches(t){if(!t.length)return t;if(null!=this.typeaheadOrderBy&&"object"==typeof this.typeaheadOrderBy&&0===Object.keys(this.typeaheadOrderBy).length)return console.error("Field and direction properties for typeaheadOrderBy have to be set according to documentation!"),t;const{field:e,direction:n}=this.typeaheadOrderBy||{};return!n||"asc"!==n&&"desc"!==n?(console.error('typeaheadOrderBy direction has to equal "asc" or "desc". Please follow the documentation.'),t):"string"==typeof t[0]?"asc"===n?t.sort():t.sort().reverse():e&&"string"==typeof e?t.sort((t,s)=>{const i=Q(t,e),r=Q(s,e);return i<r?"asc"===n?-1:1:i>r?"asc"===n?1:-1:0}):(console.error("typeaheadOrderBy field has to set according to the documentation."),t)}hasMatches(){return this._matches.length>0}checkDelimitersConflict(){if(this.typeaheadMultipleSearch&&this.typeaheadSingleWords&&this.haveCommonCharacters(`${this.typeaheadPhraseDelimiters}${this.typeaheadWordDelimiters}`,this.typeaheadMultipleSearchDelimiters))throw new Error(`Delimiters used in typeaheadMultipleSearchDelimiters must be different\n from delimiters used in typeaheadWordDelimiters (current value: ${this.typeaheadWordDelimiters}) and\n typeaheadPhraseDelimiters (current value: ${this.typeaheadPhraseDelimiters}).\n Please refer to the documentation`)}haveCommonCharacters(t,e){for(let n=0;n<t.length;n++)if(t.charAt(n).indexOf(e)>-1)return!0;return!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(d.oj),s.Y36(nt),s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(A.a5),s.Y36(s.Qsj),s.Y36(s.s_b))},t.\u0275dir=s.lG2({type:t,selectors:[["","typeahead",""]],hostVars:4,hostBindings:function(t,e){1&t&&s.NdJ("input",function(t){return e.onInput(t)})("keyup",function(t){return e.onChange(t)}
1)("click",function(){return e.onFocus()})("focus",function(){return e.onFocus()})("blur",function(){return e.onBlur()})("keydown",function(t){return e.onKeydown(t)}),2&t&&s.uIk("aria-activedescendant",e.activeDescendant)("aria-owns",e.isOpen?e._container.popupId:null)("aria-expanded",e.isOpen)("aria-autocomplete",e.list)},inputs:{typeaheadMinLength:"typeaheadMinLength",adaptivePosition:"adaptivePosition",isAnimated:"isAnimated",typeaheadWaitMs:"typeaheadWaitMs",typeaheadLatinize:"typeaheadLatinize",typeaheadSingleWords:"typeaheadSingleWords",typeaheadWordDelimiters:"typeaheadWordDelimiters",typeaheadMultipleSearchDelimiters:"typeaheadMultipleSearchDelimiters",typeaheadPhraseDelimiters:"typeaheadPhraseDelimiters",typeaheadScrollable:"typeaheadScrollable",typeaheadOptionsInScrollableView:"typeaheadOptionsInScrollableView",typeaheadSelectFirstItem:"typeaheadSelectFirstItem",typeaheadIsFirstItemActive:"typeaheadIsFirstItemActive",dropup:"dropup",typeaheadOptionsLimit:"typeaheadOptionsLimit",typeaheadAsync:"typeaheadAsync",typeahead:"typeahead",typeaheadOptionField:"typeaheadOptionField",typeaheadGroupField:"typeaheadGroupField",typeaheadOrderBy:"typeaheadOrderBy",typeaheadMultipleSearch:"typeaheadMultipleSearch",typeaheadItemTemplate:"typeaheadItemTemplate",optionsListTemplate:"optionsListTemplate",typeaheadHideResultsOnBlur:"typeaheadHideResultsOnBlur",container:"container"},outputs:{typeaheadLoading:"typeaheadLoading",typeaheadNoResults:"typeaheadNoResults",typeaheadOnSelect:"typeaheadOnSelect",typeaheadOnPreview:"typeaheadOnPreview",typeaheadOnBlur:"typeaheadOnBlur"},exportAs:["bs-typeahead"]}),t})(),it=(()=>{class t{static forRoot(){return{ngModule:t,providers:[d.oj,r.sA]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[D.ez]]}),t})()},1103:(t,e,n)=>{"use strict";n.d(e,{GU:()=>y,cQ:()=>v,tj:()=>h,Wl:()=>_,XA:()=>m,wo:()=>a,AL:()=>o,C:()=>c,Rg:()=>l,O4:()=>C,u9:()=>u});var s=n(3018);class i{constructor(t,e){this.open=t,this.close=e||t}isManual(){return"manual"===this.open||"manual"===this.close}}const r={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function o(t,e=r){const n=(t||"").trim();if(0===n.length)return[];const s=n.split(/\s+/).map(t=>t.split(":")).map(t=>{const n=e[t[0]]||t;return new i(n[0],n[1])}),o=s.filter(t=>t.isManual());if(o.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===o.length&&s.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return s}function a(t,e){const n=o(e.triggers),s=e.target;if(1===n.length&&n[0].isManual())return Function.prototype;const i=[],r=[],a=()=>{r.forEach(t=>i.push(t())),r.length=0};return n.forEach(n=>{const o=n.open===n.close,l=o?e.toggle:e.show;if(!o&&n.close&&e.hide){const i=t.listen(s,n.close,e.hide);r.push(()=>i)}l&&i.push(t.listen(s,n.open,()=>l(a)))}),()=>{i.forEach(t=>t())}}function l(t,e){return e.outsideClick?t.listen("document","click",t=>{e.target&&e.target.contains(t.target)||e.targets&&e.targets.some(e=>e.contains(t.target))||e.hide&&e.hide()}):Function.prototype}function c(t,e){return e.outsideEsc?t.listen("document","keyup.esc",t=>{e.target&&e.target.contains(t.target)||e.targets&&e.targets.some(e=>e.contains(t.target))||e.hide&&e.hide()}):Function.prototype}const u="undefined"!=typeof window&&window||{},h=u.document;var d=(()=>(function(t){t.isBs3="bs3",t.isBs4="bs4",t.isBs5="bs5"}(d||(d={})),d))();let p;function f(){if(void 0===u.document)return"bs4";const t=u.document.createElement("span");t.innerText="testing bs version",t.classList.add("d-none"),t.classList.add("visually-hidden"),u.document.head.appendChild(t);const e=t.getBoundingClientRect(),n=u.getComputedStyle(t).overflow;return u.document.head.removeChild(t),!e||e&&0!==e.top?"bs3":n&&"hidden"===n?"bs5":"bs4"}function m(){return void 0===u||(void 0===u.__theme?(p||(p=f()),"bs3"===p):"bs3"===u.__theme)}function g(){return!m()&&(p||(p=f()),"bs4"===p)}function _(){return{isBs3:m(),isBs4:g(),isBs5:!m()&&!g()&&(p||(p=f()),"bs5"===p)}}function y(){const t="Change";return function(e,n){const s=` __${n}Value`;Object.defineProperty(e,n,{get(){return this[s]},set(e){const i=this[s];
1this[s]=e,i!==e&&this[n+t]&&this[n+t].emit(e)}})}}class v{static reflow(t){}static getStyles(t){let e=t.ownerDocument.defaultView;return e&&e.opener||(e=u),e.getComputedStyle(t)}static stackOverflowConfig(){const t=function(){const t=_(),e=Object.keys(t).find(e=>t[e]);return d[e]}();return{crossorigin:"bs3"!==t?"anonymous":void 0,integrity:"bs5"===t?"sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We":"bs4"===t?"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2":void 0,cdnLink:"bs5"===t?"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css":"bs4"===t?"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css":"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"}}}const b={},w="undefined"==typeof console||!("warn"in console);function C(t){!(0,s.X6Q)()||w||t in b||(b[t]=!0,console.warn(t))}},9344:(t,e,n)=>{"use strict";n.d(e,{Rh:()=>P,_W:()=>M});var s=n(3018),i=n(7238),r=n(7709),o=n(9075),a=n(8583);const l=["toast-component",""];function c(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",5),s.NdJ("click",function(){return s.CHM(t),s.oxw().remove()}),s.TgZ(1,"span",6),s._uU(2,"\xd7"),s.qZA(),s.qZA()}}function u(t,e){if(1&t&&(s.ynx(0),s._uU(1),s.BQk()),2&t){const t=s.oxw(2);s.xp6(1),s.hij("[",t.duplicatesCount+1,"]")}}function h(t,e){if(1&t&&(s.TgZ(0,"div"),s._uU(1),s.YNc(2,u,2,1,"ng-container",4),s.qZA()),2&t){const t=s.oxw();s.Tol(t.options.titleClass),s.uIk("aria-label",t.title),s.xp6(1),s.hij(" ",t.title," "),s.xp6(1),s.Q6J("ngIf",t.duplicatesCount)}}function d(t,e){if(1&t&&s._UZ(0,"div",7),2&t){const t=s.oxw();s.Tol(t.options.messageClass),s.Q6J("innerHTML",t.message,s.oJD)}}function p(t,e){if(1&t&&(s.TgZ(0,"div",8),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.Tol(t.options.messageClass),s.uIk("aria-label",t.message),s.xp6(1),s.hij(" ",t.message," ")}}function f(t,e){if(1&t&&(s.TgZ(0,"div"),s._UZ(1,"div",9),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Udp("width",t.width+"%")}}function m(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",5),s.NdJ("click",function(){return s.CHM(t),s.oxw().remove()}),s.TgZ(1,"span",6),s._uU(2,"\xd7"),s.qZA(),s.qZA()}}function g(t,e){if(1&t&&(s.ynx(0),s._uU(1),s.BQk()),2&t){const t=s.oxw(2);s.xp6(1),s.hij("[",t.duplicatesCount+1,"]")}}function _(t,e){if(1&t&&(s.TgZ(0,"div"),s._uU(1),s.YNc(2,g,2,1,"ng-container",4),s.qZA()),2&t){const t=s.oxw();s.Tol(t.options.titleClass),s.uIk("aria-label",t.title),s.xp6(1),s.hij(" ",t.title," "),s.xp6(1),s.Q6J("ngIf",t.duplicatesCount)}}function y(t,e){if(1&t&&s._UZ(0,"div",7),2&t){const t=s.oxw();s.Tol(t.options.messageClass),s.Q6J("innerHTML",t.message,s.oJD)}}function v(t,e){if(1&t&&(s.TgZ(0,"div",8),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.Tol(t.options.messageClass),s.uIk("aria-label",t.message),s.xp6(1),s.hij(" ",t.message," ")}}function b(t,e){if(1&t&&(s.TgZ(0,"div"),s._UZ(1,"div",9),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Udp("width",t.width+"%")}}class w{constructor(t,e,n,s,i,o){this.toastId=t,this.config=e,this.message=n,this.title=s,this.toastType=i,this.toastRef=o,this._onTap=new r.xQ,this._onAction=new r.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(t){this._onAction.next(t)}onAction(){return this._onAction.asObservable()}}const C={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 s.OlP("ToastConfig");class k{constructor(t,e){this.component=t,this.injector=e}attach(t,e){return this._attachedHost=t,t.attach(this,e)}detach(){const t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class T extends class{attach(t,e){return this._attachedPortal=t,this.attachComponentPortal(t,e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(t){this._disposeFn=t}}{constructor(t,e,n){super(),this._hostDomElement=t,this._componentFactoryResolver=e,this._appRef=n}attachComponentPortal(t,e){const n=this._componentFactoryResolver.resolve
1ComponentFactory(t.component);let s;return s=n.create(t.injector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(s),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(s)),s}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let E=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),this._document.body.appendChild(t),this._containerElement=t}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})();class x{constructor(t){this._portalHost=t}attach(t,e=!0){return this._portalHost.attach(t,e)}detach(){return this._portalHost.detach()}}let D=(()=>{class t{constructor(t,e,n,s){this._overlayContainer=t,this._componentFactoryResolver=e,this._appRef=n,this._document=s,this._paneElements=new Map}create(t,e){return this._createOverlayRef(this.getPaneElement(t,e))}getPaneElement(t="",e){return this._paneElements.get(e)||this._paneElements.set(e,{}),this._paneElements.get(e)[t]||(this._paneElements.get(e)[t]=this._createPaneElement(t,e)),this._paneElements.get(e)[t]}_createPaneElement(t,e){const n=this._document.createElement("div");return n.id="toast-container",n.classList.add(t),n.classList.add("toast-container"),e?e.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(t){return new T(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new x(this._createPortalHost(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(E),s.LFG(s._Vd),s.LFG(s.z2F),s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(E),s.LFG(s._Vd),s.LFG(s.z2F),s.LFG(a.K0))},token:t,providedIn:"root"}),t})();class A{constructor(t){this._overlayRef=t,this.duplicatesCount=0,this._afterClosed=new r.xQ,this._activate=new r.xQ,this._manualClose=new r.xQ,this._resetTimeout=new r.xQ,this._countDuplicate=new r.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(t,e){t&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)}}class O{constructor(t,e){this._toastPackage=t,this._parentInjector=e}get(t,e,n){return t===w?this._toastPackage:this._parentInjector.get(t,e,n)}}let M=(()=>{class t{constructor(t,e,n,s,i){this.overlay=e,this._injector=n,this.sanitizer=s,this.ngZone=i,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},t.default.iconClasses),t.config.iconClasses))}show(t,e,n={},s=""){return this._preBuildNotification(s,t,e,this.applyConfig(n))}success(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,e,this.applyConfig(n))}error(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,e,this.applyConfig(n))}info(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,e,this.applyConfig(n))}warning(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,e,this.applyConfig(n))}clear(t){for(const e of this.toasts)if(void 0!==t){if(e.toastId===t)return void e.toastRef.manualClose()}else e.toastRef.manualClose()}remove(t){const e=this._findToast(t);if(!e)return!1;if(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const t=this.toasts[this.currentlyActive].toastRef;t.isInactive()||(this.currentlyActive=this.currentlyActive+1,t.activate())}return!0}findDuplicate(t="",e="",n,s){const{includeTitleDuplicates:i}=this.toastrConfig;for(const r of this.toasts){const o=i&&r.title===t;if((!i||o)&&r.message===e)return r.toastRef.onDuplicate(n,s),r}return null}applyConfig(t={}){return Object.assign(Object.assign({},this.toastrConfig),t)}_findToast(t){for(let e=0;e<this.toasts.length;e++)if(this.toasts[e].toastId===t)return{index:e,activeToast:this.toasts[e]};return null}_preBuildNotification(t,e,n,s){return s.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,e,n,s)):this._buildNotification(t,e,n,s)}_buildNotification(t,e,n,i){if(!i.toastComponent)throw new Error("toastComponent required");const r=this.findDuplicate(n,e,this.toastrConfig.resetTimeoutOnDuplicate&&i.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&n||e)&&this.toastrConfig.preventDuplicates&&null!==r)return r;this.previousToastMessage=e;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(i.positionClass,this.overlayContainer);this.index=this.index+1;let l=e;e&&i.enableHtml&&(l=this.sanitizer.sanitize(s.q3G.HTML,e));const c=new A(a),u=new w(this.index,i,l,n,t,c),h=new O(u,this._injector),d=new k(i.toastComponent,h),p=a.attach(d,this.toastrConfig.newestOnTop);c.componentInstance=p.instance;const f={toastId:this.index,title:n||"",message:e||"",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}}
1return t.\u0275fac=function(e){return new(e||t)(s.LFG(S),s.LFG(D),s.LFG(s.zs3),s.LFG(o.H7),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(S),s.LFG(D),s.LFG(s.gxx),s.LFG(o.H7),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})(),R=(()=>{class t{constructor(t,e,n){this.toastrService=t,this.toastPackage=e,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(t=>{this.duplicatesCount=t})}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 t=(new Date).getTime();this.width=(this.hideTime-t)/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(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),e)):this.timeout=setTimeout(()=>t(),e)}outsideInterval(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),e)):this.intervalId=setInterval(()=>t(),e)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(M),s.Y36(w),s.Y36(s.R0b))},t.\u0275cmp=s.Xpm({type:t,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.tapToast()})("mouseenter",function(){return e.stickAround()})("mouseleave",function(){return e.delayedHideToast()}),2&t&&(s.d8E("@flyInOut",e.state),s.Tol(e.toastClasses),s.Udp("display",e.displayStyle))},attrs:l,decls:5,vars:5,consts:[["type","button","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"],["type","button","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(t,e){1&t&&(s.YNc(0,c,3,0,"button",0),s.YNc(1,h,3,5,"div",1),s.YNc(2,d,1,3,"div",2),s.YNc(3,p,2,4,"div",3),s.YNc(4,f,2,2,"div",4)),2&t&&(s.Q6J("ngIf",e.options.closeButton),s.xp6(1),s.Q6J("ngIf",e.title),s.xp6(1),s.Q6J("ngIf",e.message&&e.options.enableHtml),s.xp6(1),s.Q6J("ngIf",e.message&&!e.options.enableHtml),s.xp6(1),s.Q6J("ngIf",e.options.progressBar))},directives:[a.O5],encapsulation:2,data:{animation:[(0,i.X$)("flyInOut",[(0,i.SB)("inactive",(0,i.oB)({opacity:0}
1)),(0,i.SB)("active",(0,i.oB)({opacity:1})),(0,i.SB)("removed",(0,i.oB)({opacity:0})),(0,i.eR)("inactive => active",(0,i.jt)("{{ easeTime }}ms {{ easing }}")),(0,i.eR)("active => removed",(0,i.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),t})();const I=Object.assign(Object.assign({},C),{toastComponent:R});let P=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[{provide:S,useValue:{default:I,config:e}}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[a.ez]]}),t})(),F=(()=>{class t{constructor(t,e,n){this.toastrService=t,this.toastPackage=e,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(t=>{this.duplicatesCount=t})}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 t=(new Date).getTime();this.width=(this.hideTime-t)/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 t.\u0275fac=function(e){return new(e||t)(s.Y36(M),s.Y36(w),s.Y36(s.z2F))},t.\u0275cmp=s.Xpm({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.tapToast()})("mouseenter",function(){return e.stickAround()})("mouseleave",function(){return e.delayedHideToast()}),2&t&&(s.Tol(e.toastClasses),s.Udp("display",e.displayStyle))},attrs:l,decls:5,vars:5,consts:[["type","button","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"],["type","button","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(t,e){1&t&&(s.YNc(0,m,3,0,"button",0),s.YNc(1,_,3,5,"div",1),s.YNc(2,y,1,3,"div",2),s.YNc(3,v,2,4,"div",3),s.YNc(4,b,2,2,"div",4)),2&t&&(s.Q6J("ngIf",e.options.closeButton),s.xp6(1),s.Q6J("ngIf",e.title),s.xp6(1),s.Q6J("ngIf",e.message&&e.options.enableHtml),s.xp6(1),s.Q6J("ngIf",e.message&&!e.options.enableHtml),s.xp6(1),s.Q6J("ngIf",e.options.progressBar))},directives:[a.O5],encapsulation:2}),t})();Object.assign(Object.assign({},C),{toastComponent:F})},6215:(t,e,n)=>{"use strict";n.d(e,{X:()=>r});var s=n(7709),i=n(7971);class r extends s.xQ{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.N;return this._value}next(t){super.next(this._value=t)}}},8891:(t,e,n)=>{"use strict";n.d(e,{y:()=>c});var s=n(7393),i=n(9181),r=n(6490),o=n(6554),a=n(4022),l=n(2494);let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof s.L)return t;if(t[i.b])return t[i.b]()}return t||e||n?new s.L(t,e,n):new s.L(r.c)}(t,e,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(t){try{return this._subscribe(t)}catch(e){l.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:i}=t;if(e||i)return!1;t=n&&n instanceof s.L?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let s;s=this.subscribe(e=>{try{t(e)}catch(i){n(i),s&&s.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.L](){return this}pipe(...t){return 0===t.length?this:(0,a.U)(t)(this)}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},6490:(t,e,n)=>{"use strict";n.d(e,{c:()=>r});var s=n(2494),i=n(4449);const r={closed:!0,next(t){},error(t){if(s.v.useDeprecatedSynchronousErrorHandling)throw t;(0,i.z)(t)},complete(){}}},7709:(t,e,n)=>{"use strict";n.d(e,{xQ:()=>u,Yc:()=>c});var s=n(8891),i=n(7393),r=n(5319),o=n(7971);class a extends r.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}
1unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}var l=n(9181);class c extends i.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends s.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:e}=this,n=e.length,s=e.slice();for(let i=0;i<n;i++)s[i].next(t)}}error(t){if(this.closed)throw new o.N;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,s=e.slice();for(let i=0;i<n;i++)s[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.N;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let s=0;s<e;s++)n[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.N;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.N;return this.hasError?(t.error(this.thrownError),r.w.EMPTY):this.isStopped?(t.complete(),r.w.EMPTY):(this.observers.push(t),new a(this,t))}asObservable(){const t=new s.y;return t.source=this,t}}return t.create=(t,e)=>new h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.w.EMPTY}}},7393:(t,e,n)=>{"use strict";n.d(e,{L:()=>c});var s=n(9105),i=n(6490),r=n(5319),o=n(9181),a=n(2494),l=n(4449);class c extends r.w{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!t){this.destination=i.c;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.b](){return this}static create(t,e,n){const s=new c(t,e,n);return s.syncErrorThrowable=!1,s}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends c{constructor(t,e,n,r){let o;super(),this._parentSubscriber=t;let a=this;(0,s.m)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==i.c&&(a=Object.create(e),(0,s.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=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.v;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,l.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,l.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(t,e,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(s){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):((0,l.z)(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},5319:(t,e,n)=>{"use strict";n.d(e,{w:()=>a});var s=n(9796),i=n(1555),r=n(9105);const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class a{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof a)e.remove(this);else if(null!==e)for(let s=0;s<e.length;++s)e[s].remove(this);
1if((0,r.m)(l)){n&&(this._unsubscribe=void 0);try{l.call(this)}catch(h){t=h instanceof o?c(h.errors):[h]}}if((0,s.k)(u)){let e=-1,n=u.length;for(;++e<n;){const n=u[e];if((0,i.K)(n))try{n.unsubscribe()}catch(h){t=t||[],h instanceof o?t=t.concat(c(h.errors)):t.push(h)}}}if(t)throw new o(t)}add(t){let e=t;if(!t)return a.EMPTY;switch(typeof t){case"function":e=new a(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof a)){const t=e;e=new a,e._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=e;if(null===n)e._parentOrParents=this;else if(n instanceof a){if(n===this)return e;e._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return e;n.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[e]:s.push(e),e}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var l;function c(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}a.EMPTY=((l=new a).closed=!0,l)},2494:(t,e,n)=>{"use strict";n.d(e,{v:()=>i});let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}}},5345:(t,e,n)=>{"use strict";n.d(e,{IY:()=>o,Ds:()=>a,ft:()=>l});var s=n(7393),i=n(8891),r=n(7444);class o extends s.L{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends s.L{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(e.closed)return;if(t instanceof i.y)return t.subscribe(e);let n;try{n=(0,r.s)(t)(e)}catch(s){e.error(s)}return n}},2441:(t,e,n)=>{"use strict";n.d(e,{c:()=>a,N:()=>l});var s=n(7709),i=n(8891),r=n(5319),o=n(1307);class a extends i.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new r.w,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.w.EMPTY)),t}refCount(){return(0,o.x)()(this)}}const l=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends s.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},739:(t,e,n)=>{"use strict";n.d(e,{aj:()=>p});var s=n(4869),i=n(9796),r=n(7393);class o extends r.L{notifyNext(t,e,n,s,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends r.L{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n(7444),c=n(8891);function u(t,e,n,s,i=new a(t,n,s)){if(!i.closed)return e instanceof c.y?e.subscribe(i):(0,l.s)(e)(i)}var h=n(6693);const d={};function p(...t){let e,n;return(0,s.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,i.k)(t[0])&&(t=t[0]),(0,h.n)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new m(t,this.resultSelector))}}class m extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(d),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++)this.add(u(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const s=this.values,i=this.toRespond?s[n]===d?--this.toRespond:this.toRespond:0;s[n]=e,0===i&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},9193:(t,e,n)=>{"use strict";n.d(e,{E:()=>i,c:()=>r});var s=n(8891);const i=new s.y(t=>t.complete());function r(t){return t?function(t){return new s.y(e=>t.schedule(()=>e.complete()))}(t):i}},4402:(t,e,n)=>{"use strict";n.d(e,{D:()=>h});var s=n(8891),i=n(7444),r=n(5319),o=n(6554),a=n(4087),l=n(377),c=n(4072),u=n(9489);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.L]}(t))return function(t,e){return new s.y(n=>{const s=new r.w;return s.add(e.schedule(()=>{const i=t[o.L]();s.add(i.subscribe({next(t){s.add(e.schedule(()=>n.next(t)))},error(t){s.add(e.schedule(()=>n.error(t)))},complete(){s.add(e.schedule(()=>n.complete()))}}))})),s})}(t,e);if((0,c.t)(t))return function(t,e){return new s.y(n=>{const s=new r.w;return s.add(e.schedule(()=>t.then(t=>{s.add(e.schedule(()=>{n.next(t),s.add(e.schedule(()=>n.complete()))}))},t=>{s.add(e.schedule(()=>n.error(t)))}))),s})}(t,e);if((0,u.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[l.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new s.y(n=>{const s=new r.w;let i;return s.add(()=>{i&&"function"==typeof i.return&&i.return()}),s.add(e.schedule(()=>{i=t[l.hZ](),s.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(s){return void n.error(s)}e?n.complete():(n.next(t),this.schedule())}))})),s})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof s.y?t:new s.y((0,i.s)(t))}},6693:(t,e,n)=>{"use strict";n.d(e,{n:()=>o});var s=n(8891),i=n(5015),r=n(4087);function o(t,e){return e?(0,r.r)(t,e):new s.y((0,i.V)(t))}},6682:(t,e,n)=>{"use strict";n.d(e,{T:()=>a});var s=n(8891),i=n(4869),r=n(3282),o=n(6693);function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return(0,i.K)(a)?(n=t.pop(),t.length>
11&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof s.y?t[0]:(0,r.J)(e)((0,o.n)(t,n))}},5917:(t,e,n)=>{"use strict";n.d(e,{of:()=>o});var s=n(4869),i=n(6693),r=n(4087);function o(...t){let e=t[t.length-1];return(0,s.K)(e)?(t.pop(),(0,r.r)(t,e)):(0,i.n)(t)}},205:(t,e,n)=>{"use strict";n.d(e,{_:()=>i});var s=n(8891);function i(t,e){return new s.y(e?n=>e.schedule(r,0,{error:t,subscriber:n}):e=>e.error(t))}function r({error:t,subscriber:e}){e.error(t)}},6797:(t,e,n)=>{"use strict";n.d(e,{H:()=>a});var s=n(8891),i=n(3637),r=n(6561),o=n(4869);function a(t=0,e,n){let a=-1;return(0,r.k)(e)?a=Number(e)<1?1:Number(e):(0,o.K)(e)&&(n=e),(0,o.K)(n)||(n=i.P),new s.y(e=>{const s=(0,r.k)(t)?t:+t-n.now();return n.schedule(l,s,{index:0,period:a,subscriber:e})})}function l(t){const{index:e,period:n,subscriber:s}=t;if(s.next(e),!s.closed){if(-1===n)return s.complete();t.index=e+1,this.schedule(t,n)}}},5304:(t,e,n)=>{"use strict";n.d(e,{K:()=>i});var s=n(5345);function i(t){return function(e){const n=new r(t),s=e.lift(n);return n.caught=s}}class r{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends s.Ds{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new s.IY(this);this.add(i);const r=(0,s.ft)(n,i);r!==i&&this.add(r)}}}},4612:(t,e,n)=>{"use strict";n.d(e,{b:()=>i});var s=n(9773);function i(t,e){return(0,s.zg)(t,e,1)}},5242:(t,e,n)=>{"use strict";n.d(e,{d:()=>i});var s=n(7393);function i(t=null){return e=>e.lift(new r(t))}
1class r{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new o(t,this.defaultValue))}}class o extends s.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},5435:(t,e,n)=>{"use strict";n.d(e,{h:()=>i});var s=n(7393);function i(t,e){return function(n){return n.lift(new r(t,e))}}class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends s.L{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},8002:(t,e,n)=>{"use strict";n.d(e,{U:()=>i});var s=n(7393);function i(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}
1class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends s.L{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},3282:(t,e,n)=>{"use strict";n.d(e,{J:()=>r});var s=n(9773),i=n(4487);function r(t=Number.POSITIVE_INFINITY){return(0,s.zg)(i.y,t)}},9773:(t,e,n)=>{"use strict";n.d(e,{zg:()=>o});var s=n(8002),i=n(4402),r=n(5345);function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>(0,i.D)(t(n,r)).pipe((0,s.U)((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends r.Ds{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(s){return void this.destination.error(s)}this.active++,this._innerSub(e)}_innerSub(t){const e=new r.IY(this),n=this.destination;n.add(e);const s=(0,r.ft)(t,e);s!==e&&n.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1307:(t,e,n)=>{"use strict";n.d(e,{x:()=>i});var s=n(7393);function i(){return function(t){return t.lift(new r(t))}}
1class r{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const s=new o(t,n),i=e.subscribe(s);return s.closed||(s.connection=n.connect()),i}}class o extends s.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,s=t._connection;this.connection=null,!s||n&&s!==n||s.unsubscribe()}}},2145:(t,e,n)=>{"use strict";n.d(e,{R:()=>i});var s=n(7393);function i(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(s){return s.lift(new r(t,e,n))}}class r{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new o(t,this.accumulator,this.seed,this.hasSeed))}}class o extends s.L{constructor(t,e,n,s){super(t),this.accumulator=e,this._seed=n,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(s){this.destination.error(s)}this.seed=n,this.destination.next(n)}}},3190:(t,e,n)=>{"use strict";n.d(e,{w:()=>o});var s=n(8002),i=n(4402),r=n(5345);function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>(0,i.D)(t(n,r)).pipe((0,s.U)((t,s)=>e(n,t,r,s))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.Ds{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(s){return void this.destination.error(s)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.IY(this),s=this.destination;s.add(n),this.innerSubscription=(0,r.ft)(t,n),this.innerSubscription!==n&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},5257:(t,e,n)=>{"use strict";n.d(e,{q:()=>o});var s=n(7393),i=n(7108),r=n(9193);function o(t){return e=>0===t?(0,r.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new i.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends s.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},548:(t,e,n)=>{"use strict";n.d(e,{h:()=>o});var s=n(7393),i=n(7108),r=n(9193);function o(t){return function(e){return 0===t?(0,r.c)():e.lift(new a(t))}}class a{constructor(t){if(this.total=t,this.total<0)throw new i.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends s.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,s=this.count++;e.length<n?e.push(t):e[s%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,s=this.ring;for(let i=0;i<n;i++){const i=e++%n;t.next(s[i])}}t.complete()}}},3342:(t,e,n)=>{"use strict";n.d(e,{b:()=>o});var s=n(7393);function i(){}var r=n(9105);function o(t,e,n){return function(s){return s.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends s.L{constructor(t,e,n,s){super(t),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=n||i,this._tapComplete=s||i,(0,r.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||i,this._tapError=e.error||i,this._tapComplete=e.complete||i)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},4087:(t,e,n)=>{"use strict";n.d(e,{r:()=>r});var s=n(8891),i=n(5319);function r(t,e){return new s.y(n=>{const s=new i.w;let r=0;return s.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||s.add(this.schedule())):n.complete()}
1)),s})}},6465:(t,e,n)=>{"use strict";n.d(e,{o:()=>r});var s=n(5319);class i extends s.w{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends i{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,s=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(s,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(s,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,s=!1;try{this.work(t)}catch(i){s=!0,n=!!i&&i||new Error(i)}if(s)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,s=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&n.splice(s,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},6102:(t,e,n)=>{"use strict";n.d(e,{v:()=>i});let s=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class i extends s{constructor(t,e=s.now){super(t,()=>i.delegate&&i.delegate!==this?i.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},3637:(t,e,n)=>{"use strict";n.d(e,{P:()=>i});var s=n(6465);const i=new(n(6102).v)(s.o)},377:(t,e,n)=>{"use strict";n.d(e,{hZ:()=>s});const s="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:(t,e,n)=>{"use strict";n.d(e,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:(t,e,n)=>{"use strict";n.d(e,{b:()=>s});const s="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(t,e,n)=>{"use strict";n.d(e,{W:()=>s});const s=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},7971:(t,e,n)=>{"use strict";n.d(e,{N:()=>s});const s=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},4449:(t,e,n)=>{"use strict";function s(t){setTimeout(()=>{throw t},0)}n.d(e,{z:()=>s})},4487:(t,e,n)=>{"use strict";function s(t){return t}n.d(e,{y:()=>s})},9796:(t,e,n)=>{"use strict";n.d(e,{k:()=>s});const s=Array.isArray||(t=>t&&"number"==typeof t.length)},9489:(t,e,n)=>{"use strict";n.d(e,{z:()=>s});const s=t=>t&&"number"==typeof t.length&&"function"!=typeof t},9105:(t,e,n)=>{"use strict";function s(t){return"function"==typeof t}n.d(e,{m:()=>s})},6561:(t,e,n)=>{"use strict";n.d(e,{k:()=>i});var s=n(9796);function i(t){return!(0,s.k)(t)&&t-parseFloat(t)+1>=0}},1555:(t,e,n)=>{"use strict";function s(t){return null!==t&&"object"==typeof t}n.d(e,{K:()=>s})},4072:(t,e,n)=>{"use strict";function s(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:()=>s})},4869:(t,e,n)=>{"use strict";function s(t){return t&&"function"==typeof t.schedule}n.d(e,{K:()=>s})},4022:(t,e,n)=>{"use strict";n.d(e,{z:()=>i,U:()=>r});var s=n(4487);function i(...t){return r(t)}function r(t){return 0===t.length?s.y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},7444:(t,e,n)=>{"use strict";n.d(e,{s:()=>u});var s=n(5015),i=n(4449),r=n(377),o=n(6554),a=n(9489),l=n(4072),c=n(1555);const u=t=>{if(t&&"function"==typeof t[o.L])return u=t,t=>{const e=u[o.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,s.V)(t);if((0,l.t)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i.z),t);if(t&&"function"==typeof t[r.hZ])return e=t,t=>{const n=e[r.hZ]();for(;;){let e;try{e=n.next()}catch(s){return t.error(s),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};
1{const e=(0,c.K)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,u}},5015:(t,e,n)=>{"use strict";n.d(e,{V:()=>s});const s=t=>e=>{for(let n=0,s=t.length;n<s&&!e.closed;n++)e.next(t[n]);e.complete()}},1655:(t,e,n)=>{"use strict";n.d(e,{e:()=>o});var s=n(3018),i=n(9344),r=n(4329);let o=(()=>{class t{constructor(t,e){this.toastr=t,this.router=e}errmessage(t){this.toastr.error(t)}succmessage(t){this.toastr.success(t)}messages(t){console.log(t)}dissuccmessage(t){this.dismissMessages(t,"green-snackbar")}disserrmessage(t){this.dismissMessages(t,"red-snackbar")}dismissMessages(t,e){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i._W),s.LFG(r.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})()},768:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});const s={menuItems:"/api/exchange/odds/d-sma-menu",login:"/api/auth/login",eventItem:"/api/exchange/odds/eventType",eventDetail:"/api/exchange/odds/d-sma-event",raceEventItem:"/api/exchange/odds/races",raceEventDetail:"/api/exchange/odds/race",accUrl:"/api/account",balance:"/balance",newsItem:"/notification/message",placeBet:"/api/exchange/order",orderList:"/order-list",exposure:"/api/exposure/pnl",casinoPastResult:"/api/exchange-games/results",casinoOpenResult:"/api/exchange/odds/og",googleConfig:"/api/config/google-config",marketStats:"/api/match-center/stats",accStmt:"/reports/statement",activityLog:"/reports/activity-log",casinoHistory:"/reports/casinoReportHistory",pnl:"/reports/pnl",changePass:"/settings/password",setStackBtnVal:"/settings/stakes",sportVideoUrl:"/d-video",casinoVideoUrl:"/api/match-center/stats/d-access-token",casinoVideoUrlV:"/api/match-center/stats/access-token",upcomingFixture:"/api/exchange/odds/upcoming-fixtures",fantasyGames:"/api/exchange/odds/fantasy-games",slotCategory:"/api/categories",slotListByCategory:"/api/main/get",slotIframeUrl:"/api/casino/live/table",sportBook:"/api/casino/live/session/open",minMaxCasino:"/api/exchange/order/settings",minMaxFancy:"/api/exchange/order/event-limits",casinoRules:"/api/rules/event"}},1340:(t,e,n)=>{"use strict";n.d(e,{v:()=>c});var s=n(2340),i=n(3018),r=n(9075),o=n(8583),a=n(2255),l=n(4329);let c=(()=>{class t{constructor(t,e,n,i){this.sanitizer=t,this.location=e,this._shared=n,this.router=i,this.env=s.N}mustMatch(t,e){return n=>{const s=n.controls[e];s.errors&&!s.errors.mustMatch||s.setErrors(n.controls[t].value!==s.value?{mustMatch:!0}:null)}}checkUserAvail(t,e){return n=>{const s=n.controls[t];s.errors||s.setErrors(""!=e?{checkUserAvail:!0}:null)}}numberWithCommas(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}diff(t,e){return t>e?"up":t<e?"down":""}compareData(t,e,n={},s={}){return Array.isArray(e)&&t.length>0?(t.forEach((t,s)=>{e.forEach(i=>{var r;t.id==i.id&&(null===(r=null==t?void 0:t.runners)||void 0===r||r.forEach((r,o)=>{var a;if(r.pnl=0,r.pnlNext=(null===(a=e[s])||void 0===a?void 0:a.runners[o])&&(null==i?void 0:i.runners[o].pnlNext)?null==i?void 0:i.runners[o].pnlNext:0,t.isCollapsed=!!i&&!!i.isCollapsed&&i.isCollapsed,Object.values(n).length>0&&Object.values(n.pnlBySelection).length>0){let e=n.pnlBySelection;Object.keys(e).forEach(n=>{2==t.tabGroupId||1==t.tabGroupId?t.id==n&&(r.pnl=e[n].pnl):t.id==n.split("-")[0]&&r.id==n.split("-")[1]&&(r.pnl=e[n].pnl)})}r.back.length>0&&r.back.forEach((t,e)=>{var n,s;if(t.side=0,(null===(n=null==i?void 0:i.runners[o])||void 0===n?void 0:n.back.length)>0&&(null===(s=null==i?void 0:i.runners[o])||void 0===s?void 0:s.back[e])){let n;null===t.line?(n=this.diff(t.price,i.runners[o].back[e].price),t.key=n):null!=t.line&&(n=this.diff(t.line,i.runners[o].back[e].line),t.key=n)}}),r.lay.length>0&&r.lay.forEach((t,e)=>{var n,s;if(t.side=1,(null===(n=null==i?void 0:i.runners[o])||void 0===n?void 0:n.lay.length)>0&&(null===(s=null==i?void 0:i.runners[o])||void 0===s?void 0:s.lay[e])){let n;null===t.line?(n=this.diff(t.price,i.runners[o].lay[e].price),t.key=n):null!=t.line&&(n=this.diff(t.line,i.runners[o].lay[e].line),t.key=n)}})}))})}),t):t}sportBetSlipData(t,e,n,s,i,r,o,a=!1){console.log(r);let l={};if(r){let c=[];(localStorage.getItem(`${this.env.panel}stakes`)?JSON.parse(localStorage.getItem(`${this.env.panel}
1stakes`)):[]).forEach(t=>{let e={name:this.thousandSuff(t),value:Number(t)};c.push(e)}),l={data:t,name:null==t?void 0:t.name,runners:e,status:null==t?void 0:t.status,tabGroupId:null==t?void 0:t.tabGroupId,index:n,runIndex:s,bkLyIndex:i,bet:r,price:r.price,line:r.line,runnerId:o,bkOrLy:0==r.side?"back":"lay",stakes:c,amount:0,isClosed:!1,disabled:!0,isSubmitted:!1,isModal:a}}return console.log(l),l}betSlipData(t,e,n,s,i,r=!1){console.log(s);let o={};if(s){let a=[];(localStorage.getItem(`${this.env.panel}stakes`)?JSON.parse(localStorage.getItem(`${this.env.panel}stakes`)):[]).forEach(t=>{let e={name:this.thousandSuff(t),value:Number(t)};a.push(e)}),o={data:t,name:null==t?void 0:t.name,runners:null==t?void 0:t.runners,status:null==t?void 0:t.status,tabGroupId:null==t?void 0:t.tabGroupId,index:e,runIndex:n,bet:s,price:s.price,line:s.line,runnerId:i,bkOrLy:0==s.side?"back":"lay",stakes:a,amount:0,isClosed:!1,disabled:!0,isSubmitted:!1,isModal:r}}return console.log(o),o}casinoBetSlipData(t,e,n,s,i,r){let o={};if(s){let a=[];(localStorage.getItem(`${this.env.panel}stakes`)?JSON.parse(localStorage.getItem(`${this.env.panel}stakes`)):[]).forEach(t=>{let e={name:this.thousandSuff(t),value:Number(t)};a.push(e)}),o={data:t,name:null==t?void 0:t.marketRunner[n].name,runners:null==t?void 0:t.marketRunner,status:null==t?void 0:t.status,index:e,runIndex:n,bet:s,price:null==t?void 0:t.marketRunner[n][r][i].price,bkOrLy:r,stakes:a,amount:0,isClosed:!1,disabled:!0}}return o}olByEventId(t,e){let n=[];return t.length>0&&t.forEach(t=>{t.eventId==e&&n.push(t)}),n}groupBy(t,e){const n=new Map;return t.forEach(t=>{const s=e(t),i=n.get(s);i?i.push(t):n.set(s,[t])}),n}thousandSuff(t){var e;return Number.isNaN(t)?null:t<1e3?t:(e=Math.floor(Math.log(t)/Math.log(1e3)),t/Math.pow(1e3,e)+["k","M","G","T","P","E"][e-1])}timestampConverter(t){return new Date(t).getTime()}secureUrl(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}back(){this.location.back()}getGameId(){return this.router.url.split("/")[this.router.url.split("/").length-1]}removePrefixFromUserName(t){return t&&null!=t&&t.includes(".")?t.split(".")[1]:t}removeLocalstorage(){const t=Object.assign({},localStorage);Object.entries(t).forEach(([t,e])=>{t.includes(this.env.panel)&&localStorage.removeItem(t)})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.H7),i.LFG(o.Ye),i.LFG(a.F),i.LFG(l.F0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},2255:(t,e,n)=>{"use strict";n.d(e,{F:()=>r});var s=n(6215),i=n(3018);let r=(()=>{class t{constructor(){this.message=new s.X(""),this.sharedMessage=this.message.asObservable(),this.exposer=new s.X(""),this.sharedExposer=this.exposer.asObservable(),this.menu=new s.X(""),this.sharedMenu=this.menu.asObservable(),this.groupGames=new s.X(""),this.sharedGroupGames=this.groupGames.asObservable(),this.tabChange=new s.X(""),this.sharedTabChange=this.tabChange.asObservable(),this.selectTab=new s.X(""),this.sharedSelectTab=this.selectTab.asObservable(),this.ruleModal=new s.X(""),this.sharedRuleModal=this.ruleModal.asObservable(),this.changeBetSlipOdds=new s.X(""),this.sharedChangeBetSlipOdds=this.changeBetSlipOdds.asObservable()}nextMessage(t){this.message.next(t)}emitExposer(t){this.exposer.next(t)}emitMenu(t){this.menu.next(t)}emitGroupGames(t){this.groupGames.next(t)}emitTabChange(t){this.tabChange.next(t)}emitSelectTab(t){this.selectTab.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})()},6953:(t,e,n)=>{"use strict";n.d(e,{Q:()=>c});var s=n(1841),i=n(205),r=n(5304),o=n(2340),a=n(3018),l=n(1655);let c=(()=>{class t extends class{constructor(t,e){this.http=t,this._message=e,this.headers=new s.WM({"Content-Type":"application/json",Authorization:localStorage.getItem(`${o.N.panel}id_token`)?localStorage.getItem(`${o.N.panel}id_token`):"","x-user-id":localStorage.getItem(`${o.N.panel}memberCode`)?localStorage.getItem(`${o.N.panel}memberCode`):"","x-client":"mobile"})}httpOptions(){return{headers:new s.WM({"Content-Type":"application/json",Authorization:localStorage.getItem(`${o.N.panel}id_token`)?localStorage.getItem(`${o.N.panel}id_token`):""})}}Get(t){return this.http.get(t,this.httpOptions()).pipe((0,r.K)(this.handleError))}GetWithoutToken(t){return this.http.get(t).pipe((0,r.K)(this.handleError))}Post(t,e){return this.http.post(t,e,this.httpOptions()).pipe((0,r.K)(this.handleError))}Put(t,e){return this.http.put(t,e,this.httpOptions()).pipe((0,r.K)(this.handleError))}Delete(t){return this.http.delete(t,this.httpOptions()).pipe((0,r.K)(this.handleError))}configResponse(t,e){return this.http.post(t,e,{observe:"response"})}betPlace(t,e){return this.http.post(t,e,{headers:this.headers,observe:"response"})}handleError(t){if(console.log(t.status),401==t.status||403==t.status){const t=Object.assign({},localStorage);Object.entries(t).forEach(([t,e])=>{t.includes(o.N.panel)&&localStorage.removeItem(t)}),window.location.reload()}return(0,i._)(t)}}{constructor(t,e){super(t,e),this.http=t,this._message=e}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(s.eN),a.LFG(l.e))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t})()},6821:(t,e,n)=>{"use strict";n.d(e,{m:()=>E});var s=n(8583),i=n(1841),r=n(1655),o=n(2255),a=n(6953),l=n(665),c=n(5690),u=n(3647),h=n(9344),d=n(3018),p=(n(5435),n(8935)),f=(n(1103),n(7238)),m=n(4933);let g=(()=>{class t{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.isOpenChange=new d.vpe,this.isDisabledChange=new d.vpe,this.toggleClick=new d.vpe,this.dropdownMenu=new Promise(t=>{this.resolveDropdownMenu=t})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=d.Yz7({token:t,factory:t.\u0275fac}),t})();(0,f.oB)({height:0,overflow:"hidden"}),(0,f.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,f.oB)({height:"*",overflow:"hidden"}));let _=(()=>{class t{static forRoot(){return{ngModule:t,providers:[p.oj,m.sA,g]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=d.oAB({type:t}),t.\u0275inj=d.cJS({imports:[[s.ez]]}),t})();var y=n(1340),v=n(453),b=n(3945),w=n(4028),C=n(1526),S=n(4329),k=n(5766),T=n(8366);let E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=d.oAB({type:t}),t.\u0275inj=d.cJS({providers:[r.e,o.F,a.Q,y.v,{provide:h._W}
1],imports:[[s.ez,S.Bz,i.JF,l.u5,c.P4.forRoot(),C.H3.forRoot(),u.zk.forRoot(),_.forRoot(),h.Rh.forRoot({timeOut:5e3,positionClass:"toast-top-center",preventDuplicates:!0,closeButton:!1,progressBar:!0,maxOpened:1,autoDismiss:!0,enableHtml:!0}),v.f.forRoot(),b.kn.forRoot(),b.ZU.forRoot(),w.fx.forRoot(),k.z8.forRoot(),T.UU.forRoot()],S.Bz,i.JF,l.UX,l.u5,c.P4,u.zk,C.H3,h.Rh,_,v.f,b.kn,b.ZU,w.fx,k.z8,T.UU]}),t})()},5939:(t,e,n)=>{"use strict";n.d(e,{a:()=>a});var s=n(2340),i=n(3018),r=n(4329),o=n(1340);let a=(()=>{class t{constructor(t,e){this.router=t,this._common=e,this.env=s.N}canActivate(){return!!localStorage.getItem(`${this.env.panel}id_token`)||(this.router.navigate(["/login"]),!1)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.F0),i.LFG(o.v))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})()},2340:(t,e,n)=>{"use strict";n.d(e,{N:()=>s});const s={production:!1,panel:"td9_",baseUrl:"https://dapi.gemexch.bet",baseUrlCasino:"https://fawk.app",baseUrlCasino1:"https://lgodds.route2222.com",baseUrlMinMaxOdds:"https://lotusbook247.games",baseUrlSlot:"https://iframeapi.route2222.com",accId:"IS010105M01",RECAPTCHA_V3_SITE_KEY:"",RECAPTCHA_V3_ENABLED:"",counter:5,menuSearch:"",sportsBookFrameKey:"",brEventId:null,noDataMsg:"No Data Found",device:null,casinoGameId:{liveTeenpatti:"56767",poker:"67564",teenpattiT20:"56768",teenpattiTest:"67630",threeTwoCards:"56967",amarAkbarAnthony:"98791",andarBahar:"87564",dragonTiger:"98790",sevenUpDown:"98789",hiLow:"56968",worliMatka:"92037",race2020:"90100",bollywoodCasino:"67570",baccarat:"92038",muflisTeenpatti:"67600",casinoMeter:"67575",sicbo:"98566",roulette:"98788",liveTeenpatti_v:"56766",teenpattiT20_v:"56769",threeTwoCards_v:"56966",poker_v:"67563",pokerSixPlayer_v:"67566",andarBahar_v:"87565",sevenUpDown_v:"98793",dragonTiger_v:"98794",amarAkbarAnthony_v:"98795",roulette_v:"98792"},casinoGameName:{dragonTiger:"One-Day Dragon Tiger"},pollers:{balance:1400,news:3e4,balanceSettings:6e4,group:3e4,market:1200,topEvents:1200,inplayEvents:1200,sportmenu:3e4,matchStat:1200,matchStats:{delay:2300,error:2e3,limit:3e4},raceList:1e4,topRaces:3e3,notifications:12e4,appVersion:{repeat:3e5,retry:6e4},casinoSession:5e3},displayCasinoIds:["56767","98790","87564","98789","56768","56967","67600","67575","98566","98788","56766","56769","56966","87565","98793","98794","98792"]}},9124:(t,e,n)=>{"use strict";var s=n(9075),i=n(3018),r=n(7238);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(t){switch(t.length){case 0:return new r.ZN;case 1:return t[0];default:return new r.ZE(t)}}function c(t,e,n,s,i={},o={}){const a=[],l=[];let c=-1,u=null;if(s.forEach(t=>{const n=t.offset,s=n==c,h=s&&u||{};Object.keys(t).forEach(n=>{let s=n,l=t[n];if("offset"!==n)switch(s=e.normalizePropertyName(s,a),l){case r.k1:l=i[n];break;case r.l3:l=o[n];break;default:l=e.normalizeStyleValue(n,s,l,a)}h[s]=l}),s||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function u(t,e,n,s){switch(e){case"start":t.onStart(()=>s(n&&h(n,"start",t)));break;case"done":t.onDone(()=>s(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>s(n&&h(n,"destroy",t)))}}function h(t,e,n){const s=n.totalTime,i=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==s?t.totalTime:s,!!n.disabled),r=t._data;return null!=r&&(i._data=r),i}function d(t,e,n,s,i="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:s,phaseName:i,totalTime:r,disabled:!!o}}function p(t,e,n){let s;return t instanceof Map?(s=t.get(e),s||t.set(e,s=n)):(s=t[e],s||(s=t[e]=n)),s}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,g=(t,e)=>!1,_=(t,e,n)=>[];const y=a();(y||"undefined"!=typeof Element)&&(m=o()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),g=(()=>{if(y||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):g}})(),_=(t,e,n)=>{let s=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)s.push(n[t])}else{const n=t.querySelector(e);n&&s.push(n)}return s});let v=null,b=!1;function w(t){v||(v=("undefined"!=typeof document?document.body:null)||{},b=!!v.style&&"WebkitAppearance"in v.style);let e=!0;return v.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in v.style,!e&&b)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in v.style),e}const C=g,S=m,k=_;function T(t){const e={};return Object.keys(t).forEach(n=>{const s=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[s]=t[n]}),e}let E=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return S(t,e)}query(t,e,n){return k(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,s,i,o=[],a){return new r.ZN(n,s)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class x{}x.NOOP=new E;const D="ng-enter",A="ng-leave",O="ng-trigger",M=".ng-trigger",R="ng-animating",I=".ng-animating";function P(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:F(parseFloat(e[1]),e[2])}function F(t,e){switch(e){case"s":return 1e3*t;default:return t}}function N(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let s,i=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}
1" is invalid.`),{duration:0,delay:0,easing:""};s=F(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=F(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else s=t;if(!n){let n=!1,r=e.length;s<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:s,delay:i,easing:r}}(t,e,n)}function L(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function j(t,e,n={}){if(e)for(let s in t)n[s]=t[s];else L(t,n);return n}function V(t,e,n){return n?e+":"+n+";":""}function H(t){let e="";for(let n=0;n<t.style.length;n++){const s=t.style.item(n);e+=V(0,s,t.style.getPropertyValue(s))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=V(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function U(t,e,n){t.style&&(Object.keys(e).forEach(s=>{const i=W(s);n&&!n.hasOwnProperty(s)&&(n[s]=t.style[i]),t.style[i]=e[s]}),a()&&H(t))}function Y(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=W(e);t.style[n]=""}),a()&&H(t))}function B(t){return Array.isArray(t)?1==t.length?t[0]:(0,r.vP)(t):t}const q=new RegExp("{{\\s*(.+?)\\s*}}","g");function Z(t){let e=[];
1if("string"==typeof t){let n;for(;n=q.exec(t);)e.push(n[1]);q.lastIndex=0}return e}function $(t,e,n){const s=t.toString(),i=s.replace(q,(t,s)=>{let i=e[s];return e.hasOwnProperty(s)||(n.push(`Please provide a value for the animation param ${s}`),i=""),i.toString()});return i==s?t:i}function z(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const G=/-+([a-z0-9])/g;function W(t){return t.replace(G,(...t)=>t[1].toUpperCase())}function J(t,e){return 0===t||0===e}function Q(t,e,n){const s=Object.keys(n);if(s.length&&e.length){let r=e[0],o=[];if(s.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var i=1;i<e.length;i++){let n=e[i];o.forEach(function(e){n[e]=X(t,e)})}}return e}function K(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function X(t,e){return window.getComputedStyle(t)[e]}const tt="*";function et(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const s=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof s)return void e.push(s);t=s}const s=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=s[1],r=s[2],o=s[3];e.push(it(i,o)),"<"!=r[0]||i==tt&&o==tt||e.push(it(o,i))}(t,n,e)):n.push(t),n}const nt=new Set(["true","1"]),st=new Set(["false","0"]);function it(t,e){const n=nt.has(t)||st.has(t),s=nt.has(e)||st.has(e);return(i,r)=>{let o=t==tt||t==i,a=e==tt||e==r;return!o&&n&&"boolean"==typeof i&&(o=i?nt.has(t):st.has(t)),!a&&s&&"boolean"==typeof r&&(a=r?nt.has(e):st.has(e)),o&&a}}const rt=new RegExp("s*:selfs*,?","g");function ot(t,e,n){return new at(t).build(e,n)}class at{constructor(t){this._driver=t}build(t,e){const n=new lt(e);return this._resetContextStyleTimingState(n),K(this,B(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,s=e.depCount=0;const i=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,s=n.name;s.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=s}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,s+=i.depCount,r.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:r,queryCount:n,depCount:s,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),s=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,r=s||{};if(n.styles.forEach(t=>{if(ct(t)){const e=t;Object.keys(e).forEach(t=>{Z(e[t]).forEach(t=>{r.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=z(i.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:s?{params:s}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=K(this,B(t.animation),e);return{type:1,matchers:et(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ut(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>K(this,t,e)),options:ut(t.options)}}visitGroup(t,e){const n=e.currentTime;let s=0;const i=t.steps.map(t=>{e.currentTime=n;const i=K(this,t,e);return s=Math.max(s,e.currentTime),i});return e.currentTime=s,{type:3,steps:i,options:ut(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ht(N(t,e).duration,0,"");const s=t;if(s.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ht(0,0,"");return t.dynamic=!0,t.strValue=s,t}return n=n||N(s,e),ht(n.duration,n.delay,n.easing)}(t.timings,e.errors);let s;e.currentAnimateTimings=n;let i=t.styles?t.styles:(0,r.oB)({});
1if(5==i.type)s=this.visitKeyframes(i,e);else{let i=t.styles,o=!1;if(!i){o=!0;const t={};n.easing&&(t.easing=n.easing),i=(0,r.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(i,e);a.isEmptyStep=o,s=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:s,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let s=!1,i=null;return n.forEach(t=>{if(ct(t)){const e=t,n=e.easing;if(n&&(i=n,delete e.easing),!s)for(let t in e)if(e[t].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let s=e.currentTime,i=e.currentTime;n&&i>0&&(i-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(i!=s&&i>=o.startTime&&s<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${s}ms"`),a=!1),i=o.startTime),a&&(r[n]={startTime:i,endTime:s}),e.options&&function(t,e,n){const s=e.params||{},i=Z(t);i.length&&i.forEach(t=>{s.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let s=0;const i=[];let r=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(s++,c=n.offset=l),o=o||c<0||c>1,r=r||c<a,a=c,i.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;s>0&&s<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==s&&(u=1/(c-1));const h=c-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return l.forEach((t,s)=>{const r=u>0?s==h?1:u*s:i[s],o=r*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:K(this,B(t.animation),e),options:ut(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ut(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ut(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,s=t.options||{};e.queryCount++,e.currentQuery=t;const[i,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(rt,"")),[t=t.replace(/@\*/g,M).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,I),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,p(e.collectedStyles,e.currentQuerySelector,{});const o=K(this,B(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:ut(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:N(t.timings,e.errors,!0);return{type:12,animation:K(this,B(t.animation),e),timings:n,options:null}}}class lt{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ct(t){return!Array.isArray(t)&&"object"==typeof t}function ut(t){var e;return t?(t=L(t)).params&&(t.params=(e=t.params)?L(e):null):t={},t}function ht(t,e,n){return{duration:t,delay:e,easing:n}}function dt(t,e,n,s,i,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:a}}class pt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ft=new RegExp(":enter","g"),mt=new RegExp(":leave","g");function gt(t,e,n,s,i,r={},o={},a,l,c=[]){return(new _t).buildKeyframes(t,e,n,s,i,r,o,a,l,c)}class _t{buildKeyframes(t,e,n,s,i,r,o,a,l,c=[]){l=l||new pt;const u=new vt(t,e,l,s,i,c,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),K(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[dt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}
vendor: 4,117 bytes, line 1
1visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const s=e.createSubContext(t.options),i=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,s,s.options);i!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let s=e.currentTimeline.currentTime;const i=null!=n.duration?P(n.duration):null,r=null!=n.delay?P(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,r);s=Math.max(s,n.duration+n.delay)}),s}visitReference(t,e){e.updateOptions(t.options,!0),K(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let s=e;const i=t.options;if(i&&(i.params||i.delay)&&(s=e.createSubContext(i),s.transformIntoNewTimeline(),null!=i.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=yt);const t=P(i.delay);s.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>K(this,t,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let s=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?P(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),K(this,r,o),s=Math.max(s,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(s),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return N(e.params?$(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),s=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),s.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,s=e.currentAnimateTimings;!s&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=s&&s.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,s=e.currentTimeline.duration,i=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*i),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(s+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,s=t.options||{},i=s.delay?P(s.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=yt);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,s)=>{e.currentQueryIndex=s;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),K(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,s=e.currentTimeline,i=t.timings,r=Math.abs(i.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;K(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=s.currentTime-c+(s.startTime-n.currentTimeline.startTime)}}const yt={};class vt{constructor(t,e,n,s,i,r,o,a){this._driver=t,this.element=e,this.subInstru
1ctions=n,this._enterClassName=s,this._leaveClassName=i,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new bt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let s=this.options;null!=n.duration&&(s.duration=P(n.duration)),null!=n.delay&&(s.delay=P(n.delay));const i=n.params;if(i){let t=s.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=$(i[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const s=e||this.element,i=new vt(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=yt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const s={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new wt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,s,t.stretchStartingKeyframe);return this.timelines.push(i),s}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,s,i,r){let o=[];if(s&&o.push(this.element),t.length>0){t=(t=t.replace(ft,"."+this._enterClassName)).replace(mt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return i||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class bt{constructor(t,e,n,s){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new bt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEac
1h(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.l3,this._currentKeyframe[t]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,s){e&&(this._previousKeyframe.easing=e);const i=s&&s.params||{},o=function(t,e){const n={};let s;return t.forEach(t=>{"*"===t?(s=s||Object.keys(e),s.forEach(t=>{n[t]=r.l3})):j(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=$(o[t],i,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],s=t._styleSummary[e];(!n||s.time>n.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((i,o)=>{const a=j(i,!0);Object.keys(a).forEach(n=>{const s=a[n];s==r.k1?t.add(n):s==r.l3&&e.add(n)}),n||(a.offset=o/this.duration),s.push(a)});const i=t.size?z(t.values()):[],o=e.size?z(e.values()):[];if(n){const t=s[0],e=L(t);t.offset=0,e.offset=1,s=[t,e]}return dt(this.element,s,i,o,this.duration,this.startTime,this.easing,!1)}}class wt extends bt{constructor(t,e,n,s,i,r,o=!1){super(t,e,r.delay),this.keyframes=n,this.preStyleProps=s,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],r=n+e,o=e/r,a=j(t[0],!1);a.offset=0,i.push(a);const l=j(t[0],!1);l.offset=Ct(o),i.push(l);const c=t.length-1;for(let s=1;s<=c;s++){let o=j(t[s],!1);o.offset=Ct((e+o.offset*n)/r),i.push(o)}n=r,e=0,s="",t=i}return dt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,s,!0)}}function Ct(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class St{}class kt extends St{normalizePropertyName(t,e){return W(t)}normalizeStyleValue(t,e,n,s){let i="";const r=n.toString().trim();if(Tt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&s.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+i}}const Tt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Et(t,e,n,s,i,r,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:r,toState:s,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const xt={};class Dt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,s){return function(t,e,n,s,i){return t.some(t=>t(e,n,s,i))}(this.ast.matchers,t,e,n,s)}buildStyles(t,e,n){const s=this._stateStyles["*"],i=this._stateStyles[t],r=s?s.buildStyles(e,n):{};return i?i.buildStyles(e,n):r}build(t,e,n,s,i,r,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||xt,d=this.buildStyles(n,o&&o.params||xt,u),f=a&&a.params||xt,m=this.buildStyles(s,f,u),g=new Set,_=new Map,y=new Map,v="void"===s,b={params:Object.assign(Object.assign({},h),f)},w=c?[]:gt(t,e,this.ast.animation,i,r,d,m,b,l,u);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),u.length)return Et(e,this._triggerName,n,s,v,d,m,[],[],_,y,C,u);
1w.forEach(t=>{const n=t.element,s=p(_,n,{});t.preStyleProps.forEach(t=>s[t]=!0);const i=p(y,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&g.add(n)});const S=z(g.values());return Et(e,this._triggerName,n,s,v,d,m,w,S,_,y,C)}}class At{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},s=L(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(s[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let r=i[t];r.length>1&&(r=$(r,s,e));const o=this.normalizer.normalizePropertyName(t,e);r=this.normalizer.normalizeStyleValue(t,o,r,e),n[o]=r})}}),n}}class Ot{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new At(t.style,t.options&&t.options.params||{},n)}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Dt(t,e,this.states))}),this.fallbackTransition=new Dt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,s){return this.transitionFactories.find(i=>i.match(t,e,n,s))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Mt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Rt=new pt;class It{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],s=ot(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=s}_buildPlayer(t,e,n){const s=t.element,i=c(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(s,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const s=[],i=this._animations[t];let o;const a=new Map;if(i?(o=gt(this._driver,e,i,D,A,{},{},n,Rt,s),o.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),o=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.l3)})});const c=l(o.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,s){const i=d(e,"","","");return u(this._getPlayer(t),n,i,s),()=>{}}command(t,e,n,s){if("register"==n)return void this.register(t,s[0]);if("create"==n)return void this.create(t,e,s[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(t)}}}const Pt="ng-animate-queued",Ft="ng-animate-disabled",Nt=".ng-animate-disabled",Lt=[],jt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Ht{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(s=n?t.value:t)?s:null,n){const e=L(t);delete e.value,this.options=e}else this.options={};var s;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Ut="void",Yt=new Ht(Ut);class Bt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+t,Jt(e,this._hostClassName)}listen(t,e,n,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const r=p(this._elementListeners,t,[]),o={name:e,phase:n,callback:s};r.push(o);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Jt(t,O),Jt(t,"ng-trigger-"+e),a[e]=Yt),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,s=!0){const i=this._getTrigger(e),r=new Zt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Jt(t,O),Jt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Ht(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=Yt),l.value!==Ut&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),s=Object.keys(e);if(n.length!=s.length)return!1;for(let i=0;i<n.length;i++){const s=n[i];if(!e.hasOwnProperty(s)||t[s]!==e[s])return!1}return!0}(a.params,l.params)){const e=[],n=i.matchStyles(a.value,a.params,e),s=i.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{Y(t,n),U(t,s)})}return}const c=p(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=i.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!s)return;u=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:r,isFallbackTransition:h}),h||(Jt(t,Pt),r.onStart(()=>{Qt(t,Pt)})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,M,!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,s){const i=this._engine.statesByElement.get(t);if(i){const r=[];
1if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Ut,s);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&l(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const s=new Set;e.forEach(e=>{const i=e.name;if(s.has(i))return;s.add(i);const r=this._triggers[i].fallbackTransition,o=n[i]||Yt,a=new Ht(Ut),l=new Zt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:r,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let s=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)s=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(t),s)n.markElementAsRemoved(this.id,t,!1,e);else{const s=t.__ng_removed;s&&s!==jt||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Jt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const s=n.player;if(s.destroyed)return;const i=n.element,r=this._elementListeners.get(i);r&&r.forEach(e=>{if(e.name==n.triggerName){const s=d(i,n.triggerName,n.fromState.value,n.toState.value);s._data=t,u(n.player,e.phase,s,e.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,s=e.transition.ast.depCount;return 0==n||0==s?n-s:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class qt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Bt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let s=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),s=!0;break}s||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let s=this._namespaceLookup[t];s&&s.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let s=0;s<t.length;s++){const i=n[t[s]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,s){if($t(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,s),!0}return!1}insertNode(t,e,n,s){if(!$t(e))return;const i=e.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,n)}s&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Jt(t,Ft)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Qt(t,Ft))}removeNode(t,e,n,s){if($t(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,s):this.markElementAsRemoved(t,e,!1,s),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(t,e,n,s){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,s,i){return $t(e)?this._fetchNamespace(t).listen(e,n,s,i):()=>{}}_buildInstruction(t,e,n,s,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,s,t.fromState.options,t.toState.o
1ptions,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,M,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,I,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return l(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=jt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Nt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Nt,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Jt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?l(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new pt,s=[],i=new Map,o=[],a=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)h.add(e[n])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=Wt(f,this.collectedEnterElements),g=new Map;let _=0;m.forEach((t,e)=>{const n=D+_++;g.set(e,n),t.forEach(t=>Jt(t,n))});const y=[],v=new Set,b=new Set;for(let r=0;r<this.collectedLeaveElements.length;r++){const t=this.collectedLeaveElements[r],e=t.__ng_removed;e&&e.setForRemoval&&(y.push(t),v.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>v.add(t)):b.add(t))}const w=new Map,C=Wt(f,Array.from(v));C.forEach((t,e)=>{const n=A+_++;w.set(e,n),t.forEach(t=>Jt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Qt(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Qt(t,n))}),y.forEach(t=>{this.processLeaveNode(t)})});const S=[],k=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(S.push(e),this.collectedEnterElements.length){const t=i.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!d||!this.driver.containsElement(d,i),l=w.get(i),h=g.get(i),f=this._buildInstruction(t,n,h,l,r);if(f.errors&&f.errors.length)k.push(f);else{if(r)return e.onStart(()=>Y(i,f.fromStyles)),e.onDestroy(()=>U(i,f.toStyles)),void s.push(e);if(t.isFallbackTransition)return e.onStart(()=>Y(i,f.fromStyles)),e.onDestroy(()=>U(i,f.toStyles)),void s.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,f.timelines),o.push({instruction:f,player:e,element:i}),f.queriedElements.forEach(t=>p(a,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let s=u.get(e);s||u.set(e,s=new Set),n.forEach(t=>s.add(t))})}});if(k.length){const t=[];k.forEach(e=>{t.push(`@${e.triggerName}
1 has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),S.forEach(t=>t.destroy()),this.reportError(t)}const T=new Map,E=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,T))}),s.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(T,e,[]).push(t),t.destroy()})});const x=y.filter(t=>te(t,c,u)),O=new Map;Gt(O,this.driver,b,u,r.l3).forEach(t=>{te(t,c,u)&&x.push(t)});const M=new Map;m.forEach((t,e)=>{Gt(M,this.driver,new Set(t),c,r.k1)}),x.forEach(t=>{const e=O.get(t),n=M.get(t);O.set(t,Object.assign(Object.assign({},e),n))});const R=[],P=[],F={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(h.has(e))return r.onDestroy(()=>U(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void s.push(r);let t=F;if(E.size>1){let n=e;const s=[];for(;n=n.parentNode;){const e=E.get(n);if(e){t=e;break}s.push(n)}s.forEach(e=>E.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,T,i,M,O);if(r.setRealPlayer(n),t===F)R.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=l(e)),s.push(r)}}else Y(e,o.fromStyles),r.onDestroy(()=>U(e,o.toStyles)),P.push(r),h.has(e)&&s.push(r)}),P.forEach(t=>{const e=i.get(t.element);if(e&&e.length){const n=l(e);t.setRealPlayer(n)}}),s.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r<y.length;r++){const t=y[r],e=t.__ng_removed;if(Qt(t,A),e&&e.hasAnimation)continue;let n=[];if(a.size){let e=a.get(t);e&&e.length&&n.push(...e);let s=this.driver.query(t,I,!0);for(let t=0;t<s.length;t++){let e=a.get(s[t]);e&&e.length&&n.push(...e)}}const s=n.filter(t=>!t.destroyed);s.length?Kt(this,t,s):this.processLeaveNode(t)}return y.length=0,R.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),R}elementContainsData(t,e){let n=!1;const s=e.__ng_removed;return s&&s.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,s,i){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||i==Ut;e.forEach(e=>{e.queued||(t||e.triggerName==s)&&r.push(e)})}}return(n||s)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||s&&s!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const s=e.element,i=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==s,l=p(n,t,[]);this._getPreviousPlayers(t,a,i,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}Y(s,e.fromStyles)}_buildAnimation(t,e,n,s,i,o){const a=e.triggerName,u=e.element,h=[],d=new Set,f=new Set,m=e.timelines.map(e=>{const l=e.element;d.add(l);const p=l.__ng_removed;if(p&&p.removedBeforeQueried)return new r.ZN(e.duration,e.delay);const m=l!==u,g=function(t){const e=[];return Xt(t,e),e}((n.get(l)||Lt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===l),_=i.get(l),y=o.get(l),v=c(0,this._normalizer,0,e.keyframes,_,y),b=this._buildPlayer(e,v,g);if(e.subTimeline&&s&&f.add(l),m){const e=new Zt(t,a,l);e.setRealPlayer(b),h.push(e)}return b});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let s;if(t instanceof Map){if(s=t.get(e),s){if(s.length){const t=s.indexOf(n);s.splice(t,1)}0==s.length&&t.delete(e)}}else if(s=t[e],s){if(s.length){const t=s.indexOf(n);s.splice(t,1)}0==s.length&&delete t[e]}return s}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Jt(t,R));const g=l(m);return g.onDestroy(()=>{d.forEach(t=>Qt(t,R)),U(u,e.toStyles)}),f.forEach(t=>{p(s,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.ZN(t.duration,t.delay)}}class Zt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEac
1h(e=>{this._queuedCallbacks[e].forEach(n=>u(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){p(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function $t(t){return t&&1===t.nodeType}function zt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Gt(t,e,n,s,i){const r=[];n.forEach(t=>r.push(zt(t)));const o=[];s.forEach((n,s)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(s,t,i);n&&0!=n.length||(s.__ng_removed=Vt,o.push(s))}),t.set(s,r)});let a=0;return n.forEach(t=>zt(t,r[a++])),o}function Wt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const s=new Set(e),i=new Map;function r(t){if(!t)return 1;let e=i.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:s.has(o)?1:r(o),i.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}function Jt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Qt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Kt(t,e,n){l(n).onDone(()=>t.processLeaveNode(e))}function Xt(t,e){for(let n=0;n<t.length;n++){const s=t[n];s instanceof r.ZE?Xt(s.players,e):e.push(s)}}function te(t,e,n){const s=n.get(t);if(!s)return!1;let i=e.get(t);return i?s.forEach(t=>i.add(t)):e.set(t,s),n.delete(t),!0}class ee{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new qt(t,e,n),this._timelineEngine=new It(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,s,i){const r=t+"-"+s;let o=this._triggerCache[r];if(!o){const t=[],e=ot(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e,n){return new Ot(t,e,n)}(s,e,this._normalizer),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,s,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,s){this._transitionEngine.insertNode(t,e,n,s)}onRemove(t,e,n,s){this._transitionEngine.removeNode(t,e,s||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,s){if("@"==n.charAt(0)){const[t,i]=f(n);this._timelineEngine.command(t,e,i,s)}else this._transitionEngine.trigger(t,e,n,s)}listen(t,e,n,s,i){if("@"==n.charAt(0)){const[t,s]=f(n);return this._timelineEngine.listen(t,e,s,i)}return this._transitionEngine.listen(t,e,n,s,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ne(t,e){let n=null,s=null;return Array.isArray(e)&&e.length?(n=ie(e[0]),e.length>1&&(s=ie(e[e.length-1]))):e&&(n=ie(e)),n||s?new se(t,n,s):null}class se{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let s=se.initialStylesByElement.get(t);s||se.initialStylesByElement.set(t,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&U(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(U(this._element,this._initialStyles),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(se.initialStylesByElement.delete(this._element),this._startStyles&&(Y(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Y(this._element,this._endStyles),this._endStyles=null),U(this._element,this._initialStyles),this._state=3)}}function ie(t){let e=null;const n=Object.keys(t);for(let s=0;s<n.length;s++){const i=n[s];re(i)&&(e=e||{},e[i]=t[i])}return e}function re(t){return"display"===t||"position"===t}se.initialStylesByElement=new WeakMap;const oe="animation",ae="animationend";class le{constructor(t,e,n,s,i,r,o){this._element=t,this._name=e,this._duration=n,this._delay=s,this._easing=i,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=fe(t,"").trim();n.length&&(function(t,e){let n=0;for(let s=0;s<t.length;s++)","===t.charAt(s)&&n++}(n),e=`${n}, ${e}`),pe(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),de(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){ce(this._element,this._name,"paused")}resume(){ce(this._element,this._name,"running")}setPosition(t){const e=ue(this._element,this._name);this._position=t*this._duration,pe(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),de(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=fe(t,"").split(","),s=he(n,e);s>=0&&(n.splice(s,1),pe(t,"",n.join(",")))}(this._element,this._name))}}function ce(t,e,n){pe(t,"PlayState",n,ue(t,e))}function ue(t,e){const n=fe(t,"");return n.indexOf(",")>0?he(n.split(","),e):he([n],e)}function he(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function de(t,e,n){n?t.removeEventListener(ae,e):t.addEventListener(ae,e)}function pe(t,e,n,s){const i=oe+e;if(null!=s){const e=t.style[i];if(e.length){const t=e.split(",");t[s]=n,n=t.join(",")}}t.style[i]=n}function fe(t,e){return t.style[oe+e]||""}class me{constructor(t,e,n,s,i,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=s,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=s+i,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>
1=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new le(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:X(this.element,n))})}this.currentSnapshot=t}}class ge extends r.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=T(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class _e{constructor(){this._count=0}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return S(t,e)}query(t,e,n){return k(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>T(t));let s=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);s+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(s+=`${i}animation-timing-function: ${n};\n`));default:return void(s+=`${i}${e}: ${n};\n`)}}),s+=`${i}}\n`}),s+="}\n";const r=document.createElement("style");return r.textContent=s,r}animate(t,e,n,s,i,r=[],o){const a=r.filter(t=>t instanceof me),l={};J(n,s)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Q(t,e,l));if(0==n)return new ge(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=ne(t,e),p=new me(t,e,u,n,s,i,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class ye{constructor(t,e,n,s){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};
1this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:X(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ve{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(be().toString()),this._cssKeyframesDriver=new _e}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return S(t,e)}query(t,e,n){return k(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,s,i,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,s,i,r);const a={duration:n,delay:s,fill:0==s?"both":"forwards"};i&&(a.easing=i);const l={},c=r.filter(t=>t instanceof ye);J(n,s)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=ne(t,e=Q(t,e=e.map(t=>j(t,!1)),l));return new ye(t,e,a,u)}}function be(){return o()&&Element.prototype.animate||{}}var we=n(8583);let Ce=(()=>{class t extends r._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,r.vP)(t):t;return Te(this._renderer,null,e,"register",[n]),new Se(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(we.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class Se extends r.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ke(this._id,t,e||{},this._renderer)}}class ke{constructor(t,e,n,s){this.id=t,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Te(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Te(t,e,n,s,i){return t.setProperty(e,`@@${n}:${s}`,i)}const Ee="@",xe="@.disabled";let De=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new Ae("",n,this.engine),this._rendererCache.set(n,t)),t}const s=e.id,i=e.id+"-"+this._currentId;this._currentId++,this.engine.register(i,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(s,i,t,e.name,e)};return e.data.animation.forEach(r),new Oe(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(ee),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class Ae{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}
1appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,s=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,s)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,s){this.delegate.setAttribute(t,e,n,s)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,s){this.delegate.setStyle(t,e,n,s)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==Ee&&e==xe?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Oe extends Ae{constructor(t,e,n,s){super(e,n,s),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==Ee?"."==e.charAt(1)&&e==xe?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==Ee){const s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),r="";return i.charAt(0)!=Ee&&([i,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i)),this.engine.listen(this.namespaceId,s,i,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Me=(()=>{class t extends ee{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(we.K0),i.LFG(x),i.LFG(St))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const Re=new i.OlP("AnimationModuleType"),Ie=[{provide:r._j,useClass:Ce},{provide:St,useFactory:function(){return new kt}},{provide:ee,useClass:Me},{provide:i.FYo,useFactory:function(t,e,n){return new De(t,e,n)},deps:[s.se,ee,i.R0b]}],Pe=[{provide:x,useFactory:function(){return"function"==typeof be()?new ve:new _e}},{provide:Re,useValue:"BrowserAnimations"},...Ie],Fe=[{provide:x,useClass:E},{provide:Re,useValue:"NoopAnimations"},...Ie];let Ne=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?Fe:Pe}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:Pe,imports:[s.b2]}),t})();var Le=n(4329);let je=(()=>{class t{constructor(){this.title="tigerdesert9"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&i._UZ(0,"router-outlet")},directives:[Le.lC],styles:[""]}),t})();var Ve=n(5939);const He=[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",loadChildren:()=>n.e(943).then(n.bind(n,943)).then(t=>t.AuthModule)},{path:"",loadChildren:()=>n.e(820).then(n.bind(n,7820)).then(t=>t.PagesModule),canActivate:[Ve.a]}];let Ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[Le.Bz.forRoot(He)],Le.Bz]}),t})();var Ye=n(6821),Be=n(5766),qe=n(768),Ze=n(2340),$e=n(1841);let ze=(()=>{class t{constructor(t){this.http=t,this.api=qe.h,this.env=Ze.N}load(){return this.http.get(this.env.baseUrl+this.api.googleConfig).toPromise().then(t=>(Object.assign(this,t),t))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG($e.eN))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t,bootstrap:[je]}),t.\u0275inj=i.cJS({providers:[Ve.a,ze,{provide:i.ip1,useFactory:We,multi:!0,deps:[ze]}],imports:[[Ne,Ue,Ye.m,Be.z8.forRoot()]]}),t})();function We(t){let e=t.load();return e.then(function(t){Ze.N.RECAPTCHA_V3_SITE_KEY=t.result.recaptchaConfig.recaptchaSiteKey,Ze.N.RECAPTCHA_V3_ENABLED=t.result.recaptchaConfig.recaptchaEnabled}),()=>e}
1Ze.N.production&&(0,i.G48)(),s.q6().bootstrapModule(Ge).catch(t=>console.error(t))}},t=>{"use strict";t(t.s=9124)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.