/** * @license Angular v8.1.0 * (c) 2010-2019 Google LLC. https://angular.io/ * License: MIT */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@angular/common",["exports","@angular/core"],t):t(((e=e||self).ng=e.ng||{},e.ng.common={}),e.ng.core)}(this,function(e,t){"use strict"; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var r=function r(){},n=new t.InjectionToken("Location Initialized"),u=function u(){},a=new t.InjectionToken("appBaseHref"),o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var s=function(){return(s=Object.assign||function e(t){for(var r,n=1,u=arguments.length;n=0;i--)(u=e[i])&&(o=(a<3?u(o):a>3?u(t,r,o):u(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o}function c(e,t){return function(r,n){t(r,n,e)}}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function h(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,u,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){u={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(u)throw u.error}}return o} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var D=function(){function e(e,r){var u=this;this._subject=new t.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;var a=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=n.stripTrailingSlash(d(a)),this._platformStrategy.onPopState(function(e){u._subject.emit({url:u.path(!0),pop:!0,state:e.state,type:e.type})})}var n;return n=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.getState=function(){return this._platformLocation.getState()},e.prototype.isCurrentPathEqualTo=function(e,t){return void 0===t&&(t=""),this.path()==this.normalize(e+n.normalizeQueryParams(t))},e.prototype.normalize=function(e){return n.stripTrailingSlash(function t(e,r){return e&&r.startsWith(e)?r.substring(e.length):r}(this._baseHref,d(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,r){void 0===t&&(t=""),void 0===r&&(r=null),this._platformStrategy.pushState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+n.normalizeQueryParams(t)),r)},e.prototype.replaceState=function(e,t,r){void 0===t&&(t=""),void 0===r&&(r=null),this._platformStrategy.replaceState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+n.normalizeQueryParams(t)),r)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.onUrlChange=function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)})},e.prototype._notifyUrlChangeListeners=function(e,t){void 0===e&&(e=""),this._urlChangeListeners.forEach(function(r){return r(e,t)})},e.prototype.subscribe=function(e,t,r){return this._subject.subscribe({next:e,error:t,complete:r})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,2==r?e+t.substring(1):1==r?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),r=t&&t.index||e.length;return e.slice(0,r-("/"===e[r-1]?1:0))+e.slice(r)},n=l([t.Injectable(),f("design:paramtypes",[u,r])],e)}();function d(e){return e.replace(/\/index.html$/,"")} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var y,m,g,C,v,F,_,E=function(e){function n(t,r){var n=e.call(this)||this;return n._platformLocation=t,n._baseHref="",null!=r&&(n._baseHref=r),n}return i(n,e),n.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},n.prototype.prepareExternalUrl=function(e){var t=D.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},n.prototype.pushState=function(e,t,r,n){var u=this.prepareExternalUrl(r+D.normalizeQueryParams(n));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.pushState(e,t,u)},n.prototype.replaceState=function(e,t,r,n){var u=this.prepareExternalUrl(r+D.normalizeQueryParams(n));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,u)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},l([t.Injectable(),c(1,t.Optional()),c(1,t.Inject(a)),f("design:paramtypes",[r,String])],n)}(u),b=function(e){function n(t,r){var n=e.call(this)||this;if(n._platformLocation=t,null==r&&(r=n._platformLocation.getBaseHrefFromDOM()),null==r)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.");return n._baseHref=r,n}return i(n,e),n.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.prepareExternalUrl=function(e){return D.joinWithSlash(this._baseHref,e)},n.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+D.normalizeQueryParams(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?""+t+r:t},n.prototype.pushState=function(e,t,r,n){var u=this.prepareExternalUrl(r+D.normalizeQueryParams(n));this._platformLocation.pushState(e,t,u)},n.prototype.replaceState=function(e,t,r,n){var u=this.prepareExternalUrl(r+D.normalizeQueryParams(n));this._platformLocation.replaceState(e,t,u)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},l([t.Injectable(),c(1,t.Optional()),c(1,t.Inject(a)),f("design:paramtypes",[r,String])],n)}(u),A={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"р.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",0],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",0],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]}; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function w(e){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.LocaleId]}function S(e,r,n){var u=t.ɵfindLocaleData(e),a=j([u[t.ɵLocaleDataIndex.DayPeriodsFormat],u[t.ɵLocaleDataIndex.DayPeriodsStandalone]],r);return j(a,n)}function P(e,r,n){var u=t.ɵfindLocaleData(e),a=j([u[t.ɵLocaleDataIndex.DaysFormat],u[t.ɵLocaleDataIndex.DaysStandalone]],r);return j(a,n)}function O(e,r,n){var u=t.ɵfindLocaleData(e),a=j([u[t.ɵLocaleDataIndex.MonthsFormat],u[t.ɵLocaleDataIndex.MonthsStandalone]],r);return j(a,n)}function B(e,r){return j(t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.Eras],r)}function M(e,r){return j(t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.DateFormat],r)}function L(e,r){return j(t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.TimeFormat],r)}function I(e,r){return j(t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.DateTimeFormat],r)}function k(r,n){var u=t.ɵfindLocaleData(r),a=u[t.ɵLocaleDataIndex.NumberSymbols][n];if(void 0===a){if(n===e.NumberSymbol.CurrencyDecimal)return u[t.ɵLocaleDataIndex.NumberSymbols][e.NumberSymbol.Decimal];if(n===e.NumberSymbol.CurrencyGroup)return u[t.ɵLocaleDataIndex.NumberSymbols][e.NumberSymbol.Group]}return a}function T(e,r){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.NumberFormats][r]}( /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ y=e.NumberFormatStyle||(e.NumberFormatStyle={}))[y.Decimal=0]="Decimal",y[y.Percent=1]="Percent",y[y.Currency=2]="Currency",y[y.Scientific=3]="Scientific",(m=e.Plural||(e.Plural={}))[m.Zero=0]="Zero",m[m.One=1]="One",m[m.Two=2]="Two",m[m.Few=3]="Few",m[m.Many=4]="Many",m[m.Other=5]="Other",(g=e.FormStyle||(e.FormStyle={}))[g.Format=0]="Format",g[g.Standalone=1]="Standalone",(C=e.TranslationWidth||(e.TranslationWidth={}))[C.Narrow=0]="Narrow",C[C.Abbreviated=1]="Abbreviated",C[C.Wide=2]="Wide",C[C.Short=3]="Short",(v=e.FormatWidth||(e.FormatWidth={}))[v.Short=0]="Short",v[v.Medium=1]="Medium",v[v.Long=2]="Long",v[v.Full=3]="Full",(F=e.NumberSymbol||(e.NumberSymbol={}))[F.Decimal=0]="Decimal",F[F.Group=1]="Group",F[F.List=2]="List",F[F.PercentSign=3]="PercentSign",F[F.PlusSign=4]="PlusSign",F[F.MinusSign=5]="MinusSign",F[F.Exponential=6]="Exponential",F[F.SuperscriptingExponent=7]="SuperscriptingExponent",F[F.PerMille=8]="PerMille",F[F[1/0]=9]="Infinity",F[F.NaN=10]="NaN",F[F.TimeSeparator=11]="TimeSeparator",F[F.CurrencyDecimal=12]="CurrencyDecimal",F[F.CurrencyGroup=13]="CurrencyGroup",(_=e.WeekDay||(e.WeekDay={}))[_.Sunday=0]="Sunday",_[_.Monday=1]="Monday",_[_.Tuesday=2]="Tuesday",_[_.Wednesday=3]="Wednesday",_[_.Thursday=4]="Thursday",_[_.Friday=5]="Friday",_[_.Saturday=6]="Saturday";var N=t.ɵgetLocalePluralCase;function R(e){if(!e[t.ɵLocaleDataIndex.ExtraData])throw new Error('Missing extra locale data for the locale "'+e[t.ɵLocaleDataIndex.LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function x(e){var r=t.ɵfindLocaleData(e);return R(r),(r[t.ɵLocaleDataIndex.ExtraData][2]||[]).map(function(e){return"string"==typeof e?W(e):[W(e[0]),W(e[1])]})}function V(e,r,n){var u=t.ɵfindLocaleData(e);R(u);var a=j([u[t.ɵLocaleDataIndex.ExtraData][0],u[t.ɵLocaleDataIndex.ExtraData][1]],r)||[];return j(a,n)||[]}function j(e,t){for(var r=t;r>-1;r--)if(void 0!==e[r])return e[r];throw new Error("Locale data API: locale data undefined")}function W(e){var t=h(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function H(e,r,n){void 0===n&&(n="en");var u=function a(e){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.Currencies]}(n)[e]||A[e]||[],o=u[1];return"narrow"===r&&"string"==typeof o?o:u[0]||e}var G=2;function $(e){var t,r=A[e];return r&&(t=r[2]),"number"==typeof t?t:G} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var z,U,Z,K=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Y={},Q=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function J(t,r,n,u){var a=function o(e){if(le(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,r=parseFloat(e);if(!isNaN(e-r))return new Date(r);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var n=h(e.split("-").map(function(e){return+e}),3);return new Date(n[0],n[1]-1,n[2])}if(t=e.match(K))return se(t)}var u=new Date(e);if(!le(u))throw new Error('Unable to convert "'+e+'" into a date');return u}(t);r=function t(r,n){var u=w(r);if(Y[u]=Y[u]||{},Y[u][n])return Y[u][n];var a="";switch(n){case"shortDate":a=M(r,e.FormatWidth.Short);break;case"mediumDate":a=M(r,e.FormatWidth.Medium);break;case"longDate":a=M(r,e.FormatWidth.Long);break;case"fullDate":a=M(r,e.FormatWidth.Full);break;case"shortTime":a=L(r,e.FormatWidth.Short);break;case"mediumTime":a=L(r,e.FormatWidth.Medium);break;case"longTime":a=L(r,e.FormatWidth.Long);break;case"fullTime":a=L(r,e.FormatWidth.Full);break;case"short":var o=t(r,"shortTime"),i=t(r,"shortDate");a=X(I(r,e.FormatWidth.Short),[o,i]);break;case"medium":var s=t(r,"mediumTime"),l=t(r,"mediumDate");a=X(I(r,e.FormatWidth.Medium),[s,l]);break;case"long":var c=t(r,"longTime"),f=t(r,"longDate");a=X(I(r,e.FormatWidth.Long),[c,f]);break;case"full":var p=t(r,"fullTime"),h=t(r,"fullDate");a=X(I(r,e.FormatWidth.Full),[p,h])}return a&&(Y[u][n]=a),a}(n,r)||r;for(var i,s=[];r;){if(!(i=Q.exec(r))){s.push(r);break}var l=(s=s.concat(i.slice(1))).pop();if(!l)break;r=l}var c=a.getTimezoneOffset();u&&(c=ie(u,c),a=function f(e,t,r){var n=r?-1:1,u=e.getTimezoneOffset();return function a(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,n*(ie(t,u)-u))}(a,u,!0));var p="";return s.forEach(function(t){var r=function u(t){if(oe[t])return oe[t];var r;switch(t){case"G":case"GG":case"GGG":r=te(Z.Eras,e.TranslationWidth.Abbreviated);break;case"GGGG":r=te(Z.Eras,e.TranslationWidth.Wide);break;case"GGGGG":r=te(Z.Eras,e.TranslationWidth.Narrow);break;case"y":r=ee(U.FullYear,1,0,!1,!0);break;case"yy":r=ee(U.FullYear,2,0,!0,!0);break;case"yyy":r=ee(U.FullYear,3,0,!1,!0);break;case"yyyy":r=ee(U.FullYear,4,0,!1,!0);break;case"M":case"L":r=ee(U.Month,1,1);break;case"MM":case"LL":r=ee(U.Month,2,1);break;case"MMM":r=te(Z.Months,e.TranslationWidth.Abbreviated);break;case"MMMM":r=te(Z.Months,e.TranslationWidth.Wide);break;case"MMMMM":r=te(Z.Months,e.TranslationWidth.Narrow);break;case"LLL":r=te(Z.Months,e.TranslationWidth.Abbreviated,e.FormStyle.Standalone);break;case"LLLL":r=te(Z.Months,e.TranslationWidth.Wide,e.FormStyle.Standalone);break;case"LLLLL":r=te(Z.Months,e.TranslationWidth.Narrow,e.FormStyle.Standalone);break;case"w":r=ae(1);break;case"ww":r=ae(2);break;case"W":r=ae(1,!0);break;case"d":r=ee(U.Date,1);break;case"dd":r=ee(U.Date,2);break;case"E":case"EE":case"EEE":r=te(Z.Days,e.TranslationWidth.Abbreviated);break;case"EEEE":r=te(Z.Days,e.TranslationWidth.Wide);break;case"EEEEE":r=te(Z.Days,e.TranslationWidth.Narrow);break;case"EEEEEE":r=te(Z.Days,e.TranslationWidth.Short);break;case"a":case"aa":case"aaa":r=te(Z.DayPeriods,e.TranslationWidth.Abbreviated);break;case"aaaa":r=te(Z.DayPeriods,e.TranslationWidth.Wide);break;case"aaaaa":r=te(Z.DayPeriods,e.TranslationWidth.Narrow);break;case"b":case"bb":case"bbb":r=te(Z.DayPeriods,e.TranslationWidth.Abbreviated,e.FormStyle.Standalone,!0);break;case"bbbb":r=te(Z.DayPeriods,e.TranslationWidth.Wide,e.FormStyle.Standalone,!0);break;case"bbbbb":r=te(Z.DayPeriods,e.TranslationWidth.Narrow,e.FormStyle.Standalone,!0);break;case"B":case"BB":case"BBB":r=te(Z.DayPeriods,e.TranslationWidth.Abbreviated,e.FormStyle.Format,!0);break;case"BBBB":r=te(Z.DayPeriods,e.TranslationWidth.Wide,e.FormStyle.Format,!0);break;case"BBBBB":r=te(Z.DayPeriods,e.TranslationWidth.Narrow,e.FormStyle.Format,!0);break;case"h":r=ee(U.Hours,1,-12);break;case"hh":r=ee(U.Hours,2,-12);break;case"H":r=ee(U.Hours,1);break;case"HH":r=ee(U.Hours,2);break;case"m":r=ee(U.Minutes,1);break;case"mm":r=ee(U.Minutes,2);break;case"s":r=ee(U.Seconds,1);break;case"ss":r=ee(U.Seconds,2);break;case"S":r=ee(U.FractionalSeconds,1);break;case"SS":r=ee(U.FractionalSeconds,2);break;case"SSS":r=ee(U.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":r=re(z.Short);break;case"ZZZZZ":r=re(z.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=re(z.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":r=re(z.Long);break;default:return null}return oe[t]=r,r}(t);p+=r?r(a,n,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function X(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,r){return null!=t&&r in t?t[r]:e})),e}function q(e,t,r,n,u){void 0===r&&(r="-");var a="";(e<0||u&&e<=0)&&(u?e=1-e:(e=-e,a=r));for(var o=String(e);o.length0||s>-n)&&(s+=n),t===U.Hours)0===s&&-12===n&&(s=12);else if(t===U.FractionalSeconds)return function c(e,t){return q(e,3).substr(0,t)}(s,r);var f=k(i,e.NumberSymbol.MinusSign);return q(s,r,f,u,a)}}function te(t,r,n,u){return void 0===n&&(n=e.FormStyle.Format),void 0===u&&(u=!1),function(e,a){return function o(e,t,r,n,u,a){switch(r){case Z.Months:return O(t,u,n)[e.getMonth()];case Z.Days:return P(t,u,n)[e.getDay()];case Z.DayPeriods:var o=e.getHours(),i=e.getMinutes();if(a){var s,l=x(t),c=V(t,u,n);if(l.forEach(function(e,t){if(Array.isArray(e)){var r=e[0],n=e[1],u=n.hours;o>=r.hours&&i>=r.minutes&&(o0?Math.floor(a/60):Math.ceil(a/60);switch(t){case z.Short:return(a>=0?"+":"")+q(i,2,o)+q(Math.abs(a%60),2,o);case z.ShortGMT:return"GMT"+(a>=0?"+":"")+q(i,1,o);case z.Long:return"GMT"+(a>=0?"+":"")+q(i,2,o)+":"+q(Math.abs(a%60),2,o);case z.Extended:return 0===u?"Z":(a>=0?"+":"")+q(i,2,o)+":"+q(Math.abs(a%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(z||(z={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(U||(U={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(Z||(Z={}));var ne=0,ue=4;function ae(t,r){return void 0===r&&(r=!1),function(n,u){var a;if(r){var o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,i=n.getDate();a=1+Math.floor((i+o)/7)}else{var s=function l(e){var t=new Date(e,ne,1).getDay();return new Date(e,0,1+(t<=ue?ue:ue+7)-t)}(n.getFullYear()),c=function f(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(ue-e.getDay()))}(n).getTime()-s.getTime();a=1+Math.round(c/6048e5)}return q(a,t,k(u,e.NumberSymbol.MinusSign))}}var oe={};function ie(e,t){e=e.replace(/:/g,"");var r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function se(e){var t=new Date(0),r=0,n=0,u=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),u.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-r,i=Number(e[5]||0)-n,s=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return a.call(t,o,i,s,l),t}function le(e){return e instanceof Date&&!isNaN(e.valueOf())} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var ce=/^(\d+)?\.((\d+)(-(\d+))?)?$/,fe=22,pe=".",he="0",De=";",de=",",ye="#",me="¤",ge="%";function Ce(t,r,n,u,a,o,i){void 0===i&&(i=!1);var s="",l=!1;if(isFinite(t)){var c=function f(e){var t,r,n,u,a,o=Math.abs(e)+"",i=0;for((r=o.indexOf(pe))>-1&&(o=o.replace(pe,"")),(n=o.search(/e/i))>0?(r<0&&(r=n),r+=+o.slice(n+1),o=o.substring(0,n)):r<0&&(r=o.length),n=0;o.charAt(n)===he;n++);if(n===(a=o.length))t=[0],r=1;else{for(a--;o.charAt(a)===he;)a--;for(r-=n,t=[],u=0;n<=a;n++,u++)t[u]=Number(o.charAt(n))}return r>fe&&(t=t.splice(0,fe-1),i=r-1,r=1),{digits:t,exponent:i,integerLen:r}}(t);i&&(c=function p(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));var h=r.minInt,D=r.minFrac,d=r.maxFrac;if(o){var y=o.match(ce);if(null===y)throw new Error(o+" is not a valid digit info");var m=y[1],g=y[3],C=y[5];null!=m&&(h=be(m)),null!=g&&(D=be(g)),null!=C?d=be(C):null!=g&&D>d&&(d=D)}!function v(e,t,r){if(t>r)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+r+").");var n=e.digits,u=n.length-e.integerLen,a=Math.min(Math.max(t,u),r),o=a+e.integerLen,i=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(var s=o;s=5)if(o-1<0){for(var c=0;c>o;c--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;u=p?n.pop():f=!1),t>=10?1:0},0);h&&(n.unshift(h),e.integerLen++)}(c,D,d);var F=c.digits,_=c.integerLen,E=c.exponent,b=[];for(l=F.every(function(e){return!e});_0?b=F.splice(_,F.length):(b=F,F=[0]);var A=[];for(F.length>=r.lgSize&&A.unshift(F.splice(-r.lgSize,F.length).join(""));F.length>r.gSize;)A.unshift(F.splice(-r.gSize,F.length).join(""));F.length&&A.unshift(F.join("")),s=A.join(k(n,u)),b.length&&(s+=k(n,a)+b.join("")),E&&(s+=k(n,e.NumberSymbol.Exponential)+"+"+E)}else s=k(n,e.NumberSymbol.Infinity);return t<0&&!l?r.negPre+s+r.negSuf:r.posPre+s+r.posSuf}function ve(t,r,n,u,a){var o=Ee(T(r,e.NumberFormatStyle.Currency),k(r,e.NumberSymbol.MinusSign));return o.minFrac=$(u),o.maxFrac=o.minFrac,Ce(t,o,r,e.NumberSymbol.CurrencyGroup,e.NumberSymbol.CurrencyDecimal,a).replace(me,n).replace(me,"")}function Fe(t,r,n){return Ce(t,Ee(T(r,e.NumberFormatStyle.Percent),k(r,e.NumberSymbol.MinusSign)),r,e.NumberSymbol.Group,e.NumberSymbol.Decimal,n,!0).replace(new RegExp(ge,"g"),k(r,e.NumberSymbol.PercentSign))}function _e(t,r,n){return Ce(t,Ee(T(r,e.NumberFormatStyle.Decimal),k(r,e.NumberSymbol.MinusSign)),r,e.NumberSymbol.Group,e.NumberSymbol.Decimal,n)}function Ee(e,t){void 0===t&&(t="-");var r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(De),u=n[0],a=n[1],o=-1!==u.indexOf(pe)?u.split(pe):[u.substring(0,u.lastIndexOf(he)+1),u.substring(u.lastIndexOf(he)+1)],i=o[0],s=o[1]||"";r.posPre=i.substr(0,i.indexOf(ye));for(var l=0;l-1)return u;if(u=r.getPluralCategory(e,n),t.indexOf(u)>-1)return u;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+e+'"')}var Pe=function(r){function n(e,t){var n=r.call(this)||this;return n.locale=e,n.deprecatedPluralFn=t,n}return i(n,r),n.prototype.getPluralCategory=function(t,r){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(r||this.locale,t):N(r||this.locale)(t)){case e.Plural.Zero:return"zero";case e.Plural.One:return"one";case e.Plural.Two:return"two";case e.Plural.Few:return"few";case e.Plural.Many:return"many";default:return"other"}},l([t.Injectable(),c(0,t.Inject(t.LOCALE_ID)),c(1,t.Optional()),c(1,t.Inject(we)),f("design:paramtypes",[String,Object])],n)}(Ae=function Ae(){});function Oe(t,r){"string"==typeof r&&(r=parseInt(r,10));var n=r,u=n.toString().replace(/^[^.]*\.?/,""),a=Math.floor(Math.abs(n)),o=u.length,i=parseInt(u,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?e.Plural.One:e.Plural.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?e.Plural.One:e.Plural.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===a||1===n?e.Plural.One:e.Plural.Other;case"ar":return 0===n?e.Plural.Zero:1===n?e.Plural.One:2===n?e.Plural.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?e.Plural.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?e.Plural.Many:e.Plural.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===a&&0===o?e.Plural.One:e.Plural.Other;case"be":return n%10==1&&n%100!=11?e.Plural.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?e.Plural.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?e.Plural.Many:e.Plural.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?e.Plural.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?e.Plural.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?e.Plural.Few:0!==n&&n%1e6==0?e.Plural.Many:e.Plural.Other;case"bs":case"hr":case"sr":return 0===o&&a%10==1&&a%100!=11||i%10==1&&i%100!=11?e.Plural.One:0===o&&a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)||i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?e.Plural.Few:e.Plural.Other;case"cs":case"sk":return 1===a&&0===o?e.Plural.One:a===Math.floor(a)&&a>=2&&a<=4&&0===o?e.Plural.Few:0!==o?e.Plural.Many:e.Plural.Other;case"cy":return 0===n?e.Plural.Zero:1===n?e.Plural.One:2===n?e.Plural.Two:3===n?e.Plural.Few:6===n?e.Plural.Many:e.Plural.Other;case"da":return 1===n||0!==s&&(0===a||1===a)?e.Plural.One:e.Plural.Other;case"dsb":case"hsb":return 0===o&&a%100==1||i%100==1?e.Plural.One:0===o&&a%100==2||i%100==2?e.Plural.Two:0===o&&a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4||i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4?e.Plural.Few:e.Plural.Other;case"ff":case"fr":case"hy":case"kab":return 0===a||1===a?e.Plural.One:e.Plural.Other;case"fil":return 0===o&&(1===a||2===a||3===a)||0===o&&a%10!=4&&a%10!=6&&a%10!=9||0!==o&&i%10!=4&&i%10!=6&&i%10!=9?e.Plural.One:e.Plural.Other;case"ga":return 1===n?e.Plural.One:2===n?e.Plural.Two:n===Math.floor(n)&&n>=3&&n<=6?e.Plural.Few:n===Math.floor(n)&&n>=7&&n<=10?e.Plural.Many:e.Plural.Other;case"gd":return 1===n||11===n?e.Plural.One:2===n||12===n?e.Plural.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?e.Plural.Few:e.Plural.Other;case"gv":return 0===o&&a%10==1?e.Plural.One:0===o&&a%10==2?e.Plural.Two:0!==o||a%100!=0&&a%100!=20&&a%100!=40&&a%100!=60&&a%100!=80?0!==o?e.Plural.Many:e.Plural.Other:e.Plural.Few;case"he":return 1===a&&0===o?e.Plural.One:2===a&&0===o?e.Plural.Two:0!==o||n>=0&&n<=10||n%10!=0?e.Plural.Other:e.Plural.Many;case"is":return 0===s&&a%10==1&&a%100!=11||0!==s?e.Plural.One:e.Plural.Other;case"ksh":return 0===n?e.Plural.Zero:1===n?e.Plural.One:e.Plural.Other;case"kw":case"naq":case"se":case"smn":return 1===n?e.Plural.One:2===n?e.Plural.Two:e.Plural.Other;case"lag":return 0===n?e.Plural.Zero:0!==a&&1!==a||0===n?e.Plural.Other:e.Plural.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?e.Plural.Few:0!==i?e.Plural.Many:e.Plural.Other:e.Plural.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=19?e.Plural.Zero:n%10==1&&n%100!=11||2===o&&i%10==1&&i%100!=11||2!==o&&i%10==1?e.Plural.One:e.Plural.Other;case"mk":return 0===o&&a%10==1||i%10==1?e.Plural.One:e.Plural.Other;case"mt":return 1===n?e.Plural.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?e.Plural.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?e.Plural.Many:e.Plural.Other;case"pl":return 1===a&&0===o?e.Plural.One:0===o&&a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?e.Plural.Few:0===o&&1!==a&&a%10===Math.floor(a%10)&&a%10>=0&&a%10<=1||0===o&&a%10===Math.floor(a%10)&&a%10>=5&&a%10<=9||0===o&&a%100===Math.floor(a%100)&&a%100>=12&&a%100<=14?e.Plural.Many:e.Plural.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?e.Plural.One:e.Plural.Other;case"ro":return 1===a&&0===o?e.Plural.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?e.Plural.Few:e.Plural.Other;case"ru":case"uk":return 0===o&&a%10==1&&a%100!=11?e.Plural.One:0===o&&a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?e.Plural.Few:0===o&&a%10==0||0===o&&a%10===Math.floor(a%10)&&a%10>=5&&a%10<=9||0===o&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=14?e.Plural.Many:e.Plural.Other;case"shi":return 0===a||1===n?e.Plural.One:n===Math.floor(n)&&n>=2&&n<=10?e.Plural.Few:e.Plural.Other;case"si":return 0===n||1===n||0===a&&1===i?e.Plural.One:e.Plural.Other;case"sl":return 0===o&&a%100==1?e.Plural.One:0===o&&a%100==2?e.Plural.Two:0===o&&a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4||0!==o?e.Plural.Few:e.Plural.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?e.Plural.One:e.Plural.Other;default:return e.Plural.Other}} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Be(e,r,n){"string"!=typeof r&&(n=r,r=e[t.ɵLocaleDataIndex.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),t.ɵLOCALE_DATA[r]=e,n&&(t.ɵLOCALE_DATA[r][t.ɵLocaleDataIndex.ExtraData]=n)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var Me=function(){function e(e,t){this._name=e,this._options=t,this.value=null,this._lastSetValue=null,this._lastSetValueType=0,this._lastSetValueIdentityChange=!1}return e.prototype.setValue=function(e){if(Array.isArray(e))this._lastSetValueType=4;else if(e instanceof Set)this._lastSetValueType=8;else if(e&&"string"==typeof e){if(!(4&this._options))throw new Error(this._name+" string values are not allowed");this._lastSetValueType=1}else this._lastSetValueType=e?2:0;this._lastSetValueIdentityChange=!0,this._lastSetValue=e||null},e.prototype.hasValueChanged=function(){var e=this._lastSetValueIdentityChange;if(!(e||14&this._lastSetValueType))return!1;var t=null,r=!!(1&this._options),n=!!(8&this._options),u=!!(2&this._options);switch(this._lastSetValueType){case 1:var a=this._lastSetValue.split(/\s+/g);16&this._options?(t={},a.forEach(function(e,r){return t[e]=!0})):t=a.reduce(function(e,t,r){return e+(r?" ":"")+t});break;case 2:var o=this._lastSetValue,i=Object.keys(o);e||(e=!this.value||function s(e,t,r){var n=e;if(!Ne(Object.keys(t),n))return!0;for(var u=0;u0)for(var a=t.split(/\s+/g),o=0;o0){var n=e.substr(r+1);e=e.substring(0,r),null!=t&&(t+=n)}return{key:e,value:t}}(t,r);r=u.value,t=u.key}e[t]=r}function Ne(e,t){if(e&&t){if(e.length!==t.length)return!1;for(var r=0;r1?"short":"narrow":"long",r}function Ot(e){return e.reduce(function(e,t){return s({},e,t)},{})}function Bt(e){return function(t,r){return bt(t,r,e)}}var Mt=new Map,Lt=function(){function e(){}return e.format=function(e,t,r){return function n(e,t,r){var n=Ct[e];if(n)return n(t,r);var u=e,a=Mt.get(u);if(!a){a=[];var o=void 0;gt.exec(e);for(var i=e;i;)(o=gt.exec(i))?i=(a=a.concat(o.slice(1))).pop():(a.push(i),i=null);Mt.set(u,a)}return a.reduce(function(e,n){var u=vt[n];return e+(u?u(t,r):function a(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(n))},"")}(r,e,t)},e}(),It=function(){function e(e){this._locale=e}var r;return r=e,e.prototype.transform=function(e,t){if(void 0===t&&(t="mediumDate"),null==e||""===e||e!=e)return null;var n;if("string"==typeof e&&(e=e.trim()),kt(e))n=e;else if(isNaN(e-parseFloat(e)))if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var u=h(e.split("-").map(function(e){return parseInt(e,10)}),3);n=new Date(u[0],u[1]-1,u[2])}else n=new Date(e);else n=new Date(parseFloat(e));if(!kt(n)){var a=void 0;if("string"!=typeof e||!(a=e.match(K)))throw yt(r,e);n=se(a)}return Lt.format(n,this._locale,r._ALIASES[t]||t)},e._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},r=l([t.Pipe({name:"date",pure:!0}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],e)}();function kt(e){return e instanceof Date&&!isNaN(e.valueOf())} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Tt(t,r,n,u,a,o,i){if(void 0===o&&(o=null),void 0===i&&(i=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw yt(t,n);var s,l,c;if(u!==e.NumberFormatStyle.Currency&&(s=1,l=0,c=3),a){var f=a.match(ce);if(null===f)throw new Error(a+" is not a valid digit info for number pipes");null!=f[1]&&(s=be(f[1])),null!=f[3]&&(l=be(f[3])),null!=f[5]&&(c=be(f[5]))}return mt.format(n,r,u,{minimumIntegerDigits:s,minimumFractionDigits:l,maximumFractionDigits:c,currency:o,currencyAsSymbol:i})}var Nt=function(){function r(e){this._locale=e}var n;return n=r,r.prototype.transform=function(t,r){return Tt(n,this._locale,t,e.NumberFormatStyle.Decimal,r)},n=l([t.Pipe({name:"number"}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],r)}(),Rt=function(){function r(e){this._locale=e}var n;return n=r,r.prototype.transform=function(t,r){return Tt(n,this._locale,t,e.NumberFormatStyle.Percent,r)},n=l([t.Pipe({name:"percent"}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],r)}(),xt=function(){function r(e){this._locale=e}var n;return n=r,r.prototype.transform=function(t,r,u,a){return void 0===r&&(r="USD"),void 0===u&&(u=!1),Tt(n,this._locale,t,e.NumberFormatStyle.Currency,a,r,u)},n=l([t.Pipe({name:"currency"}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],r)}(),Vt=[Nt,Rt,xt,It],jt=function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.subscribe({next:t,error:function(e){throw e}})},e.prototype.dispose=function(e){e.unsubscribe()},e.prototype.onDestroy=function(e){e.unsubscribe()},e}(),Wt=new(function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.then(t,function(e){throw e})},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}()),Ht=new jt,Gt=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var r;return r=e,e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):t.ɵlooseIdentical(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,t.WrappedValue.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,function(r){return t._updateLatestValue(e,r)})},e.prototype._selectStrategy=function(e){if(t.ɵisPromise(e))return Wt;if(t.ɵisObservable(e))return Ht;throw yt(r,e)},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},r=l([t.Injectable(),t.Pipe({name:"async",pure:!1}),f("design:paramtypes",[t.ChangeDetectorRef])],e)}(),$t=function(){function e(){}var r;return r=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw yt(r,e);return e.toLowerCase()},r=l([t.Injectable(),t.Pipe({name:"lowercase"})],e)}(),zt=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,Ut=function(){function e(){}var r;return r=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw yt(r,e);return e.replace(zt,function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()})},r=l([t.Injectable(),t.Pipe({name:"titlecase"})],e)}(),Zt=function(){function e(){}var r;return r=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw yt(r,e);return e.toUpperCase()},r=l([t.Injectable(),t.Pipe({name:"uppercase"})],e)}(),Kt=function(){function e(e){this.locale=e}var r;return r=e,e.prototype.transform=function(e,t,n,u){if(void 0===t&&(t="mediumDate"),null==e||""===e||e!=e)return null;try{return J(e,t,u||this.locale,n)}catch(e){throw yt(r,e.message)}},r=l([t.Injectable(),t.Pipe({name:"date",pure:!0}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],e)}(),Yt=/#/g,Qt=function(){function e(e){this._localization=e}var r;return r=e,e.prototype.transform=function(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw yt(r,t);return t[Se(e,Object.keys(t),this._localization,n)].replace(Yt,e.toString())},r=l([t.Injectable(),t.Pipe({name:"i18nPlural",pure:!0}),f("design:paramtypes",[Ae])],e)}(),Jt=function(){function e(){}var r;return r=e,e.prototype.transform=function(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw yt(r,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""},r=l([t.Injectable(),t.Pipe({name:"i18nSelect",pure:!0})],e)}(),Xt=function(){function e(){}return e.prototype.transform=function(e){return JSON.stringify(e,null,2)},l([t.Injectable(),t.Pipe({name:"json",pure:!1})],e)}(),qt=function(){function e(e){this.differs=e,this.keyValues=[]}return e.prototype.transform=function(e,t){var r=this;if(void 0===t&&(t=er),!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var n=this.differ.diff(e);return n&&(this.keyValues=[],n.forEachItem(function(e){r.keyValues.push( /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function t(e,r){return{key:e,value:r}}(e.key,e.currentValue))}),this.keyValues.sort(t)),this.keyValues},l([t.Injectable(),t.Pipe({name:"keyvalue",pure:!1}),f("design:paramtypes",[t.KeyValueDiffers])],e)}();function er(e,t){var r=e.key,n=t.key;if(r===n)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(null===r)return 1;if(null===n)return-1;if("string"==typeof r&&"string"==typeof n)return r