(window.webpackJsonp=window.webpackJsonp||[]).push([[4],[function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"ɵangular_packages_core_core_l",function(){return Zr}),n.d(t,"ɵangular_packages_core_core_i",function(){return Qr}),n.d(t,"ɵangular_packages_core_core_j",function(){return $r}),n.d(t,"ɵangular_packages_core_core_k",function(){return Yr}),n.d(t,"ɵangular_packages_core_core_f",function(){return Nt}),n.d(t,"ɵangular_packages_core_core_g",function(){return Sr}),n.d(t,"ɵangular_packages_core_core_h",function(){return Nr}),n.d(t,"ɵangular_packages_core_core_c",function(){return gt}),n.d(t,"ɵangular_packages_core_core_d",function(){return at}),n.d(t,"ɵangular_packages_core_core_e",function(){return ct}),n.d(t,"ɵangular_packages_core_core_m",function(){return dn}),n.d(t,"ɵangular_packages_core_core_o",function(){return sn}),n.d(t,"ɵangular_packages_core_core_n",function(){return on}),n.d(t,"ɵangular_packages_core_core_r",function(){return cn}),n.d(t,"ɵangular_packages_core_core_p",function(){return ln}),n.d(t,"ɵangular_packages_core_core_q",function(){return un}),n.d(t,"ɵangular_packages_core_core_v",function(){return op}),n.d(t,"ɵangular_packages_core_core_y",function(){return fp}),n.d(t,"ɵangular_packages_core_core_x",function(){return hp}),n.d(t,"ɵangular_packages_core_core_w",function(){return sp}),n.d(t,"ɵangular_packages_core_core_u",function(){return Yh}),n.d(t,"ɵangular_packages_core_core_z",function(){return gp}),n.d(t,"ɵangular_packages_core_core_ba",function(){return ch}),n.d(t,"ɵangular_packages_core_core_bb",function(){return ru}),n.d(t,"ɵangular_packages_core_core_a",function(){return y}),n.d(t,"ɵangular_packages_core_core_b",function(){return b}),n.d(t,"ɵangular_packages_core_core_s",function(){return Co}),n.d(t,"ɵangular_packages_core_core_t",function(){return Ba}),n.d(t,"createPlatform",function(){return Pn}),n.d(t,"assertPlatform",function(){return Mn}),n.d(t,"destroyPlatform",function(){return Bn}),n.d(t,"getPlatform",function(){return Ln}),n.d(t,"PlatformRef",function(){return Fn}),n.d(t,"ApplicationRef",function(){return Vn}),n.d(t,"enableProdMode",function(){return On}),n.d(t,"isDevMode",function(){return Nn}),n.d(t,"createPlatformFactory",function(){return qn}),n.d(t,"NgProbeToken",function(){return Rn}),n.d(t,"APP_ID",function(){return Ot}),n.d(t,"PACKAGE_ROOT_URL",function(){return Lt}),n.d(t,"PLATFORM_INITIALIZER",function(){return qt}),n.d(t,"PLATFORM_ID",function(){return Mt}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return Bt}),n.d(t,"APP_INITIALIZER",function(){return It}),n.d(t,"ApplicationInitStatus",function(){return Dt}),n.d(t,"DebugElement",function(){return mr}),n.d(t,"DebugNode",function(){return fr}),n.d(t,"asNativeElements",function(){return gr}),n.d(t,"getDebugNode",function(){return kr}),n.d(t,"Testability",function(){return En}),n.d(t,"TestabilityRegistry",function(){return Cn}),n.d(t,"setTestabilityGetter",function(){return Sn}),n.d(t,"TRANSLATIONS",function(){return Wr}),n.d(t,"TRANSLATIONS_FORMAT",function(){return Gr}),n.d(t,"LOCALE_ID",function(){return Kr}),n.d(t,"MissingTranslationStrategy",function(){return Mr}),n.d(t,"ApplicationModule",function(){return Xr}),n.d(t,"wtfCreateScope",function(){return pn}),n.d(t,"wtfLeave",function(){return fn}),n.d(t,"wtfStartTimeRange",function(){return mn}),n.d(t,"wtfEndTimeRange",function(){return gn}),n.d(t,"Type",function(){return q}),n.d(t,"EventEmitter",function(){return yn}),n.d(t,"ErrorHandler",function(){return $e}),n.d(t,"Sanitizer",function(){return Ia}),n.d(t,"SecurityContext",function(){return Sa}),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return w}),n.d(t,"Attribute",function(){return _}),n.d(t,"ContentChild",function(){return E}),n.d(t,"ContentChildren",function(){return x}),n.d(t,"Query",function(){return j}),n.d(t,"ViewChild",function(){return S}),n.d(t,"ViewChildren",function(){return C}),n.d(t,"Component",function(){return I}),n.d(t,"Directive",function(){return A}),n.d(t,"HostBinding",function(){return R}),n.d(t,"HostListener",function(){return P}),n.d(t,"Input",function(){return O}),n.d(t,"Output",function(){return N}),n.d(t,"Pipe",function(){return D}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return qe}),n.d(t,"NO_ERRORS_SCHEMA",function(){return Me}),n.d(t,"NgModule",function(){return Le}),n.d(t,"ViewEncapsulation",function(){return Be}),n.d(t,"Version",function(){return Fe}),n.d(t,"VERSION",function(){return Ue}),n.d(t,"defineInjectable",function(){return u}),n.d(t,"defineInjector",function(){return c}),n.d(t,"forwardRef",function(){return ee}),n.d(t,"resolveForwardRef",function(){return te}),n.d(t,"Injectable",function(){return Pe}),n.d(t,"inject",function(){return Ae}),n.d(t,"INJECTOR",function(){return ce}),n.d(t,"Injector",function(){return he}),n.d(t,"ReflectiveInjector",function(){return mt}),n.d(t,"createInjector",function(){return jt}),n.d(t,"ResolvedReflectiveFactory",function(){return st}),n.d(t,"ReflectiveKey",function(){return tt}),n.d(t,"InjectionToken",function(){return d}),n.d(t,"Inject",function(){return ne}),n.d(t,"Optional",function(){return re}),n.d(t,"Self",function(){return ae}),n.d(t,"SkipSelf",function(){return ie}),n.d(t,"Host",function(){return oe}),n.d(t,"NgZone",function(){return bn}),n.d(t,"ɵNoopNgZone",function(){return xn}),n.d(t,"RenderComponentType",function(){return Wn}),n.d(t,"Renderer",function(){return Qn}),n.d(t,"Renderer2",function(){return Zn}),n.d(t,"RendererFactory2",function(){return Yn}),n.d(t,"RendererStyleFlags2",function(){return Kn}),n.d(t,"RootRenderer",function(){return $n}),n.d(t,"COMPILER_OPTIONS",function(){return Kt}),n.d(t,"Compiler",function(){return Ht}),n.d(t,"CompilerFactory",function(){return Wt}),n.d(t,"ModuleWithComponentFactories",function(){return Ut}),n.d(t,"ComponentFactory",function(){return Qt}),n.d(t,"ComponentRef",function(){return Gt}),n.d(t,"ComponentFactoryResolver",function(){return en}),n.d(t,"ElementRef",function(){return Xn}),n.d(t,"NgModuleFactory",function(){return an}),n.d(t,"NgModuleRef",function(){return rn}),n.d(t,"NgModuleFactoryLoader",function(){return Jn}),n.d(t,"getModuleFactory",function(){return nr}),n.d(t,"QueryList",function(){return rr}),n.d(t,"SystemJsNgModuleLoader",function(){return or}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return ar}),n.d(t,"TemplateRef",function(){return lr}),n.d(t,"ViewContainerRef",function(){return ur}),n.d(t,"EmbeddedViewRef",function(){return hr}),n.d(t,"ViewRef",function(){return dr}),n.d(t,"ChangeDetectionStrategy",function(){return v}),n.d(t,"ChangeDetectorRef",function(){return cr}),n.d(t,"DefaultIterableDiffer",function(){return zr}),n.d(t,"IterableDiffers",function(){return qr}),n.d(t,"KeyValueDiffers",function(){return Br}),n.d(t,"SimpleChange",function(){return xr}),n.d(t,"WrappedValue",function(){return jr}),n.d(t,"platformCore",function(){return Hr}),n.d(t,"ɵALLOW_MULTIPLE_PLATFORMS",function(){return Dn}),n.d(t,"ɵAPP_ID_RANDOM_PROVIDER",function(){return Rt}),n.d(t,"ɵdefaultIterableDiffers",function(){return Ur}),n.d(t,"ɵdefaultKeyValueDiffers",function(){return Vr}),n.d(t,"ɵdevModeEqual",function(){return _r}),n.d(t,"ɵisListLikeIterable",function(){return Er}),n.d(t,"ɵChangeDetectorStatus",function(){return k}),n.d(t,"ɵisDefaultChangeDetectionStrategy",function(){return T}),n.d(t,"ɵConsole",function(){return Ft}),n.d(t,"ɵinject",function(){return Ae}),n.d(t,"ɵsetCurrentInjector",function(){return ze}),n.d(t,"ɵAPP_ROOT",function(){return yt}),n.d(t,"ɵivyEnabled",function(){return z}),n.d(t,"ɵComponentFactory",function(){return Qt}),n.d(t,"ɵCodegenComponentFactoryResolver",function(){return tn}),n.d(t,"ɵresolveComponentResources",function(){return Jr}),n.d(t,"ɵReflectionCapabilities",function(){return Z}),n.d(t,"ɵRenderDebugInfo",function(){return Gn}),n.d(t,"ɵ_sanitizeHtml",function(){return Ea}),n.d(t,"ɵ_sanitizeStyle",function(){return Aa}),n.d(t,"ɵ_sanitizeUrl",function(){return ia}),n.d(t,"ɵglobal",function(){return F}),n.d(t,"ɵlooseIdentical",function(){return W}),n.d(t,"ɵstringify",function(){return G}),n.d(t,"ɵmakeDecorator",function(){return m}),n.d(t,"ɵisObservable",function(){return At}),n.d(t,"ɵisPromise",function(){return zt}),n.d(t,"ɵclearOverrides",function(){return dl}),n.d(t,"ɵinitServicesIfNeeded",function(){return js}),n.d(t,"ɵoverrideComponentView",function(){return cl}),n.d(t,"ɵoverrideProvider",function(){return ul}),n.d(t,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return No}),n.d(t,"ɵdefineComponent",function(){return Sh}),n.d(t,"ɵdefineDirective",function(){return Oh}),n.d(t,"ɵdefinePipe",function(){return Nh}),n.d(t,"ɵdefineNgModule",function(){return Ah}),n.d(t,"ɵdetectChanges",function(){return Ld}),n.d(t,"ɵrenderComponent",function(){return xh}),n.d(t,"ɵdirectiveInject",function(){return ep}),n.d(t,"ɵinjectElementRef",function(){return tp}),n.d(t,"ɵinjectTemplateRef",function(){return np}),n.d(t,"ɵinjectViewContainerRef",function(){return rp}),n.d(t,"ɵinjectChangeDetectorRef",function(){return ap}),n.d(t,"ɵinjectAttribute",function(){return ip}),n.d(t,"ɵPublicFeature",function(){return bp}),n.d(t,"ɵInheritDefinitionFeature",function(){return Ph}),n.d(t,"ɵNgOnChangesFeature",function(){return Mh}),n.d(t,"ɵmarkDirty",function(){return Ud}),n.d(t,"ɵNgModuleFactory",function(){return Rp}),n.d(t,"ɵNC",function(){return Vd}),n.d(t,"ɵC",function(){return Cd}),n.d(t,"ɵE",function(){return Gc}),n.d(t,"ɵNH",function(){return Kc}),n.d(t,"ɵNM",function(){return Hc}),n.d(t,"ɵNS",function(){return Vc}),n.d(t,"ɵEe",function(){return Wc}),n.d(t,"ɵL",function(){return sd}),n.d(t,"ɵT",function(){return wd}),n.d(t,"ɵV",function(){return zd}),n.d(t,"ɵQ",function(){return lf}),n.d(t,"ɵQr",function(){return mh}),n.d(t,"ɵd",function(){return ih}),n.d(t,"ɵP",function(){return Rd}),n.d(t,"ɵb",function(){return Kd}),n.d(t,"ɵi1",function(){return Yd}),n.d(t,"ɵi2",function(){return Zd}),n.d(t,"ɵi3",function(){return Xd}),n.d(t,"ɵi4",function(){return Jd}),n.d(t,"ɵi5",function(){return eh}),n.d(t,"ɵi6",function(){return th}),n.d(t,"ɵi7",function(){return nh}),n.d(t,"ɵi8",function(){return rh}),n.d(t,"ɵiV",function(){return $d}),n.d(t,"ɵpb1",function(){return Gp}),n.d(t,"ɵpb2",function(){return Qp}),n.d(t,"ɵpb3",function(){return $p}),n.d(t,"ɵpb4",function(){return Yp}),n.d(t,"ɵpbV",function(){return Zp}),n.d(t,"ɵf0",function(){return Pp}),n.d(t,"ɵf1",function(){return qp}),n.d(t,"ɵf2",function(){return Mp}),n.d(t,"ɵf3",function(){return Bp}),n.d(t,"ɵf4",function(){return Lp}),n.d(t,"ɵf5",function(){return Fp}),n.d(t,"ɵf6",function(){return Up}),n.d(t,"ɵf7",function(){return Vp}),n.d(t,"ɵf8",function(){return Hp}),n.d(t,"ɵfV",function(){return Kp}),n.d(t,"ɵcR",function(){return Sd}),n.d(t,"ɵcr",function(){return Td}),n.d(t,"ɵqR",function(){return uf}),n.d(t,"ɵql",function(){return oh}),n.d(t,"ɵe",function(){return cd}),n.d(t,"ɵp",function(){return hd}),n.d(t,"ɵpD",function(){return Od}),n.d(t,"ɵrS",function(){return Wd}),n.d(t,"ɵa",function(){return dd}),n.d(t,"ɵs",function(){return gd}),n.d(t,"ɵsm",function(){return kd}),n.d(t,"ɵsp",function(){return vd}),n.d(t,"ɵsa",function(){return bd}),n.d(t,"ɵcp",function(){return md}),n.d(t,"ɵt",function(){return _d}),n.d(t,"ɵv",function(){return Ad}),n.d(t,"ɵst",function(){return ah}),n.d(t,"ɵld",function(){return sh}),n.d(t,"ɵPp",function(){return Wp}),n.d(t,"ɵwhenRendered",function(){return Ch}),n.d(t,"ɵiA",function(){return _p}),n.d(t,"ɵiEM",function(){return jp}),n.d(t,"ɵiI1",function(){return xp}),n.d(t,"ɵiI2",function(){return Ep}),n.d(t,"ɵiI3",function(){return Cp}),n.d(t,"ɵiI4",function(){return Sp}),n.d(t,"ɵiI5",function(){return Tp}),n.d(t,"ɵiI6",function(){return zp}),n.d(t,"ɵiI7",function(){return Ap}),n.d(t,"ɵiI8",function(){return Ip}),n.d(t,"ɵIV",function(){return Dp}),n.d(t,"ɵiM",function(){return kp}),n.d(t,"ɵsanitizeHtml",function(){return bf}),n.d(t,"ɵsanitizeStyle",function(){return vf}),n.d(t,"ɵsanitizeUrl",function(){return kf}),n.d(t,"ɵsanitizeResourceUrl",function(){return wf}),n.d(t,"ɵbypassSanitizationTrustHtml",function(){return hf}),n.d(t,"ɵbypassSanitizationTrustStyle",function(){return pf}),n.d(t,"ɵbypassSanitizationTrustScript",function(){return ff}),n.d(t,"ɵbypassSanitizationTrustUrl",function(){return mf}),n.d(t,"ɵbypassSanitizationTrustResourceUrl",function(){return gf}),n.d(t,"ɵregisterModuleFactory",function(){return tr}),n.d(t,"ɵEMPTY_ARRAY",function(){return Ti}),n.d(t,"ɵEMPTY_MAP",function(){return zi}),n.d(t,"ɵand",function(){return Ai}),n.d(t,"ɵccf",function(){return Zi}),n.d(t,"ɵcmf",function(){return hl}),n.d(t,"ɵcrt",function(){return Ya}),n.d(t,"ɵdid",function(){return jo}),n.d(t,"ɵeld",function(){return Ii}),n.d(t,"ɵelementEventFullName",function(){return li}),n.d(t,"ɵgetComponentViewDefinitionFactory",function(){return Xi}),n.d(t,"ɵinlineInterpolate",function(){return Ci}),n.d(t,"ɵinterpolate",function(){return Ei}),n.d(t,"ɵmod",function(){return Fi}),n.d(t,"ɵmpd",function(){return Li}),n.d(t,"ɵncd",function(){return Wo}),n.d(t,"ɵnov",function(){return uo}),n.d(t,"ɵpid",function(){return xo}),n.d(t,"ɵprd",function(){return Eo}),n.d(t,"ɵpad",function(){return $o}),n.d(t,"ɵpod",function(){return Yo}),n.d(t,"ɵppd",function(){return Qo}),n.d(t,"ɵqud",function(){return Fo}),n.d(t,"ɵted",function(){return Xo}),n.d(t,"ɵunv",function(){return Ga}),n.d(t,"ɵvid",function(){return ts});var r=n(1),a=n(49),i=n(236),o=n(91),s=n(1019),l=n(273); /** * @license Angular v6.1.7 * (c) 2010-2018 Google, Inc. https://angular.io/ * License: MIT */ /** * @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 u(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function c(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}} /** * @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,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?u({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),h="__annotations__",p="__parameters__",f="__prop__metadata__"; /** * @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 m(e,t,n,a,i){var o=g(t);function s(){for(var e,t=[],n=0;n ");else if("object"==typeof t){var a=[];for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];a.push(i+":"+("string"==typeof o?JSON.stringify(o):G(o)))}r="{"+a.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(we,"\n ")}function Se(e,t){return new Error(Ce(e,t))}var Te=void 0;function ze(e){var t=Te;return Te=e,t}function Ae(e,t){if(void 0===t&&(t=0),void 0===Te)throw new Error("inject() must be called from an injection context");if(null===Te){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&t)return null;throw new Error("Injector: NOT_FOUND ["+G(e)+"]")}return Te.get(e,8&t?null:void 0,t)}function Ie(e){for(var t=[],n=0;n1?" ("+ /** * @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(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return G(e.token)}).join(" -> ")+")":""}function Ze(e,t,n,r){var a=[t],i=n(a),o=r?function(e,t){var n=e+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[He]=t,r}(i,r):Error(i);return o.addKey=Xe,o.keys=a,o.injectors=[e],o.constructResolvingMessage=n,o[He]=r,o}function Xe(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Je(e,t){for(var n=[],r=0,a=t.length;r=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(e,t){return Ze(e,t,function(e){return"Cannot instantiate cyclic dependency!"+Ye(e)})}(this,e.key);return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n0&&(a=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==a}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:a,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e.decorators=[{type:Pe}],e.ctorParameters=function(){return[{type:bn}]},e}(),Cn=function(){function e(){this._applications=new Map,zn.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),zn.findTestabilityInTree(this,e,t)},e.decorators=[{type:Pe}],e.ctorParameters=function(){return[]},e}(); /** * @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 Sn(e){zn=e}var Tn,zn=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),An=!0,In=!1,Dn=new d("AllowMultipleToken"); /** * @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 On(){if(In)throw new Error("Cannot enable prod mode after platform setup.");An=!1}function Nn(){return In=!0,An}var Rn=function(){return function(e,t){this.name=e,this.token=t}}();function Pn(e){if(Tn&&!Tn.destroyed&&!Tn.injector.get(Dn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Tn=e.get(Fn);var t=e.get(qt,null);return t&&t.forEach(function(e){return e()}),Tn}function qn(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,a=new d(r);return function(t){void 0===t&&(t=[]);var i=Ln();if(!i||i.injector.get(Dn,!1))if(e)e(n.concat(t).concat({provide:a,useValue:!0}));else{var o=n.concat(t).concat({provide:a,useValue:!0});Pn(he.create({providers:o,name:r}))}return Mn(a)}}function Mn(e){var t=Ln();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Bn(){Tn&&!Tn.destroyed&&Tn.destroy()}function Ln(){return Tn&&!Tn.destroyed?Tn:null}var Fn=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n=this,r=function(e){var t;t="noop"===e?new xn:("zone.js"===e?void 0:e)||new bn({enableLongStackTrace:Nn()});return t}(t?t.ngZone:void 0),a=[{provide:bn,useValue:r}];return r.run(function(){var t=he.create({providers:a,parent:n.injector,name:e.moduleType.name}),i=e.create(t),o=i.injector.get($e,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(function(){return Hn(n._modules,i)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(e){o.handleError(e)}})}),function(e,t,n){try{var r=n();return zt(r)?r.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):r}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}}(o,r,function(){var e=i.injector.get(Dt);return e.runInitializers(),e.donePromise.then(function(){return n._moduleDoBootstrap(i),i})})})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(Wt),a=Un({},t);return r.createCompiler([a]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,a)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+G(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e.decorators=[{type:Pe}],e.ctorParameters=function(){return[{type:he}]},e}();function Un(e,t){return e=Array.isArray(t)?t.reduce(Un,e):Object(r.a)({},e,t)}var Vn=function(){function e(e,t,n,r,a,i){var u=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=a,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Nn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new o.a(function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){e.next(u._stable),e.complete()})}),d=new o.a(function(e){var t;u._zone.runOutsideAngular(function(){t=u._zone.onStable.subscribe(function(){bn.assertNotInAngularZone(),K(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){bn.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(c,d.pipe(Object(l.a)()))}return e.prototype.bootstrap=function(e,t){var n,r=this;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.");n=e instanceof Qt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var a=n instanceof nn?null:this._injector.get(rn),i=t||n.selector,o=n.create(he.NULL,[],i,a);o.onDestroy(function(){r._unloadComponent(o)});var s=o.injector.get(En,null);return s&&o.injector.get(Cn).registerApplication(o.location.nativeElement,s),this._loadComponent(o),Nn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,fn(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Hn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Bt,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Hn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=pn("ApplicationRef#tick()"),e.decorators=[{type:Pe}],e.ctorParameters=function(){return[{type:bn},{type:Ft},{type:he},{type:$e},{type:en},{type:Dt}]},e}();function Hn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)} /** * @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 Kn,Wn=function(){return function(e,t,n,r,a,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=a,this.animations=i}}(),Gn=function(){return function(){}}(),Qn=function(){return function(){}}(),$n=(new d("Renderer2Interceptor"),function(){return function(){}}()),Yn=function(){return function(){}}();!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Kn||(Kn={}));var Zn=function(){return function(){}}(),Xn=function(){return function(e){this.nativeElement=e}}(),Jn=function(){return function(){}}(),er=new Map; /** * @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 */function tr(e,t){var n=er.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);er.set(e,t)}function nr(e){var t=er.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t} /** * @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 rr=function(){function e(){this.dirty=!0,this._results=[],this.changes=new yn,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[H()]=function(){return this._results[H()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(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 */(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();var ar=function(){return function(){}}(),ir={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},or=function(){function e(e,t){this._compiler=e,this._config=t||ir}return e.prototype.load=function(e){return this._compiler instanceof Ht?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,a=Object(r.c)(e.split("#"),2),i=a[0],o=a[1];return void 0===o&&(o="default"),n(500)(i).then(function(e){return e[o]}).then(function(e){return sr(e,i,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=Object(r.c)(e.split("#"),2),a=t[0],i=t[1],o="NgFactory";return void 0===i&&(i="default",o=""),n(500)(this._config.factoryPathPrefix+a+this._config.factoryPathSuffix).then(function(e){return e[i+o]}).then(function(e){return sr(e,a,i)})},e.decorators=[{type:Pe}],e.ctorParameters=function(){return[{type:Ht},{type:ar,decorators:[{type:re}]}]},e}();function sr(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e} /** * @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 lr=function(){return function(){}}(),ur=function(){return function(){}}(),cr=function(){return function(){}}(),dr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t}(cr),hr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t}(dr),pr=function(){return function(e,t){this.name=e,this.callback=t}}(),fr=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof mr?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),mr=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.properties={},a.attributes={},a.classes={},a.styles={},a.childNodes=[],a.nativeElement=t,a}return Object(r.b)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,a=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,Object(r.d)([i+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=a}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return yr(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return br(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(fr); /** * @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 gr(e){return e.map(function(e){return e.nativeElement})}function yr(e,t,n){e.childNodes.forEach(function(e){e instanceof mr&&(t(e)&&n.push(e),yr(e,t,n))})}function br(e,t,n){e instanceof mr&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof mr&&br(e,t,n)})}var vr=new Map;function kr(e){return vr.get(e)||null}function wr(e){vr.set(e.nativeNode,e)} /** * @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 _r(e,t){var n=Er(e),r=Er(t);return n&&r?function(e,t,n){var r=e[H()](),a=t[H()]();for(;;){var i=r.next(),o=a.next();if(i.done&&o.done)return!0;if(i.done||o.done)return!1;if(!n(i.value,o.value))return!1}}(e,t,_r):!(n||!(e&&("object"==typeof e||"function"==typeof e))||r||!(t&&("object"==typeof t||"function"==typeof t)))||W(e,t)}var jr=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),xr=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Er(e){return!!Cr(e)&&(Array.isArray(e)||!(e instanceof Map)&&H()in e)}function Cr(e){return null!==e&&("function"==typeof e||"object"==typeof e)} /** * @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 Sr=function(){function e(){}return e.prototype.supports=function(e){return Er(e)},e.prototype.create=function(e){return new zr(e)},e}(),Tr=function(e,t){return t},zr=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Tr}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,a=null;t||n;){var i=!n||t&&t.currentIndex',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}} /** * @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 */()?this.getInertBodyElement=this.getInertBodyElement_DOMParser:this.getInertBodyElement=this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();ga.hasOwnProperty(t)&&!ca.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(xa(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),_a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ja=/([^\#-~ |!])/g;function xa(e){return e.replace(/&/g,"&").replace(_a,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(ja,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function Ea(e,t){var n=null;try{ua=ua||new na(e);var r=t?String(t):"";n=ua.getInertBodyElement(r);var a=5,i=r;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,r=i,i=n.innerHTML,n=ua.getInertBodyElement(r)}while(r!==i);var o=new wa,s=o.sanitizeChildren(Ca(n)||n);return Nn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var l=Ca(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function Ca(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName} /** * @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 */(e)?e.content:null}var Sa,Ta=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),za=/^url\(([^)]+)\)$/;function Aa(e){if(!(e=String(e).trim()))return"";var t=e.match(za);return t&&ia(t[1])===t[1]||e.match(Ta)&&function(e){for(var t=!0,n=!0,r=0;r-1}(e,t.providedIn)||"root"===t.providedIn&&e._def.isRoot)}(e,t.token.ngInjectableDef)){var s=t.token.ngInjectableDef,l=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:l,token:t.token},e._providers[l]=Pi,e._providers[l]=Vi(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{ze(r)}}function Vi(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var a=n.length;switch(a){case 0:return new t;case 1:return new t(Ui(e,n[0]));case 2:return new t(Ui(e,n[0]),Ui(e,n[1]));case 3:return new t(Ui(e,n[0]),Ui(e,n[1]),Ui(e,n[2]));default:for(var i=new Array(a),o=0;o0?a[n-1]:null,r)}function Ki(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,$i(n,t),La.dirtyParentQueries(r),Gi(r),r}function Wi(e,t,n){var r=t?si(t,t.def.lastRenderRootNode):e.renderElement;yi(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Gi(e){yi(e,3,null,null,void 0)}function Qi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function $i(e,t){t>=e.length-1?e.pop():e.splice(t,1)} /** * @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 Yi=new Object;function Zi(e,t,n,r,a,i){return new Ji(e,t,n,r,a,i)}function Xi(e){return e.viewDefFactory}var Ji=function(e){function t(t,n,r,a,i,o){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=a,s._outputs=i,s.ngContentSelectors=o,s.viewDefFactory=r,s}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t){var r=t[n];e.push({propName:n,templateName:r})}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs){var n=this._outputs[t];e.push({propName:t,templateName:n})}return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var a=gi(this.viewDefFactory),i=a.nodes[0].element.componentProvider.nodeIndex,o=La.createRootView(e,t||[],n,a,r,Yi),s=Pa(o,i).instance;return n&&o.renderer.setAttribute(Ra(o,0).renderElement,"ng-version",Ue.full),new eo(o,new ao(o),s)},t}(Qt),eo=function(e){function t(t,n,r){var a=e.call(this)||this;return a._view=t,a._viewRef=n,a._component=r,a._elDef=a._view.def.nodes[0],a.hostView=n,a.changeDetectorRef=n,a.instance=r,a}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Xn(Ra(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new lo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Gt);function to(e,t,n){return new no(e,t,n)}var no=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new Xn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new lo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=oi(e),e=e.parent;return e?new lo(e,t):new lo(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Ki(this._data,e);La.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new ao(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,a){var i=n||this.parentInjector;a||e instanceof nn||(a=i.get(rn));var o=e.create(i,r,void 0,a);return this.insert(o.hostView,t),o},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e,r=n._view;return Hi(this._view,this._data,t,r),n.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(e._view);return function(e,t,n){var r=e.viewContainer._embeddedViews,a=r[t];$i(r,t),null==n&&(n=r.length),Qi(r,n,a),La.dirtyParentQueries(a),Gi(a),Wi(e,n>0?r[n-1]:null,a)}(this._data,n,t),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Ki(this._data,e);t&&La.destroyView(t)},e.prototype.detach=function(e){var t=Ki(this._data,e);return t?new ao(t):null},e}();function ro(e){return new ao(e)}var ao=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return function(e){var t=[];return yi(e,0,void 0,void 0,t),t}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){ni(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{La.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){La.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),La.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Gi(this._view),La.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function io(e,t){return new oo(e,t)}var oo=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.b)(t,e),t.prototype.createEmbeddedView=function(e){return new ao(La.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Xn(Ra(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(lr);function so(e,t){return new lo(e,t)}var lo=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){void 0===t&&(t=he.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return La.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:Wa(e)},t)},e}();function uo(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Ra(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Na(e,n.nodeIndex).renderText;if(20240&n.flags)return Pa(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function co(e){return new ho(e.renderer)}var ho=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(r.c)(ji(t),2),a=n[0],i=n[1],o=this.delegate.createElement(i,a);return e&&this.delegate.appendChild(e,o),o},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,r=Do(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(var a=0;a0,a=t.provider;switch(201347067&t.flags){case 512:return Do(e,t.parent,n,a.value,a.deps);case 1024:return function(e,t,n,a,i){var o=i.length;switch(o){case 0:return a();case 1:return a(Ro(e,t,n,i[0]));case 2:return a(Ro(e,t,n,i[0]),Ro(e,t,n,i[1]));case 3:return a(Ro(e,t,n,i[0]),Ro(e,t,n,i[1]),Ro(e,t,n,i[2]));default:for(var s=Array(o),l=0;l0)u=m,ns(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&ns(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Ha,updateRenderer:r||Ha,handleEvent:function(e,n,r,a){return t[n].element.handleEvent(e,r,a)},bindingCount:a,outputCount:i,lastRenderRootNode:p}}function ns(e){return 0!=(1&e.flags)&&null===e.element.name}function rs(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var a=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=a&&t.nodeIndex+t.childCount>a)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function as(e,t,n,r){var a=ss(e.root,e.renderer,e,t,n);return ls(a,e.component,r),us(a),a}function is(e,t,n){var r=ss(e,e.renderer,null,null,t);return ls(r,n,n),us(r),r}function os(e,t,n,r){var a,i=t.element.componentRendererType;return a=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,ss(e.root,a,e,t.element.componentProvider,n)}function ss(e,t,n,r,a){var i=new Array(a.nodes.length),o=a.outputCount?new Array(a.outputCount):null;return{def:a,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(a.bindingCount),disposables:o,initIndex:-1}}function ls(e,t,n){e.component=t,e.context=n}function us(e){var t;if(ui(e)){var n=e.parentNodeDef;t=Ra(e.parent,n.parent.nodeIndex).renderElement}for(var r=e.def,a=e.nodes,i=0;i0&&Ri(e,t,0,n)&&(p=!0),h>1&&Ri(e,t,1,r)&&(p=!0),h>2&&Ri(e,t,2,a)&&(p=!0),h>3&&Ri(e,t,3,i)&&(p=!0),h>4&&Ri(e,t,4,o)&&(p=!0),h>5&&Ri(e,t,5,s)&&(p=!0),h>6&&Ri(e,t,6,l)&&(p=!0),h>7&&Ri(e,t,7,u)&&(p=!0),h>8&&Ri(e,t,8,c)&&(p=!0),h>9&&Ri(e,t,9,d)&&(p=!0),p}(e,t,n,r,a,i,o,s,l,u,c,d);case 2:return function(e,t,n,r,a,i,o,s,l,u,c,d){var h=!1,p=t.bindings,f=p.length;if(f>0&&ei(e,t,0,n)&&(h=!0),f>1&&ei(e,t,1,r)&&(h=!0),f>2&&ei(e,t,2,a)&&(h=!0),f>3&&ei(e,t,3,i)&&(h=!0),f>4&&ei(e,t,4,o)&&(h=!0),f>5&&ei(e,t,5,s)&&(h=!0),f>6&&ei(e,t,6,l)&&(h=!0),f>7&&ei(e,t,7,u)&&(h=!0),f>8&&ei(e,t,8,c)&&(h=!0),f>9&&ei(e,t,9,d)&&(h=!0),h){var m=t.text.prefix;f>0&&(m+=es(n,p[0])),f>1&&(m+=es(r,p[1])),f>2&&(m+=es(a,p[2])),f>3&&(m+=es(i,p[3])),f>4&&(m+=es(o,p[4])),f>5&&(m+=es(s,p[5])),f>6&&(m+=es(l,p[6])),f>7&&(m+=es(u,p[7])),f>8&&(m+=es(c,p[8])),f>9&&(m+=es(d,p[9]));var g=Na(e,t.nodeIndex).renderText;e.renderer.setValue(g,m)}return h}(e,t,n,r,a,i,o,s,l,u,c,d);case 16384:return function(e,t,n,r,a,i,o,s,l,u,c,d){var h=Pa(e,t.nodeIndex),p=h.instance,f=!1,m=void 0,g=t.bindings.length;return g>0&&Ja(e,t,0,n)&&(f=!0,m=qo(e,h,t,0,n,m)),g>1&&Ja(e,t,1,r)&&(f=!0,m=qo(e,h,t,1,r,m)),g>2&&Ja(e,t,2,a)&&(f=!0,m=qo(e,h,t,2,a,m)),g>3&&Ja(e,t,3,i)&&(f=!0,m=qo(e,h,t,3,i,m)),g>4&&Ja(e,t,4,o)&&(f=!0,m=qo(e,h,t,4,o,m)),g>5&&Ja(e,t,5,s)&&(f=!0,m=qo(e,h,t,5,s,m)),g>6&&Ja(e,t,6,l)&&(f=!0,m=qo(e,h,t,6,l,m)),g>7&&Ja(e,t,7,u)&&(f=!0,m=qo(e,h,t,7,u,m)),g>8&&Ja(e,t,8,c)&&(f=!0,m=qo(e,h,t,8,c,m)),g>9&&Ja(e,t,9,d)&&(f=!0,m=qo(e,h,t,9,d,m)),m&&p.ngOnChanges(m),65536&t.flags&&Oa(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,r,a,i,o,s,l,u,c,d);case 32:case 64:case 128:return function(e,t,n,r,a,i,o,s,l,u,c,d){var h=t.bindings,p=!1,f=h.length;if(f>0&&ei(e,t,0,n)&&(p=!0),f>1&&ei(e,t,1,r)&&(p=!0),f>2&&ei(e,t,2,a)&&(p=!0),f>3&&ei(e,t,3,i)&&(p=!0),f>4&&ei(e,t,4,o)&&(p=!0),f>5&&ei(e,t,5,s)&&(p=!0),f>6&&ei(e,t,6,l)&&(p=!0),f>7&&ei(e,t,7,u)&&(p=!0),f>8&&ei(e,t,8,c)&&(p=!0),f>9&&ei(e,t,9,d)&&(p=!0),p){var m=qa(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(h.length),f>0&&(g[0]=n),f>1&&(g[1]=r),f>2&&(g[2]=a),f>3&&(g[3]=i),f>4&&(g[4]=o),f>5&&(g[5]=s),f>6&&(g[6]=l),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[h[0].name]=n),f>1&&(g[h[1].name]=r),f>2&&(g[h[2].name]=a),f>3&&(g[h[3].name]=i),f>4&&(g[h[4].name]=o),f>5&&(g[h[5].name]=s),f>6&&(g[h[6].name]=l),f>7&&(g[h[7].name]=u),f>8&&(g[h[8].name]=c),f>9&&(g[h[9].name]=d);break;case 128:var y=n;switch(f){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,a);break;case 4:g=y.transform(r,a,i);break;case 5:g=y.transform(r,a,i,o);break;case 6:g=y.transform(r,a,i,o,s);break;case 7:g=y.transform(r,a,i,o,s,l);break;case 8:g=y.transform(r,a,i,o,s,l,u);break;case 9:g=y.transform(r,a,i,o,s,l,u,c);break;case 10:g=y.transform(r,a,i,o,s,l,u,c,d)}}m.value=g}return p}(e,t,n,r,a,i,o,s,l,u,c,d);default:throw"unreachable"}}(e,t,a,i,o,s,l,u,c,d,h,p):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,a=0;a0&&ti(e,t,0,n);h>1&&ti(e,t,1,r);h>2&&ti(e,t,2,a);h>3&&ti(e,t,3,i);h>4&&ti(e,t,4,o);h>5&&ti(e,t,5,s);h>6&&ti(e,t,6,l);h>7&&ti(e,t,7,u);h>8&&ti(e,t,8,c);h>9&&ti(e,t,9,d)}(e,t,r,a,i,o,s,l,u,c,d,h):function(e,t,n){for(var r=0;r0){var i=new Set(e.modules);Rs.forEach(function(t,n){if(i.has(n.ngInjectableDef.providedIn)){var a={token:n,flags:t.flags|(r?4096:0),deps:pi(t.deps),value:t.value,index:e.providers.length};e.providers.push(a),e.providersByKey[Wa(n)]=a}})}}(e=e.factory(function(){return Ha})),e}(r))}var As,Is,Ds,Os,Ns=new Map,Rs=new Map,Ps=new Map;function qs(e){Ns.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&Rs.set(e.token,e)}function Ms(e,t){var n=gi(gi(Xi(t)).nodes[0].element.componentView);Ps.set(e,n)}function Bs(){Ns.clear(),Rs.clear(),Ps.clear()}function Ls(e){if(0===Ns.size)return e;var t=function(e){for(var t=[],n=null,r=0;r=t&&vl(n)}function yl(e,t){null==e&&vl(t)}function bl(e,t){void 0===t&&(t="Type passed in is not ComponentType, it does not have 'ngComponentDef' property."),e.ngComponentDef||vl(t)}function vl(e){throw new Error("ASSERTION ERROR: "+e)} /** * @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 kl=16,wl=0,_l=1,jl=2,xl=3,El=4,Cl=5,Sl=6,Tl=7,zl=8,Al=9,Il=10,Dl=11,Ol=12,Nl=13,Rl=14,Pl=15; /** * @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 ql(e,t,n,r){ngDevMode&&fl(r.firstTemplatePass,!0,"Should only be called on first template pass"),t&&(r.initHooks||(r.initHooks=[])).push(e,t),n&&((r.initHooks||(r.initHooks=[])).push(e,n),(r.checkHooks||(r.checkHooks=[])).push(e,n))}function Ml(e,t){if(t.firstTemplatePass)for(var n=e>>14,r=n+(4095&e),a=n;a"} /** * @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 */function nu(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function ru(e,t){return ngDevMode&&au(e+kl,t),t[e+kl]}function au(e,t){gl(e,t?t.length:0,"index expected to be a valid data index")}function iu(e){return Array.isArray(e)?e[0]:e} /** * @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 ou(e){if(2===e.tNode.type){var t=e.data;return t[jl]?t[jl][Cl]:null}return e.tNode.next?e.view[e.tNode.next.index]:null}function su(e){return e.tNode.child?iu((2===e.tNode.type?e.data:e.view)[e.tNode.child.index]):null}function lu(e){if(-1===e.tNode.index&&2===e.tNode.type){var t=e.data[Rl];return-1===t?null:e.view[t].dynamicLContainerNode}var n=e.tNode.parent;return iu(n?e.view[n.index]:e.view[Cl])}var uu=[];function cu(e,t,n,r,a,i){for(var o=e,s=-1;o;){var l=null,u=a?a.native:null,c=o.tNode.type;if(3===c)hu(n,r,u,o.native,i),o.dynamicLContainerNode&&hu(n,r,u,o.dynamicLContainerNode.native,i);else if(0===c){hu(n,r,u,o.native,i);var d=o,h=d.dynamicLContainerNode?d.dynamicLContainerNode.data:d.data;a&&(h[$l]=a),(l=h[Ql].length?su(h[Ql][0]):null)&&(i=d.dynamicLContainerNode?d.dynamicLContainerNode.native:d.native)}else if(1===c){var p=du(o.view),f=p.tNode.projection[o.tNode.projection];uu[++s]=o,l=f?p.data[_l][f.index]:null}else l=su(o);if(null===l)for(null===(l=ou(o))&&8192&o.tNode.flags&&(l=ou(uu[s--]));o&&!l;){if(null===(o=lu(o))||o===t)return null;o.tNode.next||0!==c||(i=o.native),l=ou(o)}o=l}}function du(e){for(var t=e[Cl];2===t.tNode.type;)ngDevMode&&yl(e[_l],"lViewData.parent"),t=(e=e[_l])[Cl];return ngDevMode&&Jl(t,3),ngDevMode&&yl(t.data,"node.data"),t}function hu(e,t,n,r,a){0===e?Zl(t)?t.insertBefore(n,r,a):n.insertBefore(r,a,!0):1===e?Zl(t)?t.removeChild(n,r):n.removeChild(r):2===e&&(ngDevMode&&ngDevMode.rendererDestroyNode++,t.destroyNode(r))}function pu(e,t){return Zl(t)?t.createText(nu(e)):t.createTextNode(nu(e))}function fu(e,t,n,r){ngDevMode&&Jl(e,0),ngDevMode&&Jl(t,2);var a=e.data[$l];if(a?a.native:null){var i=su(t),o=e.view[Dl];cu(i,t,n?0:1,o,a,r)}}function mu(e,t,n){var r=e.data[Ql],a=t.data;return n>0&&(r[n-1].data[jl]=a),n0&&(n[t-1].data[jl]=r.data[jl]),n.splice(t,1),e.tNode.detached||fu(e,r,!1);var a=r.data;return a[xl]&&a[xl].removeView(),a[Rl]=-1,r.view=null,r.data[El]&=-9,r}function yu(e,t){var n=e.data[Ql][t];return gu(e,t),vu(n.data),n}function bu(e){if(-1===e[wl].childIndex)return null;var t=e[e[wl].childIndex];return t.data?t.data:t.dynamicLContainerNode.data}function vu(e){var t=e[Dl];Zl(t)&&t.destroyNode&&cu(e[Cl],e[Cl],2,t),function(e){if(-1===e[wl].childIndex)return wu(e);for(var t=bu(e);t;){var n=null;if(t.length>=kl){var r=t;r[wl].childIndex>-1&&(n=bu(r))}else{var a=t;a[Ql].length&&(n=a[Ql][0].data)}if(null==n){for(;t&&!t[jl]&&t!==e;)wu(t),t=ku(t,e);wu(t||e),n=t&&t[jl]}t=n}}(e),e[El]|=32}function ku(e,t){var n;return(n=e[Cl])&&2===n.tNode.type?lu(n).data:e[_l]===t?null:e[_l]}function wu(e){if(e[wl]){var t=e;!function(e){var t=e[wl].cleanup;if(null!=t){for(var n=0;n0&&" "!==e[r-1]||a-1&&l>a?c="":(ngDevMode&&ml(d,0,"We do not match directives on namespaced attributes"),c=r[l+1]),8&n&&!Cu(c,u)||2&n&&u!==c){if(Tu(n))return!1;i=!0}}}}else{if(!i&&!Tu(n)&&!Tu(s))return!1;if(i&&Tu(s))continue;i=!1,n=s|1&n}}return Tu(n)||i}function Tu(e){return 0==(1&e)}function zu(e,t){if(null===t)return-1;for(var n=!1,r=0;r=6?t+0:t;n?e[r]|=1:e[r]&=-2}function Bu(e,t){return 1==(1&e[t>=6?t+0:t])}function Lu(e,t){return 2==(2&e[t>=6?t+0:t])}function Fu(e,t){return 4==(4&e[t>=6?t+0:t])}function Uu(e,t,n){return 7&e|t<<3|n<<17}function Vu(e,t){var n=Hu(t);return e[2][n]}function Hu(e){return e>>3&16383}function Ku(e){var t=e>>17&16383;return t>=6?t:-1}function Wu(e){return Ku(e[3])}function Gu(e){return e[1]}function Qu(e,t,n){e[t+1]=n}function $u(e,t,n){e[t+2]=n}function Yu(e,t,n){e[3===t?t:t+0]=n}function Zu(e,t){return e[3===t?t:t+0]}function Xu(e,t){return e[t+2]}function Ju(e,t){return e[t+1]}function ec(e,t){Mu(e,3,t)}function tc(e,t,n){for(var r=(n||0)+1;r=0&&Yu(e,l,Uu(u=Zu(e,l),Hu(u),n));var u,c=Ku(s);c>=0&&Yu(e,c,Uu(u=Zu(e,c),Hu(u),t));$u(e,t,Xu(e,n)),Qu(e,t,Ju(e,n)),Yu(e,t,Zu(e,n)),$u(e,n,r),Qu(e,n,a),Yu(e,n,i)}function rc(e,t,n,r,a,i){var o=t0){var a=Hu(Zu(e,r));Yu(e,r,Uu((Bu(e,r)?1:0)|(Lu(e,r)?2:0)|(Fu(e,r)?4:0),a,n))}}}(e,t+3)}function ac(e,t){return t?!!e:null!==e}function ic(e,t,n){return t?2:n&&n(e)?4:0}function oc(e,t,n){return!(2&e)&&(t&&n)&&4&e?t.toString()!==n.toString():t!==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 */var sc,lc,uc,cc,dc,hc,pc,fc,mc,gc="__ngHostLNode__",yc=Promise.resolve(null),bc=[0,0],vc=new Array(kl).fill(null),kc="__CIRCULAR__",wc=null;function _c(){return sc}function jc(){return fc&&fc[Ol]}function xc(){return fc}function Ec(){return uc}function Cc(e){return e[zl]||(e[zl]=[])}function Sc(e){return e[wl].cleanup||(e[wl].cleanup=[])}var Tc=!1,zc=!0;function Ac(e,t){var n=fc;return mc=e&&e[Tl],dc=e&&e[wl],pc=e&&1==(1&e[El]),zc=e&&dc.firstTemplatePass,sc=e&&e[Dl],null!=t&&(uc=t,cc=!0),fc=e,hc=e&&e[xl],n}function Ic(e,t){t||(Tc||Vl(mc,dc.viewHooks,dc.viewCheckHooks,pc),fc[El]&=-6),fc[El]|=16,fc[Sl]=-1,Ac(e,null)}function Dc(){Tc||Ul(fc,dc,pc),function(e){for(var t=bu(e);null!==t;t=t[jl])if(t.length=h.length){var p=h[d]=pd(t,d,r,a,s,null);if(!cc&&uc){var f=uc.tNode;f.next=p,f.dynamicContainerNode&&(f.dynamicContainerNode.next=p)}}c.tNode=h[d],cc&&(hc=null,(null==uc.tNode.child&&uc.view===fc||2===uc.tNode.type)&&(uc.tNode.child=c.tNode))}if(2==(2&t)&&u){var m=i;ngDevMode&&function(e,t){null!=e&&vl(t)}(m[Cl],"lViewData[HOST_NODE] should not have been initialized"),m[Cl]=c,zc&&(m[wl].node=c.tNode)}return uc=c,cc=!0,c}function Mc(){cc=!1,uc=null}function Bc(e,t,n,r){var a,i=cc,o=uc;if(null==e.data[_l]&&e.data[Al]&&!t.template)Md(e.data[Al]);else try{cc=!0,uc=null,a=Ac(e.data,e),Kc(),t.template(r,n),2&r?Dc():e.data[wl].firstTemplatePass=zc=!1}finally{Ic(a,1==(1&r)),cc=i,uc=o}return e}function Lc(e,t,n,r){var a=Ac(t,e);try{lc.begin&&lc.begin(),r?(Kc(),r(Fc(t),n),Dc()):(Nc(),Oc(bc),Id(0,kl))}finally{lc.end&&lc.end(),Ic(a)}}function Fc(e){return 1&e[El]?3:2}var Uc=null;function Vc(){Uc="http://www.w3.org/2000/svg/"}function Hc(){Uc="http://www.w3.org/1998/MathML/"}function Kc(){Uc=null}function Wc(e,t,n,r){Gc(e,t,n,r),cd()}function Gc(e,t,n,r){ngDevMode&&fl(fc[Sl],-1,"elements should be created before any bindings"),ngDevMode&&ngDevMode.rendererCreateElement++;var a=Qc(t);ngDevMode&&bh(e-1);var i=qc(e,3,a,t,n||null,null);return wc=i,n&&rd(a,n),ju(lu(i),a,fc),$c(r),a}function Qc(e,t){var n=t||sc;return Zl(n)?n.createElement(e,Uc):null===Uc?n.createElement(e):n.createElementNS(Uc,e)}function $c(e){var t=uc;zc?(ngDevMode&&ngDevMode.firstTemplatePass++,function(e,t,n){var r=n?{"":-1}:null,a=t.currentMatches=Yc(e);if(a)for(var i=0;i0)for(var n=e.flags>>14,r=n+t,a=dc.directives,i=n;i0)for(var a=e>>14,i=a+n,o=0===t,s=dc.directives,l=a;l=g,w=(c=k?m[u-g]:f[u],k?o[c]:i[c]),_=r[w],j=3*u+v,x=3*u+6,E=ic(c,k,n||null);Yu(a,x,Uu(E,w,j)),Qu(a,x,c),$u(a,x,null),Yu(a,j,Uu(E|(null!==_?1:0),w,x)),Qu(a,j,c),$u(a,j,null)}return Yu(a,3,Uu(0,0,v)),ec(a,r.length>1),a}(e,t,n)),(t&&t.length||e&&e.length)&&bd(r.index-kl)}function yd(e){var t=sh(e);if(!Array.isArray(t)){var n=t,r=n.tNode;ngDevMode&&yl(r.stylingTemplate,"getStylingContext() called before elementStyling()"),t=fc[e+kl]=function(e,t){var n=t.slice();return n[0]=e,n}(n,r.stylingTemplate)}return t}function bd(e){Ru(yd(e),sc)}function vd(e,t,n,r){var a=null;n&&(a=r?nu(n)+r:n),Nu(yd(e),t,a)}function kd(e,t,n){!function(e,t,n){var r=Du,a=!1,i=!1;if("string"==typeof t){var o=e[5];o&&o===t?i=!0:(e[5]=t,r=t.split(/\s+/),a=!0)}else r=t?Object.keys(t):Du,e[5]=null;t=t||Ou;var s=n?Object.keys(n):Du;n=n||Ou;for(var l=s.length,u=!1,c=Wu(e),d=0,h=s.length+r.length;c=l;if(!i||!p){var f=p?d-l:d,m=p?r[f]:s[f],g=p?!!a||t[m]:n[m];if((E=Ju(e,c))===m){var y=Xu(e,c);oc(C=Zu(e,c),y,g)&&($u(e,c,g),(w=Vu(e,C))!==g&&(Mu(e,c,!0),u=!0))}else{var b=tc(e,m,c);if(b>0){var v=Xu(e,b),k=Zu(e,b);if(nc(e,c,b),v!==g){var w=Vu(e,k);$u(e,c,g),w!==g&&(Mu(e,c,!0),u=!0)}}else rc(e,c,p,m,ic(m,p,Gu(e)),g),u=!0}}c+=3,d++}for(;c=l;if(i&&x)break;f=x?d-l:d;var E=x?r[f]:s[f],C=(y=x?!!a||t[E]:n[E],1|ic(E,x,j));e.push(C,E,y),d++,u=!0}u&&ec(e,!0)}(yd(e),t,n)}function wd(e,t){ngDevMode&&fl(fc[Sl],-1,"text nodes should be created before bindings"),ngDevMode&&ngDevMode.rendererCreateTextNode++;var n=pu(t,sc),r=qc(e,3,n,null,null);cc=!1,ju(lu(r),n,fc)}function _d(e,t){if(t!==Vd){ngDevMode&&bh(e+kl);var n=lh(e);ngDevMode&&yl(n,"LNode should exist"),ngDevMode&&yl(n.native,"native element should exist"),ngDevMode&&ngDevMode.rendererSetText++,Zl(sc)?sc.setValue(n.native,nu(t)):n.native.textContent=nu(t)}}function jd(e,t,n){var r=xd(e,t,n);ngDevMode&&yl(uc.tNode,"previousOrParentNode.tNode");var a=uc.tNode;return n.template&&function(e,t,n){var r=td(n.template,n.directiveDefs,n.pipeDefs,n.viewQuery),a=Pd(fc,uc.tNode.index,Rc(lc.createRenderer(uc.native,n.rendererType),r,null,n.onPush?4:2,jc()));uc.data=a,a[Cl]=uc,Jc(uc.nodeInjector,t,a),zc&&Xc(e)}(e,t,n),zc&&(ql(e,n.onInit,n.doCheck,dc),n.hostBindings&&function(e){ngDevMode&&fl(zc,!0,"Should only be called in first template pass."),(dc.hostBindings||(dc.hostBindings=[])).push(e,fc.length-1-kl)}(e)),a&&a.attrs&&function(e,t,n,r){var a=r.initialInputs;(void 0===a||e>=a.length)&&(a=function(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;var a=n.attrs,i=0;for(;i=n.length||null==n[e])&&(n[e]=nd(e,null,dc.directiveRegistry,dc.pipeRegistry,null));return n[e]}(e,t),null,2,jc());n[xl]&&(a[xl]=n[xl].createView()),Ac(a,r=qc(e,2,null,null,null,a))}return t&&(pc&&mu(t,r,n[Gl]),n[Gl]++),Fc(r.data)}function Ad(){Dc(),cc=!1,uc=fc[Cl],Ic(fc[_l]),ngDevMode&&fl(cc,!1,"isParent"),ngDevMode&&Jl(uc,2)}function Id(e,t){ngDevMode&&bh(t);var n=fc[t];ngDevMode&&Jl(n,3),ngDevMode&&yl(n.data,"Component's host node should have an LViewData attached.");var r=n.data;Dd(r)&&6&r[El]&&(ngDevMode&&bh(e,mc),Fd(r,n,mc[e]))}function Dd(e){return 8==(8&e[El])}function Od(e,t){var n=du(fc);if(!n.tNode.projection)for(var r=e?e.length+1:1,a=n.tNode.projection=new Array(r).fill(null),i=a.slice(),o=n.tNode.child;null!==o;){var s=e?Iu(o,e,t):0,l=o.next;i[s]?i[s].next=o:(a[s]=o,o.next=null),i[s]=o,o=l}}var Nd=[];function Rd(e,t,n){void 0===t&&(t=0);var r=qc(e,1,null,null,n||null,null);null===r.tNode.projection&&(r.tNode.projection=t),cc=!1;var a=lu(r);if(_u(a,fc))for(var i=du(fc),o=i.tNode.projection[t],s=i.view,l=-1,u=void 0,c=2===a.tNode.type?(u=lu(a))&&u.data[$l]:a;o;){if(1===o.type){var d=du(s),h=d.tNode.projection[o.projection];if(h){Nd[++l]=s[o.index],o=h,s=d.view;continue}}else{(p=s[o.index]).tNode.flags|=8192,Eu(p,a,fc,c)}var p;if(null===o.next&&s!==i.view)o=(p=Nd[l--]).tNode,s=p.view;o=o.next}}function Pd(e,t,n){return e[Nl]?e[Nl][jl]=n:zc&&(dc.childIndex=t),e[Nl]=n,n}function qd(e){for(var t=e;null!=t[_l];)t[El]|=4,t=t[_l];t[El]|=4,ngDevMode&&yl(t[Al],"rootContext"),function(e){if(e.clean==yc){var t;e.clean=new Promise(function(e){return t=e}),e.scheduler(function(){Md(e),t(null),e.clean=yc})}}(t[Al])}function Md(e){for(var t=0;t=dc.data.length&&(dc.data[n]=null),fc[n]=t}function ih(e){return ngDevMode&&yl(mc,"Directives array should be defined if reading a dir."),ngDevMode&&bh(e,mc),mc[e]}function oh(e){return ngDevMode&&yl(fc[Pl],"Content QueryList array should be defined if reading a query."),ngDevMode&&bh(e,fc[Pl]),fc[Pl][e]}function sh(e){return ru(e,fc)}function lh(e){return function(e,t){return iu(ru(e,t))}(e,fc)}function uh(){return ngDevMode&&bh(fc[Sl]),ngDevMode&&ml(fc[fc[Sl]],Vd,"Stored value should never be NO_CHANGE."),fc[fc[Sl]++]}function ch(e){ngDevMode&&ml(e,Vd,"Incoming value should never be NO_CHANGE."),-1===fc[Sl]&&Hd();var t=fc[Sl];if(t>=fc.length)fc[fc[Sl]++]=e;else{if(!function(e,t){return!(e!=e&&t!=t)&&e!==t}(fc[t],e))return fc[Sl]++,!1;!function(e,t,n,r){if(t){var a="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+n+"'. Current value: '"+r+"'.";throw e&&(a+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),new Error(a)}}(pc,Tc,fc[t],e),fc[fc[Sl]++]=e}return!0}function dh(e){return ch(e),e}function hh(e,t){var n=ch(e);return ch(t)||n}function ph(e,t,n,r){var a=hh(e,t);return hh(n,r)||a}function fh(){return dc}function mh(e){var t=(fc[Pl]||(fc[Pl]=[])).push(e);if(zc){var n=mc.length-1,r=dc.contentQueries||(dc.contentQueries=[]);n!==(dc.contentQueries.length?dc.contentQueries[dc.contentQueries.length-2]:-1)&&r.push(n,t-1)}}function gh(){fl(cc,!0,"previousOrParentNode should be a parent")}function yh(){yl(lu(uc),"previousOrParentNode should have a parent")}function bh(e,t){null==t&&(t=fc),au(e,t||fc)}function vh(e,t){null==t&&(t=fc),fl(t.length,e,"index "+e+" expected to be at the end of arr (length "+t.length+")")}function kh(e,t){if(zc)for(var n=dc.bindingStartIndex-e,r=0;r>14])}(n.view[Cl]):null}function sp(e,t,n){void 0===n&&(n=0);var r=function(e){var t=e[Gh];return"number"==typeof t?t%Qh:null}(t);if(null===r){var a=ze(Ec().view[Il]);try{return Ae(t,n)}finally{ze(a)}}else for(var i=e;i&&(i=up(i,r,n));){var o=i.node,s=o.tNode.flags,l=4095&s;if(0!==l)for(var u=s>>14,c=u+l,d=o.view[wl].directives,h=u;h0&&0===--d)break;if(void 0!==g&&g>h&&(h=g),s){var b=s.indexOf(m)+1;0!==b&&b!==t&&(n=e(b,n,r,a,i,o,s,l))}}else m&&u.push(536870912,m)}if(i){var v=i[t];if(v)for(var k=Object.keys(v),w=0;wh&&(h=j)}}}if(o){var x=o[t];if(x)for(var k=Object.keys(x),w=0;wh&&(h=j)}}}if(0===t&&"number"==typeof l)for(var w=h+1;w<=l;w++)ngDevMode&&gl(w.toString(2).length,28,"Index "+w+" is too big and will overflow"),u.push(-1610612736|w);return n}(0,0,i,s,t,n,r,a),s}function wp(e,t,n){ngDevMode&&ngDevMode.rendererMoveNode++;var r=xc();ju(t,e.native||null,r);var a=e.view[wl].firstTemplatePass;return a&&(n===t&&e.tNode!==t.tNode.child?(e.tNode.next=t.tNode.child,t.tNode.child=e.tNode):n!==t&&e.tNode!==n.tNode.next?(e.tNode.next=n.tNode.next,n.tNode.next=e.tNode):e.tNode.next=null,t.view===e.view&&(e.tNode.parent=t.tNode)),0===e.tNode.type&&e.dynamicLContainerNode?(ju(t,e.dynamicLContainerNode.native||null,r),a&&(e.tNode.dynamicContainerNode=e.dynamicLContainerNode.tNode,e.dynamicLContainerNode.tNode.parent=e.tNode),e.dynamicLContainerNode):e}function _p(e,t){var n=xc();if(ngDevMode&&fl(n[Sl],-1,"i18nApply should be called before any binding"),t){var r=_c(),a=lu(sh(e))||Ec(),i=a;Mc();for(var o=0;o>14,i=a+(4095&r),o=a;o0?(e=r.concat(e.slice(n+1)),n=0):n++:(t.push(r),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function lf(e,t,n,r){ngDevMode&&gh();var a=new sf;return function(e){return hc||(hc=uc.queries&&uc.queries.clone()||new e)}(Jp).track(a,t,n,r),ld(null,a,a.destroy),null!=e&&ah(e,a),a}function uf(e){var t=e;return!!e.dirty&&(e.reset(t._valuesTree),e.notifyOnChanges(),!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 */ /** * @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 cf="__SANITIZER_TRUSTED_BRAND__";function df(e,t){return e instanceof String&&e[cf]===t}function hf(e){return yf(e,"Html")}function pf(e){return yf(e,"Style")}function ff(e){return yf(e,"Script")}function mf(e){return yf(e,"Url")}function gf(e){return yf(e,"ResourceUrl")}function yf(e,t){var n=new String(e);return n[cf]=t,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 */function bf(e){var t=jc();return t?t.sanitize(Sa.HTML,e)||"":df(e,"Html")?e.toString():Ea(document,nu(e))}function vf(e){var t=jc();return t?t.sanitize(Sa.STYLE,e)||"":df(e,"Style")?e.toString():Aa(nu(e))}function kf(e){var t=jc();return t?t.sanitize(Sa.URL,e)||"":df(e,"Url")?e.toString():ia(nu(e))}function wf(e){var t=jc();if(t)return t.sanitize(Sa.RESOURCE_URL,e)||"";if(df(e,"ResourceUrl"))return e.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")} /** * @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 */ /** * @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 */ /** * @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 */}.call(this,n(84))},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return i}),n.d(t,"e",function(){return o}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return l}); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function a(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function l(){for(var e=[],t=0;t0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=u.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var a=this.prepareExternalUrl(n+u.normalizeQueryParams(r));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,t,a)},t.prototype.replaceState=function(e,t,n,r){var a=this.prepareExternalUrl(n+u.normalizeQueryParams(r));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,a)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:i},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[l]}]}]},t}(s),h=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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 r._baseHref=n,r}return Object(a.b)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return u.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+u.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var a=this.prepareExternalUrl(n+u.normalizeQueryParams(r));this._platformLocation.pushState(e,t,a)},t.prototype.replaceState=function(e,t,n,r){var a=this.prepareExternalUrl(n+u.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,a)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:i},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[l]}]}]},t}(s),p=void 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 */var f=["en",[["a","p"],["AM","PM"],p],[["AM","PM"],p,p],[["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"]],p,[["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"]],p,[["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}",p,"{1} 'at' {0}",p],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],m={}; /** * @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 g(e,t,n){"string"!=typeof t&&(n=t,t=e[0]),t=t.toLowerCase().replace(/_/g,"-"),m[t]=e,n&&(m[t][19]=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 */var y,b,v,k,w,_,j,x={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 E(e){return K(e)[0]}function C(e,t,n){var r=K(e);return V(V([r[1],r[2]],t),n)}function S(e,t,n){var r=K(e);return V(V([r[3],r[4]],t),n)}function T(e,t,n){var r=K(e);return V(V([r[5],r[6]],t),n)}function z(e,t){return V(K(e)[7],t)}function A(e){return K(e)[8]}function I(e){return K(e)[9]}function D(e,t){return V(K(e)[10],t)}function O(e,t){return V(K(e)[11],t)}function N(e,t){return V(K(e)[12],t)}function R(e,t){var n=K(e),r=n[13][t];if(void 0===r){if(t===_.CurrencyDecimal)return n[13][_.Decimal];if(t===_.CurrencyGroup)return n[13][_.Group]}return r}function P(e,t){return K(e)[14][t]}function q(e){return K(e)[15]||null}function M(e){return K(e)[16]||null}function B(e){return K(e)[18]}function L(e){if(!e[19])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function F(e){var t=K(e);return L(t),(t[19][2]||[]).map(function(e){return"string"==typeof e?H(e):[H(e[0]),H(e[1])]})}function U(e,t,n){var r=K(e);return L(r),V(V([r[19][0],r[19][1]],t)||[],n)||[]}function V(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function H(e){var t=Object(a.c)(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function K(e){var t=e.toLowerCase().replace(/_/g,"-"),n=m[t];if(n)return n;var r=t.split("-")[0];if(n=m[r])return n;if("en"===r)return f;throw new Error('Missing locale data for the locale "'+e+'".')}function W(e,t,n){void 0===n&&(n="en");var r=function(e){return K(e)[17]}(n)[e]||x[e]||[],a=r[1];return"narrow"===t&&"string"==typeof a?a:r[0]||e}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(y||(y={})),function(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"}(b||(b={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(v||(v={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(k||(k={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(w||(w={})),function(e){e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup"}(_||(_={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(j||(j={}));var G=2;function Q(e){var t,n=x[e];return n&&(t=n[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 $,Y,Z,X=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,J={},ee=/((?:[^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 te(e,t,n,r){var i=function(e){if(pe(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var n=Object(a.c)(e.split("-").map(function(e){return+e}),3),r=n[0],i=n[1],o=n[2];return new Date(r,i-1,o)}var s=void 0;if(s=e.match(X))return he(s)}var l=new Date(e);if(!pe(l))throw new Error('Unable to convert "'+e+'" into a date');return l}(e);t=function e(t,n){var r=E(t);J[r]=J[r]||{};if(J[r][n])return J[r][n];var a="";switch(n){case"shortDate":a=D(t,w.Short);break;case"mediumDate":a=D(t,w.Medium);break;case"longDate":a=D(t,w.Long);break;case"fullDate":a=D(t,w.Full);break;case"shortTime":a=O(t,w.Short);break;case"mediumTime":a=O(t,w.Medium);break;case"longTime":a=O(t,w.Long);break;case"fullTime":a=O(t,w.Full);break;case"short":var i=e(t,"shortTime"),o=e(t,"shortDate");a=ne(N(t,w.Short),[i,o]);break;case"medium":var s=e(t,"mediumTime"),l=e(t,"mediumDate");a=ne(N(t,w.Medium),[s,l]);break;case"long":var u=e(t,"longTime"),c=e(t,"longDate");a=ne(N(t,w.Long),[u,c]);break;case"full":var d=e(t,"fullTime"),h=e(t,"fullDate");a=ne(N(t,w.Full),[d,h])}a&&(J[r][n]=a);return a}(n,t)||t;for(var o,s=[];t;){if(!(o=ee.exec(t))){s.push(t);break}var l=(s=s.concat(o.slice(1))).pop();if(!l)break;t=l}var u=i.getTimezoneOffset();r&&(u=de(r,u),i=function(e,t,n){var r=n?-1:1,a=e.getTimezoneOffset(),i=de(t,a);return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(i-a))}(i,r,!0));var c="";return s.forEach(function(e){var t=function(e){if(ce[e])return ce[e];var t;switch(e){case"G":case"GG":case"GGG":t=ie(Z.Eras,k.Abbreviated);break;case"GGGG":t=ie(Z.Eras,k.Wide);break;case"GGGGG":t=ie(Z.Eras,k.Narrow);break;case"y":t=ae(Y.FullYear,1,0,!1,!0);break;case"yy":t=ae(Y.FullYear,2,0,!0,!0);break;case"yyy":t=ae(Y.FullYear,3,0,!1,!0);break;case"yyyy":t=ae(Y.FullYear,4,0,!1,!0);break;case"M":case"L":t=ae(Y.Month,1,1);break;case"MM":case"LL":t=ae(Y.Month,2,1);break;case"MMM":t=ie(Z.Months,k.Abbreviated);break;case"MMMM":t=ie(Z.Months,k.Wide);break;case"MMMMM":t=ie(Z.Months,k.Narrow);break;case"LLL":t=ie(Z.Months,k.Abbreviated,v.Standalone);break;case"LLLL":t=ie(Z.Months,k.Wide,v.Standalone);break;case"LLLLL":t=ie(Z.Months,k.Narrow,v.Standalone);break;case"w":t=ue(1);break;case"ww":t=ue(2);break;case"W":t=ue(1,!0);break;case"d":t=ae(Y.Date,1);break;case"dd":t=ae(Y.Date,2);break;case"E":case"EE":case"EEE":t=ie(Z.Days,k.Abbreviated);break;case"EEEE":t=ie(Z.Days,k.Wide);break;case"EEEEE":t=ie(Z.Days,k.Narrow);break;case"EEEEEE":t=ie(Z.Days,k.Short);break;case"a":case"aa":case"aaa":t=ie(Z.DayPeriods,k.Abbreviated);break;case"aaaa":t=ie(Z.DayPeriods,k.Wide);break;case"aaaaa":t=ie(Z.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=ie(Z.DayPeriods,k.Abbreviated,v.Standalone,!0);break;case"bbbb":t=ie(Z.DayPeriods,k.Wide,v.Standalone,!0);break;case"bbbbb":t=ie(Z.DayPeriods,k.Narrow,v.Standalone,!0);break;case"B":case"BB":case"BBB":t=ie(Z.DayPeriods,k.Abbreviated,v.Format,!0);break;case"BBBB":t=ie(Z.DayPeriods,k.Wide,v.Format,!0);break;case"BBBBB":t=ie(Z.DayPeriods,k.Narrow,v.Format,!0);break;case"h":t=ae(Y.Hours,1,-12);break;case"hh":t=ae(Y.Hours,2,-12);break;case"H":t=ae(Y.Hours,1);break;case"HH":t=ae(Y.Hours,2);break;case"m":t=ae(Y.Minutes,1);break;case"mm":t=ae(Y.Minutes,2);break;case"s":t=ae(Y.Seconds,1);break;case"ss":t=ae(Y.Seconds,2);break;case"S":t=ae(Y.FractionalSeconds,1);break;case"SS":t=ae(Y.FractionalSeconds,2);break;case"SSS":t=ae(Y.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=oe($.Short);break;case"ZZZZZ":t=oe($.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=oe($.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=oe($.Long);break;default:return null}return ce[e]=t,t}(e);c+=t?t(i,n,u):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ne(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function re(e,t,n,r,a){void 0===n&&(n="-");var i="";(e<0||a&&e<=0)&&(a?e=1-e:(e=-e,i=n));for(var o=String(e);o.length0||s>-n)&&(s+=n),e===Y.Hours)0===s&&-12===n&&(s=12);else if(e===Y.FractionalSeconds)return function(e,t){return re(e,3).substr(0,t)}(s,t);var l=R(o,_.MinusSign);return re(s,t,l,r,a)}}function ie(e,t,n,r){return void 0===n&&(n=v.Format),void 0===r&&(r=!1),function(a,i){return function(e,t,n,r,a,i){switch(n){case Z.Months:return T(t,a,r)[e.getMonth()];case Z.Days:return S(t,a,r)[e.getDay()];case Z.DayPeriods:var o=e.getHours(),s=e.getMinutes();if(i){var l,u=F(t),c=U(t,a,r);if(u.forEach(function(e,t){if(Array.isArray(e)){var n=e[0],r=n.hours,a=n.minutes,i=e[1],u=i.hours,d=i.minutes;o>=r&&s>=a&&(o0?Math.floor(a/60):Math.ceil(a/60);switch(e){case $.Short:return(a>=0?"+":"")+re(o,2,i)+re(Math.abs(a%60),2,i);case $.ShortGMT:return"GMT"+(a>=0?"+":"")+re(o,1,i);case $.Long:return"GMT"+(a>=0?"+":"")+re(o,2,i)+":"+re(Math.abs(a%60),2,i);case $.Extended:return 0===r?"Z":(a>=0?"+":"")+re(o,2,i)+":"+re(Math.abs(a%60),2,i);default:throw new Error('Unknown zone width "'+e+'"')}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}($||($={})),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"}(Y||(Y={})),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 se=0,le=4;function ue(e,t){return void 0===t&&(t=!1),function(n,r){var a;if(t){var i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,o=n.getDate();a=1+Math.floor((o+i)/7)}else{var s=function(e){var t=new Date(e,se,1).getDay();return new Date(e,0,1+(t<=le?le:le+7)-t)}(n.getFullYear()),l=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(le-e.getDay()))}(n).getTime()-s.getTime();a=1+Math.round(l/6048e5)}return re(a,e,R(r,_.MinusSign))}}var ce={};function de(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function he(e){var t=new Date(0),n=0,r=0,a=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-n,s=Number(e[5]||0)-r,l=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,s,l,u),t}function pe(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 fe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,me=22,ge=".",ye="0",be=";",ve=",",ke="#",we="¤",_e="%";function je(e,t,n,r,a,i,o){void 0===o&&(o=!1);var s="",l=!1;if(isFinite(e)){var u=function(e){var t,n,r,a,i,o=Math.abs(e)+"",s=0;(n=o.indexOf(ge))>-1&&(o=o.replace(ge,""));(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length);for(r=0;o.charAt(r)===ye;r++);if(r===(i=o.length))t=[0],n=1;else{for(i--;o.charAt(i)===ye;)i--;for(n-=r,t=[],a=0;r<=i;r++,a++)t[a]=Number(o.charAt(r))}n>me&&(t=t.splice(0,me-1),s=n-1,n=1);return{digits:t,exponent:s,integerLen:n}}(e);o&&(u=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(u));var c=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){var p=i.match(fe);if(null===p)throw new Error(i+" is not a valid digit info");var f=p[1],m=p[3],g=p[5];null!=f&&(c=Te(f)),null!=m&&(d=Te(m)),null!=g?h=Te(g):null!=m&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+n+").");var r=e.digits,a=r.length-e.integerLen,i=Math.min(Math.max(t,a),n),o=i+e.integerLen,s=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(var l=o;l=5)if(o-1<0){for(var c=0;c>o;c--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++;for(;a=h?r.pop():d=!1),t>=10?1:0},0);p&&(r.unshift(p),e.integerLen++)}(u,d,h);var y=u.digits,b=u.integerLen,v=u.exponent,k=[];for(l=y.every(function(e){return!e});b0?k=y.splice(b,y.length):(k=y,y=[0]);var w=[];for(y.length>=t.lgSize&&w.unshift(y.splice(-t.lgSize,y.length).join(""));y.length>t.gSize;)w.unshift(y.splice(-t.gSize,y.length).join(""));y.length&&w.unshift(y.join("")),s=w.join(R(n,r)),k.length&&(s+=R(n,a)+k.join("")),v&&(s+=R(n,_.Exponential)+"+"+v)}else s=R(n,_.Infinity);return s=e<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function xe(e,t,n,r,a){var i=Se(P(t,y.Currency),R(t,_.MinusSign));return i.minFrac=Q(r),i.maxFrac=i.minFrac,je(e,i,t,_.CurrencyGroup,_.CurrencyDecimal,a).replace(we,n).replace(we,"")}function Ee(e,t,n){return je(e,Se(P(t,y.Percent),R(t,_.MinusSign)),t,_.Group,_.Decimal,n,!0).replace(new RegExp(_e,"g"),R(t,_.PercentSign))}function Ce(e,t,n){return je(e,Se(P(t,y.Decimal),R(t,_.MinusSign)),t,_.Group,_.Decimal,n)}function Se(e,t){void 0===t&&(t="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(be),a=r[0],i=r[1],o=-1!==a.indexOf(ge)?a.split(ge):[a.substring(0,a.lastIndexOf(ye)+1),a.substring(a.lastIndexOf(ye)+1)],s=o[0],l=o[1]||"";n.posPre=s.substr(0,s.indexOf(ke));for(var u=0;u-1)return a;if(a=n.getPluralCategory(e,r),t.indexOf(a)>-1)return a;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+e+'"')}var De=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return Object(a.b)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):B(t||this.locale)(e)){case b.Zero:return"zero";case b.One:return"one";case b.Two:return"two";case b.Few:return"few";case b.Many:return"many";default:return"other"}},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[ze]}]}]},t}(Ae);function Oe(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,r=n.toString().replace(/^[^.]*\.?/,""),a=Math.floor(Math.abs(n)),i=r.length,o=parseInt(r,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.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?b.One:b.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?b.One:b.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===a||1===n?b.One:b.Other;case"ar":return 0===n?b.Zero:1===n?b.One:2===n?b.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?b.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?b.Many:b.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===i?b.One:b.Other;case"be":return n%10==1&&n%100!=11?b.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?b.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?b.Many:b.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?b.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?b.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)?b.Few:0!==n&&n%1e6==0?b.Many:b.Other;case"bs":case"hr":case"sr":return 0===i&&a%10==1&&a%100!=11||o%10==1&&o%100!=11?b.One:0===i&&a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)||o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?b.Few:b.Other;case"cs":case"sk":return 1===a&&0===i?b.One:a===Math.floor(a)&&a>=2&&a<=4&&0===i?b.Few:0!==i?b.Many:b.Other;case"cy":return 0===n?b.Zero:1===n?b.One:2===n?b.Two:3===n?b.Few:6===n?b.Many:b.Other;case"da":return 1===n||0!==s&&(0===a||1===a)?b.One:b.Other;case"dsb":case"hsb":return 0===i&&a%100==1||o%100==1?b.One:0===i&&a%100==2||o%100==2?b.Two:0===i&&a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4||o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4?b.Few:b.Other;case"ff":case"fr":case"hy":case"kab":return 0===a||1===a?b.One:b.Other;case"fil":return 0===i&&(1===a||2===a||3===a)||0===i&&a%10!=4&&a%10!=6&&a%10!=9||0!==i&&o%10!=4&&o%10!=6&&o%10!=9?b.One:b.Other;case"ga":return 1===n?b.One:2===n?b.Two:n===Math.floor(n)&&n>=3&&n<=6?b.Few:n===Math.floor(n)&&n>=7&&n<=10?b.Many:b.Other;case"gd":return 1===n||11===n?b.One:2===n||12===n?b.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?b.Few:b.Other;case"gv":return 0===i&&a%10==1?b.One:0===i&&a%10==2?b.Two:0!==i||a%100!=0&&a%100!=20&&a%100!=40&&a%100!=60&&a%100!=80?0!==i?b.Many:b.Other:b.Few;case"he":return 1===a&&0===i?b.One:2===a&&0===i?b.Two:0!==i||n>=0&&n<=10||n%10!=0?b.Other:b.Many;case"is":return 0===s&&a%10==1&&a%100!=11||0!==s?b.One:b.Other;case"ksh":return 0===n?b.Zero:1===n?b.One:b.Other;case"kw":case"naq":case"se":case"smn":return 1===n?b.One:2===n?b.Two:b.Other;case"lag":return 0===n?b.Zero:0!==a&&1!==a||0===n?b.Other:b.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)?b.Few:0!==o?b.Many:b.Other:b.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=19?b.Zero:n%10==1&&n%100!=11||2===i&&o%10==1&&o%100!=11||2!==i&&o%10==1?b.One:b.Other;case"mk":return 0===i&&a%10==1||o%10==1?b.One:b.Other;case"mt":return 1===n?b.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?b.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?b.Many:b.Other;case"pl":return 1===a&&0===i?b.One:0===i&&a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?b.Few:0===i&&1!==a&&a%10===Math.floor(a%10)&&a%10>=0&&a%10<=1||0===i&&a%10===Math.floor(a%10)&&a%10>=5&&a%10<=9||0===i&&a%100===Math.floor(a%100)&&a%100>=12&&a%100<=14?b.Many:b.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?b.One:b.Other;case"ro":return 1===a&&0===i?b.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?b.Few:b.Other;case"ru":case"uk":return 0===i&&a%10==1&&a%100!=11?b.One:0===i&&a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?b.Few:0===i&&a%10==0||0===i&&a%10===Math.floor(a%10)&&a%10>=5&&a%10<=9||0===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=14?b.Many:b.Other;case"shi":return 0===a||1===n?b.One:n===Math.floor(n)&&n>=2&&n<=10?b.Few:b.Other;case"si":return 0===n||1===n||0===a&&1===o?b.One:b.Other;case"sl":return 0===i&&a%100==1?b.One:0===i&&a%100==2?b.Two:0===i&&a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4||0!==i?b.Few:b.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?b.One:b.Other;default:return b.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 Ne(e,t){var n,r;t=encodeURIComponent(t);try{for(var i=Object(a.e)(e.split(";")),o=i.next();!o.done;o=i.next()){var s=o.value,l=s.indexOf("="),u=Object(a.c)(-1==l?[s,""]:[s.slice(0,l),s.slice(l+1)],2),c=u[0],d=u[1];if(c.trim()===t)return decodeURIComponent(d)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null} /** * @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 Re=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["ɵstringify"])(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})},e.decorators=[{type:r.Directive,args:[{selector:"[ngClass]"}]}],e.ctorParameters=function(){return[{type:r.IterableDiffers},{type:r.KeyValueDiffers},{type:r.ElementRef},{type:r.Renderer2}]},e.propDecorators={klass:[{type:r.Input,args:["class"]}],ngClass:[{type:r.Input}]},e}(),Pe=function(){function e(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return e.prototype.ngOnChanges=function(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=t.get(r.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var a=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(r.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(a,this._viewContainerRef.length,t,this.ngComponentOutletContent)}},e.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},e.decorators=[{type:r.Directive,args:[{selector:"[ngComponentOutlet]"}]}],e.ctorParameters=function(){return[{type:r.ViewContainerRef}]},e.propDecorators={ngComponentOutlet:[{type:r.Input}],ngComponentOutletInjector:[{type:r.Input}],ngComponentOutletContent:[{type:r.Input}],ngComponentOutletNgModuleFactory:[{type:r.Input}]},e}(),qe=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),Me=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(r.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+function(e){return e.name||typeof e} /** * @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 */(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}if(this._differ){var t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,a){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new qe(null,t._ngForOf,-1,-1),a),o=new Be(e,i);n.push(o)}else if(null==a)t._viewContainer.remove(r);else{i=t._viewContainer.get(r);t._viewContainer.move(i,a);o=new Be(e,i);n.push(o)}});for(var r=0;r1?"short":"narrow":"long",n}function ct(e){return e.reduce(function(e,t){return Object(a.a)({},e,t)},{})}function dt(e){return function(t,n){return it(t,n,e)}}var ht=new Map;var pt=function(){function e(){}return e.format=function(e,t,n){return function(e,t,n){var r=tt[e];if(r)return r(t,n);var a=e,i=ht.get(a);if(!i){i=[];var o=void 0;et.exec(e);for(var s=e;s;)(o=et.exec(s))?s=(i=i.concat(o.slice(1))).pop():(i.push(s),s=null);ht.set(a,i)}return i.reduce(function(e,r){var a=nt[r];return e+(a?a(t,n):function(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(r))},"")}(n,e,t)},e}(),ft=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;var r;if("string"==typeof t&&(t=t.trim()),mt(t))r=t;else if(isNaN(t-parseFloat(t)))if("string"==typeof t&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var i=Object(a.c)(t.split("-").map(function(e){return parseInt(e,10)}),3),o=i[0],s=i[1],l=i[2];r=new Date(o,s-1,l)}else r=new Date(t);else r=new Date(parseFloat(t));if(!mt(r)){var u=void 0;if("string"!=typeof t||!(u=t.match(X)))throw Xe(e,t);r=he(u)}return pt.format(r,this._locale,e._ALIASES[n]||n)},e._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},e.decorators=[{type:r.Pipe,args:[{name:"date",pure:!0}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(); /** * @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 mt(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 gt(e,t,n,r,a,i,o){if(void 0===i&&(i=null),void 0===o&&(o=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw Xe(e,n);var s,l,u;if(r!==y.Currency&&(s=1,l=0,u=3),a){var c=a.match(fe);if(null===c)throw new Error(a+" is not a valid digit info for number pipes");null!=c[1]&&(s=Te(c[1])),null!=c[3]&&(l=Te(c[3])),null!=c[5]&&(u=Te(c[5]))}return Je.format(n,t,r,{minimumIntegerDigits:s,minimumFractionDigits:l,maximumFractionDigits:u,currency:i,currencyAsSymbol:o})}var yt=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){return gt(e,this._locale,t,y.Decimal,n)},e.decorators=[{type:r.Pipe,args:[{name:"number"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),bt=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){return gt(e,this._locale,t,y.Percent,n)},e.decorators=[{type:r.Pipe,args:[{name:"percent"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),vt=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r,a){return void 0===n&&(n="USD"),void 0===r&&(r=!1),gt(e,this._locale,t,y.Currency,a,n,r)},e.decorators=[{type:r.Pipe,args:[{name:"currency"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),kt=[yt,bt,vt,ft],wt=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}(),_t=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}()),jt=new wt,xt=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.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(n){return t._updateLatestValue(e,n)})},e.prototype._selectStrategy=function(t){if(Object(r["ɵisPromise"])(t))return _t;if(Object(r["ɵisObservable"])(t))return jt;throw Xe(e,t)},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())},e.decorators=[{type:r.Pipe,args:[{name:"async",pure:!1}]}],e.ctorParameters=function(){return[{type:r.ChangeDetectorRef}]},e}(),Et=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw Xe(e,t);return t.toLowerCase()},e.decorators=[{type:r.Pipe,args:[{name:"lowercase"}]}],e}(),Ct=/(?:[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,St=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw Xe(e,t);return t.replace(Ct,function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()})},e.decorators=[{type:r.Pipe,args:[{name:"titlecase"}]}],e}(),Tt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw Xe(e,t);return t.toUpperCase()},e.decorators=[{type:r.Pipe,args:[{name:"uppercase"}]}],e}(),zt=function(){function e(e){this.locale=e}return e.prototype.transform=function(t,n,r,a){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;try{return te(t,n,a||this.locale,r)}catch(t){throw Xe(e,t.message)}},e.decorators=[{type:r.Pipe,args:[{name:"date",pure:!0}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),At=/#/g,It=function(){function e(e){this._localization=e}return e.prototype.transform=function(t,n,r){if(null==t)return"";if("object"!=typeof n||null===n)throw Xe(e,n);return n[Ie(t,Object.keys(n),this._localization,r)].replace(At,t.toString())},e.decorators=[{type:r.Pipe,args:[{name:"i18nPlural",pure:!0}]}],e.ctorParameters=function(){return[{type:Ae}]},e}(),Dt=function(){function e(){}return e.prototype.transform=function(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw Xe(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""},e.decorators=[{type:r.Pipe,args:[{name:"i18nSelect",pure:!0}]}],e}(),Ot=function(){function e(){}return e.prototype.transform=function(e){return JSON.stringify(e,null,2)},e.decorators=[{type:r.Pipe,args:[{name:"json",pure:!1}]}],e}();var Nt=function(){function e(e){this.differs=e}return e.prototype.transform=function(e,t){var n=this;if(void 0===t&&(t=Rt),!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var r=this.differ.diff(e);return r&&(this.keyValues=[],r.forEachItem(function(e){n.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(e,t){return{key:e,value:t}}(e.key,e.currentValue))}),this.keyValues.sort(t)),this.keyValues},e.decorators=[{type:r.Pipe,args:[{name:"keyvalue",pure:!1}]}],e.ctorParameters=function(){return[{type:r.KeyValueDiffers}]},e}();function Rt(e,t){var n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,r):t.flush(this)},t}(l),c=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}(),d=function(e){function t(n,r){void 0===r&&(r=c.now);var a=e.call(this,n,function(){return t.delegate&&t.delegate!==a?t.delegate.now():r()})||this;return a.actions=[],a.active=!1,a.scheduled=void 0,a}return i.b(t,e),t.prototype.schedule=function(n,r,a){return void 0===r&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,r,a):e.prototype.schedule.call(this,n,r,a)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(c),h=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.b(t,e),t}(d))(u),p=n(31),f=n(109),m=n(1018),g=n(91);function y(e){var t=e.error;e.subscriber.error(t)}var b=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(m.a)(this.value);case"E":return function(e,t){return t?new g.a(function(n){return t.schedule(y,0,{error:e,subscriber:n})}):new g.a(function(t){return t.error(e)})}(this.error);case"C":return Object(f.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();var v=function(e){function t(t,n,r){void 0===r&&(r=0);var a=e.call(this,t)||this;return a.scheduler=n,a.delay=r,a}return i.b(t,e),t.dispatch=function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.add(this.scheduler.schedule(t.dispatch,this.delay,new k(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(b.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(b.createError(e))},t.prototype._complete=function(){this.scheduleMessage(b.createComplete())},t}(p.a),k=function(){return function(e,t){this.notification=e,this.destination=t}}(),w=n(110),_=n(263),j=function(e){function t(t,n,r){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var a=e.call(this)||this;return a.scheduler=r,a._events=[],a._infiniteTimeWindow=!1,a._bufferSize=t<1?1:t,a._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(a._infiniteTimeWindow=!0,a.next=a.nextInfiniteTimeWindow):a.next=a.nextTimeWindow,a}return i.b(t,e),t.prototype.nextInfiniteTimeWindow=function(t){var n=this._events;n.push(t),n.length>this._bufferSize&&n.shift(),e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this._events.push(new x(this._getNow(),t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),a=this.scheduler,i=r.length;if(this.closed)throw new w.a;if(this.isStopped||this.hasError?t=s.a.EMPTY:(this.observers.push(e),t=new _.a(this,e)),a&&e.add(e=new v(e,a)),n)for(var o=0;ot&&(i=Math.max(i,a-t)),i>0&&r.splice(0,i),r},t}(o.a),x=function(){return function(e,t){this.time=e,this.value=t}}(),E=n(513),C=n(498),S=new d(l);function T(e,t){void 0===t&&(t=S);var n=function(e){return e instanceof Date&&!isNaN(+e)}(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new z(n,t))}}var z=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new A(e,this.delay,this.scheduler))},e}(),A=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.delay=n,a.scheduler=r,a.queue=[],a.active=!1,a.errored=!1,a}return i.b(t,e),t.dispatch=function(e){for(var t=e.source,n=t.queue,r=e.scheduler,a=e.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(a);if(n.length>0){var i=Math.max(0,n[0].time-r.now());this.schedule(e,i)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,n=new I(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(b.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e)},t.prototype._complete=function(){this.scheduleNotification(b.createComplete())},t}(p.a),I=function(){return function(e,t){this.time=e,this.notification=t}}(),D=n(5),O=n(9);n.d(t,"Angulartics2",function(){return q}),n.d(t,"Angulartics2Module",function(){return F}),n.d(t,"ANGULARTICS2_TOKEN",function(){return R}),n.d(t,"Angulartics2On",function(){return B}),n.d(t,"Angulartics2OnModule",function(){return L}),n.d(t,"RouterlessTracking",function(){return P}),n.d(t,"AngularRouterTracking",function(){return M}),n.d(t,"DefaultConfig",function(){return N});var N=function(){return function(){this.pageTracking={autoTrackVirtualPages:!0,basePath:"",excludedRoutes:[],clearIds:!1,clearHash:!1,clearQueryParams:!1,idsRegExp:/^\d+$|^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/},this.developerMode=!1,this.ga={},this.appInsights={},this.gtm={},this.gst={}}}(),R=new r.InjectionToken("ANGULARTICS2"),P=function(){function e(){}return e.prototype.trackLocation=function(e){return new a.a({url:"/"})},e.prototype.prepareExternalUrl=function(e){return e},e}(),q=function(){function e(e,t){var n=this;this.tracker=e,this.pageTrack=new j(10),this.eventTrack=new j(10),this.exceptionTrack=new j(10),this.setAlias=new j(10),this.setUsername=new j(10),this.setUserProperties=new j(10),this.setUserPropertiesOnce=new j(10),this.setSuperProperties=new j(10),this.setSuperPropertiesOnce=new j(10),this.userTimings=new j(10);var r=new N;this.settings=Object(i.a)({},r,t.settings),this.settings.pageTracking=Object(i.a)({},r.pageTracking,t.settings.pageTracking),this.tracker.trackLocation(this.settings).subscribe(function(e){return n.trackUrlChange(e.url)})}return e.prototype.filterDeveloperMode=function(){var e=this;return Object(E.a)(function(t,n){return!e.settings.developerMode})},e.prototype.trackUrlChange=function(e){if(this.settings.pageTracking.autoTrackVirtualPages&&!this.matchesExcludedRoute(e)){var t=this.clearUrl(e),n=void 0;n=this.settings.pageTracking.basePath.length?this.settings.pageTracking.basePath+t:this.tracker.prepareExternalUrl(t),this.pageTrack.next({path:n})}},e.prototype.matchesExcludedRoute=function(e){try{for(var t=Object(i.e)(this.settings.pageTracking.excludedRoutes),n=t.next();!n.done;n=t.next()){var r=n.value;if(r instanceof RegExp&&r.test(e)||-1!==e.indexOf(r))return!0}}catch(e){a={error:e}}finally{try{n&&!n.done&&(o=t.return)&&o.call(t)}finally{if(a)throw a.error}}return!1;var a,o},e.prototype.clearUrl=function(e){var t=this;return this.settings.pageTracking.clearIds||this.settings.pageTracking.clearQueryParams||this.settings.pageTracking.clearHash?e.split("/").map(function(e){return t.settings.pageTracking.clearQueryParams?e.split("?")[0]:e}).map(function(e){return t.settings.pageTracking.clearHash?e.split("#")[0]:e}).filter(function(e){return!t.settings.pageTracking.clearIds||!e.match(t.settings.pageTracking.idsRegExp)}).join("/"):e},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[{type:P},{type:void 0,decorators:[{type:r.Inject,args:[R]}]}]},e}(),M=function(){function e(e,t){this.router=e,this.location=t}return e.prototype.trackLocation=function(e){return this.router.events.pipe(Object(E.a)(function(e){return e instanceof O.NavigationEnd}),Object(E.a)(function(){return!e.developerMode}),Object(C.a)(function(e){return{url:e.urlAfterRedirects}}),T(0))},e.prototype.prepareExternalUrl=function(e){return this.location.prepareExternalUrl(e)},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[{type:O.Router},{type:D.Location}]},e}(),B=function(){function e(e,t,n){this.elRef=e,this.angulartics2=t,this.renderer=n,this.angularticsProperties={}}return e.prototype.ngAfterContentInit=function(){var e=this;this.renderer.listen(this.elRef.nativeElement,this.angulartics2On||"click",function(t){return e.eventTrack(t)})},e.prototype.eventTrack=function(e){var t=this.angularticsAction,n=Object(i.a)({},this.angularticsProperties,{eventType:e.type});this.angularticsCategory&&(n.category=this.angularticsCategory),this.angularticsLabel&&(n.label=this.angularticsLabel),this.angularticsValue&&(n.value=this.angularticsValue),this.angulartics2.eventTrack.next({action:t,properties:n})},e.decorators=[{type:r.Injectable},{type:r.Directive,args:[{selector:"[angulartics2On]"}]}],e.ctorParameters=function(){return[{type:r.ElementRef},{type:q},{type:r.Renderer2}]},e.propDecorators={angulartics2On:[{type:r.Input,args:["angulartics2On"]}],angularticsAction:[{type:r.Input}],angularticsCategory:[{type:r.Input}],angularticsLabel:[{type:r.Input}],angularticsValue:[{type:r.Input}],angularticsProperties:[{type:r.Input}]},e}(),L=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{declarations:[B],exports:[B]}]}],e}(),F=function(){function e(){}return e.forRoot=function(t,n){return void 0===n&&(n={}),{ngModule:e,providers:Object(i.d)([{provide:R,useValue:{providers:t,settings:n}},q,{provide:P,useClass:M}],t)}},e.decorators=[{type:r.NgModule,args:[{imports:[L],exports:[B]}]}],e}()},,,function(e,t,n){"use strict";n.r(t);var r=n(1),a=n(0),i=n(1018),o=n(1016),s=n(91);function l(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}l.prototype=Object.create(Error.prototype);var u=l,c=n(1020),d=n(236),h=n(498),p=n(496);function f(){return Object(p.a)(1)}var m=n(513),g=n(31);function y(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}y.prototype=Object.create(Error.prototype);var b=y,v=n(109);function k(e){return function(t){return 0===e?Object(v.b)():t.lift(new w(e))}}var w=function(){function e(e){if(this.total=e,this.total<0)throw new b}return e.prototype.call=function(e,t){return t.subscribe(new _(e,this.total))},e}(),_=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.b(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,a=0;a=2;return function(r){return r.pipe(e?Object(m.a)(function(t,n){return e(t,n,r)}):D.a,k(1),n?z(t):S(function(){return new u}))}}function N(e,t){return function(n){return n.lift(new R(e,t,n))}}var R=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new P(e,this.predicate,this.thisArg,this.source))},e}(),P=function(e){function t(t,n,r,a){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.source=a,i.index=0,i.thisArg=r||i,i}return r.b(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(g.a),q=n(187),M=n(185),B=n(186);function L(e){return function(t){var n=new F(e),r=t.lift(n);return n.caught=r}}var F=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new U(e,this.selector,this.caught))},e}(),U=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.selector=n,a.caught=r,a}return r.b(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var r=new M.a(this,void 0,void 0);this.add(r),Object(B.a)(this,n,void 0,void 0,r)}},t}(q.a);var V=function(){function e(e){if(this.total=e,this.total<0)throw new b}return e.prototype.call=function(e,t){return t.subscribe(new H(e,this.total))},e}(),H=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return r.b(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(g.a);function K(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(m.a)(function(t,n){return e(t,n,r)}):D.a,function(e){return function(t){return 0===e?Object(v.b)():t.lift(new V(e))}}(1),n?z(t):S(function(){return new u}))}}var W=n(497);function G(e,t){return Object(W.a)(e,t,1)}function Q(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new $(e,t,n))}}var $=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new Y(e,this.accumulator,this.seed,this.hasSeed))},e}(),Y=function(e){function t(t,n,r,a){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=a,i.index=0,i}return r.b(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(g.a),Z=n(229);var X=n(5),J=n(39);n.d(t,"ɵangular_packages_router_router_a",function(){return Sn}),n.d(t,"ɵangular_packages_router_router_h",function(){return qn}),n.d(t,"ɵangular_packages_router_router_c",function(){return In}),n.d(t,"ɵangular_packages_router_router_i",function(){return Mn}),n.d(t,"ɵangular_packages_router_router_j",function(){return Bn}),n.d(t,"ɵangular_packages_router_router_e",function(){return On}),n.d(t,"ɵangular_packages_router_router_d",function(){return Dn}),n.d(t,"ɵangular_packages_router_router_k",function(){return Fn}),n.d(t,"ɵangular_packages_router_router_g",function(){return Pn}),n.d(t,"ɵangular_packages_router_router_b",function(){return zn}),n.d(t,"ɵangular_packages_router_router_f",function(){return Rn}),n.d(t,"ɵangular_packages_router_router_n",function(){return xn}),n.d(t,"ɵangular_packages_router_router_l",function(){return pt}),n.d(t,"ɵangular_packages_router_router_m",function(){return gt}),n.d(t,"RouterLink",function(){return hn}),n.d(t,"RouterLinkWithHref",function(){return pn}),n.d(t,"RouterLinkActive",function(){return mn}),n.d(t,"RouterOutlet",function(){return bn}),n.d(t,"ActivationEnd",function(){return me}),n.d(t,"ActivationStart",function(){return fe}),n.d(t,"ChildActivationEnd",function(){return pe}),n.d(t,"ChildActivationStart",function(){return he}),n.d(t,"GuardsCheckEnd",function(){return se}),n.d(t,"GuardsCheckStart",function(){return oe}),n.d(t,"NavigationCancel",function(){return re}),n.d(t,"NavigationEnd",function(){return ne}),n.d(t,"NavigationError",function(){return ae}),n.d(t,"NavigationStart",function(){return te}),n.d(t,"ResolveEnd",function(){return ue}),n.d(t,"ResolveStart",function(){return le}),n.d(t,"RouteConfigLoadEnd",function(){return de}),n.d(t,"RouteConfigLoadStart",function(){return ce}),n.d(t,"RouterEvent",function(){return ee}),n.d(t,"RoutesRecognized",function(){return ie}),n.d(t,"Scroll",function(){return ge}),n.d(t,"RouteReuseStrategy",function(){return Jt}),n.d(t,"Router",function(){return un}),n.d(t,"ROUTES",function(){return tn}),n.d(t,"ROUTER_CONFIGURATION",function(){return Cn}),n.d(t,"ROUTER_INITIALIZER",function(){return Ln}),n.d(t,"RouterModule",function(){return An}),n.d(t,"provideRoutes",function(){return Nn}),n.d(t,"ChildrenOutletContexts",function(){return yn}),n.d(t,"OutletContext",function(){return gn}),n.d(t,"NoPreloading",function(){return _n}),n.d(t,"PreloadAllModules",function(){return wn}),n.d(t,"PreloadingStrategy",function(){return kn}),n.d(t,"RouterPreloader",function(){return jn}),n.d(t,"ActivatedRoute",function(){return kt}),n.d(t,"ActivatedRouteSnapshot",function(){return _t}),n.d(t,"RouterState",function(){return bt}),n.d(t,"RouterStateSnapshot",function(){return jt}),n.d(t,"PRIMARY_OUTLET",function(){return be}),n.d(t,"convertToParamMap",function(){return ke}),n.d(t,"UrlHandlingStrategy",function(){return rn}),n.d(t,"DefaultUrlSerializer",function(){return Ue}),n.d(t,"UrlSegment",function(){return Me}),n.d(t,"UrlSegmentGroup",function(){return qe}),n.d(t,"UrlSerializer",function(){return Fe}),n.d(t,"UrlTree",function(){return Pe}),n.d(t,"VERSION",function(){return Un}),n.d(t,"ɵEmptyOutletComponent",function(){return ye}),n.d(t,"ɵROUTER_PROVIDERS",function(){return Tn}),n.d(t,"ɵflatten",function(){return ze}); /** * @license Angular v6.1.7 * (c) 2010-2018 Google, Inc. https://angular.io/ * License: MIT */ /** * @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 ee=function(){return function(e,t){this.id=e,this.url=t}}(),te=function(e){function t(t,n,r,a){void 0===r&&(r="imperative"),void 0===a&&(a=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=r,i.restoredState=a,i}return Object(r.b)(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(ee),ne=function(e){function t(t,n,r){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a}return Object(r.b)(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(ee),re=function(e){function t(t,n,r){var a=e.call(this,t,n)||this;return a.reason=r,a}return Object(r.b)(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(ee),ae=function(e){function t(t,n,r){var a=e.call(this,t,n)||this;return a.error=r,a}return Object(r.b)(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(ee),ie=function(e){function t(t,n,r,a){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=a,i}return Object(r.b)(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ee),oe=function(e){function t(t,n,r,a){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=a,i}return Object(r.b)(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ee),se=function(e){function t(t,n,r,a,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=a,o.shouldActivate=i,o}return Object(r.b)(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(ee),le=function(e){function t(t,n,r,a){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=a,i}return Object(r.b)(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ee),ue=function(e){function t(t,n,r,a){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=a,i}return Object(r.b)(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ee),ce=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),de=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),he=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),pe=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),fe=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),me=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),ge=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){var e=this.position?this.position[0]+", "+this.position[1]:null;return"Scroll(anchor: '"+this.anchor+"', position: '"+e+"')"},e}(),ye=function(){function e(){}return e.decorators=[{type:a.Component,args:[{template:""}]}],e}(),be="primary",ve=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function ke(e){return new ve(e)}var we="ngNavigationCancelingError";function _e(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length0?e[e.length-1]:null}function Ie(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function De(e){return e.pipe(Object(p.a)(),N(function(e){return!0===e}))}function Oe(e){return Object(a["ɵisObservable"])(e)?e:Object(a["ɵisPromise"])(e)?Object(o.a)(Promise.resolve(e)):Object(i.a)(e)} /** * @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 Ne(e,t,n){return n?function(e,t){return Te(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Be(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&Re(e.root,t.root)}function Re(e,t){return function e(t,n,r){if(t.segments.length>r.length){var a=t.segments.slice(0,r.length);return!!Be(a,r)&&!n.hasChildren()}if(t.segments.length===r.length){if(!Be(t.segments,r))return!1;for(var i in n.children){if(!t.children[i])return!1;if(!Re(t.children[i],n.children[i]))return!1}return!0}var a=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!!Be(t.segments,a)&&(!!t.children[be]&&e(t.children[be],n,o))}(e,t,t.segments)}var Pe=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ke(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Ve.serialize(this)},e}(),qe=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,Ie(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return He(this)},e}(),Me=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=ke(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Ye(this)},e}();function Be(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function Le(e,t){var n=[];return Ie(e.children,function(e,r){r===be&&(n=n.concat(t(e,r)))}),Ie(e.children,function(e,r){r!==be&&(n=n.concat(t(e,r)))}),n}var Fe=function(){return function(){}}(),Ue=function(){function e(){}return e.prototype.parse=function(e){var t=new tt(e);return new Pe(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){return""+("/"+function e(t,n){if(!t.hasChildren())return He(t);if(n){var r=t.children[be]?e(t.children[be],!1):"",a=[];return Ie(t.children,function(t,n){n!==be&&a.push(n+":"+e(t,!1))}),a.length>0?r+"("+a.join("//")+")":r}var i=Le(t,function(n,r){return r===be?[e(t.children[be],!1)]:[r+":"+e(n,!1)]});return He(t)+"/("+i.join("//")+")"}(e.root,!0))+function(e){var t=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return We(t)+"="+We(e)}).join("&"):We(t)+"="+We(n)});return t.length?"?"+t.join("&"):""}(e.queryParams)+("string"==typeof e.fragment?"#"+function(e){return encodeURI(e)}(e.fragment):"")},e}(),Ve=new Ue;function He(e){return e.segments.map(function(e){return Ye(e)}).join("/")}function Ke(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function We(e){return Ke(e).replace(/%3B/gi,";")}function Ge(e){return Ke(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qe(e){return decodeURIComponent(e)}function $e(e){return Qe(e.replace(/\+/g,"%20"))}function Ye(e){return""+Ge(e.path)+function(e){return Object.keys(e).map(function(t){return";"+Ge(t)+"="+Ge(e[t])}).join("")}(e.parameters)}var Ze=/^[^\/()?;=#]+/;function Xe(e){var t=e.match(Ze);return t?t[0]:""}var Je=/^[^=?&#]+/;var et=/^[^?&#]+/;var tt=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new qe([],{}):new qe([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[be]=new qe(e,t)),n},e.prototype.parseSegment=function(){var e=Xe(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new Me(Qe(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Xe(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Xe(this.remaining);r&&(n=r,this.capture(n))}e[Qe(t)]=Qe(n)}},e.prototype.parseQueryParam=function(e){var t=function(e){var t=e.match(Je);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(et);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var a=$e(t),i=$e(n);if(e.hasOwnProperty(a)){var o=e[a];Array.isArray(o)||(o=[o],e[a]=o),o.push(i)}else e[a]=i}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Xe(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var a=void 0;n.indexOf(":")>-1?(a=n.substr(0,n.indexOf(":")),this.capture(a),this.capture(":")):e&&(a=be);var i=this.parseChildren();t[a]=1===Object.keys(i).length?i[be]:new qe([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),nt=function(){return function(e){this.segmentGroup=e||null}}(),rt=function(){return function(e){this.urlTree=e}}(); /** * @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 at(e){return new s.a(function(t){return t.error(new nt(e))})}function it(e){return new s.a(function(t){return t.error(new rt(e))})}function ot(e){return new s.a(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}function st(e){return new s.a(function(t){return t.error(function(e){var t=Error("NavigationCancelingError: "+e);return t[we]=!0,t}("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))})}var lt=function(){function e(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(a.NgModuleRef)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,be).pipe(Object(h.a)(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(L(function(t){if(t instanceof rt)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof nt)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,be).pipe(Object(h.a)(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(L(function(e){if(e instanceof nt)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,a=e.segments.length>0?new qe([],((r={})[be]=e,r)):e;return new Pe(a,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(h.a)(function(e){return new qe([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(e,t){if(0===Object.keys(e).length)return Object(i.a)({});var n=[],r=[],a={};return Ie(e,function(e,i){var o=t(i,e).pipe(Object(h.a)(function(e){return a[i]=e}));i===be?n.push(o):r.push(o)}),i.a.apply(null,n.concat(r)).pipe(f(),O(),Object(h.a)(function(){return a}))}(n.children,function(n,a){return r.expandSegmentGroup(e,t,a,n)})},e.prototype.expandSegment=function(e,t,n,a,o,s){var l=this;return i.a.apply(void 0,Object(r.d)(n)).pipe(Object(h.a)(function(r){return l.expandSegmentAgainstRoute(e,t,n,r,a,o,s).pipe(L(function(e){if(e instanceof nt)return Object(i.a)(null);throw e}))}),f(),K(function(e){return!!e}),L(function(e,n){if(e instanceof u||"EmptyError"===e.name){if(l.noLeftoversInUrl(t,a,o))return Object(i.a)(new qe([],{}));throw new nt(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,a,i,o){return ht(r)!==i?at(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,a):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,a,i):at(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,a,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,a,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var a=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?it(i):this.lineralizeSegments(n,i).pipe(Object(W.a)(function(n){var i=new qe(n,{});return a.expandSegment(e,i,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,a,i){var o=this,s=ut(t,r,a),l=s.matched,u=s.consumedSegments,c=s.lastChild,d=s.positionalParamSegments;if(!l)return at(t);var h=this.applyRedirectCommands(u,r.redirectTo,d);return r.redirectTo.startsWith("/")?it(h):this.lineralizeSegments(r,h).pipe(Object(W.a)(function(r){return o.expandSegment(e,t,n,r.concat(a.slice(c)),i,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,a){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(h.a)(function(e){return n._loadedConfig=e,new qe(a,{})})):Object(i.a)(new qe(a,{}));var s=ut(t,n,a),l=s.matched,u=s.consumedSegments,c=s.lastChild;if(!l)return at(t);var d=a.slice(c);return this.getChildConfig(e,n).pipe(Object(W.a)(function(e){var n=e.module,a=e.routes,s=function(e,t,n,a){if(n.length>0&&function(e,t,n){return n.some(function(n){return dt(e,t,n)&&ht(n)!==be})}(e,n,a)){var i=new qe(t,function(e,t){var n,a,i={};i[be]=t;try{for(var o=Object(r.e)(e),s=o.next();!s.done;s=o.next()){var l=s.value;""===l.path&&ht(l)!==be&&(i[ht(l)]=new qe([],{}))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return i}(a,new qe(n,e.children)));return{segmentGroup:ct(i),slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(function(n){return dt(e,t,n)})}(e,n,a)){var i=new qe(e.segments,function(e,t,n,a){var i,o,s={};try{for(var l=Object(r.e)(n),u=l.next();!u.done;u=l.next()){var c=u.value;dt(e,t,c)&&!a[ht(c)]&&(s[ht(c)]=new qe([],{}))}}catch(e){i={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return Object(r.a)({},a,s)}(e,n,a,e.children));return{segmentGroup:ct(i),slicedSegments:n}}return{segmentGroup:e,slicedSegments:n}}(t,u,d,a),l=s.segmentGroup,c=s.slicedSegments;return 0===c.length&&l.hasChildren()?o.expandChildren(n,a,l).pipe(Object(h.a)(function(e){return new qe(u,e)})):0===a.length&&0===c.length?Object(i.a)(new qe(u,{})):o.expandSegment(n,l,a,c,be,!0).pipe(Object(h.a)(function(e){return new qe(u.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t){var n=this;return t.children?Object(i.a)(new je(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(i.a)(t._loadedConfig):function(e,t){var n=t.canLoad;return n&&0!==n.length?De(Object(o.a)(n).pipe(Object(h.a)(function(n){var r=e.get(n);return Oe(r.canLoad?r.canLoad(t):r(t))}))):Object(i.a)(!0)}(e.injector,t).pipe(Object(W.a)(function(r){return r?n.configLoader.load(e.injector,t).pipe(Object(h.a)(function(e){return t._loadedConfig=e,e})):st(t)})):Object(i.a)(new je([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(i.a)(n);if(r.numberOfChildren>1||!r.children[be])return ot(e.redirectTo);r=r.children[be]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var a=this.createSegmentGroup(e,t.root,n,r);return new Pe(a,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return Ie(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var a=e.substring(1);n[r]=t[a]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var a=this,i=this.createSegments(e,t.segments,n,r),o={};return Ie(t.children,function(t,i){o[i]=a.createSegmentGroup(e,t,n,r)}),new qe(i,o)},e.prototype.createSegments=function(e,t,n,r){var a=this;return t.map(function(t){return t.path.startsWith(":")?a.findPosParam(e,t,r):a.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,a,i=0;try{for(var o=Object(r.e)(t),s=o.next();!s.done;s=o.next()){var l=s.value;if(l.path===e.path)return t.splice(i),l;i++}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return e},e}();function ut(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||_e)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ct(e){if(1===e.numberOfChildren&&e.children[be]){var t=e.children[be];return new qe(e.segments.concat(t.segments),t.children)}return e}function dt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function ht(e){return e.outlet||be} /** * @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 pt=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=ft(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=ft(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=mt(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return mt(e,this._root).map(function(e){return e.value})},e}();function ft(e,t){var n,a;if(e===t.value)return t;try{for(var i=Object(r.e)(t.children),o=i.next();!o.done;o=i.next()){var s=ft(e,o.value);if(s)return s}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return null}function mt(e,t){var n,a;if(e===t.value)return[t];try{for(var i=Object(r.e)(t.children),o=i.next();!o.done;o=i.next()){var s=mt(e,o.value);if(s.length)return s.unshift(t),s}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return[]}var gt=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function yt(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t} /** * @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 bt=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,xt(r,t),r}return Object(r.b)(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(pt);function vt(e,t){var n=function(e,t){var n=new _t([],{},{},"",{},be,t,null,e.root,-1,{});return new jt("",new gt(n,[]))}(e,t),r=new c.a([new Me("",{})]),a=new c.a({}),i=new c.a({}),o=new c.a({}),s=new c.a(""),l=new kt(r,a,o,s,i,be,t,n.root);return l.snapshot=n.root,new bt(new gt(l,[]),n)}var kt=function(){function e(e,t,n,r,a,i,o,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=i,this.component=o,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(h.a)(function(e){return ke(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(h.a)(function(e){return ke(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function wt(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,a=0;if("always"!==t)for(a=n.length-1;a>=1;){var i=n[a],o=n[a-1];if(i.routeConfig&&""===i.routeConfig.path)a--;else{if(o.component)break;a--}}return function(e){return e.reduce(function(e,t){var n=Object(r.a)({},e.params,t.params),a=Object(r.a)({},e.data,t.data),i=Object(r.a)({},e.resolve,t._resolvedData);return{params:n,data:a,resolve:i}},{params:{},data:{},resolve:{}})}(n.slice(a))}var _t=function(){function e(e,t,n,r,a,i,o,s,l,u,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=i,this.component=o,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=ke(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ke(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),jt=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,xt(r,n),r}return Object(r.b)(t,e),t.prototype.toString=function(){return Et(this._root)},t}(pt);function xt(e,t){t.value._routerState=e,t.children.forEach(function(t){return xt(e,t)})}function Et(e){var t=e.children.length>0?" { "+e.children.map(Et).join(", ")+" } ":"";return""+e.value+t}function Ct(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Te(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Te(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;na;){if(i-=a,!(r=r.parent))throw new Error("Invalid number of '../'");a=r.segments.length}return new Ot(r,!1,a-i)}(n.snapshot._urlSegment,a,e.numberOfDoubleDots)}(o,t,e),l=s.processChildren?Pt(s.segmentGroup,s.index,o.commands):Rt(s.segmentGroup,s.index,o.commands);return It(s.segmentGroup,l,t,a,i)}function At(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function It(e,t,n,r,a){var i={};return r&&Ie(r,function(e,t){i[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),n.root===e?new Pe(t,i,a):new Pe(function e(t,n,r){var a={};Ie(t.children,function(t,i){a[i]=t===n?r:e(t,n,r)});return new qe(t.segments,a)}(n.root,e,t),i,a)}var Dt=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&At(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==Ae(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}();var Ot=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function Nt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[be]:""+e}function Rt(e,t,n){if(e||(e=new qe([],{})),0===e.segments.length&&e.hasChildren())return Pt(e,t,n);var r=function(e,t,n){var r=0,a=t,i={match:!1,pathIndex:0,commandIndex:0};for(;a=n.length)return i;var o=e.segments[a],s=Nt(n[r]),l=r0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!Lt(s,l,o))return i;r+=2}else{if(!Lt(s,{},o))return i;r++}a++}return{match:!0,pathIndex:a,commandIndex:r}}(e,t,n),a=n.slice(r.commandIndex);if(r.match&&r.pathIndex=2?function(n){return Object(Z.a)(Q(e,t),k(1),z(t))(n)}:function(t){return Object(Z.a)(Q(function(t,n,r){return e(t,n,r+1)}),k(1))(t)}}(function(e,t){return e})):Object(i.a)(null)},e.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},e.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},e.prototype.setupChildRouteGuards=function(e,t,n,r){var a=this,i=yt(t);e.children.forEach(function(e){a.setupRouteGuards(e,i[e.value.outlet],n,r.concat([e.value])),delete i[e.value.outlet]}),Ie(i,function(e,t){return a.deactivateRouteAndItsChildren(e,n.getContext(t))})},e.prototype.setupRouteGuards=function(e,t,n,r){var a=e.value,i=t?t.value:null,o=n?n.getContext(e.value.outlet):null;if(i&&a.routeConfig===i.routeConfig){var s=this.shouldRunGuardsAndResolvers(i,a,a.routeConfig.runGuardsAndResolvers);if(s?this.canActivateChecks.push(new Ft(r)):(a.data=i.data,a._resolvedData=i._resolvedData),a.component?this.setupChildRouteGuards(e,t,o?o.children:null,r):this.setupChildRouteGuards(e,t,n,r),s){var l=o.outlet;this.canDeactivateChecks.push(new Ut(l.component,i))}}else i&&this.deactivateRouteAndItsChildren(t,o),this.canActivateChecks.push(new Ft(r)),a.component?this.setupChildRouteGuards(e,null,o?o.children:null,r):this.setupChildRouteGuards(e,null,n,r)},e.prototype.shouldRunGuardsAndResolvers=function(e,t,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!St(e,t)||!Te(e.queryParams,t.queryParams);case"paramsChange":default:return!St(e,t)}},e.prototype.deactivateRouteAndItsChildren=function(e,t){var n=this,r=yt(e),a=e.value;Ie(r,function(e,r){a.component?t?n.deactivateRouteAndItsChildren(e,t.children.getContext(r)):n.deactivateRouteAndItsChildren(e,null):n.deactivateRouteAndItsChildren(e,t)}),a.component&&t&&t.outlet&&t.outlet.isActivated?this.canDeactivateChecks.push(new Ut(t.outlet.component,a)):this.canDeactivateChecks.push(new Ut(null,a))},e.prototype.runCanDeactivateChecks=function(){var e=this;return Object(o.a)(this.canDeactivateChecks).pipe(Object(W.a)(function(t){return e.runCanDeactivate(t.component,t.route)}),N(function(e){return!0===e}))},e.prototype.runCanActivateChecks=function(){var e=this;return Object(o.a)(this.canActivateChecks).pipe(G(function(t){return De(Object(o.a)([e.fireChildActivationStart(t.route.parent),e.fireActivationStart(t.route),e.runCanActivateChild(t.path),e.runCanActivate(t.route)]))}),N(function(e){return!0===e}))},e.prototype.fireActivationStart=function(e){return null!==e&&this.forwardEvent&&this.forwardEvent(new fe(e)),Object(i.a)(!0)},e.prototype.fireChildActivationStart=function(e){return null!==e&&this.forwardEvent&&this.forwardEvent(new he(e)),Object(i.a)(!0)},e.prototype.runCanActivate=function(e){var t=this,n=e.routeConfig?e.routeConfig.canActivate:null;return n&&0!==n.length?De(Object(o.a)(n).pipe(Object(h.a)(function(n){var r=t.getToken(n,e);return(r.canActivate?Oe(r.canActivate(e,t.future)):Oe(r(e,t.future))).pipe(K())}))):Object(i.a)(!0)},e.prototype.runCanActivateChild=function(e){var t=this,n=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(function(e){return t.extractCanActivateChild(e)}).filter(function(e){return null!==e});return De(Object(o.a)(r).pipe(Object(h.a)(function(e){return De(Object(o.a)(e.guards).pipe(Object(h.a)(function(r){var a=t.getToken(r,e.node);return(a.canActivateChild?Oe(a.canActivateChild(n,t.future)):Oe(a(n,t.future))).pipe(K())})))})))},e.prototype.extractCanActivateChild=function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null},e.prototype.runCanDeactivate=function(e,t){var n=this,r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return r&&0!==r.length?Object(o.a)(r).pipe(Object(W.a)(function(r){var a=n.getToken(r,t);return(a.canDeactivate?Oe(a.canDeactivate(e,t,n.curr,n.future)):Oe(a(e,t,n.curr,n.future))).pipe(K())})).pipe(N(function(e){return!0===e})):Object(i.a)(!0)},e.prototype.runResolve=function(e,t){var n=e._resolve;return this.resolveNode(n,e).pipe(Object(h.a)(function(n){return e._resolvedData=n,e.data=Object(r.a)({},e.data,wt(e,t).resolve),null}))},e.prototype.resolveNode=function(e,t){var n=this,r=Object.keys(e);if(0===r.length)return Object(i.a)({});if(1===r.length){var a=r[0];return this.getResolver(e[a],t).pipe(Object(h.a)(function(e){var t;return(t={})[a]=e,t}))}var s={};return Object(o.a)(r).pipe(Object(W.a)(function(r){return n.getResolver(e[r],t).pipe(Object(h.a)(function(e){return s[r]=e,e}))})).pipe(O(),Object(h.a)(function(){return s}))},e.prototype.getResolver=function(e,t){var n=this.getToken(e,t);return n.resolve?Oe(n.resolve(t,this.future)):Oe(n(t,this.future))},e.prototype.getToken=function(e,t){var n=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null} /** * @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 */(t);return(n?n.module.injector:this.moduleInjector).get(e)},e}();var Ht=function(){return function(){}}();var Kt=function(){function e(e,t,n,r,a,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=i}return e.prototype.recognize=function(){try{var e=Qt(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,be),n=new _t([],Object.freeze({}),Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,{},be,this.rootComponentType,null,this.urlTree.root,-1,{}),a=new gt(n,t),o=new jt(this.url,a);return this.inheritParamsAndData(o._root),Object(i.a)(o)}catch(e){return new s.a(function(t){return t.error(e)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=wt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n=this,r=Le(t,function(t,r){return n.processSegmentGroup(e,t,r)});return function(e){var t={};e.forEach(function(e){var n=t[e.value.outlet];if(n){var r=n.url.map(function(e){return e.toString()}).join("/"),a=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+a+"'.")}t[e.value.outlet]=e.value})}(r),function(e){e.sort(function(e,t){return e.value.outlet===be?-1:t.value.outlet===be?1:e.value.outlet.localeCompare(t.value.outlet)})}(r),r},e.prototype.processSegment=function(e,t,n,a){var i,o;try{for(var s=Object(r.e)(e),l=s.next();!l.done;l=s.next()){var u=l.value;try{return this.processSegmentAgainstRoute(u,t,n,a)}catch(e){if(!(e instanceof Ht))throw e}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(t,n,a))return[];throw new Ht},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,a){if(e.redirectTo)throw new Ht;if((e.outlet||be)!==a)throw new Ht;var i,o=[],s=[];if("**"===e.path){var l=n.length>0?Ae(n).parameters:{};i=new _t(n,l,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,Zt(e),a,e.component,e,Wt(t),Gt(t)+n.length,Xt(e))}else{var u=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Ht;return{consumedSegments:[],lastChild:0,parameters:{}}}var a=(t.matcher||_e)(n,e,t);if(!a)throw new Ht;var i={};Ie(a.posParams,function(e,t){i[t]=e.path});var o=a.consumed.length>0?Object(r.a)({},i,a.consumed[a.consumed.length-1].parameters):i;return{consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:o}}(t,e,n);o=u.consumedSegments,s=n.slice(u.lastChild),i=new _t(o,u.parameters,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,Zt(e),a,e.component,e,Wt(t),Gt(t)+o.length,Xt(e))}var c=function(e){if(e.children)return e.children;if(e.loadChildren)return e._loadedConfig.routes;return[]}(e),d=Qt(t,o,s,c,this.relativeLinkResolution),h=d.segmentGroup,p=d.slicedSegments;if(0===p.length&&h.hasChildren()){var f=this.processChildren(c,h);return[new gt(i,f)]}if(0===c.length&&0===p.length)return[new gt(i,[])];var m=this.processSegment(c,h,p,be);return[new gt(i,m)]},e}();function Wt(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Gt(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Qt(e,t,n,a,i){if(n.length>0&&function(e,t,n){return n.some(function(n){return $t(e,t,n)&&Yt(n)!==be})}(e,n,a)){var o=new qe(t,function(e,t,n,a){var i,o,s={};s[be]=a,a._sourceSegment=e,a._segmentIndexShift=t.length;try{for(var l=Object(r.e)(n),u=l.next();!u.done;u=l.next()){var c=u.value;if(""===c.path&&Yt(c)!==be){var d=new qe([],{});d._sourceSegment=e,d._segmentIndexShift=t.length,s[Yt(c)]=d}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return s}(e,t,a,new qe(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(function(n){return $t(e,t,n)})}(e,n,a)){var s=new qe(e.segments,function(e,t,n,a,i,o){var s,l,u={};try{for(var c=Object(r.e)(a),d=c.next();!d.done;d=c.next()){var h=d.value;if($t(e,n,h)&&!i[Yt(h)]){var p=new qe([],{});p._sourceSegment=e,p._segmentIndexShift="legacy"===o?e.segments.length:t.length,u[Yt(h)]=p}}}catch(e){s={error:e}}finally{try{d&&!d.done&&(l=c.return)&&l.call(c)}finally{if(s)throw s.error}}return Object(r.a)({},i,u)}(e,t,n,a,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var l=new qe(e.segments,e.children);return l._sourceSegment=e,l._segmentIndexShift=t.length,{segmentGroup:l,slicedSegments:n}}function $t(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function Yt(e){return e.outlet||be}function Zt(e){return e.data||{}}function Xt(e){return e.resolve||{}} /** * @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 Jt=function(){return function(){}}(),en=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),tn=new a.InjectionToken("ROUTES"),nn=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(h.a)(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var a=r.create(e);return new je(ze(a.injector.get(tn)).map(Se),a)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?Object(o.a)(this.loader.load(e)):Oe(e()).pipe(Object(W.a)(function(e){return e instanceof a.NgModuleFactory?Object(i.a)(e):Object(o.a)(t.compiler.compileModuleAsync(e))}))},e}(),rn=function(){return function(){}}(),an=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}(); /** * @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 on(e){throw e}function sn(e,t,n){return t.parse("/")}function ln(e,t){return Object(i.a)(null)}var un=function(){function e(e,t,n,r,i,o,s,l){var u=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=l,this.navigations=new c.a(null),this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new d.a,this.errorHandler=on,this.malformedUriErrorHandler=sn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ln,afterPreactivation:ln},this.urlHandlingStrategy=new an,this.routeReuseStrategy=new en,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy";this.ngModule=i.get(a.NgModuleRef),this.console=i.get(a["ɵConsole"]);var h=i.get(a.NgZone);this.isNgZoneEnabled=h instanceof a.NgZone,this.resetConfig(l),this.currentUrlTree=new Pe(new qe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new nn(o,s,function(e){return u.triggerEvent(new ce(e))},function(e){return u.triggerEvent(new de(e))}),this.routerState=vt(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",a=t.state&&t.state.navigationId?{navigationId:t.state.navigationId}:null;setTimeout(function(){e.scheduleNavigation(n,r,a,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){xe(e),this.config=e.map(Se),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,i=t.queryParams,o=t.fragment,s=t.preserveQueryParams,l=t.queryParamsHandling,u=t.preserveFragment;Object(a.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,d=u?this.currentUrlTree.fragment:o,h=null;if(l)switch(l){case"merge":h=Object(r.a)({},this.currentUrlTree.queryParams,i);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=i||null}else h=s?this.currentUrlTree.queryParams:i||null;return null!==h&&(h=this.removeEmptyProps(h)),zt(c,this.currentUrlTree,e,h,d)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),Object(a.isDevMode)()&&this.isNgZoneEnabled&&!a.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=e instanceof Pe?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;te?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return g(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return g(e.value)?null:v.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(g(t.value))return null;var n=t.value?t.value.length:0;return ne?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(g(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(w);return 0==t.length?null:function(e){return j(function(e,t){return t.map(function(t){return t(e)})}(e,t))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(w);return 0==t.length?null:function(e){return function e(){for(var t,n=[],r=0;r=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)},e.decorators=[{type:a.Injectable}],e}(),M=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(R),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},e.decorators=[{type:a.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[P]}]}],e.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef},{type:q},{type:a.Injector}]},e.propDecorators={name:[{type:a.Input}],formControlName:[{type:a.Input}],value:[{type:a.Input}]},e}(),B={provide:x,useExisting:Object(a.forwardRef)(function(){return L}),multi:!0},L=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.decorators=[{type:a.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[B]}]}],e.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef}]},e}(),F='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',U='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',V='\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',H='\n
\n
\n \n
\n
',K='\n
\n \n \n
\n ',W=function(){function e(){}return e.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+F)},e.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+U+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+H)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+F)},e.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+U)},e.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+V)},e.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},e.ngModelWarning=function(e){console.warn("\n It looks like you're using ngModel on the same form field as "+e+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===e?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},e}(),G={provide:x,useExisting:Object(a.forwardRef)(function(){return $}),multi:!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 Q(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var $=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=a["ɵlooseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=Q(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var a=Object(r.e)(Array.from(this._optionMap.keys())),i=a.next();!i.done;i=a.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o),e))return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e.decorators=[{type:a.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[G]}]}],e.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef}]},e.propDecorators={compareWith:[{type:a.Input}]},e}(),Y=function(){function e(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(e.prototype,"ngValue",{set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Q(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},e.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},e.decorators=[{type:a.Directive,args:[{selector:"option"}]}],e.ctorParameters=function(){return[{type:a.ElementRef},{type:a.Renderer2},{type:$,decorators:[{type:a.Optional},{type:a.Host}]}]},e.propDecorators={ngValue:[{type:a.Input,args:["ngValue"]}],value:[{type:a.Input,args:["value"]}]},e}(),Z={provide:x,useExisting:Object(a.forwardRef)(function(){return J}),multi:!0};function X(e,t){return null==e?""+t:("string"==typeof t&&(t="'"+t+"'"),t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var J=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=a["ɵlooseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var a=n.selectedOptions,i=0;i1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function se(e){return null!=e?k.compose(e.map(A)):null}function le(e){return null!=e?k.composeAsync(e.map(I)):null}function ue(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(a["ɵlooseIdentical"])(t,n.currentValue)}var ce=[C,L,O,$,J,M];function de(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function he(e,t){if(!t)return null;Array.isArray(t)||oe(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,a=void 0;return t.forEach(function(t){t.constructor===z?n=t:!function(e){return ce.some(function(t){return e.constructor===t})}(t)?(a&&oe(e,"More than one custom value accessor matches form control with"),a=t):(r&&oe(e,"More than one built-in value accessor matches form control with"),r=t)}),a||(r||(n||(oe(e,"No valid value accessor for form control with"),null)))}function pe(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function fe(e,t,n,r){Object(a.isDevMode)()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(W.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!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 */var me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return te(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return se(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return le(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(m),ge=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}(),ye={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},be=function(e){function t(t){return e.call(this,t)||this}return Object(r.b)(t,e),t.decorators=[{type:a.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:ye}]}],t.ctorParameters=function(){return[{type:R,decorators:[{type:a.Self}]}]},t}(ge),ve=function(e){function t(t){return e.call(this,t)||this}return Object(r.b)(t,e),t.decorators=[{type:a.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:ye}]}],t.ctorParameters=function(){return[{type:m,decorators:[{type:a.Self}]}]},t}(ge); /** * @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 ke(e){var t=_e(e)?e.validators:e;return Array.isArray(t)?se(t):t||null}function we(e,t){var n=_e(t)?t.asyncValidators:e;return Array.isArray(n)?le(n):n||null}function _e(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var je=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=ke(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=we(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object(r.a)({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!0)})},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild(function(t){t.enable(Object(r.a)({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!1)})},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=_(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return t.setErrors(n,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(n)),t instanceof Array&&0===t.length?null:t.reduce(function(e,t){return e instanceof Ee?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof Ce&&e.at(t)||null},e))}(this,e,".")},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new a.EventEmitter,this.statusChanges=new a.EventEmitter},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls(function(t){return t.status===e})},e.prototype._anyControlsDirty=function(){return this._anyControls(function(e){return e.dirty})},e.prototype._anyControlsTouched=function(){return this._anyControls(function(e){return e.touched})},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){_e(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),xe=function(e){function t(t,n,r){void 0===t&&(t=null);var a=e.call(this,ke(n),we(r,n))||this;return a._onChange=[],a._applyFormState(t),a._setUpdateStrategy(n),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a._initObservables(),a}return Object(r.b)(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(function(e){return e(n.value,!1!==t.emitViewToModelChange)}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(je),Ee=function(e){function t(t,n,r){var a=e.call(this,ke(n),we(r,n))||this;return a.controls=t,a._initObservables(),a._setUpdateStrategy(n),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return Object(r.b)(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof xe?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(n){return e(t.controls[n],n)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild(function(r,a){n=n||t.contains(a)&&e(r)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,r){n=t(n,e,r)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(r.e)(Object.keys(this.controls)),a=n.next();!a.done;a=n.next()){var i=a.value;if(this.controls[i].enabled)return!1}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},t}(je),Ce=function(e){function t(t,n,r){var a=e.call(this,ke(n),we(r,n))||this;return a.controls=t,a._initObservables(),a._setUpdateStrategy(n),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return Object(r.b)(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof xe?e.value:e.getRawValue()})},t.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach(function(t,n){e(t,n)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")})},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(r.e)(this.controls),a=n.next();!a.done;a=n.next()){if(a.value.enabled)return!1}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(je),Se={provide:m,useExisting:Object(a.forwardRef)(function(){return ze})},Te=Promise.resolve(null),ze=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new a.EventEmitter,r.form=new Ee({},se(t),le(n)),r}return Object(r.b)(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;Te.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),ne(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;Te.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),pe(t._directives,e)})},t.prototype.addFormGroup=function(e){var t=this;Te.then(function(){var n=t._findContainer(e.path),r=new Ee({});ae(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;Te.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;Te.then(function(){n.form.get(e.path).setValue(t)})},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,de(this.form,this._directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t.decorators=[{type:a.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[Se],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[y]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]}]},t.propDecorators={options:[{type:a.Input,args:["ngFormOptions"]}]},t}(m),Ae=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+F+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+K)},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+U+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+H)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+U+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+H)},e}(),Ie={provide:m,useExisting:Object(a.forwardRef)(function(){return De})},De=function(e){function t(t,n,r){var a=e.call(this)||this;return a._parent=t,a._validators=n,a._asyncValidators=r,a}return Object(r.b)(t,e),t.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof ze||Ae.modelGroupParentException()},t.decorators=[{type:a.Directive,args:[{selector:"[ngModelGroup]",providers:[Ie],exportAs:"ngModelGroup"}]}],t.ctorParameters=function(){return[{type:m,decorators:[{type:a.Host},{type:a.SkipSelf}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[y]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]}]},t.propDecorators={name:[{type:a.Input,args:["ngModelGroup"]}]},t}(me),Oe={provide:R,useExisting:Object(a.forwardRef)(function(){return Re})},Ne=Promise.resolve(null),Re=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.control=new xe,o._registered=!1,o.update=new a.EventEmitter,o._parent=t,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=he(o,i),o}return Object(r.b)(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),ue(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?te(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return se(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return le(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){ne(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof De)&&this._parent instanceof me?Ae.formGroupNameException():this._parent instanceof De||this._parent instanceof ze||Ae.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ae.missingNameException()},t.prototype._updateValue=function(e){var t=this;Ne.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;Ne.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},t.decorators=[{type:a.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Oe],exportAs:"ngModel"}]}],t.ctorParameters=function(){return[{type:m,decorators:[{type:a.Optional},{type:a.Host}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[y]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[x]}]}]},t.propDecorators={name:[{type:a.Input}],isDisabled:[{type:a.Input,args:["disabled"]}],model:[{type:a.Input,args:["ngModel"]}],options:[{type:a.Input,args:["ngModelOptions"]}],update:[{type:a.Output,args:["ngModelChange"]}]},t}(R),Pe=new a.InjectionToken("NgModelWithFormControlWarning"),qe={provide:R,useExisting:Object(a.forwardRef)(function(){return Me})},Me=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._ngModelWarningConfig=i,o.update=new a.EventEmitter,o._ngModelWarningSent=!1,o._rawValidators=t||[],o._rawAsyncValidators=n||[],o.valueAccessor=he(o,r),o}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"isDisabled",{set:function(e){W.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&(ne(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),ue(e,this.viewModel)&&(fe("formControl",t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return se(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return le(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._isControlChanged=function(e){return e.hasOwnProperty("form")},t._ngModelWarningSentOnce=!1,t.decorators=[{type:a.Directive,args:[{selector:"[formControl]",providers:[qe],exportAs:"ngForm"}]}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[y]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[x]}]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[Pe]}]}]},t.propDecorators={form:[{type:a.Input,args:["formControl"]}],isDisabled:[{type:a.Input,args:["disabled"]}],model:[{type:a.Input,args:["ngModel"]}],update:[{type:a.Output,args:["ngModelChange"]}]},t}(R),Be={provide:m,useExisting:Object(a.forwardRef)(function(){return Le})},Le=function(e){function t(t,n){var r=e.call(this)||this;return r._validators=t,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new a.EventEmitter,r}return Object(r.b)(t,e),t.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this.form.get(e.path);return ne(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){pe(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);ae(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(e){},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.addFormArray=function(e){var t=this.form.get(e.path);ae(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(e){},t.prototype.getFormArray=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){this.form.get(e.path).setValue(t)},t.prototype.onSubmit=function(e){return this.submitted=!0,de(this.form,this.directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._updateDomValue=function(){var e=this;this.directives.forEach(function(t){var n=e.form.get(t.path);t.control!==n&&(!function(e,t){t.valueAccessor.registerOnChange(function(){return ie(t)}),t.valueAccessor.registerOnTouched(function(){return ie(t)}),t._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(t.control,t),n&&ne(n,t),t.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange(function(){return e._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},t.prototype._updateValidators=function(){var e=se(this._validators);this.form.validator=k.compose([this.form.validator,e]);var t=le(this._asyncValidators);this.form.asyncValidator=k.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||W.missingFormException()},t.decorators=[{type:a.Directive,args:[{selector:"[formGroup]",providers:[Be],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[y]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]}]},t.propDecorators={form:[{type:a.Input,args:["formGroup"]}],ngSubmit:[{type:a.Output}]},t}(m),Fe={provide:m,useExisting:Object(a.forwardRef)(function(){return Ue})},Ue=function(e){function t(t,n,r){var a=e.call(this)||this;return a._parent=t,a._validators=n,a._asyncValidators=r,a}return Object(r.b)(t,e),t.prototype._checkParentType=function(){Ke(this._parent)&&W.groupParentException()},t.decorators=[{type:a.Directive,args:[{selector:"[formGroupName]",providers:[Fe]}]}],t.ctorParameters=function(){return[{type:m,decorators:[{type:a.Optional},{type:a.Host},{type:a.SkipSelf}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[y]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]}]},t.propDecorators={name:[{type:a.Input,args:["formGroupName"]}]},t}(me),Ve={provide:m,useExisting:Object(a.forwardRef)(function(){return He})},He=function(e){function t(t,n,r){var a=e.call(this)||this;return a._parent=t,a._validators=n,a._asyncValidators=r,a}return Object(r.b)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return te(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return se(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return le(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){Ke(this._parent)&&W.arrayParentException()},t.decorators=[{type:a.Directive,args:[{selector:"[formArrayName]",providers:[Ve]}]}],t.ctorParameters=function(){return[{type:m,decorators:[{type:a.Optional},{type:a.Host},{type:a.SkipSelf}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[y]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]}]},t.propDecorators={name:[{type:a.Input,args:["formArrayName"]}]},t}(m);function Ke(e){return!(e instanceof Ue||e instanceof Le||e instanceof He)} /** * @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 We={provide:R,useExisting:Object(a.forwardRef)(function(){return Ge})},Ge=function(e){function t(t,n,r,i,o){var s=e.call(this)||this;return s._ngModelWarningConfig=o,s._added=!1,s.update=new a.EventEmitter,s._ngModelWarningSent=!1,s._parent=t,s._rawValidators=n||[],s._rawAsyncValidators=r||[],s.valueAccessor=he(s,i),s}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"isDisabled",{set:function(e){W.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._added||this._setUpControl(),ue(e,this.viewModel)&&(fe("formControlName",t,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Object.defineProperty(t.prototype,"path",{get:function(){return te(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return se(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return le(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof Ue)&&this._parent instanceof me?W.ngModelGroupException():this._parent instanceof Ue||this._parent instanceof Le||this._parent instanceof He||W.controlParentException()},t.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},t._ngModelWarningSentOnce=!1,t.decorators=[{type:a.Directive,args:[{selector:"[formControlName]",providers:[We]}]}],t.ctorParameters=function(){return[{type:m,decorators:[{type:a.Optional},{type:a.Host},{type:a.SkipSelf}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[y]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[x]}]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[Pe]}]}]},t.propDecorators={name:[{type:a.Input,args:["formControlName"]}],isDisabled:[{type:a.Input,args:["disabled"]}],model:[{type:a.Input,args:["ngModel"]}],update:[{type:a.Output,args:["ngModelChange"]}]},t}(R),Qe={provide:y,useExisting:Object(a.forwardRef)(function(){return Ye}),multi:!0},$e={provide:y,useExisting:Object(a.forwardRef)(function(){return Ze}),multi:!0},Ye=function(){function e(){}return Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this.required?k.required(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.decorators=[{type:a.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Qe],host:{"[attr.required]":'required ? "" : null'}}]}],e.propDecorators={required:[{type:a.Input}]},e}(),Ze=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t.prototype.validate=function(e){return this.required?k.requiredTrue(e):null},t.decorators=[{type:a.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[$e],host:{"[attr.required]":'required ? "" : null'}}]}],t}(Ye),Xe={provide:y,useExisting:Object(a.forwardRef)(function(){return Je}),multi:!0},Je=function(){function e(){}return Object.defineProperty(e.prototype,"email",{set:function(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this._enabled?k.email(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.decorators=[{type:a.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Xe]}]}],e.propDecorators={email:[{type:a.Input}]},e}(),et={provide:y,useExisting:Object(a.forwardRef)(function(){return tt}),multi:!0},tt=function(){function e(){}return e.prototype.ngOnChanges=function(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null==this.minlength?null:this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=k.minLength(parseInt(this.minlength,10))},e.decorators=[{type:a.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[et],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],e.propDecorators={minlength:[{type:a.Input}]},e}(),nt={provide:y,useExisting:Object(a.forwardRef)(function(){return rt}),multi:!0},rt=function(){function e(){}return e.prototype.ngOnChanges=function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null!=this.maxlength?this._validator(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=k.maxLength(parseInt(this.maxlength,10))},e.decorators=[{type:a.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[nt],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],e.propDecorators={maxlength:[{type:a.Input}]},e}(),at={provide:y,useExisting:Object(a.forwardRef)(function(){return it}),multi:!0},it=function(){function e(){}return e.prototype.ngOnChanges=function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=k.pattern(this.pattern)},e.decorators=[{type:a.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[at],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],e.propDecorators={pattern:[{type:a.Input}]},e}(),ot=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=null!=t?t.validator:null,a=null!=t?t.asyncValidator:null;return new Ee(n,r,a)},e.prototype.control=function(e,t,n){return new xe(e,t,n)},e.prototype.array=function(e,t,n){var r=this,a=e.map(function(e){return r._createControl(e)});return new Ce(a,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach(function(r){n[r]=t._createControl(e[r])}),n},e.prototype._createControl=function(e){if(e instanceof xe||e instanceof Ee||e instanceof Ce)return e;if(Array.isArray(e)){var t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)},e.decorators=[{type:a.Injectable}],e}(),st=new a.Version("6.1.7"),lt=function(){function e(){}return e.decorators=[{type:a.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],e}(),ut=[lt,Y,ee,z,O,L,C,$,J,M,be,ve,Ye,tt,rt,it,Ze,Je],ct=[Re,De,ze],dt=[Me,Le,Ge,Ue,He],ht=function(){function e(){}return e.decorators=[{type:a.NgModule,args:[{declarations:ut,exports:ut}]}],e}(),pt=function(){function e(){}return e.decorators=[{type:a.NgModule,args:[{declarations:ct,providers:[q],exports:[ht,ct]}]}],e}(),ft=function(){function e(){}return e.withConfig=function(t){return{ngModule:e,providers:[{provide:Pe,useValue:t.warnOnNgModelWithFormControl}]}},e.decorators=[{type:a.NgModule,args:[{declarations:[dt],providers:[ot,q],exports:[ht,dt]}]}],e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"ToasterService",function(){return l});var r=n(0),a=n(91),i=n(236),o=n(273),s=function(){function e(){}return e.newGuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},e}(),l=function(){function e(){var e=this;this.addToast=new a.a(function(t){return e._addToast=t}).pipe(Object(o.a)()),this.clearToasts=new a.a(function(t){return e._clearToasts=t}).pipe(Object(o.a)()),this._removeToastSubject=new i.a,this.removeToast=this._removeToastSubject.pipe(Object(o.a)())}return e.prototype.pop=function(e,t,n){var r="string"==typeof e?{type:e,title:t,body:n}:e;if(r.toastId||(r.toastId=s.newGuid()),!this._addToast)throw new Error("No Toaster Containers have been initialized to receive toasts.");return this._addToast.next(r),r},e.prototype.popAsync=function(e,t,n){var r=this;return setTimeout(function(){r.pop(e,t,n)},0),this.addToast},e.prototype.clear=function(e,t){var n={toastId:e,toastContainerId:t};this._clearToasts.next(n)},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[]},e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"AnimationBuilder",function(){return r}),n.d(t,"AnimationFactory",function(){return a}),n.d(t,"AUTO_STYLE",function(){return i}),n.d(t,"animate",function(){return s}),n.d(t,"animateChild",function(){return m}),n.d(t,"animation",function(){return f}),n.d(t,"group",function(){return l}),n.d(t,"keyframes",function(){return h}),n.d(t,"query",function(){return y}),n.d(t,"sequence",function(){return u}),n.d(t,"stagger",function(){return b}),n.d(t,"state",function(){return d}),n.d(t,"style",function(){return c}),n.d(t,"transition",function(){return p}),n.d(t,"trigger",function(){return o}),n.d(t,"useAnimation",function(){return g}),n.d(t,"NoopAnimationPlayer",function(){return k}),n.d(t,"ɵPRE_STYLE",function(){return _}),n.d(t,"ɵAnimationGroupPlayer",function(){return w}); /** * @license Angular v6.1.7 * (c) 2010-2018 Google, Inc. https://angular.io/ * License: MIT */ var r=function(){return function(){}}(),a=function(){return function(){}}(),i="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function l(e,t){return void 0===t&&(t=null),{type:3,steps:e,options:t}}function u(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function d(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e){return{type:5,steps:e}}function p(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}}function f(e,t){return void 0===t&&(t=null),{type:8,animation:e,options:t}}function m(e){return void 0===e&&(e=null),{type:9,options:e}}function g(e,t){return void 0===t&&(t=null),{type:10,animation:e,options:t}}function y(e,t,n){return void 0===n&&(n=null),{type:11,selector:e,animation:t,options:n}}function b(e,t){return{type:12,timings:e,animation:t}} /** * @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 v(e){Promise.resolve(null).then(e)} /** * @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 k=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},e.prototype.triggerMicrotask=function(){var e=this;v(function(){return e._onFinish()})},e.prototype._onStart=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),w=function(){function e(e){var t=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var n=0,r=0,a=0,i=this.players.length;0==i?v(function(){return t._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++n==i&&t._onFinish()}),e.onDestroy(function(){++r==i&&t._onDestroy()}),e.onStart(function(){++a==i&&t._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this.players.forEach(function(e){return e.init()})},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})},e.prototype.pause=function(){this.players.forEach(function(e){return e.pause()})},e.prototype.restart=function(){this.players.forEach(function(e){return e.restart()})},e.prototype.finish=function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})},e.prototype.destroy=function(){this._onDestroy()},e.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.reset=function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype.setPosition=function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})},e.prototype.getPosition=function(){var e=0;return this.players.forEach(function(t){var n=t.getPosition();e=Math.min(n,e)}),e},e.prototype.beforeDestroy=function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),_="!"; /** * @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(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},,,,function(e,t,n){"use strict";n.r(t);var r=n(164);n.d(t,"ToastComponent",function(){return r.ToastComponent});var a=n(107);n.d(t,"ToasterContainerComponent",function(){return a.ToasterContainerComponent});var i=n(13);n.d(t,"ToasterService",function(){return i.ToasterService});var o=n(260);n.d(t,"ToasterConfig",function(){return o.a});var s=n(165);n.d(t,"BodyOutputType",function(){return s.a});var l=n(421);n.d(t,"ToasterModule",function(){return l.ToasterModule})},function(e,t,n){var r=n(111)("wks"),a=n(75),i=n(15).Symbol,o="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=o&&i[e]||(o?i:a)("Symbol."+e))}).store=r},function(e,t,n){var r=n(10),a=n(190),i=n(62),o=Object.defineProperty;t.f=n(24)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports={options:{usePureJavaScript:!1}}},function(e,t,n){var r=n(59),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(1),a=n(166),i=n(189),o=n(49),s=n(124),l=n(85),u=n(123),c=function(e){function t(t,n,r){var a=e.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,a._parentSubscription=null,arguments.length){case 0:a.destination=i.a;break;case 1:if(!t){a.destination=i.a;break}if("object"==typeof t){if(h(t)){var o=t[s.a]();a.syncErrorThrowable=o.syncErrorThrowable,a.destination=o,o._addParentTeardownLogic(a)}else a.syncErrorThrowable=!0,a.destination=new d(a,t);break}default:a.syncErrorThrowable=!0,a.destination=new d(a,t,n,r)}return a}return r.b(t,e),t.prototype[s.a]=function(){return this},t.create=function(e,n,r){var a=new t(e,n,r);return a.syncErrorThrowable=!1,a},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e),this._unsubscribeParentSubscription())},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete(),this._unsubscribeParentSubscription())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._addParentTeardownLogic=function(e){e!==this&&(this._parentSubscription=this.add(e))},t.prototype._unsubscribeParentSubscription=function(){null!==this._parentSubscription&&this._parentSubscription.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this._parentSubscription=null,this},t}(o.a),d=function(e){function t(t,n,r,o){var s,l=e.call(this)||this;l._parentSubscriber=t;var u=l;return Object(a.a)(n)?s=n:n&&(s=n.next,r=n.error,o=n.complete,n!==i.a&&(u=Object.create(n),Object(a.a)(u.unsubscribe)&&l.add(u.unsubscribe.bind(u)),u.unsubscribe=l.unsubscribe.bind(l))),l._context=u,l._next=s,l._error=r,l._complete=o,l}return r.b(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;l.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=l.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(u.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(u.a)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};l.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw e;Object(u.a)(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return l.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(Object(u.a)(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(c);function h(e){return e instanceof c||"_addParentTeardownLogic"in e&&e[s.a]}},function(e,t,n){(function(t,r,a){var i=n(25),o=n(1001),s=e.exports=i.util=i.util||{};function l(e){if(8!==e&&16!==e&&24!==e&&32!==e)throw new Error("Only 8, 16, 24, or 32 bits supported: "+e)}function u(e){if(this.data="",this.read=0,"string"==typeof e)this.data=e;else if(s.isArrayBuffer(e)||s.isArrayBufferView(e))if(void 0!==a&&e instanceof a)this.data=e.toString("binary");else{var t=new Uint8Array(e);try{this.data=String.fromCharCode.apply(null,t)}catch(e){for(var n=0;n15?(a=Date.now(),l(e)):(n.push(e),1===n.length&&o.setAttribute("a",i=!i))}}s.nextTick=s.setImmediate}(),s.isNodejs=void 0!==t&&t.versions&&t.versions.node,s.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s.isArrayBuffer=function(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer},s.isArrayBufferView=function(e){return e&&s.isArrayBuffer(e.buffer)&&void 0!==e.byteLength},s.ByteBuffer=u,s.ByteStringBuffer=u;s.ByteStringBuffer.prototype._optimizeConstructedString=function(e){this._constructedStringLength+=e,this._constructedStringLength>4096&&(this.data.substr(0,1),this._constructedStringLength=0)},s.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},s.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},s.ByteStringBuffer.prototype.putByte=function(e){return this.putBytes(String.fromCharCode(e))},s.ByteStringBuffer.prototype.fillWithByte=function(e,t){e=String.fromCharCode(e);for(var n=this.data;t>0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return this.data=n,this._optimizeConstructedString(t),this},s.ByteStringBuffer.prototype.putBytes=function(e){return this.data+=e,this._optimizeConstructedString(e.length),this},s.ByteStringBuffer.prototype.putString=function(e){return this.putBytes(s.encodeUtf8(e))},s.ByteStringBuffer.prototype.putInt16=function(e){return this.putBytes(String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},s.ByteStringBuffer.prototype.putInt24=function(e){return this.putBytes(String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},s.ByteStringBuffer.prototype.putInt32=function(e){return this.putBytes(String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},s.ByteStringBuffer.prototype.putInt16Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255))},s.ByteStringBuffer.prototype.putInt24Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255))},s.ByteStringBuffer.prototype.putInt32Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>24&255))},s.ByteStringBuffer.prototype.putInt=function(e,t){l(t);var n="";do{t-=8,n+=String.fromCharCode(e>>t&255)}while(t>0);return this.putBytes(n)},s.ByteStringBuffer.prototype.putSignedInt=function(e,t){return e<0&&(e+=2<0);return t},s.ByteStringBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},s.ByteStringBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},s.ByteStringBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},s.ByteStringBuffer.prototype.at=function(e){return this.data.charCodeAt(this.read+e)},s.ByteStringBuffer.prototype.setAt=function(e,t){return this.data=this.data.substr(0,this.read+e)+String.fromCharCode(t)+this.data.substr(this.read+e+1),this},s.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},s.ByteStringBuffer.prototype.copy=function(){var e=s.createBuffer(this.data);return e.read=this.read,e},s.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},s.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},s.ByteStringBuffer.prototype.truncate=function(e){var t=Math.max(0,this.length()-e);return this.data=this.data.substr(this.read,t),this.read=0,this},s.ByteStringBuffer.prototype.toHex=function(){for(var e="",t=this.read;t=e)return this;t=Math.max(t||this.growSize,e);var n=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),r=new Uint8Array(this.length()+t);return r.set(n),this.data=new DataView(r.buffer),this},s.DataBuffer.prototype.putByte=function(e){return this.accommodate(1),this.data.setUint8(this.write++,e),this},s.DataBuffer.prototype.fillWithByte=function(e,t){this.accommodate(t);for(var n=0;n>8&65535),this.data.setInt8(this.write,e>>16&255),this.write+=3,this},s.DataBuffer.prototype.putInt32=function(e){return this.accommodate(4),this.data.setInt32(this.write,e),this.write+=4,this},s.DataBuffer.prototype.putInt16Le=function(e){return this.accommodate(2),this.data.setInt16(this.write,e,!0),this.write+=2,this},s.DataBuffer.prototype.putInt24Le=function(e){return this.accommodate(3),this.data.setInt8(this.write,e>>16&255),this.data.setInt16(this.write,e>>8&65535,!0),this.write+=3,this},s.DataBuffer.prototype.putInt32Le=function(e){return this.accommodate(4),this.data.setInt32(this.write,e,!0),this.write+=4,this},s.DataBuffer.prototype.putInt=function(e,t){l(t),this.accommodate(t/8);do{t-=8,this.data.setInt8(this.write++,e>>t&255)}while(t>0);return this},s.DataBuffer.prototype.putSignedInt=function(e,t){return l(t),this.accommodate(t/8),e<0&&(e+=2<0);return t},s.DataBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},s.DataBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},s.DataBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},s.DataBuffer.prototype.at=function(e){return this.data.getUint8(this.read+e)},s.DataBuffer.prototype.setAt=function(e,t){return this.data.setUint8(e,t),this},s.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},s.DataBuffer.prototype.copy=function(){return new s.DataBuffer(this)},s.DataBuffer.prototype.compact=function(){if(this.read>0){var e=new Uint8Array(this.data.buffer,this.read),t=new Uint8Array(e.byteLength);t.set(e),this.data=new DataView(t),this.write-=this.read,this.read=0}return this},s.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},s.DataBuffer.prototype.truncate=function(e){return this.write=Math.max(0,this.length()-e),this.read=Math.min(this.read,this.write),this},s.DataBuffer.prototype.toHex=function(){for(var e="",t=this.read;t0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return n},s.xorBytes=function(e,t,n){for(var r="",a="",i="",o=0,s=0;n>0;--n,++o)a=e.charCodeAt(o)^t.charCodeAt(o),s>=10&&(r+=i,i="",s=0),i+=String.fromCharCode(a),++s;return r+=i},s.hexToBytes=function(e){var t="",n=0;for(!0&e.length&&(n=1,t+=String.fromCharCode(parseInt(e[0],16)));n>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e)};var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],h="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";s.encode64=function(e,t){for(var n,r,a,i="",o="",s=0;s>2),i+=c.charAt((3&n)<<4|r>>4),isNaN(r)?i+="==":(i+=c.charAt((15&r)<<2|a>>6),i+=isNaN(a)?"=":c.charAt(63&a)),t&&i.length>t&&(o+=i.substr(0,t)+"\r\n",i=i.substr(t));return o+=i},s.decode64=function(e){e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var t,n,r,a,i="",o=0;o>4),64!==r&&(i+=String.fromCharCode((15&n)<<4|r>>2),64!==a&&(i+=String.fromCharCode((3&r)<<6|a)));return i},s.encodeUtf8=function(e){return unescape(encodeURIComponent(e))},s.decodeUtf8=function(e){return decodeURIComponent(escape(e))},s.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:o.encode,decode:o.decode}},s.binary.raw.encode=function(e){return String.fromCharCode.apply(null,e)},s.binary.raw.decode=function(e,t,n){var r=t;r||(r=new Uint8Array(e.length));for(var a=n=n||0,i=0;i>2),i+=c.charAt((3&n)<<4|r>>4),isNaN(r)?i+="==":(i+=c.charAt((15&r)<<2|a>>6),i+=isNaN(a)?"=":c.charAt(63&a)),t&&i.length>t&&(o+=i.substr(0,t)+"\r\n",i=i.substr(t));return o+=i},s.binary.base64.decode=function(e,t,n){var r,a,i,o,s=t;s||(s=new Uint8Array(3*Math.ceil(e.length/4))),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var l=0,u=n=n||0;l>4,64!==i&&(s[u++]=(15&a)<<4|i>>2,64!==o&&(s[u++]=(3&i)<<6|o));return t?u-n:s.subarray(0,u)},s.binary.base58.encode=function(e,t){return s.binary.baseN.encode(e,h,t)},s.binary.base58.decode=function(e,t){return s.binary.baseN.decode(e,h,t)},s.text={utf8:{},utf16:{}},s.text.utf8.encode=function(e,t,n){e=s.encodeUtf8(e);var r=t;r||(r=new Uint8Array(e.length));for(var a=n=n||0,i=0;i0?(a=n[r].substring(0,o),i=n[r].substring(o+1)):(a=n[r],i=null),a in t||(t[a]=[]),a in Object.prototype||null===i||t[a].push(unescape(i))}return t};return void 0===e?(null===k&&(k="undefined"!=typeof window&&window.location&&window.location.search?n(window.location.search.substring(1)):{}),t=k):t=n(e),t},s.parseFragment=function(e){var t=e,n="",r=e.indexOf("?");r>0&&(t=e.substring(0,r),n=e.substring(r+1));var a=t.split("/");return a.length>0&&""===a[0]&&a.shift(),{pathString:t,queryString:n,path:a,query:""===n?{}:s.getQueryVariables(n)}},s.makeRequest=function(e){var t=s.parseFragment(e),n={path:t.pathString,query:t.queryString,getPath:function(e){return void 0===e?t.path:t.path[e]},getQuery:function(e,n){var r;return void 0===e?r=t.query:(r=t.query[e])&&void 0!==n&&(r=r[n]),r},getQueryLast:function(e,t){var r=n.getQuery(e);return r?r[r.length-1]:t}};return n},s.makeLink=function(e,t,n){e=jQuery.isArray(e)?e.join("/"):e;var r=jQuery.param(t||{});return n=n||"",e+(r.length>0?"?"+r:"")+(n.length>0?"#"+n:"")},s.setPath=function(e,t,n){if("object"==typeof e&&null!==e)for(var r=0,a=t.length;r0&&i.push(n),o=r.lastIndex;var s=t[0][1];switch(s){case"s":case"o":a");break;case"%":i.push("%");break;default:i.push("<%"+s+"?>")}}return i.push(e.substring(o)),i.join("")},s.formatNumber=function(e,t,n,r){var a=e,i=isNaN(t=Math.abs(t))?2:t,o=void 0===n?",":n,s=void 0===r?".":r,l=a<0?"-":"",u=parseInt(a=Math.abs(+a||0).toFixed(i),10)+"",c=u.length>3?u.length%3:0;return l+(c?u.substr(0,c)+s:"")+u.substr(c).replace(/(\d{3})(?=\d)/g,"$1"+s)+(i?o+Math.abs(a-u).toFixed(i).slice(2):"")},s.formatSize=function(e){return e=e>=1073741824?s.formatNumber(e/1073741824,2,".","")+" GiB":e>=1048576?s.formatNumber(e/1048576,2,".","")+" MiB":e>=1024?s.formatNumber(e/1024,0)+" KiB":s.formatNumber(e,0)+" bytes"},s.bytesFromIP=function(e){return-1!==e.indexOf(".")?s.bytesFromIPv4(e):-1!==e.indexOf(":")?s.bytesFromIPv6(e):null},s.bytesFromIPv4=function(e){if(4!==(e=e.split(".")).length)return null;for(var t=s.createBuffer(),n=0;nn[r].end-n[r].start&&(r=n.length-1)):n.push({start:l,end:l})}t.push(i)}if(n.length>0){var u=n[r];u.end-u.start>0&&(t.splice(u.start,u.end-u.start+1,""),0===u.start&&t.unshift(""),7===u.end&&t.push(""))}return t.join(":")},s.estimateCores=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},"cores"in s&&!e.update)return t(null,s.cores);if("undefined"!=typeof navigator&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return s.cores=navigator.hardwareConcurrency,t(null,s.cores);if("undefined"==typeof Worker)return s.cores=1,t(null,s.cores);if("undefined"==typeof Blob)return s.cores=2,t(null,s.cores);var n=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",function(e){for(var t=Date.now(),n=t+4;Date.now()s.st&&a.sta.st&&s.st0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;s||(s=e[o]=[]);var u=ae(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:a});else{for(var c=!1,d=0;d-1},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[b]}]},{type:ce,decorators:[{type:i.Inject,args:[le]}]},{type:i["ɵConsole"]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[ue]}]}]},t}(N),he=["alt","control","meta","shift"],pe={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},fe=function(e){function t(t){return e.call(this,t)||this}return Object(r.b)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var a=t.parseEventName(n),i=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(e,a.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var a=t._normalizeKey(n.pop()),i="";if(he.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=a,0!=n.length||0===a.length)return null;var o={};return o.domEventName=r,o.fullKey=i,o},t.getEventFullKey=function(e){var t="",n=s().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),he.forEach(function(r){r!=n&&((0,pe[r])(e)&&(t+=r+"."))}),t+=n},t.eventCallback=function(e,n,r){return function(a){t.getEventFullKey(a)===e&&r.runGuarded(function(){return n(a)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[b]}]}]},t}(N),me=function(){return function(){}}(),ge=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(r.b)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case i.SecurityContext.NONE:return t;case i.SecurityContext.HTML:return t instanceof be?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(i["ɵ_sanitizeHtml"])(this._doc,String(t)));case i.SecurityContext.STYLE:return t instanceof ve?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(i["ɵ_sanitizeStyle"])(t));case i.SecurityContext.SCRIPT:if(t instanceof ke)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case i.SecurityContext.URL:return t instanceof _e||t instanceof we?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(i["ɵ_sanitizeUrl"])(String(t)));case i.SecurityContext.RESOURCE_URL:if(t instanceof _e)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof ye)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new be(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new ve(e)},t.prototype.bypassSecurityTrustScript=function(e){return new ke(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new we(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new _e(e)},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[b]}]}]},t}(me),ye=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(ye),ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t.prototype.getTypeName=function(){return"Style"},t}(ye),ke=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t.prototype.getTypeName=function(){return"Script"},t}(ye),we=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t.prototype.getTypeName=function(){return"URL"},t}(ye),_e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(ye),je=[{provide:i.PLATFORM_ID,useValue:a["ɵPLATFORM_BROWSER_ID"]},{provide:i.PLATFORM_INITIALIZER,useValue:Ce,multi:!0},{provide:a.PlatformLocation,useClass:k,deps:[b]},{provide:b,useFactory:Te,deps:[]}],xe=[{provide:i.Sanitizer,useExisting:me},{provide:me,useClass:ge,deps:[b]}],Ee=Object(i.createPlatformFactory)(i.platformCore,"browser",je);function Ce(){g.makeCurrent(),x.init()}function Se(){return new i.ErrorHandler}function Te(){return document}var ze=[xe,{provide:i["ɵAPP_ROOT"],useValue:!0},{provide:i.ErrorHandler,useFactory:Se,deps:[]},{provide:D,useClass:oe,multi:!0,deps:[b,i.NgZone,i.PLATFORM_ID]},{provide:D,useClass:fe,multi:!0,deps:[b]},{provide:D,useClass:de,multi:!0,deps:[b,le,i["ɵConsole"],[new i.Optional,ue]]},{provide:le,useClass:ce,deps:[]},{provide:K,useClass:K,deps:[O,P]},{provide:i.RendererFactory2,useExisting:K},{provide:R,useExisting:P},{provide:P,useClass:P,deps:[b]},{provide:i.Testability,useClass:i.Testability,deps:[i.NgZone]},{provide:O,useClass:O,deps:[D,i.NgZone]},I],Ae=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:i.APP_ID,useValue:t.appId},{provide:w,useExisting:i.APP_ID},j]}},e.decorators=[{type:i.NgModule,args:[{providers:ze,exports:[a.CommonModule,i.ApplicationModule]}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.SkipSelf},{type:i.Inject,args:[e]}]}]},e}(); /** * @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 Ie(){return new De(Object(i.inject)(b))}var De=function(){function e(e){this._doc=e,this._dom=s()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,t){var n=this;return void 0===t&&(t=!1),e?e.reduce(function(e,r){return r&&e.push(n._getOrCreateElement(r,t)),e},[]):[]},e.prototype.getTag=function(e){return e&&this._dom.querySelector(this._doc,"meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._dom.querySelectorAll(this._doc,"meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var a=this._dom.createElement("meta");this._setMetaElementAttributes(e,a);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,a),a},e.prototype._setMetaElementAttributes=function(e,t){var n=this;return Object.keys(e).forEach(function(r){return n._dom.setAttribute(t,r,e[r])}),t},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(e,t){var n=this;return Object.keys(e).every(function(r){return n._dom.getAttribute(t,r)===e[r]})},e.decorators=[{type:i.Injectable,args:[{providedIn:"root",useFactory:Ie,deps:[]}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[b]}]}]},e.ngInjectableDef=Object(i.defineInjectable)({factory:Ie,token:e,providedIn:"root"}),e}(); /** * @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 Oe(){return new Ne(Object(i.inject)(b))}var Ne=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return s().getTitle(this._doc)},e.prototype.setTitle=function(e){s().setTitle(this._doc,e)},e.decorators=[{type:i.Injectable,args:[{providedIn:"root",useFactory:Oe,deps:[]}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[b]}]}]},e.ngInjectableDef=Object(i.defineInjectable)({factory:Oe,token:e,providedIn:"root"}),e}(),Re="undefined"!=typeof window&&window||{},Pe=function(){return function(e,t){this.msPerTick=e,this.numTicks=t}}(),qe=function(){function e(e){this.appRef=e.injector.get(i.ApplicationRef)}return e.prototype.timeChangeDetection=function(e){var t=e&&e.record,n=null!=Re.console.profile;t&&n&&Re.console.profile("Change Detection");for(var r=s().performanceNow(),a=0;a<5||s().performanceNow()-r<500;)this.appRef.tick(),a++;var i=s().performanceNow();t&&n&&Re.console.profileEnd("Change Detection");var o=(i-r)/a;return Re.console.log("ran "+a+" change detection cycles"),Re.console.log(o.toFixed(2)+" ms per check"),new Pe(o,a)},e}(),Me="profiler"; /** * @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){return E(Me,new qe(e)),e}function Le(){E(Me,null)} /** * @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 Fe(e){var t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,function(e){return t[e]})}function Ue(e){return e}var Ve=function(){function e(){this.store={},this.onSerializeCallbacks={}}return e.init=function(t){var n=new e;return n.store=t,n},e.prototype.get=function(e,t){return void 0!==this.store[e]?this.store[e]:t},e.prototype.set=function(e,t){this.store[e]=t},e.prototype.remove=function(e){delete this.store[e]},e.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},e.prototype.onSerialize=function(e,t){this.onSerializeCallbacks[e]=t},e.prototype.toJson=function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)},e.decorators=[{type:i.Injectable}],e}();function He(e,t){var n=e.getElementById(t+"-state"),r={};if(n&&n.textContent)try{r=JSON.parse(function(e){var t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,function(e){return t[e]})}(n.textContent))}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return Ve.init(r)}var Ke=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{providers:[{provide:Ve,useFactory:He,deps:[b,i.APP_ID]}]}]}],e}(),We=function(){function e(){}return e.all=function(){return function(e){return!0}},e.css=function(e){return function(t){return null!=t.nativeElement&&s().elementMatches(t.nativeElement,e)}},e.directive=function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}},e}(),Ge=new i.Version("6.1.7"); /** * @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(e,t,n){var r=n(2),a=n(16),i=n(63),o=/"/g,s=function(e,t,n,r){var a=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(o,""")+'"'),s+">"+a+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*a(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},,function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(15),a=n(46),i=n(42),o=n(75)("src"),s=Function.toString,l=(""+s).split("toString");n(45).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||a(n,"name",t)),e[t]!==n&&(u&&(i(n,o)||a(n,o,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||s.call(this)})},function(e,t,n){var r=n(96),a=n(63);e.exports=function(e){return r(a(e))}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(23),a=n(71);e.exports=n(24)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},,function(e,t,n){var r=n(42),a=n(33),i=n(137)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){"use strict";var r,a=n(261),i=n(262),o=n(166),s={e:{}};function l(){try{return r.apply(this,arguments)}catch(e){return s.e=e,s}}function u(e){return r=e,l}function c(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}c.prototype=Object.create(Error.prototype);var d=c;n.d(t,"a",function(){return h});var h=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,l=this._unsubscribe,c=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var h=-1,f=r?r.length:0;n;)n.remove(this),n=++h=200&&s.status<300?n(new c(s.status,s.statusText,s.response||s.responseText)):a(new i(s.statusText,s.status))},s.onerror=function(){t.logger.log(r.Warning,"Error from HTTP request. "+s.status+": "+s.statusText),a(new i(s.statusText,s.status))},s.ontimeout=function(){t.logger.log(r.Warning,"Timeout from HTTP request."),a(new o)},s.send(e.content||"")})},t}(d),p=function(){function e(){}return e.write=function(t){return""+t+e.RecordSeparator},e.parse=function(t){if(t[t.length-1]!==e.RecordSeparator)throw new Error("Message is incomplete.");var n=t.split(e.RecordSeparator);return n.pop(),n},e.RecordSeparatorCode=30,e.RecordSeparator=String.fromCharCode(e.RecordSeparatorCode),e}(),f=function(){function e(){}return e.prototype.writeHandshakeRequest=function(e){return p.write(JSON.stringify(e))},e.prototype.parseHandshakeResponse=function(e){var t,n;if(e instanceof ArrayBuffer){var r=new Uint8Array(e);if(-1===(i=r.indexOf(p.RecordSeparatorCode)))throw new Error("Message is incomplete.");var a=i+1;t=String.fromCharCode.apply(null,r.slice(0,a)),n=r.byteLength>a?r.slice(a).buffer:null}else{var i,o=e;if(-1===(i=o.indexOf(p.RecordSeparator)))throw new Error("Message is incomplete.");a=i+1;t=o.substring(0,a),n=o.length>a?o.substring(a):null}var s=p.parse(t);return[n,JSON.parse(s[0])]},e}();!function(e){e[e.Invocation=1]="Invocation",e[e.StreamItem=2]="StreamItem",e[e.Completion=3]="Completion",e[e.StreamInvocation=4]="StreamInvocation",e[e.CancelInvocation=5]="CancelInvocation",e[e.Ping=6]="Ping",e[e.Close=7]="Close"}(s||(s={}));var m=function(){function e(){}return e.prototype.log=function(e,t){},e.instance=new e,e}(),g=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?a(e.value):new n(function(t){t(e.value)}).then(o,s)}l((r=r.apply(e,t||[])).next())})},y=function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]-1&&this.subject.observers.splice(e,1),0===this.subject.observers.length&&this.subject.cancelCallback().catch(function(e){})},e}(),E=function(){function e(e){this.minimumLogLevel=e}return e.prototype.log=function(e,t){if(e>=this.minimumLogLevel)switch(e){case r.Critical:case r.Error:console.error(r[e]+": "+t);break;case r.Warning:console.warn(r[e]+": "+t);break;case r.Information:console.info(r[e]+": "+t);break;default:console.log(r[e]+": "+t)}},e}(),C=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?a(e.value):new n(function(t){t(e.value)}).then(o,s)}l((r=r.apply(e,t||[])).next())})},S=function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]")),this.onclose(n)),this.logger.log(r.Trace,"(LongPolling transport) Transport finished."),[7];case 9:return[2]}})})},e.prototype.send=function(e){return I(this,void 0,void 0,function(){return D(this,function(t){return this.running?[2,k(this.logger,"LongPolling",this.httpClient,this.url,this.accessTokenFactory,e,this.logMessageContent)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]})})},e.prototype.stop=function(){return I(this,void 0,void 0,function(){var e,t,n=this;return D(this,function(a){switch(a.label){case 0:return a.trys.push([0,,3,4]),this.running=!1,this.logger.log(r.Trace,"(LongPolling transport) sending DELETE request to "+this.url+"."),e={headers:{}},[4,this.accessTokenFactory()];case 1:return t=a.sent(),this.updateHeaderToken(e,t),[4,this.httpClient.delete(this.url,e)];case 2:return a.sent(),this.logger.log(r.Trace,"(LongPolling transport) DELETE request accepted."),[3,4];case 3:return this.stopped||(this.shutdownTimer=setTimeout(function(){n.logger.log(r.Warning,"(LongPolling transport) server did not terminate after DELETE request, canceling poll."),n.pollAbort.abort()},this.shutdownTimeout)),[7];case 4:return[2]}})})},e}(),R=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?a(e.value):new n(function(t){t(e.value)}).then(o,s)}l((r=r.apply(e,t||[])).next())})},P=function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=0){if(!(a===w.WebSockets&&"undefined"==typeof WebSocket||a===w.ServerSentEvents&&"undefined"==typeof EventSource))return this.logger.log(r.Debug,"Selecting transport '"+w[a]+"'"),a;this.logger.log(r.Debug,"Skipping transport '"+w[a]+"' because it is not supported in your environment.'")}else this.logger.log(r.Debug,"Skipping transport '"+w[a]+"' because it does not support the requested transfer format '"+_[n]+"'.");else this.logger.log(r.Debug,"Skipping transport '"+w[a]+"' because it was disabled by the client.")}return null},e.prototype.isITransport=function(e){return e&&"object"==typeof e&&"connect"in e},e.prototype.changeState=function(e,t){return this.connectionState===e&&(this.connectionState=t,!0)},e.prototype.stopConnection=function(e){return F(this,void 0,void 0,function(){return U(this,function(t){return this.transport=null,(e=this.stopError||e)?this.logger.log(r.Error,"Connection disconnected with error '"+e+"'."):this.logger.log(r.Information,"Connection disconnected."),this.connectionState=2,this.onclose&&this.onclose(e),[2]})})},e.prototype.resolveUrl=function(e){if(0===e.lastIndexOf("https://",0)||0===e.lastIndexOf("http://",0))return e;if("undefined"==typeof window||!window||!window.document)throw new Error("Cannot resolve '"+e+"'.");var t=window.document.createElement("a");return t.href=e,this.logger.log(r.Information,"Normalizing '"+e+"' to '"+t.href+"'."),t.href},e.prototype.resolveNegotiateUrl=function(e){var t=e.indexOf("?"),n=e.substring(0,-1===t?e.length:t);return"/"!==n[n.length-1]&&(n+="/"),n+="negotiate",n+=-1===t?"":e.substring(t)},e}();var H="json",K=function(){function e(){this.name=H,this.version=1,this.transferFormat=_.Text}return e.prototype.parseMessages=function(e,t){if("string"!=typeof e)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!e)return[];null===t&&(t=m.instance);for(var n=[],a=0,i=p.parse(e);aw;w++)if((h||w in b)&&(g=v(m=b[w],w,y),e))if(n)_[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:_.push(m)}else if(c)return!1;return d?-1:u||c?c:_}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},,,function(e,t,n){var r=n(17);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(24)){var r=n(72),a=n(15),i=n(16),o=n(2),s=n(117),l=n(150),u=n(52),c=n(81),d=n(71),h=n(46),p=n(83),f=n(59),m=n(26),g=n(213),y=n(77),b=n(62),v=n(42),k=n(92),w=n(17),_=n(33),j=n(148),x=n(68),E=n(48),C=n(78).f,S=n(113),T=n(75),z=n(22),A=n(58),I=n(125),D=n(130),O=n(173),N=n(87),R=n(114),P=n(80),q=n(149),M=n(205),B=n(23),L=n(50),F=B.f,U=L.f,V=a.RangeError,H=a.TypeError,K=a.Uint8Array,W=Array.prototype,G=l.ArrayBuffer,Q=l.DataView,$=A(0),Y=A(2),Z=A(3),X=A(4),J=A(5),ee=A(6),te=I(!0),ne=I(!1),re=O.values,ae=O.keys,ie=O.entries,oe=W.lastIndexOf,se=W.reduce,le=W.reduceRight,ue=W.join,ce=W.sort,de=W.slice,he=W.toString,pe=W.toLocaleString,fe=z("iterator"),me=z("toStringTag"),ge=T("typed_constructor"),ye=T("def_constructor"),be=s.CONSTR,ve=s.TYPED,ke=s.VIEW,we=A(1,function(e,t){return Ce(D(e,e[ye]),t)}),_e=i(function(){return 1===new K(new Uint16Array([1]).buffer)[0]}),je=!!K&&!!K.prototype.set&&i(function(){new K(1).set({})}),xe=function(e,t){var n=f(e);if(n<0||n%t)throw V("Wrong offset!");return n},Ee=function(e){if(w(e)&&ve in e)return e;throw H(e+" is not a typed array!")},Ce=function(e,t){if(!(w(e)&&ge in e))throw H("It is not a typed array constructor!");return new e(t)},Se=function(e,t){return Te(D(e,e[ye]),t)},Te=function(e,t){for(var n=0,r=t.length,a=Ce(e,r);r>n;)a[n]=t[n++];return a},ze=function(e,t,n){F(e,t,{get:function(){return this._d[n]}})},Ae=function(e){var t,n,r,a,i,o,s=_(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,h=S(s);if(void 0!=h&&!j(h)){for(o=h.call(s),r=[],t=0;!(i=o.next()).done;t++)r.push(i.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),a=Ce(this,n);n>t;t++)a[t]=d?c(s[t],t):s[t];return a},Ie=function(){for(var e=0,t=arguments.length,n=Ce(this,t);t>e;)n[e]=arguments[e++];return n},De=!!K&&i(function(){pe.call(new K(1))}),Oe=function(){return pe.apply(De?de.call(Ee(this)):Ee(this),arguments)},Ne={copyWithin:function(e,t){return M.call(Ee(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return X(Ee(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return q.apply(Ee(this),arguments)},filter:function(e){return Se(this,Y(Ee(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return J(Ee(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Ee(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){$(Ee(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Ee(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Ee(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Ee(this),arguments)},lastIndexOf:function(e){return oe.apply(Ee(this),arguments)},map:function(e){return we(Ee(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Ee(this),arguments)},reduceRight:function(e){return le.apply(Ee(this),arguments)},reverse:function(){for(var e,t=Ee(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function(e){return ce.call(Ee(this),e)},subarray:function(e,t){var n=Ee(this),r=n.length,a=y(e,r);return new(D(n,n[ye]))(n.buffer,n.byteOffset+a*n.BYTES_PER_ELEMENT,m((void 0===t?r:y(t,r))-a))}},Re=function(e,t){return Se(this,de.call(Ee(this),e,t))},Pe=function(e){Ee(this);var t=xe(arguments[1],1),n=this.length,r=_(e),a=m(r.length),i=0;if(a+t>n)throw V("Wrong length!");for(;i255?255:255&r),a.v[p](n*t+a.o,r,_e)}(this,n,e)},enumerable:!0})};v?(f=n(function(e,n,r,a){c(e,f,u,"_d");var i,o,s,l,d=0,p=0;if(w(n)){if(!(n instanceof G||"ArrayBuffer"==(l=k(n))||"SharedArrayBuffer"==l))return ve in n?Te(f,n):Ae.call(f,n);i=n,p=xe(r,t);var y=n.byteLength;if(void 0===a){if(y%t)throw V("Wrong length!");if((o=y-p)<0)throw V("Wrong length!")}else if((o=m(a)*t)+p>y)throw V("Wrong length!");s=o/t}else s=g(n),i=new G(o=s*t);for(h(e,"_d",{b:i,o:p,l:o,e:s,v:new Q(i)});ddocument.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=l(),void 0===t?n:a(n,t)}},,,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=!1},,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"AnimationDriver",function(){return T}),n.d(t,"ɵAnimation",function(){return xe}),n.d(t,"ɵAnimationStyleNormalizer",function(){return Ee}),n.d(t,"ɵNoopAnimationStyleNormalizer",function(){return Ce}),n.d(t,"ɵWebAnimationsStyleNormalizer",function(){return Se}),n.d(t,"ɵAnimationDriver",function(){return T}),n.d(t,"ɵNoopAnimationDriver",function(){return S}),n.d(t,"ɵAnimationEngine",function(){return tt}),n.d(t,"ɵCssKeyframesDriver",function(){return ft}),n.d(t,"ɵCssKeyframesPlayer",function(){return ht}),n.d(t,"ɵcontainsElement",function(){return x}),n.d(t,"ɵinvokeQuery",function(){return E}),n.d(t,"ɵmatchesElement",function(){return j}),n.d(t,"ɵvalidateStyleProperty",function(){return _}),n.d(t,"ɵWebAnimationsDriver",function(){return gt}),n.d(t,"ɵsupportsWebAnimations",function(){return yt}),n.d(t,"ɵWebAnimationsPlayer",function(){return mt}),n.d(t,"ɵallowPreviousPlayerStylesMerge",function(){return Y});var r=n(1),a=n(14),i=n(0);function o(){return void 0!==e}function s(e){switch(e.length){case 0:return new a.NoopAnimationPlayer;case 1:return e[0];default:return new a["ɵAnimationGroupPlayer"](e)}}function l(e,t,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var s=[],l=[],u=-1,c=null;if(r.forEach(function(e){var n=e.offset,r=n==u,d=r&&c||{};Object.keys(e).forEach(function(n){var r=n,l=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),l){case a["ɵPRE_STYLE"]:l=i[n];break;case a.AUTO_STYLE:l=o[n];break;default:l=t.normalizeStyleValue(n,r,l,s)}d[r]=l}),r||l.push(d),c=d,u=n}),s.length){throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "))}return l}function u(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&c(n,"start",e))});break;case"done":e.onDone(function(){return r(n&&c(n,"done",e))});break;case"destroy":e.onDestroy(function(){return r(n&&c(n,"destroy",e))})}}function c(e,t,n){var r=n.totalTime,a=!!n.disabled,i=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,void 0==r?e.totalTime:r,a),o=e._data;return null!=o&&(i._data=o),i}function d(e,t,n,r,a,i,o){return void 0===a&&(a=""),void 0===i&&(i=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:a,totalTime:i,disabled:!!o}}function h(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function p(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var f=function(e,t){return!1},m=function(e,t){return!1},g=function(e,t,n){return[]},y=o();if(y||"undefined"!=typeof Element){if(f=function(e,t){return e.contains(t)},y||Element.prototype.matches)m=function(e,t){return e.matches(t)};else{var b=Element.prototype,v=b.matchesSelector||b.mozMatchesSelector||b.msMatchesSelector||b.oMatchesSelector||b.webkitMatchesSelector;v&&(m=function(e,t){return v.apply(e,[t])})}g=function(e,t,n){var a=[];if(n)a.push.apply(a,Object(r.d)(e.querySelectorAll(t)));else{var i=e.querySelector(t);i&&a.push(i)}return a}}var k=null,w=!1;function _(e){k||(k=function(){if("undefined"!=typeof document)return document.body;return null}()||{},w=!!k.style&&"WebkitAppearance"in k.style);var t=!0;k.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in k.style)&&w&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in k.style));return t}var j=m,x=f,E=g;function C(e){var t={};return Object.keys(e).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t} /** * @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 S=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return _(e)},e.prototype.matchesElement=function(e,t){return j(e,t)},e.prototype.containsElement=function(e,t){return x(e,t)},e.prototype.query=function(e,t,n){return E(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,i,o,s){return void 0===o&&(o=[]),new a.NoopAnimationPlayer(n,r)},e.decorators=[{type:i.Injectable}],e}(),T=function(){function e(){}return e.NOOP=new S,e}(),z=1e3,A=".ng-trigger",I=".ng-animating";function D(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:O(parseFloat(t[1]),t[2])}function O(e,t){switch(t){case"s":return e*z;default:return e}}function N(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,a=0,i="";if("string"==typeof e){var o=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=O(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(a=O(Math.floor(parseFloat(s)),o[4]));var l=o[5];l&&(i=l)}else r=e;if(!n){var u=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),a<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:a,easing:i}}(e,t,n)}function R(e,t){return void 0===t&&(t={}),Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function P(e){var t={};return Array.isArray(e)?e.forEach(function(e){return q(e,!1,t)}):q(e,!1,t),t}function q(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else R(e,n);return n}function M(e,t,n){return n?t+":"+n+";":""}function B(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var a=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var i=a[1],o=a[2],s=a[3];t.push(ae(i,s));var l=i==ee&&s==ee;"<"!=o[0]||l||t.push(ae(s,i))}(e,n,t)}):n.push(e),n}var ne=new Set(["true","1"]),re=new Set(["false","0"]);function ae(e,t){var n=ne.has(e)||re.has(e),r=ne.has(t)||re.has(t);return function(a,i){var o=e==ee||e==a,s=t==ee||t==i;return!o&&n&&"boolean"==typeof a&&(o=a?ne.has(e):re.has(e)),!s&&r&&"boolean"==typeof i&&(s=i?ne.has(t):re.has(t)),o&&s}}var ie=":self",oe=new RegExp("s*"+ie+"s*,?","g");function se(e,t,n){return new le(e).build(t,n)}var le=function(){function e(e){this._driver=e}return e.prototype.build=function(e,t){var n=new ue(t);return this._resetContextStyleTimingState(n),X(this,U(e),n)},e.prototype._resetContextStyleTimingState=function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0},e.prototype.visitTrigger=function(e,t){var n=this,r=t.queryCount=0,a=t.depCount=0,i=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,l=s.name;l.toString().split(/\s*,\s*/).forEach(function(e){s.name=e,i.push(n.visitState(s,t))}),s.name=l}else if(1==e.type){var u=n.visitTransition(e,t);r+=u.queryCount,a+=u.depCount,o.push(u)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:o,queryCount:r,depCount:a,options:null}},e.prototype.visitState=function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var a=new Set,i=r||{};if(n.styles.forEach(function(e){if(ce(e)){var t=e;Object.keys(t).forEach(function(e){H(t[e]).forEach(function(e){i.hasOwnProperty(e)||a.add(e)})})}}),a.size){var o=W(a.values());t.errors.push('state("'+e.name+'", ...) must define default values for all the following style substitutions: '+o.join(", "))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}},e.prototype.visitTransition=function(e,t){t.queryCount=0,t.depCount=0;var n=X(this,U(e.animation),t);return{type:1,matchers:te(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:de(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return X(n,e,t)}),options:de(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,a=0,i=e.steps.map(function(e){t.currentTime=r;var i=X(n,e,t);return a=Math.max(a,t.currentTime),i});return t.currentTime=a,{type:3,steps:i,options:de(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e){var r=N(e,t).duration;return he(r,0,"")}var a=e;if(a.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=he(0,0,"");return i.dynamic=!0,i.strValue=a,i}return he((n=n||N(a,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:Object(a.style)({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,s=!1;if(!o){s=!0;var l={};r.easing&&(l.easing=r.easing),o=Object(a.style)(l)}t.currentTime+=r.duration+r.delay;var u=this.visitStyle(o,t);u.isEmptyStep=s,n=u}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==a.AUTO_STYLE?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var r=!1,i=null;return n.forEach(function(e){if(ce(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var a in t){if(t[a].toString().indexOf("{{")>=0){r=!0;break}}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,a=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var o=t.collectedStyles[t.currentQuerySelector],s=o[r],l=!0;s&&(i!=a&&i>=s.startTime&&a<=s.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+s.startTime+'ms" and "'+s.endTime+'ms" is also being animated in a parallel animation between the times of "'+i+'ms" and "'+a+'ms"'),l=!1),i=s.startTime),l&&(o[r]={startTime:i,endTime:a}),t.options&&function(e,t,n){var r=t.params||{},a=H(e);a.length&&a.forEach(function(e){r.hasOwnProperty(e)||n.push("Unable to resolve the local animation param "+e+" in the given list of values")})}(e[r],t.options,t.errors)}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var a=0,i=[],o=!1,s=!1,l=0,u=e.steps.map(function(e){var r=n._makeStyleAst(e,t),u=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(ce(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(ce(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=u&&(a++,c=r.offset=u),s=s||c<0||c>1,o=o||c0&&a0?a==h?1:d*a:i[a],s=o*m;t.currentTime=p+f.delay+s,f.duration=s,n._validateStyleAst(e,t),e.offset=o,r.styles.push(e)}),r},e.prototype.visitReference=function(e,t){return{type:8,animation:X(this,U(e.animation),t),options:de(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:de(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:de(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,a=e.options||{};t.queryCount++,t.currentQuery=e;var i=Object(r.c)(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return e==ie});t&&(e=e.replace(oe,""));return[e=e.replace(/@\*/g,A).replace(/@\w+/g,function(e){return A+"-"+e.substr(1)}).replace(/:animating/g,I),t]}(e.selector),2),o=i[0],s=i[1];t.currentQuerySelector=n.length?n+" "+o:o,h(t.collectedStyles,t.currentQuerySelector,{});var l=X(this,U(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:a.limit||0,optional:!!a.optional,includeSelf:s,animation:l,originalSelector:e.selector,options:de(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:N(e.timings,t.errors,!0);return{type:12,animation:X(this,U(e.animation),t),timings:n,options:null}},e}();var ue=function(){return function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function ce(e){return!Array.isArray(e)&&"object"==typeof e}function de(e){return e?(e=R(e)).params&&(e.params=function(e){return e?R(e):null}(e.params)):e={},e}function he(e,t,n){return{duration:e,delay:t,easing:n}}function pe(e,t,n,r,a,i,o,s){return void 0===o&&(o=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:a,delay:i,totalTime:a+i,easing:o,subTimeline:s}}var fe=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,Object(r.d)(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),me=new RegExp(":enter","g"),ge=new RegExp(":leave","g");function ye(e,t,n,r,a,i,o,s,l,u){return void 0===i&&(i={}),void 0===o&&(o={}),void 0===u&&(u=[]),(new be).buildKeyframes(e,t,n,r,a,i,o,s,l,u)}var be=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,a,i,o,s,l,u){void 0===u&&(u=[]),l=l||new fe;var c=new ke(e,t,l,r,a,u,[]);c.options=s,c.currentTimeline.setStyles([i],null,c.errors,s),X(this,n,c);var d=c.timelines.filter(function(e){return e.containsAnimation()});if(d.length&&Object.keys(o).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([o],null,c.errors,s)}return d.length?d.map(function(e){return e.buildKeyframes()}):[pe(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),a=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);a!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,a=null!=n.duration?D(n.duration):null,i=null!=n.delay?D(n.delay):null;return 0!==a&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,a,i);r=Math.max(r,n.duration+n.delay)}),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),X(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,a=t,i=e.options;if(i&&(i.params||i.delay)&&((a=t.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=ve);var o=D(i.delay);a.delayNextStep(o)}e.steps.length&&(e.steps.forEach(function(e){return X(n,e,a)}),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>r&&a.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],a=t.currentTimeline.currentTime,i=e.options&&e.options.delay?D(e.options.delay):0;e.steps.forEach(function(o){var s=t.createSubContext(e.options);i&&s.delayNextStep(i),X(n,o,s),a=Math.max(a,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(a),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return N(t.params?K(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var a=e.style;5==a.type?this.visitKeyframes(a,t):(t.incrementTime(n.duration),this.visitStyle(a,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var a=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(a):n.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,a=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach(function(e){var n=e.offset||0;i.forwardTime(n*a),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(r+a),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,a=e.options||{},i=a.delay?D(a.delay):0;i&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ve);var o=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(r,a){t.currentQueryIndex=a;var s=t.createSubContext(e.options,r);i&&s.delayNextStep(i),r===t.element&&(l=s.currentTimeline),X(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe();var u=s.currentTimeline.currentTime;o=Math.max(o,u)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,a=e.timings,i=Math.abs(a.duration),o=i*(t.currentQueryTotal-1),s=i*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;X(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},e}(),ve={},ke=function(){function e(e,t,n,r,a,i,o,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=a,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ve,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new we(this._driver,t,0),o.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,a=this.options;null!=r.duration&&(a.duration=D(r.duration)),null!=r.delay&&(a.delay=D(r.delay));var i=r.params;if(i){var o=a.params;o||(o=this.options.params={}),Object.keys(i).forEach(function(e){t&&o.hasOwnProperty(e)||(o[e]=K(i[e],o,n.errors))})}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var a=n||this.element,i=new e(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,r||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},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=ve,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},a=new _e(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(a),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,a,i,o){var s=[];if(a&&s.push(this.element),e.length>0){e=(e=e.replace(me,"."+this._enterClassName)).replace(ge,"."+this._leaveClassName);var l=1!=n,u=this._driver.query(this.element,e,l);0!==n&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),s.push.apply(s,Object(r.d)(u))}return i||0!=s.length||o.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),s},e}(),we=function(){function e(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=function(){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))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||a.AUTO_STYLE,t._currentKeyframe[e]=a.AUTO_STYLE}),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=a.AUTO_STYLE}):q(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=K(s[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:a.AUTO_STYLE),i._updateStyle(e,t)})},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){var r=t[n];e._currentKeyframe[n]=r}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],a=e._styleSummary[n];(!r||a.time>r.time)&&t._updateStyle(n,a.value)})},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var l=q(o,!0);Object.keys(l).forEach(function(e){var r=l[e];r==a["ɵPRE_STYLE"]?t.add(e):r==a.AUTO_STYLE&&n.add(e)}),r||(l.offset=s/e.duration),i.push(l)});var o=t.size?W(t.values()):[],s=n.size?W(n.values()):[];if(r){var l=i[0],u=R(l);l.offset=0,u.offset=1,i=[l,u]}return pe(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},e}(),_e=function(e){function t(t,n,r,a,i,o,s){void 0===s&&(s=!1);var l=e.call(this,t,n,o.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=a,l.postStyleProps=i,l._stretchStartingKeyframe=s,l.timings={duration:o.duration,delay:o.delay,easing:o.easing},l}return Object(r.b)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,a=t.easing;if(this._stretchStartingKeyframe&&n){var i=[],o=r+n,s=n/o,l=q(e[0],!1);l.offset=0,i.push(l);var u=q(e[0],!1);u.offset=je(s),i.push(u);for(var c=e.length-1,d=1;d<=c;d++){var h=q(e[d],!1),p=n+h.offset*r;h.offset=je(p/o),i.push(h)}r=o,n=0,a="",e=i}return pe(this.element,e,this.preStyleProps,this.postStyleProps,r,n,a,!0)},t}(we);function je(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var xe=function(){function e(e,t){this._driver=e;var n=[],r=se(e,t,n);if(n.length){var a="animation validation failed:\n"+n.join("\n");throw new Error(a)}this._animationAst=r}return e.prototype.buildTimelines=function(e,t,n,r,a){var i=Array.isArray(t)?P(t):t,o=Array.isArray(n)?P(n):n,s=[];a=a||new fe;var l=ye(this._driver,e,this._animationAst,"ng-enter","ng-leave",i,o,r,a,s);if(s.length){var u="animation building failed:\n"+s.join("\n");throw new Error(u)}return l},e}(),Ee=function(){return function(){}}(),Ce=function(){function e(){}return e.prototype.normalizePropertyName=function(e,t){return e},e.prototype.normalizeStyleValue=function(e,t,n,r){return n},e}(),Se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t.prototype.normalizePropertyName=function(e,t){return Q(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var a="",i=n.toString().trim();if(Te[t]&&0!==n&&"0"!==n)if("number"==typeof n)a="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return i+a},t}(Ee),Te=function(e){var t={};return e.forEach(function(e){return t[e]=!0}),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")); /** * @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 ze(e,t,n,r,a,i,o,s,l,u,c,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}var Ae={},Ie=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,a){return e.some(function(e){return e(t,n,r,a)})}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],a=this._stateStyles[e],i=r?r.buildStyles(t,n):{};return a?a.buildStyles(t,n):i},e.prototype.build=function(e,t,n,a,i,o,s,l,u,c){var d=[],p=this.ast.options&&this.ast.options.params||Ae,f=s&&s.params||Ae,m=this.buildStyles(n,f,d),g=l&&l.params||Ae,y=this.buildStyles(a,g,d),b=new Set,v=new Map,k=new Map,w="void"===a,_={params:Object(r.a)({},p,g)},j=c?[]:ye(e,t,this.ast.animation,i,o,m,y,_,u,d),x=0;if(j.forEach(function(e){x=Math.max(e.duration+e.delay,x)}),d.length)return ze(t,this._triggerName,n,a,w,m,y,[],[],v,k,x,d);j.forEach(function(e){var n=e.element,r=h(v,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var a=h(k,n,{});e.postStyleProps.forEach(function(e){return a[e]=!0}),n!==t&&b.add(n)});var E=W(b.values());return ze(t,this._triggerName,n,a,w,m,y,j,E,v,k,x)},e}();var De=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=R(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var a=e;Object.keys(a).forEach(function(e){var i=a[e];i.length>1&&(i=K(i,r,t)),n[e]=i})}}),n},e}();var Oe=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(function(e){var t=e.options&&e.options.params||{};n.states[e.name]=new De(e.style,t)}),Ne(this.states,"true","1"),Ne(this.states,"false","0"),t.transitions.forEach(function(t){n.transitionFactories.push(new Ie(e,t,n.states))}),this.fallbackTransition=function(e,t){return new Ie(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},t)}(e,this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find(function(a){return a.match(e,t,n,r)})||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function Ne(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[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 */var Re=new fe,Pe=function(){function e(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=se(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,a=l(this._driver,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,a,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var i,o=[],l=this._animations[e],u=new Map;if(l?(i=ye(this._driver,t,l,"ng-enter","ng-leave",{},{},n,Re,o)).forEach(function(e){var t=h(u,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));u.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,a.AUTO_STYLE)})});var c=s(i.map(function(e){var t=u.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(function(){return r.destroy(e)}),this.players.push(c),c},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var a=d(t,"","","");return u(this._getPlayer(e),n,a,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var a=this._getPlayer(e);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else{var i=r[0]||{};this.create(e,t,i)}else this.register(e,r[0])},e}(),qe=[],Me={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Be={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Le="__ng_removed",Fe=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=function(e){return null!=e?e:null}(r),n){var a=R(e);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}},e}(),Ue=new Fe("void"),Ve=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ze(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var a=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if(!function(e){return"start"==e||"done"==e}(n))throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var i=h(this._elementListeners,e,[]),o={name:t,phase:n,callback:r};i.push(o);var s=h(this._engine.statesByElement,e,{});return s.hasOwnProperty(t)||(Ze(e,"ng-trigger"),Ze(e,"ng-trigger-"+t),s[t]=Ue),function(){a._engine.afterFlush(function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a._triggers[t]||delete s[t]})}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var a=this;void 0===r&&(r=!0);var i=this._getTrigger(t),o=new Ke(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Ze(e,"ng-trigger"),Ze(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new Fe(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[t]=u,l||(l=Ue),"void"===u.value||l.value!==u.value){var c=h(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==a.id&&e.triggerName==t&&e.queued&&e.destroy()});var d=i.matchTransition(l.value,u.value,e,u.params),p=!1;if(!d){if(!r)return;d=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:o,isFallbackTransition:p}),p||(Ze(e,"ng-animate-queued"),o.onStart(function(){Xe(e,"ng-animate-queued")})),o.onDone(function(){var t=a.players.indexOf(o);t>=0&&a.players.splice(t,1);var n=a._engine.playersByElement.get(e);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}}),this.players.push(o),c.push(o),o}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var a=0;a=0){for(var r=!1,a=n;a>=0;a--){var i=this._namespaceList[a];if(this.driver.containsElement(i.hostElement,t)){this._namespaceList.splice(a+1,0,e),r=!0;break}}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),a=0;a=0&&this.collectedLeaveElements.splice(i,1)}if(e){var o=this._fetchNamespace(e);o&&o.insertNode(t,n)}r&&this.collectEnterElement(t)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ze(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Xe(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n){if(We(t)){var r=e?this._fetchNamespace(e):null;r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n)}else this._onRemovalComplete(t,n)},e.prototype.markElementAsRemoved=function(e,t,n,r){this.collectedLeaveElements.push(t),t[Le]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,r,a){return We(t)?this._fetchNamespace(e).listen(t,n,r,a):function(){}},e.prototype._buildInstruction=function(e,t,n,r,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,a)},e.prototype.destroyInnerAnimations=function(e){var t=this,n=this.driver.query(e,A,!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,I,!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})},e.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})},e.prototype.whenRenderingDone=function(){var e=this;return new Promise(function(t){if(e.players.length)return s(e.players).onDone(function(){return t()});t()})},e.prototype.processLeaveNode=function(e){var t=this,n=e[Le];if(n&&n.setForRemoval){if(e[Le]=Me,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(n){t.markElementAsDisabled(e,!1)})},e.prototype.flush=function(e){var t=this;void 0===e&&(e=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;T--){this._namespaceList[T].drainQueuedTransitions(t).forEach(function(e){var t=e.player,r=e.element;if(C.push(t),n.collectedEnterElements.length){var a=r[Le];if(a&&a.setForMove)return void t.destroy()}var s=!m||!n.driver.containsElement(m,r),l=x.get(r),f=b.get(r),g=n._buildInstruction(e,i,f,l,s);if(g.errors&&g.errors.length)S.push(g);else{if(s)return t.onStart(function(){return F(r,g.fromStyles)}),t.onDestroy(function(){return L(r,g.toStyles)}),void o.push(t);if(e.isFallbackTransition)return t.onStart(function(){return F(r,g.fromStyles)}),t.onDestroy(function(){return L(r,g.toStyles)}),void o.push(t);g.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(r,g.timelines);var y={instruction:g,player:t,element:r};u.push(y),g.queriedElements.forEach(function(e){return h(c,e,[]).push(t)}),g.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=d.get(t);r||d.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),g.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=p.get(t);r||p.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}})}if(S.length){var z=[];S.forEach(function(e){z.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return z.push("- "+e+"\n")})}),C.forEach(function(e){return e.destroy()}),this.reportError(z)}var A=new Map,D=new Map;u.forEach(function(e){var t=e.element;i.has(t)&&(D.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,A))}),o.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){h(A,t,[]).push(e),e.destroy()})});var O=k.filter(function(e){return et(e,d,p)}),N=new Map;Qe(N,this.driver,_,p,a.AUTO_STYLE).forEach(function(e){et(e,d,p)&&O.push(e)});var R=new Map;y.forEach(function(e,t){Qe(R,n.driver,new Set(e),d,a["ɵPRE_STYLE"])}),O.forEach(function(e){var t=N.get(e),n=R.get(e);N.set(e,Object(r.a)({},t,n))});var P=[],q=[],M={};u.forEach(function(e){var t=e.element,r=e.player,a=e.instruction;if(i.has(t)){if(f.has(t))return r.onDestroy(function(){return L(t,a.toStyles)}),r.disabled=!0,r.overrideTotalTime(a.totalTime),void o.push(r);var u=M;if(D.size>1){for(var c=t,d=[];c=c.parentNode;){var h=D.get(c);if(h){u=h;break}d.push(c)}d.forEach(function(e){return D.set(e,u)})}var p=n._buildAnimation(r.namespaceId,a,A,l,R,N);if(r.setRealPlayer(p),u===M)P.push(r);else{var m=n.playersByElement.get(u);m&&m.length&&(r.parentPlayer=s(m)),o.push(r)}}else F(t,a.fromStyles),r.onDestroy(function(){return L(t,a.toStyles)}),q.push(r),f.has(t)&&o.push(r)}),q.forEach(function(e){var t=l.get(e.element);if(t&&t.length){var n=s(t);e.setRealPlayer(n)}}),o.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var B=0;B0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new a.NoopAnimationPlayer(e.duration,e.delay)},e}(),Ke=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new a.NoopAnimationPlayer,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return u(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})},e.prototype._queueEvent=function(e,t){h(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function We(e){return e&&1===e.nodeType}function Ge(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Qe(e,t,n,r,a){var i=[];n.forEach(function(e){return i.push(Ge(e))});var o=[];r.forEach(function(n,r){var i={};n.forEach(function(e){var n=i[e]=t.computeStyle(r,e,a);n&&0!=n.length||(r[Le]=Be,o.push(r))}),e.set(r,i)});var s=0;return n.forEach(function(e){return Ge(e,i[s++])}),o}function $e(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=1,a=new Set(t),i=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return r;var o=i.get(t);if(o)return o;var s=t.parentNode;return o=n.has(s)?s:a.has(s)?r:e(s),i.set(t,o),o}(e);t!==r&&n.get(t).push(e)}),n}var Ye="$$classes";function Ze(e,t){if(e.classList)e.classList.add(t);else{var n=e[Ye];n||(n=e[Ye]={}),n[t]=!0}}function Xe(e,t){if(e.classList)e.classList.remove(t);else{var n=e[Ye];n&&delete n[t]}}function Je(e,t,n){s(n).onDone(function(){return e.processLeaveNode(t)})}function et(e,t,n){var r=n.get(e);if(!r)return!1;var a=t.get(e);return a?r.forEach(function(e){return a.add(e)}):t.set(e,r),n.delete(e),!0}var tt=function(){function e(e,t,n){var r=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new He(e,t,n),this._timelineEngine=new Pe(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,a){var i=e+"-"+r,o=this._triggerCache[i];if(!o){var s=[],l=se(this._driver,a,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));o=function(e,t){return new Oe(e,t)}(r,l),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,r,o)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n){this._transitionEngine.removeNode(e,t,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,a){if("@"==n.charAt(0)){var i=Object(r.c)(p(n),2),o=i[0],s=i[1],l=a;this._timelineEngine.command(o,t,s,l)}else this._transitionEngine.trigger(e,t,n,a)},e.prototype.listen=function(e,t,n,a,i){if("@"==n.charAt(0)){var o=Object(r.c)(p(n),2),s=o[0],l=o[1];return this._timelineEngine.listen(s,t,l,i)}return this._transitionEngine.listen(e,t,n,a,i)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}(),nt="animation",rt="animationend",at=function(){function e(e,t,n,r,a,i,o){var s=this;this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=a,this._fillMode=i,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return s._handleCallback(e)}}return e.prototype.apply=function(){!function(e,t){var n=ct(e,"").trim(),r=0;n.length&&(r=function(e,t){for(var n=0,r=0;r=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),lt(this._element,this._eventFn,!0))},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){var n=ct(e,"").split(","),r=st(n,t);if(r>=0){n.splice(r,1);var a=n.join(",");ut(e,"",a)}}(this._element,this._name))},e}(); /** * @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 it(e,t,n){ut(e,"PlayState",n,ot(e,t))}function ot(e,t){var n=ct(e,"");return n.indexOf(",")>0?st(n.split(","),t):st([n],t)}function st(e,t){for(var n=0;n=0)return n;return-1}function lt(e,t,n){n?e.removeEventListener(rt,t):e.addEventListener(rt,t)}function ut(e,t,n,r){var a=nt+t;if(null!=r){var i=e.style[a];if(i.length){var o=i.split(",");o[r]=n,n=o.join(",")}}e.style[a]=n}function ct(e,t){return e.style[nt+t]}var dt="linear",ht=function(){function e(e,t,n,r,a,i,o){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=a,this._finalStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||dt,this.totalTime=r+a,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){if(!(this._state>=1)){this._state=1;this.element;this._styler.apply(),this._delay&&this._styler.pause()}},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new at(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:J(e.element,r))})}this.currentSnapshot=t},e}(),pt=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._startingStyles={},r.__initialized=!1,r._styles=C(n),r}return Object(r.b)(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,e.prototype.destroy.call(this))},t}(a.NoopAnimationPlayer),ft=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return _(e)},e.prototype.matchesElement=function(e,t){return j(e,t)},e.prototype.containsElement=function(e,t){return x(e,t)},e.prototype.query=function(e,t,n){return E(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){var r="@keyframes "+t+" {\n",a="";(n=n.map(function(e){return C(e)})).forEach(function(e){a=" ";var t=parseFloat(e.offset);r+=""+a+100*t+"% {\n",a+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=a+"animation-timing-function: "+n+";\n"));default:return void(r+=""+a+t+": "+n+";\n")}}),r+=a+"}\n"}),r+="}\n";var i=document.createElement("style");return i.innerHTML=r,i},e.prototype.animate=function(e,t,n,r,a,i,o){void 0===i&&(i=[]),o&&this._notifyFaultyScrubber();var s=i.filter(function(e){return e instanceof ht}),l={};Y(n,r)&&s.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var u=function(e){var t={};if(e){var n=Array.isArray(e)?e:[e];n.forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})})}return t}(t=Z(e,t,l));if(0==n)return new pt(e,u);var c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);var h=new ht(e,t,c,n,r,a,u);return h.onDestroy(function(){return function(e){e.parentNode.removeChild(e)}(d)}),h},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}();var mt=function(){function e(e,t,n){this.element=e,this.keyframes=t,this.options=n,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}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:J(e.element,n))}),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),gt=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(bt().toString()),this._cssKeyframesDriver=new ft}return e.prototype.validateStyleProperty=function(e){return _(e)},e.prototype.matchesElement=function(e,t){return j(e,t)},e.prototype.containsElement=function(e,t){return x(e,t)},e.prototype.query=function(e,t,n){return E(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,a,i,o){if(void 0===i&&(i=[]),!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,a,i);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};a&&(s.easing=a);var l={},u=i.filter(function(e){return e instanceof mt});return Y(n,r)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})}),t=Z(e,t=t.map(function(e){return q(e,!1)}),l),new mt(e,t,s)},e}();function yt(){return"function"==typeof bt()}function bt(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}} /** * @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 */ /** * @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 */}.call(this,n(118))},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(193),a=n(138);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t,n){var r=n(59),a=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?a(e+t,0):i(e,t)}},function(e,t,n){var r=n(193),a=n(138).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){var r=n(22)("unscopables"),a=Array.prototype;void 0==a[r]&&n(46)(a,r,{}),e.exports=function(e){a[r][e]=!0}},function(e,t,n){"use strict";var r=n(15),a=n(23),i=n(24),o=n(22)("species");e.exports=function(e){var t=r[e];i&&t&&!t[o]&&a.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(52),a=n(202),i=n(148),o=n(10),s=n(26),l=n(113),u={},c={};(t=e.exports=function(e,t,n,d,h){var p,f,m,g,y=h?function(){return e}:l(e),b=r(n,d,t?2:1),v=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(p=s(e.length);p>v;v++)if((g=t?b(o(f=e[v])[0],f[1]):b(e[v]))===u||g===c)return g}else for(m=y.call(e);!(f=m.next()).done;)if((g=a(m,b,f.value,t))===u||g===c)return g}).BREAK=u,t.RETURN=c},function(e,t,n){var r=n(43);e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=!1,a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},function(e,t,n){var r=n(23).f,a=n(42),i=n(22)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},,,function(e,t,n){"use strict";var r=n(31),a=n(124),i=n(189);var o=n(108),s=n(229),l=n(85);n.d(t,"a",function(){return u});var u=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o=this.operator,s=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[a.a])return e[a.a]()}return e||t||n?new r.a(e,t,n):new r.a(i.a)}(e,t,n);if(o?o.call(s,this.source):s._addParentTeardownLogic(this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=c(t))(function(t,r){var a;a=n.subscribe(function(t){try{e(t)}catch(e){r(e),a&&a.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[o.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t * @license MIT */ var r=n(741),a=n(742),i=n(514);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(e).length;default:if(r)return L(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,a);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,a){var i,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a){var c=-1;for(i=n;is&&(n=s-l),i=n;i>=0;i--){for(var d=!0,h=0;ha&&(r=a):r=a;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o>8,a=n%256,i.push(a),i.push(r);return i}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],a=t;a239?4:u>223?3:u>191?2:1;if(a+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[a+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[a+1],o=e[a+2],128==(192&i)&&128==(192&o)&&(l=(15&u)<<12|(63&i)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[a+1],o=e[a+2],s=e[a+3],128==(192&i)&&128==(192&o)&&128==(192&s)&&(l=(15&u)<<18|(63&i)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),a+=d}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return z(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,r,a){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,a>>>=0,this===e)return 0;for(var i=a-r,o=n-t,s=Math.min(i,o),u=this.slice(r,a),c=e.slice(t,n),d=0;da)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return v(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function S(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;ar)&&(n=r);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,a,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function O(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a>>8*(r?a:1-a)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a>>8*(r?a:3-a)&255}function R(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,r,i){return i||R(e,0,n,4),a.write(e,t,n,r,23,4),n+4}function q(e,t,n,r,i){return i||R(e,0,n,8),a.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(a*=256);)r+=this[e+--t]*a;return r},l.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=this[e],a=1,i=0;++i=(a*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=t,a=1,i=this[e+--r];r>0&&(a*=256);)i+=this[e+--r]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),a.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),a.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),a.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),a.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+a]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):O(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):O(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);D(this,e,t,n,a-1,-a)}var i=0,o=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);D(this,e,t,n,a-1,-a)}var i=n-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):O(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):O(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return q(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return q(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--a)e[a+t]=this[a+n];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(a=0;a>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function F(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(M,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,r){for(var a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}}).call(this,n(84))},function(e,t,n){"use strict";n.r(t),n.d(t,"ToasterContainerComponent",function(){return s});var r=n(0),a=n(14),i=n(260),o=n(13),s=function(){function e(e,t,n){this.ref=t,this.ngZone=n,this.timeoutIds=new Map,this.toasts=[],this.toasterService=e}return e.prototype.ngOnInit=function(){this.registerSubscribers(),this.isNullOrUndefined(this.toasterconfig)&&(this.toasterconfig=new i.a)},e.prototype.click=function(e,t){if(this.toasterconfig.tapToDismiss||e.showCloseButton&&t){var n=!0;if(e.clickHandler){if("function"!=typeof e.clickHandler)return console.log("The toast click handler is not a callable function."),!1;n=e.clickHandler(e,t)}n&&this.removeToast(e)}},e.prototype.childClick=function(e){this.click(e.value.toast,e.value.isCloseButton)},e.prototype.stopTimer=function(e){if(this.toasterconfig.mouseoverTimerStop){var t=this.toastIdOrDefault(e),n=this.timeoutIds.get(t);n&&(window.clearTimeout(n),this.timeoutIds.delete(t))}},e.prototype.restartTimer=function(e){var t=this.timeoutIds.get(this.toastIdOrDefault(e));this.toasterconfig.mouseoverTimerStop?t||this.configureTimer(e):0!==e.timeout&&!t&&this.toasterconfig.timeout&&this.removeToast(e)},e.prototype.registerSubscribers=function(){var e=this;this.addToastSubscriber=this.toasterService.addToast.subscribe(function(t){e.addToast(t)}),this.clearToastsSubscriber=this.toasterService.clearToasts.subscribe(function(t){e.clearToasts(t)})},e.prototype.addToast=function(e){if(!e.toastContainerId||!this.toasterconfig.toastContainerId||e.toastContainerId===this.toasterconfig.toastContainerId){if(e.type||(e.type=this.toasterconfig.defaultTypeClass),this.toasterconfig.preventDuplicates&&this.toasts.length>0){if(e.toastId&&this.toasts.some(function(t){return t.toastId===e.toastId}))return;if(this.toasts.some(function(t){return t.body===e.body}))return}this.isNullOrUndefined(e.showCloseButton)&&("object"==typeof this.toasterconfig.showCloseButton?e.showCloseButton=this.toasterconfig.showCloseButton[e.type]:"boolean"==typeof this.toasterconfig.showCloseButton&&(e.showCloseButton=this.toasterconfig.showCloseButton)),e.showCloseButton&&(e.closeHtml=e.closeHtml||this.toasterconfig.closeHtml),e.bodyOutputType=e.bodyOutputType||this.toasterconfig.bodyOutputType,this.configureTimer(e),this.toasterconfig.newestOnTop?(this.toasts.unshift(e),this.isLimitExceeded()&&this.toasts.pop()):(this.toasts.push(e),this.isLimitExceeded()&&this.toasts.shift()),e.onShowCallback&&e.onShowCallback(e)}},e.prototype.configureTimer=function(e){var t=this,n="number"==typeof e.timeout?e.timeout:this.toasterconfig.timeout;"object"==typeof n&&(n=n[e.type]),n>0&&this.ngZone.runOutsideAngular(function(){var r=window.setTimeout(function(){t.ngZone.run(function(){t.ref.markForCheck(),t.removeToast(e)})},n);t.timeoutIds.set(t.toastIdOrDefault(e),r)})},e.prototype.isLimitExceeded=function(){return this.toasterconfig.limit&&this.toasts.length>this.toasterconfig.limit},e.prototype.removeToast=function(e){var t=this.toasts.indexOf(e);if(!(t<0)){var n=this.toastIdOrDefault(e),r=this.timeoutIds.get(n);this.toasts.splice(t,1),r&&(window.clearTimeout(r),this.timeoutIds.delete(n)),e.onHideCallback&&e.onHideCallback(e),this.toasterService._removeToastSubject.next({toastId:n,toastContainerId:e.toastContainerId})}},e.prototype.removeAllToasts=function(){for(var e=this.toasts.length-1;e>=0;e--)this.removeToast(this.toasts[e])},e.prototype.clearToasts=function(e){var t=e.toastId,n=e.toastContainerId;this.isNullOrUndefined(n)?this.clearToastsAction(t):n===this.toasterconfig.toastContainerId&&this.clearToastsAction(t)},e.prototype.clearToastsAction=function(e){e?this.removeToast(this.toasts.filter(function(t){return t.toastId===e})[0]):this.removeAllToasts()},e.prototype.toastIdOrDefault=function(e){return e.toastId||""},e.prototype.isNullOrUndefined=function(e){return null===e||void 0===e},e.prototype.ngOnDestroy=function(){this.addToastSubscriber&&this.addToastSubscriber.unsubscribe(),this.clearToastsSubscriber&&this.clearToastsSubscriber.unsubscribe()},e.decorators=[{type:r.Component,args:[{selector:"toaster-container",template:'\n
\n
\n
\n
\n ',animations:[Object(a.trigger)("toastState",[Object(a.state)("flyRight, flyLeft, slideDown, slideUp, fade",Object(a.style)({opacity:1,transform:"translate(0,0)"})),Object(a.transition)("void => flyRight",[Object(a.style)({opacity:0,transform:"translateX(100%)"}),Object(a.animate)("0.25s ease-in")]),Object(a.transition)("flyRight => void",[Object(a.animate)("0.25s 10ms ease-out",Object(a.style)({opacity:0,transform:"translateX(100%)"}))]),Object(a.transition)("void => flyLeft",[Object(a.style)({opacity:0,transform:"translateX(-100%)"}),Object(a.animate)("0.25s ease-in")]),Object(a.transition)("flyLeft => void",[Object(a.animate)("0.25s 10ms ease-out",Object(a.style)({opacity:0,transform:"translateX(-100%)"}))]),Object(a.transition)("void => slideDown",[Object(a.style)({opacity:0,transform:"translateY(-200%)"}),Object(a.animate)("0.3s ease-in")]),Object(a.transition)("slideDown => void",[Object(a.animate)("0.3s 10ms ease-out",Object(a.style)({opacity:0,transform:"translateY(200%)"}))]),Object(a.transition)("void => slideUp",[Object(a.style)({opacity:0,transform:"translateY(200%)"}),Object(a.animate)("0.3s ease-in")]),Object(a.transition)("slideUp => void",[Object(a.animate)("0.3s 10ms ease-out",Object(a.style)({opacity:0,transform:"translateY(-200%)"}))]),Object(a.transition)("void => fade",[Object(a.style)({opacity:0}),Object(a.animate)("0.3s ease-in")]),Object(a.transition)("fade => void",[Object(a.animate)("0.3s 10ms ease-out",Object(a.style)({opacity:0}))])])]}]}],e.ctorParameters=function(){return[{type:o.ToasterService},{type:r.ChangeDetectorRef},{type:r.NgZone}]},e.propDecorators={toasterconfig:[{type:r.Input}]},e}()},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return i});var r=n(91),a=new r.a(function(e){return e.complete()});function i(e){return e?function(e){return new r.a(function(t){return e.schedule(function(){return t.complete()})})}(e):a}},function(e,t,n){"use strict";function r(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(t,"a",function(){return a}),r.prototype=Object.create(Error.prototype);var a=r},function(e,t,n){var r=n(45),a=n(15),i=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(72)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(92),a=n(22)("iterator"),i=n(87);e.exports=n(45).getIteratorMethod=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(22)("iterator"),a=!1;try{var i=[7][r]();i.return=function(){a=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var i=[7],o=i[r]();o.next=function(){return{done:n=!0}},i[r]=function(){return o},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(46),a=n(43),i=n(16),o=n(63),s=n(22);e.exports=function(e,t,n){var l=s(e),u=n(o,l,""[e]),c=u[0],d=u[1];i(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(a(String.prototype,e,c),r(RegExp.prototype,l,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},function(e,t,n){"use strict";var r=n(15),a=n(2),i=n(43),o=n(83),s=n(67),l=n(82),u=n(81),c=n(17),d=n(16),h=n(114),p=n(86),f=n(142);e.exports=function(e,t,n,m,g,y){var b=r[e],v=b,k=g?"set":"add",w=v&&v.prototype,_={},j=function(e){var t=w[e];i(w,e,"delete"==e?function(e){return!(y&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof v&&(y||w.forEach&&!d(function(){(new v).entries().next()}))){var x=new v,E=x[k](y?{}:-0,1)!=x,C=d(function(){x.has(1)}),S=h(function(e){new v(e)}),T=!y&&d(function(){for(var e=new v,t=5;t--;)e[k](t,t);return!e.has(-0)});S||((v=t(function(t,n){u(t,v,e);var r=f(new b,t,v);return void 0!=n&&l(n,g,r[k],r),r})).prototype=w,w.constructor=v),(C||T)&&(j("delete"),j("has"),g&&j("get")),(T||E)&&j(k),y&&w.clear&&delete w.clear}else v=m.getConstructor(t,e,g,k),o(v.prototype,n),s.NEED=!0;return p(v,e),_[e]=v,a(a.G+a.W+a.F*(v!=b),_),y||m.setStrong(v,e,g),v}},function(e,t,n){for(var r,a=n(15),i=n(46),o=n(75),s=o("typed_array"),l=o("view"),u=!(!a.ArrayBuffer||!a.DataView),c=u,d=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=a[h[d++]])?(i(r.prototype,s,!0),i(r.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},function(e,t){var n,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,u=[],c=!1,d=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d1)for(var n=1;nt){var r=new Error("Too few bytes to parse DER.");throw r.available=e.length(),r.remaining=t,r.requested=n,r}}a.Class={UNIVERSAL:0,APPLICATION:64,CONTEXT_SPECIFIC:128,PRIVATE:192},a.Type={NONE:0,BOOLEAN:1,INTEGER:2,BITSTRING:3,OCTETSTRING:4,NULL:5,OID:6,ODESC:7,EXTERNAL:8,REAL:9,ENUMERATED:10,EMBEDDED:11,UTF8:12,ROID:13,SEQUENCE:16,SET:17,PRINTABLESTRING:19,IA5STRING:22,UTCTIME:23,GENERALIZEDTIME:24,BMPSTRING:30},a.create=function(e,t,n,i,o){if(r.util.isArray(i)){for(var s=[],l=0;ln){if(s.strict){var p=new Error("Too few bytes to read ASN.1 value.");throw p.available=t.length(),p.remaining=n,p.requested=h,p}h=n}var f;var m;var g=32==(32&u);if(g)if(f=[],void 0===h)for(;;){if(i(t,n,2),t.bytes(2)===String.fromCharCode(0,0)){t.getBytes(2),n-=2;break}l=t.length(),f.push(e(t,n,r+1,s)),n-=l-t.length()}else for(;h>0;)l=t.length(),f.push(e(t,h,r+1,s)),n-=l-t.length(),h-=l-t.length();void 0===f&&c===a.Class.UNIVERSAL&&d===a.Type.BITSTRING&&(m=t.bytes(h));if(void 0===f&&s.decodeBitStrings&&c===a.Class.UNIVERSAL&&d===a.Type.BITSTRING&&h>1){var y=t.read,b=n,v=0;if(d===a.Type.BITSTRING&&(i(t,n,1),v=t.getByte(),n--),0===v)try{l=t.length();var k={verbose:s.verbose,strict:!0,decodeBitStrings:!0},w=e(t,n,r+1,k),_=l-t.length();n-=_,d==a.Type.BITSTRING&&_++;var j=w.tagClass;_!==h||j!==a.Class.UNIVERSAL&&j!==a.Class.CONTEXT_SPECIFIC||(f=[w])}catch(e){}void 0===f&&(t.read=y,n=b)}if(void 0===f){if(void 0===h){if(s.strict)throw new Error("Non-constructed ASN.1 object of indefinite length.");h=n}if(d===a.Type.BMPSTRING)for(f="";h>0;h-=2)i(t,n,2),f+=String.fromCharCode(t.getInt16()),n-=2;else f=t.getBytes(h)}var x=void 0===m?null:{bitStringContents:m};return a.create(c,d,g,f,x)}(e,e.length(),0,t)},a.toDer=function(e){var t=r.util.createBuffer(),n=e.tagClass|e.type,i=r.util.createBuffer(),o=!1;if("bitStringContents"in e&&(o=!0,e.original&&(o=a.equals(e,e.original))),o)i.putBytes(e.bitStringContents);else if(e.composed){e.constructed?n|=32:i.putByte(0);for(var s=0;s1&&(0===e.value.charCodeAt(0)&&0==(128&e.value.charCodeAt(1))||255===e.value.charCodeAt(0)&&128==(128&e.value.charCodeAt(1)))?i.putBytes(e.value.substr(1)):i.putBytes(e.value);if(t.putByte(n),i.length()<=127)t.putByte(127&i.length());else{var l=i.length(),u="";do{u+=String.fromCharCode(255&l),l>>>=8}while(l>0);t.putByte(128|u.length);for(s=u.length-1;s>=0;--s)t.putByte(u.charCodeAt(s))}return t.putBuffer(i),t},a.oidToDer=function(e){var t,n,a,i,o=e.split("."),s=r.util.createBuffer();s.putByte(40*parseInt(o[0],10)+parseInt(o[1],10));for(var l=2;l>>=7,t||(i|=128),n.push(i),t=!1}while(a>0);for(var u=n.length-1;u>=0;--u)s.putByte(n[u])}return s},a.derToOid=function(e){var t;"string"==typeof e&&(e=r.util.createBuffer(e));var n=e.getByte();t=Math.floor(n/40)+"."+n%40;for(var a=0;e.length()>0;)a<<=7,128&(n=e.getByte())?a+=127&n:(t+="."+(a+n),a=0);return t},a.utcTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,2),10);n=n>=50?1900+n:2e3+n;var r=parseInt(e.substr(2,2),10)-1,a=parseInt(e.substr(4,2),10),i=parseInt(e.substr(6,2),10),o=parseInt(e.substr(8,2),10),s=0;if(e.length>11){var l=e.charAt(10),u=10;"+"!==l&&"-"!==l&&(s=parseInt(e.substr(10,2),10),u+=2)}if(t.setUTCFullYear(n,r,a),t.setUTCHours(i,o,s,0),u&&("+"===(l=e.charAt(u))||"-"===l)){var c=60*parseInt(e.substr(u+1,2),10)+parseInt(e.substr(u+4,2),10);c*=6e4,"+"===l?t.setTime(+t-c):t.setTime(+t+c)}return t},a.generalizedTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,4),10),r=parseInt(e.substr(4,2),10)-1,a=parseInt(e.substr(6,2),10),i=parseInt(e.substr(8,2),10),o=parseInt(e.substr(10,2),10),s=parseInt(e.substr(12,2),10),l=0,u=0,c=!1;"Z"===e.charAt(e.length-1)&&(c=!0);var d=e.length-5,h=e.charAt(d);"+"!==h&&"-"!==h||(u=60*parseInt(e.substr(d+1,2),10)+parseInt(e.substr(d+4,2),10),u*=6e4,"+"===h&&(u*=-1),c=!0);return"."===e.charAt(14)&&(l=1e3*parseFloat(e.substr(14),10)),c?(t.setUTCFullYear(n,r,a),t.setUTCHours(i,o,s,l),t.setTime(+t+u)):(t.setFullYear(n,r,a),t.setHours(i,o,s,l)),t},a.dateToUtcTime=function(e){if("string"==typeof e)return e;var t="",n=[];n.push((""+e.getUTCFullYear()).substr(2)),n.push(""+(e.getUTCMonth()+1)),n.push(""+e.getUTCDate()),n.push(""+e.getUTCHours()),n.push(""+e.getUTCMinutes()),n.push(""+e.getUTCSeconds());for(var r=0;r=-128&&e<128)return t.putSignedInt(e,8);if(e>=-32768&&e<32768)return t.putSignedInt(e,16);if(e>=-8388608&&e<8388608)return t.putSignedInt(e,24);if(e>=-2147483648&&e<2147483648)return t.putSignedInt(e,32);var n=new Error("Integer too large; max is 32-bits.");throw n.integer=e,n},a.derToInteger=function(e){"string"==typeof e&&(e=r.util.createBuffer(e));var t=8*e.length();if(t>32)throw new Error("Integer too large; max is 32-bits.");return e.getSignedInt(t)},a.validate=function(e,t,n,i){var o=!1;if(e.tagClass!==t.tagClass&&void 0!==t.tagClass||e.type!==t.type&&void 0!==t.type)i&&(e.tagClass!==t.tagClass&&i.push("["+t.name+'] Expected tag class "'+t.tagClass+'", got "'+e.tagClass+'"'),e.type!==t.type&&i.push("["+t.name+'] Expected type "'+t.type+'", got "'+e.type+'"'));else if(e.constructed===t.constructed||void 0===t.constructed){if(o=!0,t.value&&r.util.isArray(t.value))for(var s=0,l=0;o&&l0&&(i+="\n");for(var o="",l=0;l1?i+="0x"+r.util.bytesToHex(e.value.slice(1)):i+="(none)",e.value.length>0){var h=e.value.charCodeAt(0);1==h?i+=" (1 unused bit shown)":h>1&&(i+=" ("+h+" unused bits shown)")}}else e.type===a.Type.OCTETSTRING?(s.test(e.value)||(i+="("+e.value+") "),i+="0x"+r.util.bytesToHex(e.value)):e.type===a.Type.UTF8?i+=r.util.decodeUtf8(e.value):e.type===a.Type.PRINTABLESTRING||e.type===a.Type.IA5String?i+=e.value:s.test(e.value)?i+="0x"+r.util.bytesToHex(e.value):0===e.value.length?i+="[null]":i+=e.value}return i}},function(e,t,n){var r=n(25);e.exports=r.md=r.md||{},r.md.algorithms=r.md.algorithms||{}},function(e,t,n){"use strict";function r(e){setTimeout(function(){throw e})}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("rxSubscriber"):"@@rxSubscriber"},function(e,t,n){var r=n(44),a=n(26),i=n(77);e.exports=function(e){return function(t,n,o){var s,l=r(t),u=a(l.length),c=i(o,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(56);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(72),a=n(2),i=n(43),o=n(46),s=n(87),l=n(145),u=n(86),c=n(48),d=n(22)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,f,m,g,y){l(n,t,f);var b,v,k,w=function(e){if(!h&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",j="values"==m,x=!1,E=e.prototype,C=E[d]||E["@@iterator"]||m&&E[m],S=C||w(m),T=m?j?w("entries"):S:void 0,z="Array"==t&&E.entries||C;if(z&&(k=c(z.call(new e)))!==Object.prototype&&k.next&&(u(k,_,!0),r||"function"==typeof k[d]||o(k,d,p)),j&&C&&"values"!==C.name&&(x=!0,S=function(){return C.call(this)}),r&&!y||!h&&!x&&E[d]||o(E,d,S),s[t]=S,s[_]=p,m)if(b={values:j?S:w("values"),keys:g?S:w("keys"),entries:T},y)for(v in b)v in E||i(E,v,b[v]);else a(a.P+a.F*(h||x),t,b);return b}},function(e,t,n){var r=n(17),a=n(56),i=n(22)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},function(e,t,n){"use strict";var r=n(10);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(10),a=n(36),i=n(22)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[i])?t:a(n)}},,,,function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},function(e,t,n){var r=n(17),a=n(15).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},function(e,t,n){var r=n(111)("keys"),a=n(75);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(15).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(17),a=n(10),i=function(e,t){if(a(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(52)(Function.call,n(50).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var r=n(17),a=n(140).set;e.exports=function(e,t,n){var i,o=t.constructor;return o!==n&&"function"==typeof o&&(i=o.prototype)!==n.prototype&&r(i)&&a&&a(e,i),e}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){"use strict";var r=n(68),a=n(71),i=n(86),o={};n(46)(o,n(22)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:a(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(128),a=n(63);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(a(e))}},function(e,t,n){var r=n(22)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(87),a=n(22)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},function(e,t,n){"use strict";var r=n(33),a=n(77),i=n(26);e.exports=function(e){for(var t=r(this),n=i(t.length),o=arguments.length,s=a(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,u=void 0===l?n:a(l,n);u>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(15),a=n(24),i=n(72),o=n(117),s=n(46),l=n(83),u=n(16),c=n(81),d=n(59),h=n(26),p=n(213),f=n(78).f,m=n(23).f,g=n(149),y=n(86),b="prototype",v="Wrong index!",k=r.ArrayBuffer,w=r.DataView,_=r.Math,j=r.RangeError,x=r.Infinity,E=k,C=_.abs,S=_.pow,T=_.floor,z=_.log,A=_.LN2,I=a?"_b":"buffer",D=a?"_l":"byteLength",O=a?"_o":"byteOffset";function N(e,t,n){var r,a,i,o=new Array(n),s=8*n-t-1,l=(1<>1,c=23===t?S(2,-24)-S(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for((e=C(e))!=e||e===x?(a=e!=e?1:0,r=l):(r=T(z(e)/A),e*(i=S(2,-r))<1&&(r--,i*=2),(e+=r+u>=1?c/i:c*S(2,1-u))*i>=2&&(r++,i/=2),r+u>=l?(a=0,r=l):r+u>=1?(a=(e*i-1)*S(2,t),r+=u):(a=e*S(2,u-1)*S(2,t),r=0));t>=8;o[d++]=255&a,a/=256,t-=8);for(r=r<0;o[d++]=255&r,r/=256,s-=8);return o[--d]|=128*h,o}function R(e,t,n){var r,a=8*n-t-1,i=(1<>1,s=a-7,l=n-1,u=e[l--],c=127&u;for(u>>=7;s>0;c=256*c+e[l],l--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===c)c=1-o;else{if(c===i)return r?NaN:u?-x:x;r+=S(2,t),c-=o}return(u?-1:1)*r*S(2,c-t)}function P(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function q(e){return[255&e]}function M(e){return[255&e,e>>8&255]}function B(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function L(e){return N(e,52,8)}function F(e){return N(e,23,4)}function U(e,t,n){m(e[b],t,{get:function(){return this[n]}})}function V(e,t,n,r){var a=p(+n);if(a+t>e[D])throw j(v);var i=e[I]._b,o=a+e[O],s=i.slice(o,o+t);return r?s:s.reverse()}function H(e,t,n,r,a,i){var o=p(+n);if(o+t>e[D])throw j(v);for(var s=e[I]._b,l=o+e[O],u=r(+a),c=0;cQ;)(K=G[Q++])in k||s(k,K,E[K]);i||(W.constructor=k)}var $=new w(new k(2)),Y=w[b].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(w[b],{setInt8:function(e,t){Y.call(this,e,t<<24>>24)},setUint8:function(e,t){Y.call(this,e,t<<24>>24)}},!0)}else k=function(e){c(this,k,"ArrayBuffer");var t=p(e);this._b=g.call(new Array(t),0),this[D]=t},w=function(e,t,n){c(this,w,"DataView"),c(e,k,"DataView");var r=e[D],a=d(t);if(a<0||a>r)throw j("Wrong offset!");if(a+(n=void 0===n?r-a:h(n))>r)throw j("Wrong length!");this[I]=e,this[O]=a,this[D]=n},a&&(U(k,"byteLength","_l"),U(w,"buffer","_b"),U(w,"byteLength","_l"),U(w,"byteOffset","_o")),l(w[b],{getInt8:function(e){return V(this,1,e)[0]<<24>>24},getUint8:function(e){return V(this,1,e)[0]},getInt16:function(e){var t=V(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=V(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return P(V(this,4,e,arguments[1]))},getUint32:function(e){return P(V(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return R(V(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return R(V(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){H(this,1,e,q,t)},setUint8:function(e,t){H(this,1,e,q,t)},setInt16:function(e,t){H(this,2,e,M,t,arguments[2])},setUint16:function(e,t){H(this,2,e,M,t,arguments[2])},setInt32:function(e,t){H(this,4,e,B,t,arguments[2])},setUint32:function(e,t){H(this,4,e,B,t,arguments[2])},setFloat32:function(e,t){H(this,4,e,F,t,arguments[2])},setFloat64:function(e,t){H(this,8,e,L,t,arguments[2])}});y(k,"ArrayBuffer"),y(w,"DataView"),s(w[b],o.VIEW,!0),t.ArrayBuffer=k,t.DataView=w},,,,,,,,,,function(e,t,n){var r=n(106),a=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return a(e,t,n)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=o),i(a,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return a(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=a(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";var r=n(255),a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var i=n(226);i.inherits=n(134);var o=n(618),s=n(489);i.inherits(d,o);for(var l=a(s.prototype),u=0;u>>=2;for(a=0;a>8^255&d^99,i[m]=d,o[d]=m,p=(h=e[d])<<24^d<<16^d<<8^d^h,f=((n=e[m])^(r=e[n])^(a=e[r]))<<24^(m^a)<<16^(m^r^a)<<8^m^n^a;for(var y=0;y<4;++y)l[y][m]=p,u[y][d]=f,p=p<<24|p>>>8,f=f<<24|f>>>8;0===m?m=g=1:(m=n^e[e[e[n^a]]],g^=e[e[g]])}}function p(e,t){for(var n,r=e.slice(0),a=1,o=r.length,l=d*(o+6+1),c=o;c>>16&255]<<24^i[n>>>8&255]<<16^i[255&n]<<8^i[n>>>24]^s[a]<<24,a++):o>6&&c%o==4&&(n=i[n>>>24]<<24^i[n>>>16&255]<<16^i[n>>>8&255]<<8^i[255&n]),r[c]=r[c-o]^n;if(t){for(var h,p=u[0],f=u[1],m=u[2],g=u[3],y=r.slice(0),b=(c=0,(l=r.length)-d);c>>24]]^f[i[h>>>16&255]]^m[i[h>>>8&255]]^g[i[255&h]];r=y}return r}function f(e,t,n,r){var a,s,c,d,h,p,f,m,g,y,b,v,k=e.length/4-1;r?(a=u[0],s=u[1],c=u[2],d=u[3],h=o):(a=l[0],s=l[1],c=l[2],d=l[3],h=i),p=t[0]^e[0],f=t[r?3:1]^e[1],m=t[2]^e[2],g=t[r?1:3]^e[3];for(var w=3,_=1;_>>24]^s[f>>>16&255]^c[m>>>8&255]^d[255&g]^e[++w],b=a[f>>>24]^s[m>>>16&255]^c[g>>>8&255]^d[255&p]^e[++w],v=a[m>>>24]^s[g>>>16&255]^c[p>>>8&255]^d[255&f]^e[++w],g=a[g>>>24]^s[p>>>16&255]^c[f>>>8&255]^d[255&m]^e[++w],p=y,f=b,m=v;n[0]=h[p>>>24]<<24^h[f>>>16&255]<<16^h[m>>>8&255]<<8^h[255&g]^e[++w],n[r?3:1]=h[f>>>24]<<24^h[m>>>16&255]<<16^h[g>>>8&255]<<8^h[255&p]^e[++w],n[2]=h[m>>>24]<<24^h[g>>>16&255]<<16^h[p>>>8&255]<<8^h[255&f]^e[++w],n[r?1:3]=h[g>>>24]<<24^h[p>>>16&255]<<16^h[f>>>8&255]<<8^h[255&m]^e[++w]}function m(e){var t,n="AES-"+((e=e||{}).mode||"CBC").toUpperCase(),a=(t=e.decrypt?r.cipher.createDecipher(n,e.key):r.cipher.createCipher(n,e.key)).start;return t.start=function(e,n){var i=null;n instanceof r.util.ByteBuffer&&(i=n,n={}),(n=n||{}).output=i,n.iv=e,a.call(t,n)},t}},function(e,t,n){var r=n(25);r.pki=r.pki||{};var a=e.exports=r.pki.oids=r.oids=r.oids||{};function i(e,t){a[e]=t,a[t]=e}function o(e,t){a[e]=t}i("1.2.840.113549.1.1.1","rsaEncryption"),i("1.2.840.113549.1.1.4","md5WithRSAEncryption"),i("1.2.840.113549.1.1.5","sha1WithRSAEncryption"),i("1.2.840.113549.1.1.7","RSAES-OAEP"),i("1.2.840.113549.1.1.8","mgf1"),i("1.2.840.113549.1.1.9","pSpecified"),i("1.2.840.113549.1.1.10","RSASSA-PSS"),i("1.2.840.113549.1.1.11","sha256WithRSAEncryption"),i("1.2.840.113549.1.1.12","sha384WithRSAEncryption"),i("1.2.840.113549.1.1.13","sha512WithRSAEncryption"),i("1.2.840.10040.4.3","dsa-with-sha1"),i("1.3.14.3.2.7","desCBC"),i("1.3.14.3.2.26","sha1"),i("2.16.840.1.101.3.4.2.1","sha256"),i("2.16.840.1.101.3.4.2.2","sha384"),i("2.16.840.1.101.3.4.2.3","sha512"),i("1.2.840.113549.2.5","md5"),i("1.2.840.113549.1.7.1","data"),i("1.2.840.113549.1.7.2","signedData"),i("1.2.840.113549.1.7.3","envelopedData"),i("1.2.840.113549.1.7.4","signedAndEnvelopedData"),i("1.2.840.113549.1.7.5","digestedData"),i("1.2.840.113549.1.7.6","encryptedData"),i("1.2.840.113549.1.9.1","emailAddress"),i("1.2.840.113549.1.9.2","unstructuredName"),i("1.2.840.113549.1.9.3","contentType"),i("1.2.840.113549.1.9.4","messageDigest"),i("1.2.840.113549.1.9.5","signingTime"),i("1.2.840.113549.1.9.6","counterSignature"),i("1.2.840.113549.1.9.7","challengePassword"),i("1.2.840.113549.1.9.8","unstructuredAddress"),i("1.2.840.113549.1.9.14","extensionRequest"),i("1.2.840.113549.1.9.20","friendlyName"),i("1.2.840.113549.1.9.21","localKeyId"),i("1.2.840.113549.1.9.22.1","x509Certificate"),i("1.2.840.113549.1.12.10.1.1","keyBag"),i("1.2.840.113549.1.12.10.1.2","pkcs8ShroudedKeyBag"),i("1.2.840.113549.1.12.10.1.3","certBag"),i("1.2.840.113549.1.12.10.1.4","crlBag"),i("1.2.840.113549.1.12.10.1.5","secretBag"),i("1.2.840.113549.1.12.10.1.6","safeContentsBag"),i("1.2.840.113549.1.5.13","pkcs5PBES2"),i("1.2.840.113549.1.5.12","pkcs5PBKDF2"),i("1.2.840.113549.1.12.1.1","pbeWithSHAAnd128BitRC4"),i("1.2.840.113549.1.12.1.2","pbeWithSHAAnd40BitRC4"),i("1.2.840.113549.1.12.1.3","pbeWithSHAAnd3-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.4","pbeWithSHAAnd2-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.5","pbeWithSHAAnd128BitRC2-CBC"),i("1.2.840.113549.1.12.1.6","pbewithSHAAnd40BitRC2-CBC"),i("1.2.840.113549.2.7","hmacWithSHA1"),i("1.2.840.113549.2.8","hmacWithSHA224"),i("1.2.840.113549.2.9","hmacWithSHA256"),i("1.2.840.113549.2.10","hmacWithSHA384"),i("1.2.840.113549.2.11","hmacWithSHA512"),i("1.2.840.113549.3.7","des-EDE3-CBC"),i("2.16.840.1.101.3.4.1.2","aes128-CBC"),i("2.16.840.1.101.3.4.1.22","aes192-CBC"),i("2.16.840.1.101.3.4.1.42","aes256-CBC"),i("2.5.4.3","commonName"),i("2.5.4.5","serialName"),i("2.5.4.6","countryName"),i("2.5.4.7","localityName"),i("2.5.4.8","stateOrProvinceName"),i("2.5.4.10","organizationName"),i("2.5.4.11","organizationalUnitName"),i("2.16.840.1.113730.1.1","nsCertType"),o("2.5.29.1","authorityKeyIdentifier"),o("2.5.29.2","keyAttributes"),o("2.5.29.3","certificatePolicies"),o("2.5.29.4","keyUsageRestriction"),o("2.5.29.5","policyMapping"),o("2.5.29.6","subtreesConstraint"),o("2.5.29.7","subjectAltName"),o("2.5.29.8","issuerAltName"),o("2.5.29.9","subjectDirectoryAttributes"),o("2.5.29.10","basicConstraints"),o("2.5.29.11","nameConstraints"),o("2.5.29.12","policyConstraints"),o("2.5.29.13","basicConstraints"),i("2.5.29.14","subjectKeyIdentifier"),i("2.5.29.15","keyUsage"),o("2.5.29.16","privateKeyUsagePeriod"),i("2.5.29.17","subjectAltName"),i("2.5.29.18","issuerAltName"),i("2.5.29.19","basicConstraints"),o("2.5.29.20","cRLNumber"),o("2.5.29.21","cRLReason"),o("2.5.29.22","expirationDate"),o("2.5.29.23","instructionCode"),o("2.5.29.24","invalidityDate"),o("2.5.29.25","cRLDistributionPoints"),o("2.5.29.26","issuingDistributionPoint"),o("2.5.29.27","deltaCRLIndicator"),o("2.5.29.28","issuingDistributionPoint"),o("2.5.29.29","certificateIssuer"),o("2.5.29.30","nameConstraints"),i("2.5.29.31","cRLDistributionPoints"),i("2.5.29.32","certificatePolicies"),o("2.5.29.33","policyMappings"),o("2.5.29.34","policyConstraints"),i("2.5.29.35","authorityKeyIdentifier"),o("2.5.29.36","policyConstraints"),i("2.5.29.37","extKeyUsage"),o("2.5.29.46","freshestCRL"),o("2.5.29.54","inhibitAnyPolicy"),i("1.3.6.1.4.1.11129.2.4.2","timestampList"),i("1.3.6.1.5.5.7.1.1","authorityInfoAccess"),i("1.3.6.1.5.5.7.3.1","serverAuth"),i("1.3.6.1.5.5.7.3.2","clientAuth"),i("1.3.6.1.5.5.7.3.3","codeSigning"),i("1.3.6.1.5.5.7.3.4","emailProtection"),i("1.3.6.1.5.5.7.3.8","timeStamping")},function(e,t,n){"use strict";n.r(t),n.d(t,"ToastComponent",function(){return o});var r=n(0),a=n(39),i=n(165),o=function(){function e(e,t,n){this.sanitizer=e,this.componentFactoryResolver=t,this.changeDetectorRef=n,this.bodyOutputType=i.a,this.clickEvent=new r.EventEmitter}return e.prototype.ngOnInit=function(){this.toast.closeHtml&&(this.safeCloseHtml=this.sanitizer.bypassSecurityTrustHtml(this.toast.closeHtml)),this.toast.bodyOutputType===i.a.TrustedHtml&&(this.safeBodyHtml=this.sanitizer.bypassSecurityTrustHtml(this.toast.body))},e.prototype.ngAfterViewInit=function(){if(this.toast.bodyOutputType===this.bodyOutputType.Component){var e=this.componentFactoryResolver.resolveComponentFactory(this.toast.body);this.componentBody.createComponent(e,void 0,this.componentBody.injector).instance.toast=this.toast,this.changeDetectorRef.detectChanges()}},e.prototype.click=function(e,t){e.stopPropagation(),this.clickEvent.emit({value:{toast:t,isCloseButton:!0}})},e.decorators=[{type:r.Component,args:[{selector:"[toastComp]",template:'\n \n
\n
{{toast.title}}
\n
\n
\n
\n
{{toast.body}}
\n
\n
\n
\n
'}]}],e.ctorParameters=function(){return[{type:a.DomSanitizer},{type:r.ComponentFactoryResolver},{type:r.ChangeDetectorRef}]},e.propDecorators={toast:[{type:r.Input}],iconClass:[{type:r.Input}],titleClass:[{type:r.Input}],messageClass:[{type:r.Input}],componentBody:[{type:r.ViewChild,args:["componentBody",{read:r.ViewContainerRef}]}],clickEvent:[{type:r.Output}]},e}()},function(e,t,n){"use strict";var r;n.d(t,"a",function(){return r}),function(e){e[e.Default=0]="Default",e[e.TrustedHtml=1]="TrustedHtml",e[e.Component=2]="Component"}(r||(r={}))},function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(91),a=n(49),i=n(268);function o(e,t){return t?new r.a(function(n){var r=new a.a,i=0;return r.add(t.schedule(function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()})),r}):new r.a(Object(i.a)(e))}},function(e,t,n){"use strict";var r=n(76),a=n(112),i=n(104),o=n(33),s=n(96),l=Object.assign;e.exports=!l||n(16)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=o(e),l=arguments.length,u=1,c=a.f,d=i.f;l>u;)for(var h,p=s(arguments[u++]),f=c?r(p).concat(c(p)):r(p),m=f.length,g=0;m>g;)d.call(p,h=f[g++])&&(n[h]=p[h]);return n}:l},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(59),a=n(63);e.exports=function(e){var t=String(a(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){var r=n(59),a=n(63);e.exports=function(e){return function(t,n){var i,o,s=String(a(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):i:e?s.slice(l,l+2):o-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(23),a=n(71);e.exports=function(e,t,n){t in e?r.f(e,t,a(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(79),a=n(174),i=n(87),o=n(44);e.exports=n(127)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r,a,i,o=n(52),s=n(169),l=n(139),u=n(136),c=n(15),d=c.process,h=c.setImmediate,p=c.clearImmediate,f=c.MessageChannel,m=c.Dispatch,g=0,y={},b=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},v=function(e){b.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete y[e]},"process"==n(56)(d)?r=function(e){d.nextTick(o(b,e,1))}:m&&m.now?r=function(e){m.now(o(b,e,1))}:f?(i=(a=new f).port2,a.port1.onmessage=v,r=o(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",v,!1)):r="onreadystatechange"in u("script")?function(e){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(o(b,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){"use strict";var r=n(36);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},function(e,t,n){var r=n(15).navigator;e.exports=r&&r.userAgent||""},,,,,,,function(e,t,n){var r=n(25);n(32);var a=e.exports=r.pem=r.pem||{};function i(e){for(var t=e.name+": ",n=[],r=function(e,t){return" "+t},a=0;a65&&-1!==o){var s=t[o];","===s?(++o,t=t.substr(0,o)+"\r\n "+t.substr(o)):t=t.substr(0,o)+"\r\n"+s+t.substr(o+1),i=a-o-1,o=-1,++a}else" "!==t[a]&&"\t"!==t[a]&&","!==t[a]||(o=a);return t}function o(e){return e.replace(/^\s+/,"")}a.encode=function(e,t){t=t||{};var n,a="-----BEGIN "+e.type+"-----\r\n";if(e.procType&&(a+=i(n={name:"Proc-Type",values:[String(e.procType.version),e.procType.type]})),e.contentDomain&&(a+=i(n={name:"Content-Domain",values:[e.contentDomain]})),e.dekInfo&&(n={name:"DEK-Info",values:[e.dekInfo.algorithm]},e.dekInfo.parameters&&n.values.push(e.dekInfo.parameters),a+=i(n)),e.headers)for(var o=0;ol;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(23),a=n(10),i=n(76);e.exports=n(24)?Object.defineProperties:function(e,t){a(e);for(var n,o=i(t),s=o.length,l=0;s>l;)r.f(e,n=o[l++],t[n]);return e}},function(e,t,n){var r=n(44),a=n(78).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return o.slice()}}(e):a(r(e))}},function(e,t,n){"use strict";var r=n(36),a=n(17),i=n(169),o=[].slice,s={};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),l=function(){var r=n.concat(o.call(arguments));return this instanceof l?function(e,t,n){if(!(t in s)){for(var r=[],a=0;a>>0||(o.test(n)?16:10))}:r},function(e,t,n){var r=n(15).parseFloat,a=n(97).trim;e.exports=1/r(n(141)+"-0")!=-1/0?function(e){var t=a(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(56);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(17),a=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&a(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(10);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(364);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(36),a=n(33),i=n(96),o=n(26);e.exports=function(e,t,n,s,l){r(t);var u=a(e),c=i(u),d=o(u.length),h=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(h in c){s=c[h],h+=p;break}if(h+=p,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=p)h in c&&(s=t(s,c[h],h,u));return s}},function(e,t,n){"use strict";var r=n(33),a=n(77),i=n(26);e.exports=[].copyWithin||function(e,t){var n=r(this),o=i(n.length),s=a(e,o),l=a(t,o),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?o:a(u,o))-l,o-s),d=1;for(l0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t,n){n(24)&&"g"!=/./g.flags&&n(23).f(RegExp.prototype,"flags",{configurable:!0,get:n(129)})},function(e,t,n){var r=n(15),a=n(175).set,i=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,l="process"==n(56)(o);e.exports=function(){var e,t,n,u=function(){var r,a;for(l&&(r=o.domain)&&r.exit();e;){a=e.fn,e=e.next;try{a()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){o.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){a.call(r,u)};else{var d=!0,h=document.createTextNode("");new i(u).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(r){var a={fn:r,next:void 0};t&&(t.next=a),e||(e=a,n()),t=a}}},function(e,t,n){"use strict";var r=n(209),a=n(88);e.exports=n(116)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(a(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(a(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(23).f,a=n(68),i=n(83),o=n(52),s=n(81),l=n(82),u=n(127),c=n(174),d=n(80),h=n(24),p=n(67).fastKey,f=n(88),m=h?"_s":"size",g=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=a(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&l(r,n,e[u],e)});return i(c.prototype,{clear:function(){for(var e=f(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=f(this,t),r=g(n,e);if(r){var a=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=a),a&&(a.p=i),n._f==r&&(n._f=a),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){f(this,t);for(var n,r=o(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(f(this,t),e)}}),h&&r(c.prototype,"size",{get:function(){return f(this,t)[m]}}),c},def:function(e,t,n){var r,a,i=g(e,t);return i?i.v=n:(e._l=i={i:a=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==a&&(e._i[a]=i)),e},getEntry:g,setStrong:function(e,t,n){u(e,t,function(e,n){this._t=f(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))},n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var r=n(209),a=n(88);e.exports=n(116)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(a(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,a=n(58)(0),i=n(43),o=n(67),s=n(168),l=n(212),u=n(17),c=n(16),d=n(88),h=o.getWeak,p=Object.isExtensible,f=l.ufstore,m={},g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(u(e)){var t=h(e);return!0===t?f(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(d(this,"WeakMap"),e,t)}},b=e.exports=n(116)("WeakMap",g,y,l,!0,!0);c(function(){return 7!=(new b).set((Object.freeze||Object)(m),7).get(m)})&&(s((r=l.getConstructor(g,"WeakMap")).prototype,y),o.NEED=!0,a(["delete","has","get","set"],function(e){var t=b.prototype,n=t[e];i(t,e,function(t,a){if(u(t)&&!p(t)){this._f||(this._f=new r);var i=this._f[e](t,a);return"set"==e?this:i}return n.call(this,t,a)})}))},function(e,t,n){"use strict";var r=n(83),a=n(67).getWeak,i=n(10),o=n(17),s=n(81),l=n(82),u=n(58),c=n(42),d=n(88),h=u(5),p=u(6),f=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},y=function(e,t){return h(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e(function(e,r){s(e,u,t,"_i"),e._t=t,e._i=f++,e._l=void 0,void 0!=r&&l(r,n,e[i],e)});return r(u.prototype,{delete:function(e){if(!o(e))return!1;var n=a(e);return!0===n?m(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!o(e))return!1;var n=a(e);return!0===n?m(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=a(i(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){var r=n(59),a=n(26);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=a(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(78),a=n(112),i=n(10),o=n(15).Reflect;e.exports=o&&o.ownKeys||function(e){var t=r.f(i(e)),n=a.f;return n?t.concat(n(e)):t}},,,,,,,,,,,function(e,t,n){(t=e.exports=n(618)).Stream=t,t.Readable=t,t.Writable=n(489),t.Duplex=n(161),t.Transform=n(622),t.PassThrough=n(945)},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n(106).Buffer)},function(e,t,n){var r=n(25);n(122),n(32),(e.exports=r.hmac=r.hmac||{}).create=function(){var e=null,t=null,n=null,a=null,i={start:function(i,o){if(null!==i)if("string"==typeof i){if(!((i=i.toLowerCase())in r.md.algorithms))throw new Error('Unknown hash algorithm "'+i+'"');t=r.md.algorithms[i].create()}else t=i;if(null===o)o=e;else{if("string"==typeof o)o=r.util.createBuffer(o);else if(r.util.isArray(o)){var s=o;o=r.util.createBuffer();for(var l=0;lt.blockLength&&(t.start(),t.update(o.bytes()),o=t.digest()),n=r.util.createBuffer(),a=r.util.createBuffer(),u=o.length();for(l=0;l>>0,l>>>0];for(var u=a.fullMessageLength.length-1;u>=0;--u)a.fullMessageLength[u]+=l[1],l[1]=l[0]+(a.fullMessageLength[u]/4294967296>>>0),a.fullMessageLength[u]=a.fullMessageLength[u]>>>0,l[0]=l[1]/4294967296>>>0;return t.putBytes(i),s(e,n,t),(t.read>2048||0===t.length())&&t.compact(),a},a.digest=function(){var o=r.util.createBuffer();o.putBytes(t.bytes());var l,u=a.fullMessageLength[a.fullMessageLength.length-1]+a.messageLengthSize&a.blockLength-1;o.putBytes(i.substr(0,a.blockLength-u));for(var c=8*a.fullMessageLength[0],d=0;d>>0,o.putInt32(c>>>0),c=l>>>0;o.putInt32(c);var h={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4};s(h,n,o);var p=r.util.createBuffer();return p.putInt32(h.h0),p.putInt32(h.h1),p.putInt32(h.h2),p.putInt32(h.h3),p.putInt32(h.h4),p},a};var i=null,o=!1;function s(e,t,n){for(var r,a,i,o,s,l,u,c=n.length();c>=64;){for(a=e.h0,i=e.h1,o=e.h2,s=e.h3,l=e.h4,u=0;u<16;++u)r=n.getInt32(),t[u]=r,r=(a<<5|a>>>27)+(s^i&(o^s))+l+1518500249+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;u<20;++u)r=(r=t[u-3]^t[u-8]^t[u-14]^t[u-16])<<1|r>>>31,t[u]=r,r=(a<<5|a>>>27)+(s^i&(o^s))+l+1518500249+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;u<32;++u)r=(r=t[u-3]^t[u-8]^t[u-14]^t[u-16])<<1|r>>>31,t[u]=r,r=(a<<5|a>>>27)+(i^o^s)+l+1859775393+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;u<40;++u)r=(r=t[u-6]^t[u-16]^t[u-28]^t[u-32])<<2|r>>>30,t[u]=r,r=(a<<5|a>>>27)+(i^o^s)+l+1859775393+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;u<60;++u)r=(r=t[u-6]^t[u-16]^t[u-28]^t[u-32])<<2|r>>>30,t[u]=r,r=(a<<5|a>>>27)+(i&o|s&(i^o))+l+2400959708+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;u<80;++u)r=(r=t[u-6]^t[u-16]^t[u-28]^t[u-32])<<2|r>>>30,t[u]=r,r=(a<<5|a>>>27)+(i^o^s)+l+3395469782+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;e.h0=e.h0+a|0,e.h1=e.h1+i|0,e.h2=e.h2+o|0,e.h3=e.h3+s|0,e.h4=e.h4+l|0,c-=64}}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return i});var r=n(103);function a(){for(var e=[],t=0;ts||n!=n?u*(1/0):u*n}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(10),a=n(17),i=n(176);e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(82);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return d});var r=n(1),a=n(91),i=n(31),o=n(49),s=n(110),l=n(263),u=n(124),c=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return r.b(t,e),t}(i.a),d=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.b(t,e),t.prototype[u.a]=function(){return new c(this)},t.prototype.lift=function(e){var t=new h(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new s.a;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),a=0;a0&&t-1 in e)}j.fn=j.prototype={jquery:"3.3.1",constructor:j,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=j.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return j.each(this,e)},map:function(e){return this.pushStack(j.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+P+")"+P+"*"),H=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),K=new RegExp(B),W=new RegExp("^"+q+"$"),G={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){h()},ae=be(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{D.apply(z=O.call(w.childNodes),w.childNodes),z[w.childNodes.length].nodeType}catch(e){D={apply:z.length?function(e,t){I.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,r,a){var i,s,u,c,d,f,y,b=t&&t.ownerDocument,_=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return r;if(!a&&((t?t.ownerDocument||t:w)!==p&&h(t),t=t||p,m)){if(11!==_&&(d=Z.exec(e)))if(i=d[1]){if(9===_){if(!(u=t.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(b&&(u=b.getElementById(i))&&v(t,u)&&u.id===i)return r.push(u),r}else{if(d[2])return D.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return D.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!C[e+" "]&&(!g||!g.test(e))){if(1!==_)b=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=k),s=(f=o(e)).length;s--;)f[s]="#"+c+" "+ye(f[s]);y=f.join(","),b=X.test(e)&&me(t.parentNode)||t}if(y)try{return D.apply(r,b.querySelectorAll(y)),r}catch(e){}finally{c===k&&t.removeAttribute("id")}}}return l(e.replace(F,"$1"),t,r,a)}function oe(){var e=[];return function t(n,a){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=a}}function se(e){return e[k]=!0,e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),a=n.length;a--;)r.attrHandle[n[a]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function fe(e){return se(function(t){return t=+t,se(function(n,r){for(var a,i=e([],n.length,t),o=i.length;o--;)n[a=i[o]]&&(n[a]=!(r[a]=n[a]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},i=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},h=ie.setDocument=function(e){var t,a,o=e?e.ownerDocument||e:w;return o!==p&&9===o.nodeType&&o.documentElement?(f=(p=o).documentElement,m=!i(p),w!==p&&(a=p.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",re,!1):a.attachEvent&&a.attachEvent("onunload",re)),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Y.test(p.getElementsByClassName),n.getById=le(function(e){return f.appendChild(e).id=k,!p.getElementsByName||!p.getElementsByName(k).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,a,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(a=t.getElementsByName(e),r=0;i=a[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[a++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=Y.test(p.querySelectorAll))&&(le(function(e){f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||g.push(".#.+[+~]")}),le(function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+P+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Y.test(b=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&le(function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),y.push("!=",B)}),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=Y.test(f.compareDocumentPosition),v=t||Y.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===w&&v(w,e)?-1:t===p||t.ownerDocument===w&&v(w,t)?1:c?N(c,e)-N(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,a=e.parentNode,i=t.parentNode,o=[e],s=[t];if(!a||!i)return e===p?-1:t===p?1:a?-1:i?1:c?N(c,e)-N(c,t):0;if(a===i)return ce(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?ce(o[r],s[r]):o[r]===w?-1:s[r]===w?1:0},p):p},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&h(e),t=t.replace(H,"='$1']"),n.matchesSelector&&m&&!C[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ie(t,p,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==p&&h(e),v(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==p&&h(e);var a=r.attrHandle[t.toLowerCase()],i=a&&T.call(r.attrHandle,t.toLowerCase())?a(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ie.escape=function(e){return(e+"").replace(te,ne)},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],a=0,i=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(S),d){for(;t=e[i++];)t===e[i]&&(a=r.push(i));for(;a--;)e.splice(r[a],1)}return c=null,e},a=ie.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=a(t);return n},(r=ie.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(J,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&x(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var a=ie.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(L," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var i="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,h,p,f,m=i!==o?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),b=!l&&!s,v=!1;if(g){if(i){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===y:1===h.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?g.firstChild:g.lastChild],o&&b){for(v=(p=(u=(c=(d=(h=g)[k]||(h[k]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===_&&u[1])&&u[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(v=p=0)||f.pop();)if(1===h.nodeType&&++v&&h===t){c[e]=[_,p,v];break}}else if(b&&(v=p=(u=(c=(d=(h=t)[k]||(h[k]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===_&&u[1]),!1===v)for(;(h=++p&&h&&h[m]||(v=p=0)||f.pop())&&((s?h.nodeName.toLowerCase()!==y:1!==h.nodeType)||!++v||(b&&((c=(d=h[k]||(h[k]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[_,v]),h!==t)););return(v-=a)===r||v%r==0&&v/r>=0}}},PSEUDO:function(e,t){var n,a=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return a[k]?a(t):a.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,i=a(e,t),o=i.length;o--;)e[r=N(e,i[o])]=!(n[r]=i[o])}):function(e){return a(e,0,n)}):a}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(F,"$1"));return r[k]?se(function(e,t,n,a){for(var i,o=r(e,null,a,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))}):function(e,a,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return ie(e,t).length>0}}),contains:se(function(e){return e=e.replace(J,ee),function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:se(function(e){return W.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(J,ee).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:pe(!1),disabled:pe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[n<0?n+t:n]}),even:fe(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:fe(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function ke(e,t,n,r,a){for(var i,o=[],s=0,l=e.length,u=null!=t;s-1&&(i[u]=!(o[u]=d))}}else y=ke(y===o?y.splice(f,y.length):y),a?a(null,o,y,l):D.apply(o,y)})}function _e(e){for(var t,n,a,i=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,c=be(function(e){return e===t},s,!0),d=be(function(e){return N(t,e)>-1},s,!0),h=[function(e,n,r){var a=!o&&(r||n!==u)||((t=n).nodeType?c(e,n,r):d(e,n,r));return t=null,a}];l1&&ve(h),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(F,"$1"),n,l0,a=e.length>0,i=function(i,o,s,l,c){var d,f,g,y=0,b="0",v=i&&[],k=[],w=u,j=i||a&&r.find.TAG("*",c),x=_+=null==w?1:Math.random()||.1,E=j.length;for(c&&(u=o===p||o||c);b!==E&&null!=(d=j[b]);b++){if(a&&d){for(f=0,o||d.ownerDocument===p||(h(d),s=!m);g=e[f++];)if(g(d,o||p,s)){l.push(d);break}c&&(_=x)}n&&((d=!g&&d)&&y--,i&&v.push(d))}if(y+=b,n&&b!==y){for(f=0;g=t[f++];)g(v,k,o,s);if(i){if(y>0)for(;b--;)v[b]||k[b]||(k[b]=A.call(l));k=ke(k)}D.apply(l,k),c&&!i&&k.length>0&&y+t.length>1&&ie.uniqueSort(l)}return c&&(_=x,u=w),v};return n?se(i):i}(i,a))).selector=e}return s},l=ie.select=function(e,t,n,a){var i,l,u,c,d,h="function"==typeof e&&e,p=!a&&o(e=h.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(J,ee),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=G.needsContext.test(e)?0:l.length;i--&&(u=l[i],!r.relative[c=u.type]);)if((d=r.find[c])&&(a=d(u.matches[0].replace(J,ee),X.test(l[0].type)&&me(t.parentNode)||t))){if(l.splice(i,1),!(e=a.length&&ye(l)))return D.apply(n,a),n;break}}return(h||s(e,p))(a,t,!m,n,!t||X.test(e)&&me(t.parentNode)||t),n},n.sortStable=k.split("").sort(S).join("")===k,n.detectDuplicates=!!d,h(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),le(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ue(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ie}(n);j.find=C,j.expr=C.selectors,j.expr[":"]=j.expr.pseudos,j.uniqueSort=j.unique=C.uniqueSort,j.text=C.getText,j.isXMLDoc=C.isXML,j.contains=C.contains,j.escapeSelector=C.escape;var S=function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&j(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},z=j.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,n){return b(t)?j.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?j.grep(e,function(e){return e===t!==n}):"string"!=typeof t?j.grep(e,function(e){return d.call(t,e)>-1!==n}):j.filter(t,e,n)}j.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?j.find.matchesSelector(r,e)?[r]:[]:j.find.matches(e,j.grep(t,function(e){return 1===e.nodeType}))},j.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!=typeof e)return this.pushStack(j(e).filter(function(){for(t=0;t1?j.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&z.test(e)?j(e):e||[],!1).length}});var O,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(j.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof j?t[0]:t,j.merge(this,j.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),I.test(r[1])&&j.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=o.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(j):j.makeArray(e,this)}).prototype=j.fn,O=j(o);var R=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}j.fn.extend({has:function(e){var t=j(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&j.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?j.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?d.call(j(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(j.uniqueSort(j.merge(this.get(),j(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),j.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return A(e,"iframe")?e.contentDocument:(A(e,"template")&&(e=e.content||e),j.merge([],e.childNodes))}},function(e,t){j.fn[e]=function(n,r){var a=j.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=j.filter(r,a)),this.length>1&&(P[e]||j.uniqueSort(a),R.test(e)&&a.reverse()),this.pushStack(a)}});var M=/[^\x20\t\r\n\f]+/g;function B(e){return e}function L(e){throw e}function F(e,t,n,r){var a;try{e&&b(a=e.promise)?a.call(e).done(t).fail(n):e&&b(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}j.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return j.each(e.match(M)||[],function(e,n){t[n]=!0}),t}(e):j.extend({},e);var t,n,r,a,i=[],o=[],s=-1,l=function(){for(a=a||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?j.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return a=o=[],i=n="",this},disabled:function(){return!i},lock:function(){return a=o=[],n||t||(i=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},j.extend({Deferred:function(e){var t=[["notify","progress",j.Callbacks("memory"),j.Callbacks("memory"),2],["resolve","done",j.Callbacks("once memory"),j.Callbacks("once memory"),0,"resolved"],["reject","fail",j.Callbacks("once memory"),j.Callbacks("once memory"),1,"rejected"]],r="pending",a={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return j.Deferred(function(n){j.each(t,function(t,r){var a=b(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=a&&a.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)})}),e=null}).promise()},then:function(e,r,a){var i=0;function o(e,t,r,a){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(e=i&&(r!==L&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?c():(j.Deferred.getStackHook&&(c.stackTrace=j.Deferred.getStackHook()),n.setTimeout(c))}}return j.Deferred(function(n){t[0][3].add(o(0,n,b(a)?a:B,n.notifyWith)),t[1][3].add(o(0,n,b(e)?e:B)),t[2][3].add(o(0,n,b(r)?r:L))}).promise()},promise:function(e){return null!=e?j.extend(e,a):a}},i={};return j.each(t,function(e,n){var o=n[2],s=n[5];a[n[1]]=o.add,s&&o.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=o.fireWith}),a.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),a=l.call(arguments),i=j.Deferred(),o=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?l.call(arguments):n,--t||i.resolveWith(r,a)}};if(t<=1&&(F(e,i.done(o(n)).resolve,i.reject,!t),"pending"===i.state()||b(a[n]&&a[n].then)))return i.then();for(;n--;)F(a[n],o(n),i.reject);return i.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;j.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&U.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},j.readyException=function(e){n.setTimeout(function(){throw e})};var V=j.Deferred();function H(){o.removeEventListener("DOMContentLoaded",H),n.removeEventListener("load",H),j.ready()}j.fn.ready=function(e){return V.then(e).catch(function(e){j.readyException(e)}),this},j.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--j.readyWait:j.isReady)||(j.isReady=!0,!0!==e&&--j.readyWait>0||V.resolveWith(o,[j]))}}),j.ready.then=V.then,"complete"===o.readyState||"loading"!==o.readyState&&!o.documentElement.doScroll?n.setTimeout(j.ready):(o.addEventListener("DOMContentLoaded",H),n.addEventListener("load",H));var K=function(e,t,n,r,a,i,o){var s=0,l=e.length,u=null==n;if("object"===_(n))for(s in a=!0,n)K(e,t,s,n[s],!0,i,o);else if(void 0!==r&&(a=!0,b(r)||(o=!0),u&&(o?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(j(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),j.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=X.get(e,t),n&&(!r||Array.isArray(n)?r=X.access(e,t,j.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=j.queue(e,t),r=n.length,a=n.shift(),i=j._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete i.stop,a.call(e,function(){j.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return X.get(e,n)||X.access(e,n,{empty:j.Callbacks("once memory").add(function(){X.remove(e,[t+"queue",n])})})}}),j.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,fe=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?j.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n-1)a&&a.push(i);else if(u=j.contains(i.ownerDocument,i),o=ge(d.appendChild(i),"script"),u&&ye(o),n)for(c=0;i=o[c++];)fe.test(i.type||"")&&n.push(i);return d}!function(){var e=o.createDocumentFragment().appendChild(o.createElement("div")),t=o.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),y.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",y.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var ke=o.documentElement,we=/^key/,_e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,je=/^([^.]*)(?:\.(.+)|)/;function xe(){return!0}function Ee(){return!1}function Ce(){try{return o.activeElement}catch(e){}}function Se(e,t,n,r,a,i){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Se(e,s,n,r,t[s],i);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"==typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=Ee;else if(!a)return e;return 1===i&&(o=a,(a=function(e){return j().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=j.guid++)),e.each(function(){j.event.add(this,t,a,r,n)})}j.event={global:{},add:function(e,t,n,r,a){var i,o,s,l,u,c,d,h,p,f,m,g=X.get(e);if(g)for(n.handler&&(n=(i=n).handler,a=i.selector),a&&j.find.matchesSelector(ke,a),n.guid||(n.guid=j.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(t){return void 0!==j&&j.event.triggered!==t.type?j.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(M)||[""]).length;u--;)p=m=(s=je.exec(t[u])||[])[1],f=(s[2]||"").split(".").sort(),p&&(d=j.event.special[p]||{},p=(a?d.delegateType:d.bindType)||p,d=j.event.special[p]||{},c=j.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&j.expr.match.needsContext.test(a),namespace:f.join(".")},i),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,f,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),a?h.splice(h.delegateCount++,0,c):h.push(c),j.event.global[p]=!0)},remove:function(e,t,n,r,a){var i,o,s,l,u,c,d,h,p,f,m,g=X.hasData(e)&&X.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(M)||[""]).length;u--;)if(p=m=(s=je.exec(t[u])||[])[1],f=(s[2]||"").split(".").sort(),p){for(d=j.event.special[p]||{},h=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=i=h.length;i--;)c=h[i],!a&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(i,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||j.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)j.event.remove(e,p+t[u],n,r,!0);j.isEmptyObject(l)&&X.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,i,o,s=j.event.fix(e),l=new Array(arguments.length),u=(X.get(this,"events")||{})[s.type]||[],c=j.event.special[s.type]||{};for(l[0]=s,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],o={},n=0;n-1:j.find(a,this,null,[u]).length),o[a]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,ze=/\s*$/g;function De(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&j(e).children("tbody")[0]||e}function Oe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Re(e,t){var n,r,a,i,o,s,l,u;if(1===t.nodeType){if(X.hasData(e)&&(i=X.access(e),o=X.set(t,i),u=i.events))for(a in delete o.handle,o.events={},u)for(n=0,r=u[a].length;n1&&"string"==typeof f&&!y.checkClone&&Ae.test(f))return e.each(function(a){var i=e.eq(a);m&&(t[0]=f.call(this,a,i.html())),qe(i,t,n,r)});if(h&&(i=(a=ve(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=i),i||r)){for(s=(o=j.map(ge(a,"script"),Oe)).length;d")},clone:function(e,t,n){var r,a,i,o,s=e.cloneNode(!0),l=j.contains(e.ownerDocument,e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||j.isXMLDoc(e)))for(o=ge(s),r=0,a=(i=ge(e)).length;r0&&ye(o,!l&&ge(e,"script")),s},cleanData:function(e){for(var t,n,r,a=j.event.special,i=0;void 0!==(n=e[i]);i++)if(Y(n)){if(t=n[X.expando]){if(t.events)for(r in t.events)a[r]?j.event.remove(n,r):j.removeEvent(n,r,t.handle);n[X.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),j.fn.extend({detach:function(e){return Me(this,e,!0)},remove:function(e){return Me(this,e)},text:function(e){return K(this,function(e){return void 0===e?j.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return qe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)})},prepend:function(){return qe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return qe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return qe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(j.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return j.clone(this,e,t)})},html:function(e){return K(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ze.test(e)&&!me[(pe.exec(e)||["",""])[1].toLowerCase()]){e=j.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))),l}function Je(e,t,n){var r=Le(e),a=Ue(e,t,r),i="border-box"===j.css(e,"boxSizing",!1,r),o=i;if(Be.test(a)){if(!n)return a;a="auto"}return o=o&&(y.boxSizingReliable()||a===e.style[t]),("auto"===a||!parseFloat(a)&&"inline"===j.css(e,"display",!1,r))&&(a=e["offset"+t[0].toUpperCase()+t.slice(1)],o=!0),(a=parseFloat(a)||0)+Xe(e,t,n||(i?"border":"content"),o,r,a)+"px"}function et(e,t,n,r,a){return new et.prototype.init(e,t,n,r,a)}j.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,i,o,s=$(t),l=Ke.test(t),u=e.style;if(l||(t=Ye(s)),o=j.cssHooks[t]||j.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(a=o.get(e,!1,r))?a:u[t];"string"===(i=typeof n)&&(a=ae.exec(n))&&a[1]&&(n=le(e,t,a),i="number"),null!=n&&n==n&&("number"===i&&(n+=a&&a[3]||(j.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var a,i,o,s=$(t);return Ke.test(t)||(t=Ye(s)),(o=j.cssHooks[t]||j.cssHooks[s])&&"get"in o&&(a=o.get(e,!0,n)),void 0===a&&(a=Ue(e,t,r)),"normal"===a&&t in Ge&&(a=Ge[t]),""===n||n?(i=parseFloat(a),!0===n||isFinite(i)?i||0:a):a}}),j.each(["height","width"],function(e,t){j.cssHooks[t]={get:function(e,n,r){if(n)return!He.test(j.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,t,r):se(e,We,function(){return Je(e,t,r)})},set:function(e,n,r){var a,i=Le(e),o="border-box"===j.css(e,"boxSizing",!1,i),s=r&&Xe(e,t,r,o,i);return o&&y.scrollboxSize()===i.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-Xe(e,t,"border",!1,i)-.5)),s&&(a=ae.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=j.css(e,t)),Ze(0,n,s)}}}),j.cssHooks.marginLeft=Ve(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),j.each({margin:"",padding:"",border:"Width"},function(e,t){j.cssHooks[e+t]={expand:function(n){for(var r=0,a={},i="string"==typeof n?n.split(" "):[n];r<4;r++)a[e+ie[r]+t]=i[r]||i[r-2]||i[0];return a}},"margin"!==e&&(j.cssHooks[e+t].set=Ze)}),j.fn.extend({css:function(e,t){return K(this,function(e,t,n){var r,a,i={},o=0;if(Array.isArray(t)){for(r=Le(e),a=t.length;o1)}}),j.Tween=et,et.prototype={constructor:et,init:function(e,t,n,r,a,i){this.elem=e,this.prop=n,this.easing=a||j.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(j.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=j.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}},et.prototype.init.prototype=et.prototype,et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=j.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){j.fx.step[e.prop]?j.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[j.cssProps[e.prop]]&&!j.cssHooks[e.prop]?e.elem[e.prop]=e.now:j.style(e.elem,e.prop,e.now+e.unit)}}},et.propHooks.scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},j.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},j.fx=et.prototype.init,j.fx.step={};var tt,nt,rt=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function it(){nt&&(!1===o.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(it):n.setTimeout(it,j.fx.interval),j.fx.tick())}function ot(){return n.setTimeout(function(){tt=void 0}),tt=Date.now()}function st(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=ie[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function lt(e,t,n){for(var r,a=(ut.tweeners[t]||[]).concat(ut.tweeners["*"]),i=0,o=a.length;i1)},removeAttr:function(e){return this.each(function(){j.removeAttr(this,e)})}}),j.extend({attr:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?j.prop(e,t,n):(1===i&&j.isXMLDoc(e)||(a=j.attrHooks[t.toLowerCase()]||(j.expr.match.bool.test(t)?ct:void 0)),void 0!==n?null===n?void j.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=j.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(M);if(a&&1===e.nodeType)for(;n=a[r++];)e.removeAttribute(n)}}),ct={set:function(e,t,n){return!1===t?j.removeAttr(e,n):e.setAttribute(n,n),n}},j.each(j.expr.match.bool.source.match(/\w+/g),function(e,t){var n=dt[t]||j.find.attr;dt[t]=function(e,t,r){var a,i,o=t.toLowerCase();return r||(i=dt[o],dt[o]=a,a=null!=n(e,t,r)?o:null,dt[o]=i),a}});var ht=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function ft(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function gt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(M)||[]}j.fn.extend({prop:function(e,t){return K(this,j.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[j.propFix[e]||e]})}}),j.extend({prop:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&j.isXMLDoc(e)||(t=j.propFix[t]||t,a=j.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=j.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(j.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),j.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){j.propFix[this.toLowerCase()]=this}),j.fn.extend({addClass:function(e){var t,n,r,a,i,o,s,l=0;if(b(e))return this.each(function(t){j(this).addClass(e.call(this,t,mt(this)))});if((t=gt(e)).length)for(;n=this[l++];)if(a=mt(n),r=1===n.nodeType&&" "+ft(a)+" "){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a!==(s=ft(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,a,i,o,s,l=0;if(b(e))return this.each(function(t){j(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=gt(e)).length)for(;n=this[l++];)if(a=mt(n),r=1===n.nodeType&&" "+ft(a)+" "){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a!==(s=ft(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):b(e)?this.each(function(n){j(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,a,i,o;if(r)for(a=0,i=j(this),o=gt(e);t=o[a++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=mt(this))&&X.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":X.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+ft(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;j.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=b(e),this.each(function(n){var a;1===this.nodeType&&(null==(a=r?e.call(this,n,j(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=j.map(a,function(e){return null==e?"":e+""})),(t=j.valHooks[this.type]||j.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))})):a?(t=j.valHooks[a.type]||j.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(yt,""):null==n?"":n:void 0}}),j.extend({valHooks:{option:{get:function(e){var t=j.find.attr(e,"value");return null!=t?t:ft(j.text(e))}},select:{get:function(e){var t,n,r,a=e.options,i=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?i+1:a.length;for(r=i<0?l:o?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),j.each(["radio","checkbox"],function(){j.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=j.inArray(j(e).val(),t)>-1}},y.checkOn||(j.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,vt=function(e){e.stopPropagation()};j.extend(j.event,{trigger:function(e,t,r,a){var i,s,l,u,c,d,h,p,m=[r||o],g=f.call(e,"type")?e.type:e,y=f.call(e,"namespace")?e.namespace.split("."):[];if(s=p=l=r=r||o,3!==r.nodeType&&8!==r.nodeType&&!bt.test(g+j.event.triggered)&&(g.indexOf(".")>-1&&(g=(y=g.split(".")).shift(),y.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[j.expando]?e:new j.Event(g,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:j.makeArray(t,[e]),h=j.event.special[g]||{},a||!h.trigger||!1!==h.trigger.apply(r,t))){if(!a&&!h.noBubble&&!v(r)){for(u=h.delegateType||g,bt.test(u+g)||(s=s.parentNode);s;s=s.parentNode)m.push(s),l=s;l===(r.ownerDocument||o)&&m.push(l.defaultView||l.parentWindow||n)}for(i=0;(s=m[i++])&&!e.isPropagationStopped();)p=s,e.type=i>1?u:h.bindType||g,(d=(X.get(s,"events")||{})[e.type]&&X.get(s,"handle"))&&d.apply(s,t),(d=c&&s[c])&&d.apply&&Y(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=g,a||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(m.pop(),t)||!Y(r)||c&&b(r[g])&&!v(r)&&((l=r[c])&&(r[c]=null),j.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,vt),r[g](),e.isPropagationStopped()&&p.removeEventListener(g,vt),j.event.triggered=void 0,l&&(r[c]=l)),e.result}},simulate:function(e,t,n){var r=j.extend(new j.Event,n,{type:e,isSimulated:!0});j.event.trigger(r,null,t)}}),j.fn.extend({trigger:function(e,t){return this.each(function(){j.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return j.event.trigger(e,t,n,!0)}}),y.focusin||j.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){j.event.simulate(t,e.target,j.event.fix(e))};j.event.special[t]={setup:function(){var r=this.ownerDocument||this,a=X.access(r,t);a||r.addEventListener(e,n,!0),X.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this,a=X.access(r,t)-1;a?X.access(r,t,a):(r.removeEventListener(e,n,!0),X.remove(r,t))}}});var kt=n.location,wt=Date.now(),_t=/\?/;j.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||j.error("Invalid XML: "+e),t};var jt=/\[\]$/,xt=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,Ct=/^(?:input|select|textarea|keygen)/i;function St(e,t,n,r){var a;if(Array.isArray(t))j.each(t,function(t,a){n||jt.test(e)?r(e,a):St(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,r)});else if(n||"object"!==_(t))r(e,t);else for(a in t)St(e+"["+a+"]",t[a],n,r)}j.param=function(e,t){var n,r=[],a=function(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!j.isPlainObject(e))j.each(e,function(){a(this.name,this.value)});else for(n in e)St(n,e[n],t,a);return r.join("&")},j.fn.extend({serialize:function(){return j.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=j.prop(this,"elements");return e?j.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!j(this).is(":disabled")&&Ct.test(this.nodeName)&&!Et.test(e)&&(this.checked||!he.test(e))}).map(function(e,t){var n=j(this).val();return null==n?null:Array.isArray(n)?j.map(n,function(e){return{name:t.name,value:e.replace(xt,"\r\n")}}):{name:t.name,value:n.replace(xt,"\r\n")}}).get()}});var Tt=/%20/g,zt=/#.*$/,At=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Dt=/^(?:GET|HEAD)$/,Ot=/^\/\//,Nt={},Rt={},Pt="*/".concat("*"),qt=o.createElement("a");function Mt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,a=0,i=t.toLowerCase().match(M)||[];if(b(n))for(;r=i[a++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Bt(e,t,n,r){var a={},i=e===Rt;function o(s){var l;return a[s]=!0,j.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||a[u]?i?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),l}return o(t.dataTypes[0])||!a["*"]&&o("*")}function Lt(e,t){var n,r,a=j.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&j.extend(!0,e,r),e}qt.href=kt.href,j.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":j.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Lt(Lt(e,j.ajaxSettings),t):Lt(j.ajaxSettings,e)},ajaxPrefilter:Mt(Nt),ajaxTransport:Mt(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,a,i,s,l,u,c,d,h,p,f=j.ajaxSetup({},t),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?j(m):j.event,y=j.Deferred(),b=j.Callbacks("once memory"),v=f.statusCode||{},k={},w={},_="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=It.exec(i);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,k[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)x.always(e[x.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||_;return r&&r.abort(t),E(0,t),this}};if(y.promise(x),f.url=((e||f.url||kt.href)+"").replace(Ot,kt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(M)||[""],null==f.crossDomain){u=o.createElement("a");try{u.href=f.url,u.href=u.href,f.crossDomain=qt.protocol+"//"+qt.host!=u.protocol+"//"+u.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=j.param(f.data,f.traditional)),Bt(Nt,f,t,x),c)return x;for(h in(d=j.event&&f.global)&&0==j.active++&&j.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Dt.test(f.type),a=f.url.replace(zt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Tt,"+")):(p=f.url.slice(a.length),f.data&&(f.processData||"string"==typeof f.data)&&(a+=(_t.test(a)?"&":"?")+f.data,delete f.data),!1===f.cache&&(a=a.replace(At,"$1"),p=(_t.test(a)?"&":"?")+"_="+wt+++p),f.url=a+p),f.ifModified&&(j.lastModified[a]&&x.setRequestHeader("If-Modified-Since",j.lastModified[a]),j.etag[a]&&x.setRequestHeader("If-None-Match",j.etag[a])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&x.setRequestHeader("Content-Type",f.contentType),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Pt+"; q=0.01":""):f.accepts["*"]),f.headers)x.setRequestHeader(h,f.headers[h]);if(f.beforeSend&&(!1===f.beforeSend.call(m,x,f)||c))return x.abort();if(_="abort",b.add(f.complete),x.done(f.success),x.fail(f.error),r=Bt(Rt,f,t,x)){if(x.readyState=1,d&&g.trigger("ajaxSend",[x,f]),c)return x;f.async&&f.timeout>0&&(l=n.setTimeout(function(){x.abort("timeout")},f.timeout));try{c=!1,r.send(k,E)}catch(e){if(c)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,o,s){var u,h,p,k,w,_=t;c||(c=!0,l&&n.clearTimeout(l),r=void 0,i=s||"",x.readyState=e>0?4:0,u=e>=200&&e<300||304===e,o&&(k=function(e,t,n){for(var r,a,i,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)i=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){i=a;break}o||(o=a)}i=i||o}if(i)return i!==l[0]&&l.unshift(i),n[i]}(f,x,o)),k=function(e,t,n,r){var a,i,o,s,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(o=u[l+" "+i]||u["* "+i]))for(a in u)if((s=a.split(" "))[1]===i&&(o=u[l+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[a]:!0!==u[a]&&(i=s[0],c.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(f,k,x,u),u?(f.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(j.lastModified[a]=w),(w=x.getResponseHeader("etag"))&&(j.etag[a]=w)),204===e||"HEAD"===f.type?_="nocontent":304===e?_="notmodified":(_=k.state,h=k.data,u=!(p=k.error))):(p=_,!e&&_||(_="error",e<0&&(e=0))),x.status=e,x.statusText=(t||_)+"",u?y.resolveWith(m,[h,_,x]):y.rejectWith(m,[x,_,p]),x.statusCode(v),v=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[x,f,u?h:p]),b.fireWith(m,[x,_]),d&&(g.trigger("ajaxComplete",[x,f]),--j.active||j.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return j.get(e,t,n,"json")},getScript:function(e,t){return j.get(e,void 0,t,"script")}}),j.each(["get","post"],function(e,t){j[t]=function(e,n,r,a){return b(n)&&(a=a||r,r=n,n=void 0),j.ajax(j.extend({url:e,type:t,dataType:a,data:n,success:r},j.isPlainObject(e)&&e))}}),j._evalUrl=function(e){return j.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},j.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=j(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return b(e)?this.each(function(t){j(this).wrapInner(e.call(this,t))}):this.each(function(){var t=j(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b(e);return this.each(function(n){j(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){j(this).replaceWith(this.childNodes)}),this}}),j.expr.pseudos.hidden=function(e){return!j.expr.pseudos.visible(e)},j.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},j.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ft={0:200,1223:204},Ut=j.ajaxSettings.xhr();y.cors=!!Ut&&"withCredentials"in Ut,y.ajax=Ut=!!Ut,j.ajaxTransport(function(e){var t,r;if(y.cors||Ut&&!e.crossDomain)return{send:function(a,i){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(o,a[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ft[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),j.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),j.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return j.globalEval(e),e}}}),j.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),j.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,a){t=j("